/* MarinaTitan marketing site
   Palette (brand): Deep Ocean #102A43 · Aegean Teal #087F8C · Electric Cyan #22D3EE · Sea Mist #E8F5F5 · White #FFFFFF
   Contrast rules: Electric Cyan only on Deep Ocean (8.1:1), never as text on white (1.8:1).
                   Aegean Teal is the button/link color on light backgrounds (4.75:1 with white). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/rubik-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/rubik-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/rubik-latin-700-normal.woff2") format("woff2"); }

:root {
  --ocean: #102A43;
  --ocean-2: #163A57;      /* raised surface on Deep Ocean */
  --water: #0F3A55;        /* map water */
  --teal: #087F8C;
  --teal-dark: #066A75;
  --cyan: #22D3EE;
  --compass: #21A3C5;      /* logo blue: decorative only */
  --mist: #E8F5F5;
  --mist-2: #D3EBEC;
  --white: #FFFFFF;
  --ink: #102A43;
  --muted: #475F73;        /* 6.6:1 on white */
  --on-dark: #C5D8E3;      /* body text on Deep Ocean, 10:1 */
  --line: #D6E5E8;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 8px 24px rgba(16, 42, 67, .08);
  --shadow-lg: 0 2px 6px rgba(16, 42, 67, .08), 0 24px 60px rgba(16, 42, 67, .18);
  --head: "Rubik", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--teal); }
