/* ─── CSS Variables ─── */
    :root {
      --navy:      #1e3d63;
      --navy-2:    #274a74;
      --blue:      #2e5a8e;
      --red:       #98302b;
      --red-light: #c0392b;
      --white:     #ffffff;
      --gray-1:    #f5f7fb;
      --gray-2:    #dce3ec;
      --gray-3:    #7b8a9d;
      --text:      #162333;
      --shadow:    0 20px 60px rgba(7,21,38,0.12);
      --radius-xl: 28px;
      --radius-lg: 20px;
      --radius-md: 14px;
      --max:       1280px;
    }

    /* ─── Reset ─── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
      color: var(--text);
      background: linear-gradient(180deg, #f8f9fb 0%, #eef2f6 100%);
      min-height: 100vh;
    }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }
    button { font: inherit; cursor: pointer; border: none; }
    ul { list-style: none; }
    .container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

    /* ─── Topbar ─── */
    .topbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      transition: background 0.25s ease, box-shadow 0.25s ease;
      backdrop-filter: blur(12px);
      background: rgba(24,48,78,0.18);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .topbar.scrolled {
      background: rgba(20,40,68,0.97);
      box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    }
    .topbar-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 64px; padding: 0 24px;
    }
    .brand { display: flex; align-items: center; gap: 12px; }
    .brand-logo { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
    .brand-logo img { width: 100%; height: 100%; object-fit: cover; }
    .brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
    .brand-copy strong { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
    .brand-copy small { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 400; }
    .nav-links { display: flex; gap: 28px; align-items: center; }
    .nav-links a { font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: #fff; }
    .nav-actions { display: flex; gap: 10px; align-items: center; }
    .btn-ghost {
      padding: 8px 18px; border-radius: 40px; font-size: 13px; font-weight: 600;
      background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2);
      transition: background 0.2s;
    }
    .btn-ghost:hover { background: rgba(255,255,255,0.2); }
    .btn-primary {
      padding: 9px 22px; border-radius: 40px; font-size: 13px; font-weight: 700;
      background: var(--red); color: #fff; border: none;
      box-shadow: 0 4px 16px rgba(152,48,43,0.35);
      transition: box-shadow 0.2s, transform 0.15s;
    }
    .btn-primary:hover {
      box-shadow: 0 14px 28px rgba(152,48,43,0.4);
      transform: translateY(-1px);
    }
    .hamburger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

    /* ─── Mobile Nav ─── */
    .mobile-nav {
      display: none; flex-direction: column; gap: 0;
      background: rgba(20,40,68,0.98); padding: 12px 24px 20px;
    }
    .mobile-nav a {
      padding: 12px 0; font-size: 15px; color: rgba(255,255,255,0.85);
      border-bottom: 1px solid rgba(255,255,255,0.07); font-weight: 500;
    }

    /* ─── Hero ─── */
    #home {
      min-height: 100vh; position: relative; display: flex; align-items: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background: url('/files/banners/main_sailing_banner.svg') center/cover no-repeat;
    }
    .hero-bg::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(120deg, rgba(14,32,56,0.82) 0%, rgba(14,32,56,0.55) 60%, rgba(14,32,56,0.3) 100%);
    }
    .hero-inner {
      position: relative; z-index: 2; width: 100%;
      display: flex; align-items: center; justify-content: space-between;
      gap: 40px; padding: 120px 24px 60px;
      max-width: var(--max); margin: 0 auto;
    }
    .hero-left { flex: 1; }
    .hero-logo {
      width: clamp(130px, 16vw, 200px); margin-bottom: 20px;
      filter: drop-shadow(0 10px 24px rgba(0,0,0,0.3));
    }
    .hero-tag {
      display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
      color: rgba(255,255,255,0.7); margin-bottom: 20px;
    }
    .hero-left h1 {
      font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: #fff;
      line-height: 1.13; margin-bottom: 20px; letter-spacing: -0.02em;
    }
    .hero-left p {
      font-size: 16px; color: rgba(255,255,255,0.75); max-width: 480px;
      line-height: 1.7; margin-bottom: 32px;
    }
    .hero-left .hero-message {
      font-size: clamp(16px, 1.7vw, 22px);
      line-height: 1.75;
      color: rgba(255,255,255,0.88);
      max-width: 620px;
      text-shadow: 0 2px 18px rgba(0,0,0,0.28);
    }
    .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .hero-btns .btn-primary { padding: 14px 30px; font-size: 15px; }
    .hero-btns .btn-outline {
      padding: 13px 28px; border-radius: 40px; font-size: 15px; font-weight: 600;
      background: rgba(255,255,255,0.1); color: #fff;
      border: 1.5px solid rgba(255,255,255,0.3);
      transition: background 0.2s;
    }
    .hero-btns .btn-outline:hover { background: rgba(255,255,255,0.18); }
    .hero-stats {
      display: flex; gap: 0; margin-top: 48px;
      background: rgba(255,255,255,0.08); border-radius: var(--radius-lg);
      backdrop-filter: blur(8px); overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
    }
    .hero-stat {
      flex: 1; padding: 20px 24px; text-align: center;
      border-right: 1px solid rgba(255,255,255,0.1);
    }
    .hero-stat:last-child { border-right: none; }
    .hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: #fff; }
    .hero-stat span { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; display: block; }

    /* Booking card (right side) */
    .booking-card {
      width: 320px; flex-shrink: 0;
      background: #fff; border-radius: var(--radius-xl);
      box-shadow: 0 30px 80px rgba(0,0,0,0.22);
      overflow: hidden;
    }
    .booking-card-head {
      padding: 20px 22px 16px;
      border-bottom: 1px solid var(--gray-2);
      display: flex; align-items: center; justify-content: space-between;
    }
    .booking-card-head h4 { font-size: 16px; font-weight: 700; }
    .booking-card-head span { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: 0.1em; }
    .booking-card-head small { font-size: 12px; color: var(--gray-3); }
    .booking-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
    .booking-item {
      padding: 14px 16px; border-radius: var(--radius-md);
      border: 1.5px solid var(--gray-2); cursor: pointer;
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    }
    .booking-item:hover, .booking-item.active {
      border-color: var(--red);
      box-shadow: 0 6px 20px rgba(152,48,43,0.1);
      transform: translateY(-1px);
    }
    .booking-item h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
    .booking-meta { font-size: 11px; color: var(--gray-3); display: flex; gap: 10px; margin-bottom: 8px; }
    .progress { height: 5px; background: var(--gray-2); border-radius: 99px; overflow: hidden; }
    .progress > div {
      height: 100%; border-radius: 99px;
      background: linear-gradient(90deg, var(--blue) 0%, var(--red) 100%);
      transition: width 0.4s ease;
    }
    .booking-card-foot {
      padding: 14px 16px 20px; display: flex; flex-direction: column; gap: 10px;
    }
    .booking-card-foot .btn-primary { width: 100%; padding: 13px; font-size: 14px; border-radius: var(--radius-md); }
    .booking-card-foot .btn-text {
      background: none; color: var(--navy); font-size: 13px; font-weight: 600;
      text-align: center; text-decoration: underline; text-underline-offset: 3px;
    }

    /* ─── Section common ─── */
    section { padding: 96px 0; }
    section:nth-child(even) { background: #fff; }
    .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
    .section-eyebrow {
      font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--red);
      text-transform: uppercase; margin-bottom: 10px;
    }
    .section-header h2 {
      font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy);
      letter-spacing: -0.02em; line-height: 1.2;
    }
    .section-header h2 br + * { color: var(--red); }
    .section-desc { font-size: 16px; color: var(--gray-3); line-height: 1.7; max-width: 520px; }
    .section-link {
      font-size: 14px; font-weight: 700; color: var(--red);
      text-decoration: underline; text-underline-offset: 4px; white-space: nowrap;
    }

    /* ─── Intro cards ─── */
    .intro-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
    .intro-card {
      background: var(--gray-1); border-radius: var(--radius-xl);
      padding: 32px 28px; position: relative; overflow: hidden;
    }
    .intro-card .num {
      font-size: 48px; font-weight: 800; color: rgba(30,61,99,0.08);
      position: absolute; top: 16px; right: 22px; line-height: 1;
    }
    .intro-card .icon {
      width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
      background: linear-gradient(135deg, rgba(30,61,99,0.1) 0%, rgba(152,48,43,0.15) 100%);
      display: flex; align-items: center; justify-content: center; font-size: 24px;
    }
    .intro-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
    .intro-card p { font-size: 14px; color: var(--gray-3); line-height: 1.7; }

    /* ─── Membership ─── */
    .membership-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
    .membership-card {
      background: #fff; border-radius: var(--radius-xl); padding: 30px 24px;
      box-shadow: var(--shadow); position: relative; overflow: hidden;
      border: 2px solid transparent; transition: border-color 0.2s, transform 0.2s;
    }
    .membership-card:hover { border-color: var(--gray-2); transform: translateY(-4px); }
    .membership-card.featured {
      background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
      border-color: transparent;
    }
    .membership-card.featured h3,
    .membership-card.featured p,
    .membership-card.featured .price,
    .membership-card.featured li,
    .membership-card.featured .tier-meta { color: #fff; }
    .badge {
      display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
      padding: 4px 10px; border-radius: 99px; margin-bottom: 14px;
      background: #f4eceb; color: var(--red);
    }
    .membership-card.featured .badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
    .tier-meta { font-size: 12px; color: var(--red); margin-bottom: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
    .membership-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
    .membership-card > p { font-size: 13px; color: var(--gray-3); line-height: 1.6; }
    .price { font-size: 32px; font-weight: 800; margin: 18px 0 14px; color: var(--navy); }
    .price span { font-size: 14px; font-weight: 500; }
    .membership-card ul { display: grid; gap: 9px; margin-bottom: 24px; }
    .membership-card li { font-size: 13px; color: #35506c; }
    .membership-card li::before { content: "✓"; margin-right: 8px; color: var(--red); font-weight: 800; }
    .membership-card.featured li { color: rgba(255,255,255,0.85); }
    .membership-card.featured li::before { color: rgba(255,255,255,0.7); }
    .card-btn {
      display: block; width: 100%; padding: 12px; border-radius: var(--radius-md);
      font-size: 13px; font-weight: 700; text-align: center;
      background: var(--gray-1); color: var(--navy); transition: background 0.2s;
    }
    .card-btn:hover { background: var(--gray-2); }
    .membership-card.featured .card-btn {
      background: var(--red); color: #fff;
    }
    .membership-card.featured .card-btn:hover { background: var(--red-light); }

    /* ─── Fleet ─── */
    .fleet-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
    .fleet-card { border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
    .fleet-image { height: 240px; position: relative; overflow: hidden; }
    .fleet-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
    .fleet-card:hover .fleet-image img { transform: scale(1.05); }
    .fleet-tag {
      position: absolute; top: 14px; left: 14px;
      background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
      border-radius: 99px; padding: 5px 14px;
      font-size: 11px; font-weight: 700; color: var(--navy); letter-spacing: 0.06em;
    }
    .fleet-body { padding: 24px; }
    .fleet-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
    .fleet-body p { font-size: 13px; color: var(--gray-3); line-height: 1.6; margin-bottom: 18px; }
    .fleet-specs { display: flex; gap: 12px; }
    .spec { background: var(--gray-1); border-radius: 10px; padding: 10px 14px; text-align: center; flex: 1; }
    .spec strong { display: block; font-size: 16px; font-weight: 800; color: var(--navy); }
    .spec small { font-size: 11px; color: var(--gray-3); }

    /* ─── Dashboard ─── */
    .dashboard-wrap {
      background: var(--gray-1); border-radius: var(--radius-xl);
      border: 1px solid var(--gray-2); overflow: hidden;
    }
    .dash-top {
      background: var(--navy); padding: 16px 24px;
      display: flex; align-items: center; gap: 8px;
    }
    .dash-dot { width: 10px; height: 10px; border-radius: 50%; }
    .dash-title { color: rgba(255,255,255,0.7); font-size: 13px; margin-left: 8px; font-weight: 600; }
    .dash-inner { display: grid; grid-template-columns: 220px 1fr; }
    .dash-sidebar { background: #fff; border-right: 1px solid var(--gray-2); padding: 20px 0; }
    .dash-menu-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--gray-3); padding: 0 20px 8px; text-transform: uppercase; }
    .dash-menu a {
      display: block; padding: 11px 20px; font-size: 13px; font-weight: 500; color: var(--text);
      transition: background 0.15s, color 0.15s;
    }
    .dash-menu a:hover, .dash-menu a.active { background: var(--gray-1); color: var(--red); }
    .dash-content { padding: 28px; }
    .dash-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
    .dash-content > p { font-size: 13px; color: var(--gray-3); margin-bottom: 24px; }
    .kpi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
    .kpi { background: #fff; border-radius: var(--radius-md); padding: 18px 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
    .kpi-label { font-size: 11px; color: var(--gray-3); font-weight: 600; margin-bottom: 6px; }
    .kpi-value { font-size: 26px; font-weight: 800; color: var(--navy); }
    .kpi-sub { font-size: 11px; color: var(--gray-3); margin-top: 2px; }
    .dash-bottom { display: grid; grid-template-columns: 1fr 260px; gap: 16px; }
    .dash-calendar { background: #fff; border-radius: var(--radius-md); padding: 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
    .cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
    .cal-head h4 { font-size: 14px; font-weight: 700; color: var(--navy); }
    .cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
    .cal-day { text-align: center; padding: 6px 2px; font-size: 11px; color: var(--gray-3); font-weight: 600; }
    .cal-date { text-align: center; padding: 6px 2px; font-size: 12px; border-radius: 8px; cursor: pointer; transition: background 0.15s; }
    .cal-date:hover { background: var(--gray-1); }
    .cal-date.has-event { background: rgba(152,48,43,0.1); color: var(--red); font-weight: 700; }
    .cal-date.today { background: var(--red); color: #fff; font-weight: 700; }
    .dash-checklist { background: #fff; border-radius: var(--radius-md); padding: 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
    .dash-checklist h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
    .check-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-1); }
    .check-item:last-child { border-bottom: none; }
    .check-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 5px; }
    .check-item p { font-size: 13px; color: var(--text); line-height: 1.4; }
    .check-item span { font-size: 11px; color: var(--gray-3); }

    /* ─── Reservation Steps ─── */
    .steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 16px; }
    .step-card { background: #fff; border-radius: var(--radius-xl); padding: 30px 24px; box-shadow: var(--shadow); position: relative; }
    .step-num {
      width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
      background: var(--red); color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 18px;
    }
    .step-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
    .step-card p { font-size: 13px; color: var(--gray-3); line-height: 1.7; }
    .step-arrow {
      position: absolute; top: 38px; right: -14px;
      width: 28px; height: 28px; background: var(--gray-1); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; color: var(--red); z-index: 1;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .step-card:last-child .step-arrow { display: none; }

    /* ─── Community ─── */
    .community-wrap {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
      border-radius: var(--radius-xl); padding: 56px 48px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    }
    .community-left h3 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.3; }
    .community-left p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 28px; }
    .community-btns { display: flex; gap: 12px; }
    .community-btns .btn-primary { padding: 12px 26px; }
    .community-btns .btn-outline-white {
      padding: 11px 24px; border-radius: 40px; font-size: 14px; font-weight: 600;
      background: rgba(255,255,255,0.1); color: #fff;
      border: 1.5px solid rgba(255,255,255,0.25); transition: background 0.2s;
    }
    .community-btns .btn-outline-white:hover { background: rgba(255,255,255,0.18); }
    .community-right { display: grid; gap: 14px; }
    .comm-item {
      background: rgba(255,255,255,0.08); border-radius: var(--radius-md);
      padding: 20px 22px; border: 1px solid rgba(255,255,255,0.1);
    }
    .comm-item h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
    .comm-item p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }

    /* ─── Footer ─── */
    footer {
      background: var(--navy); padding: 48px 0 32px; color: rgba(255,255,255,0.6);
    }
    .footer-inner {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
    }
    .footer-brand strong { display: block; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
    .footer-brand p { font-size: 13px; line-height: 1.7; }
    .footer-col h5 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
    .footer-col ul { display: grid; gap: 8px; }
    .footer-col li { font-size: 13px; }
    .footer-col a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
    .footer-col a:hover { color: #fff; }
    .footer-bottom {
      padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
      display: flex; align-items: center; justify-content: space-between;
      font-size: 12px;
    }

    /* ─── Responsive ─── */
    @media (max-width: 1024px) {
      .membership-grid { grid-template-columns: repeat(2,1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 860px) {
      .nav-links, .nav-actions { display: none; }
      .hamburger { display: block; }
      .mobile-nav.open { display: flex; }
      .hero-inner { flex-direction: column; align-items: flex-start; padding-top: 100px; }
      .booking-card { width: 100%; }
      .intro-grid { grid-template-columns: 1fr; }
      .fleet-grid { grid-template-columns: 1fr 1fr; }
      .steps-grid { grid-template-columns: 1fr 1fr; }
      .community-wrap { grid-template-columns: 1fr; padding: 36px 28px; }
      .dash-inner { grid-template-columns: 1fr; }
      .dash-sidebar { display: none; }
    }
    @media (max-width: 600px) {
      .membership-grid { grid-template-columns: 1fr; }
      .fleet-grid { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; }
      .step-arrow { display: none; }
      .kpi-grid { grid-template-columns: 1fr; }
      .dash-bottom { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
      .hero-stats { flex-direction: column; }
      .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    }