.nav .nav-signin-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.signin { color: var(--ink); font-weight: 500; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .97rem; }
.signin:hover { background: var(--mist); color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 500 .95rem var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .site-header .wrap { height: 64px; gap: 12px; }
  .brand-logo { height: 32px; }
  .menu-btn { display: inline-block; }
  .signin { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { padding: 9px 16px; font-size: .9rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .nav-signin-mobile { display: block; }
}
@media (max-width: 420px) { .brand-logo { height: 28px; } .site-header .wrap { gap: 8px; } .header-actions { gap: 6px; } .header-actions .btn { padding: 8px 13px; font-size: .85rem; } .menu-btn { padding: 7px 12px; font-size: .88rem; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--body); padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 6px 18px rgba(8, 127, 140, .28); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-cyan { background: var(--cyan); color: var(--ocean); box-shadow: 0 6px 22px rgba(34, 211, 238, .3); }
.btn-cyan:hover { background: #5EE0F2; color: var(--ocean); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { background: var(--white); color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--mist); color: var(--teal-dark); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }
.bg-mist { background: var(--mist); }
.bg-ocean { background: var(--ocean); color: var(--on-dark); }
.bg-ocean h1, .bg-ocean h2, .bg-ocean h3 { color: var(--white); }
.bg-ocean a:not(.btn) { color: var(--cyan); }
.eyebrow { display: inline-block; font: 600 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.bg-ocean .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.bg-ocean .lede { color: var(--on-dark); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.punch { font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.bg-ocean .punch { color: var(--white); }
.prose p { max-width: 640px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split > * { min-width: 0; }
.split.middle { align-items: center; }
.split-wide { grid-template-columns: 5fr 7fr; }
@media (max-width: 960px) { .split, .split-wide { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% 10%, rgba(8, 127, 140, .45), transparent 60%), radial-gradient(700px 400px at 5% 100%, rgba(34, 211, 238, .12), transparent 60%), var(--ocean); color: var(--on-dark); padding: 88px 0 104px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .accent { color: var(--cyan); }
.hero .lede { color: var(--on-dark); font-size: 1.2rem; }
.hero .btn-row { margin-top: 32px; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.hero-note { margin-top: 26px; font-size: .95rem; color: #9FB8C8; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }

/* ---------- App window mock ---------- */
.app-window { background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; color: var(--ink); border: 1px solid rgba(255, 255, 255, .12); }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #F4F8F9; border-bottom: 1px solid var(--line); }
.app-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #CFDDE2; }
.app-bar .url { margin-left: 10px; font-size: .78rem; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.app-body { display: grid; grid-template-columns: 52px 1fr; }
.app-side { background: var(--ocean); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 0; }
.app-side img { width: 28px; height: 28px; }
.app-side span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .14); }
.app-side span.on { background: var(--cyan); }
.app-main { padding: 18px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.app-head strong { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.app-head small { color: var(--muted); font-size: .78rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--mist); border-radius: 10px; padding: 9px 11px; }
.stat b { display: block; font: 600 1.25rem var(--head); color: var(--ink); }
.stat span { font-size: .72rem; color: var(--muted); }
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, 1fr); } .app-body { grid-template-columns: 1fr; } .app-side { display: none; } }

/* ---------- Marina map ---------- */
.marina { position: relative; background: linear-gradient(180deg, #13425F 0%, var(--water) 100%); border-radius: 12px; padding: 0 14px 16px; overflow: hidden; }
.marina::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 14px 14px; }
.shore { position: relative; z-index: 1; margin: 0 -14px 0; height: 34px; background: #E3ECEE; border-bottom: 3px solid #C3D3D8; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.docks { position: relative; z-index: 1; display: flex; justify-content: space-around; gap: 10px; }
.dock { display: grid; grid-template-columns: 1fr 10px 1fr; column-gap: 3px; row-gap: 4px; padding-top: 10px; position: relative; }
.dock::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; background: #D9E4E7; border-radius: 0 0 4px 4px; }
.dock-label { grid-column: 1 / -1; text-align: center; font: 600 .66rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #BFE9F2; margin-bottom: 2px; position: relative; z-index: 1; background: var(--water); justify-self: center; padding: 0 6px; border-radius: 4px; }
/* Slips sit either side of the pier; the line under each slip is its finger pier. */
.slip { position: relative; width: 46px; height: 20px; border: 0; border-bottom: 2px solid rgba(217, 228, 231, .55); border-radius: 0; background: transparent; padding: 0; cursor: default; display: block; color: inherit; font: inherit; }
.slip.l { grid-column: 1; justify-self: end; }
.slip.r { grid-column: 3; justify-self: start; }
/* boats */
.slip::after { content: ""; position: absolute; top: 3px; bottom: 3px; width: 34px; border-radius: 3px 50% 50% 3px / 3px 50% 50% 3px; }
.slip.l::after { right: 4px; border-radius: 50% 3px 3px 50% / 50% 3px 3px 50%; }
.slip.r::after { left: 4px; }
.slip.occupied::after { background: var(--white); box-shadow: inset 0 0 0 2px #9FD7E3; }
.slip.reserved::after { background: var(--cyan); opacity: .9; }
.slip.arriving::after { background: transparent; border: 2px dashed var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
.slip.available::after { display: none; }
.slip.available { background: rgba(34, 211, 238, .14); }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
button.slip { cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
button.slip:hover { background-color: rgba(255, 255, 255, .14); }
button.slip[aria-pressed="true"] { background-color: rgba(34, 211, 238, .32); outline: 2px solid var(--cyan); outline-offset: 1px; z-index: 2; }
.marina-sm .slip { width: 30px; height: 13px; }
.marina-sm .slip::after { width: 21px; top: 2px; bottom: 2px; }
.marina-sm .dock { row-gap: 3px; }
.marina-sm .shore { height: 26px; font-size: .6rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .85rem; color: var(--muted); padding: 0; list-style: none; }
.bg-ocean .legend { color: var(--on-dark); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 22px; height: 12px; border-radius: 3px; display: inline-block; }
.sw-occupied { background: var(--white); box-shadow: inset 0 0 0 2px #9FD7E3; }
.sw-available { background: rgba(34, 211, 238, .25); border: 1px solid rgba(34, 211, 238, .6); }
.sw-reserved { background: var(--cyan); }
.sw-arriving { border: 2px dashed var(--cyan); }
.map-explorer { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.map-card { background: var(--ocean-2); border-radius: var(--radius-lg); padding: 20px; border: 1px solid rgba(255, 255, 255, .08); }
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.map-scroll .marina { min-width: 560px; }
.slip-panel { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); position: sticky; top: 96px; }
.slip-panel .tag { display: inline-block; font: 600 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--teal-dark); }
.slip-panel .tag.available { background: #DDF7FB; color: #0B6B7A; }
.slip-panel .tag.reserved { background: var(--cyan); color: var(--ocean); }
.slip-panel .tag.arriving { background: var(--ocean); color: var(--cyan); }
.slip-panel h3 { margin: 12px 0 4px; font-size: 1.5rem; color: var(--ink); }
.slip-panel dl { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .92rem; }
.slip-panel dt { color: var(--muted); }
.slip-panel dd { margin: 0; font-weight: 500; }
.slip-panel .hint { font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 960px) { .map-explorer { grid-template-columns: 1fr; } .slip-panel { position: static; } }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mist-2); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card h3 { margin-top: 18px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--teal); }
.icon svg { width: 24px; height: 24px; }
.bg-mist .card { border-color: transparent; }

/* ---------- Reservations timeline ---------- */
.timeline { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; overflow-x: auto; }
.tl-head, .tl-row { display: grid; grid-template-columns: 92px repeat(14, minmax(28px, 1fr)); align-items: center; min-width: 560px; }
.tl-head { font-size: .7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.tl-head span { text-align: center; line-height: 1.35; }
.tl-head .today { color: var(--teal); }
.tl-row { height: 44px; border-bottom: 1px solid #EEF4F5; }
.tl-row:last-child { border-bottom: 0; }
.tl-slip { font: 600 .85rem var(--head); color: var(--ink); }
.tl-slip small { display: block; font: 400 .7rem var(--body); color: var(--muted); }
.bar { grid-row: 1; height: 26px; border-radius: 7px; font-size: .72rem; font-weight: 600; display: flex; align-items: center; padding: 0 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar.transient { background: var(--cyan); color: var(--ocean); }
.bar.seasonal { background: var(--teal); color: var(--white); }
.bar.resident { background: var(--ocean); color: var(--white); }
.bar.hold { background: var(--mist); color: var(--teal-dark); border: 1px dashed var(--teal); }
.tl-row > .tl-slip { grid-row: 1; grid-column: 1; }
.cs2 { grid-column-start: 2; } .cs3 { grid-column-start: 3; } .cs4 { grid-column-start: 4; } .cs5 { grid-column-start: 5; } .cs6 { grid-column-start: 6; } .cs7 { grid-column-start: 7; } .cs8 { grid-column-start: 8; } .cs9 { grid-column-start: 9; } .cs10 { grid-column-start: 10; } .cs11 { grid-column-start: 11; } .cs12 { grid-column-start: 12; } .cs13 { grid-column-start: 13; } .cs14 { grid-column-start: 14; } .cs15 { grid-column-start: 15; }
.sp1 { grid-column-end: span 1; } .sp2 { grid-column-end: span 2; } .sp3 { grid-column-end: span 3; } .sp4 { grid-column-end: span 4; } .sp5 { grid-column-end: span 5; } .sp6 { grid-column-end: span 6; } .sp7 { grid-column-end: span 7; } .sp8 { grid-column-end: span 8; } .sp9 { grid-column-end: span 9; } .sp10 { grid-column-end: span 10; } .sp11 { grid-column-end: span 11; } .sp12 { grid-column-end: span 12; } .sp13 { grid-column-end: span 13; } .sp14 { grid-column-end: span 14; }
.tl-legend { margin-top: 16px; }
.sw-transient { background: var(--cyan); } .sw-seasonal { background: var(--teal); } .sw-resident { background: var(--ocean); } .sw-hold { background: var(--mist); border: 1px dashed var(--teal); }

/* ---------- Audience ---------- */
.aud { background: var(--white); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; border: 1px solid transparent; }
.aud::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--cyan)); }
.aud p { color: var(--muted); margin: 0; font-size: .98rem; }
.aud h3 { margin-top: 16px; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }
.benefits li { background: var(--ocean-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 22px 22px 22px 58px; position: relative; }
.benefits li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.benefits strong { display: block; color: var(--white); font: 600 1.08rem var(--head); margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ocean) 0%, #0B4B5E 55%, var(--teal) 100%); color: var(--on-dark); border-radius: 28px; padding: 64px 56px; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D8E9EF; max-width: 620px; }
.cta-band .mark-bg { position: absolute; right: -60px; top: 50%; width: 340px; height: 340px; transform: translateY(-50%); opacity: .14; }
.cta-band .btn-row { margin-top: 26px; position: relative; }
@media (max-width: 700px) { .cta-band { padding: 44px 24px; border-radius: 20px; } .cta-band .mark-bg { width: 220px; height: 220px; right: -70px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 90% 0%, rgba(8, 127, 140, .45), transparent 60%), var(--ocean); color: var(--on-dark); padding: 76px 0 72px; }
.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero .sub { font-size: 1.18rem; max-width: 680px; margin: 0; }
.page-hero .mark-bg { position: absolute; right: -50px; bottom: -70px; width: 300px; height: 300px; opacity: .1; }
@media (max-width: 700px) { .page-hero { padding: 56px 0 52px; } .page-hero .mark-bg { width: 200px; height: 200px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan h2 { font-size: 1.35rem; margin: 0; }
.plan .for { color: var(--muted); margin: 4px 0 18px; font-size: .97rem; }
.plan .price { font: 700 2.8rem var(--head); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.plan .price small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan .slips { margin: 14px 0 0; font-weight: 600; color: var(--teal-dark); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 30px; position: relative; font-size: .98rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087F8C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { width: 100%; }
.plan.featured { background: var(--ocean); color: var(--on-dark); border-color: var(--ocean); box-shadow: var(--shadow-lg); }
.plan.featured h2, .plan.featured .price { color: var(--white); }
.plan.featured .for, .plan.featured .price small { color: var(--on-dark); }
.plan.featured .slips { color: var(--cyan); }
.plan.featured ul { border-top-color: rgba(255, 255, 255, .14); }
.plan.featured li::before { background-color: var(--cyan); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--cyan); color: var(--ocean); font: 600 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 600 1.07rem var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.4rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.req { color: var(--teal); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; font: 400 1rem var(--body); color: var(--ink); background: #FBFDFD; border: 1.5px solid #C7D9DD; border-radius: 10px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
select { appearance: none; -webkit-appearance: none; background: #FBFDFD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087F8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8, 127, 140, .16); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #B42318; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1px; }
.form-status.err { color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; padding: 10px 14px; border-radius: 10px; }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
.confirm { background: var(--mist); border-radius: var(--radius-lg); padding: 34px; }
.confirm h2 { font-size: 1.6rem; }

/* ---------- Checklists / misc ---------- */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087F8C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.info-card { background: var(--mist); border-radius: var(--radius-lg); padding: 28px; }
.info-card h2 { font-size: 1.35rem; }
.stack > * + * { margin-top: 20px; }
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .notice { background: var(--mist); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean); color: var(--on-dark); padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand-logo { height: 40px; }
.foot-brand .motto { font: 600 1.1rem var(--head); color: var(--white); margin: 20px 0 6px; }
.foot-brand p { max-width: 340px; }
.site-footer h4 { font: 600 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #9FB8C8; }

/* Grid children must be allowed to shrink so wide maps/timelines scroll inside their own box on phones. */
.hero-grid > *, .map-explorer > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (max-width: 960px) { .map-explorer { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero photo ---------- */
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); aspect-ratio: 3 / 2; background: var(--ocean-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
