/* ============================================================
   Mighty Fine Charters — Destin, FL
   "Open Water": deep-to-light ocean blues pulled from the boat's
   own logo gradient, snapper-coral CTAs, sunlit foam backgrounds.
   Type: Teko (condensed display) + Inter (body).
   ============================================================ */

:root{
  --foam:#F8FCFE;         /* page background */
  --sky:#E7F4FB;          /* alternate light band */
  --deep:#0E3A56;         /* deep water — headings, dark UI */
  --deeper:#0A2C42;       /* footer / hero base */
  --ocean:#2B7FBE;        /* logo medium blue */
  --ocean-light:#7EC8EC;  /* logo light blue */
  --coral:#E8604C;        /* red snapper — primary CTA */
  --coral-deep:#C94A38;
  --sun:#F0A03C;          /* star ratings only */
  --ink:#16324A;
  --ink-soft:#4E6579;
  --white:#FFFFFF;
  --line:#D8E8F2;
  --line-deep:#1E5379;
  --grad-ocean:linear-gradient(150deg,#0E3A56 0%,#17567E 55%,#2B7FBE 100%);
  --grad-logo:linear-gradient(90deg,#2B7FBE,#7EC8EC);
  --shadow:0 2px 22px rgba(14,58,86,.10);
  --radius:10px;
  --font-display:"Teko",-apple-system,sans-serif;
  --font-body:"Inter",-apple-system,"Segoe UI",sans-serif;
  --container:72rem;
  /* legacy aliases still referenced by inline page styles */
  --brass-soft:#7EC8EC;
  --paper-deep:#E7F4FB;
  --navy:#0E3A56;
  --navy-deep:#0A2C42;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--deeper)}
body{
  font-family:var(--font-body);
  font-size:1.03rem;line-height:1.65;
  color:var(--ink);background:var(--foam);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--coral)}
a:hover{color:var(--coral-deep)}

.container{max-width:var(--container);margin:0 auto;padding:0 1.25rem}

/* ---------- type ---------- */
h1,h2,h3,h4,.h-hero{
  font-family:var(--font-display);font-weight:600;color:var(--deep);
  line-height:1;letter-spacing:.012em;text-transform:uppercase;
}
.h-hero{font-size:clamp(3.2rem,7.5vw,5.4rem);color:var(--white);line-height:.94}
h2{font-size:clamp(2.1rem,4.5vw,3.1rem);margin-bottom:.6rem}
h3{font-size:1.6rem;margin-bottom:.35rem}
.eyebrow{
  font-family:var(--font-body);font-size:.78rem;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--ocean);
  margin-bottom:.9rem;
}
.hero .eyebrow{color:var(--ocean-light)}
.lede{font-size:1.13rem;color:var(--ink-soft);max-width:44rem}
.hero .lede{color:rgba(255,255,255,.9)}
.num{font-variant-numeric:tabular-nums}
.center{text-align:center}
.center .lede{margin-left:auto;margin-right:auto}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;padding:.8rem 1.7rem;border-radius:6px;
  font-weight:700;font-size:.98rem;text-decoration:none;text-align:center;
  border:2px solid transparent;transition:all .15s ease;cursor:pointer;
}
.btn-primary{background:var(--coral);color:var(--white)}
.btn-primary:hover{background:var(--coral-deep);color:var(--white)}
.btn-navy{background:var(--deep);color:var(--white)}
.btn-navy:hover{background:var(--deeper);color:var(--white)}
.btn-ghost{border-color:currentColor;color:var(--deep);background:transparent}
.btn-ghost:hover{background:var(--deep);color:var(--white)}
.hero .btn-ghost,.band-navy .btn-ghost{color:var(--white)}
.hero .btn-ghost:hover,.band-navy .btn-ghost:hover{background:var(--white);color:var(--deep)}
.btn-lg{padding:1rem 2.1rem;font-size:1.06rem}
.btn-row{display:flex;gap:.9rem;flex-wrap:wrap;justify-content:center}
.btn-row.left{justify-content:flex-start}

/* ---------- header ---------- */
.skip-link{position:absolute;left:-999px;top:0;background:var(--deep);color:#fff;padding:.6rem 1rem;z-index:100}
.skip-link:focus{left:0}
.season-banner{
  display:block;text-align:center;padding:.55rem 1rem;
  background:var(--deeper);color:#BFDCEE;font-size:.94rem;
  text-decoration:none;font-weight:600;
}
.season-banner strong{color:var(--ocean-light)}
.season-banner:hover{color:#fff}
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header.scrolled{box-shadow:0 4px 18px rgba(14,58,86,.10)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1.25rem}
.brand{text-decoration:none;line-height:.95;white-space:nowrap}
.brand .brand-name{
  font-family:var(--font-display);font-weight:700;font-size:2rem;
  text-transform:uppercase;letter-spacing:.02em;display:block;
  background:linear-gradient(100deg,#0E3A56 10%,#2B7FBE 60%,#5FB4E4 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.brand .brand-sub{
  font-size:.63rem;font-weight:700;letter-spacing:.26em;text-transform:uppercase;
  color:var(--ocean);display:block;margin-top:-.15rem;
}
.nav-desktop{display:none;gap:1.35rem;align-items:center}
@media(min-width:1200px){.nav-desktop{display:flex}.header-cta{display:flex}.nav-toggle{display:none}}
.nav-desktop a,.header-cta .btn,.header-phone{white-space:nowrap}
.nav-desktop a{
  color:var(--ink);text-decoration:none;font-weight:600;font-size:.96rem;
  padding:.25rem 0;border-bottom:2px solid transparent;
}
.nav-desktop a:hover,.nav-desktop a[aria-current="page"]{color:var(--ocean);border-bottom-color:var(--coral)}
.header-cta{display:none;align-items:center;gap:1rem}
.header-phone{color:var(--deep);font-weight:700;text-decoration:none;white-space:nowrap}
.header-phone:hover{color:var(--coral)}
.nav-toggle{background:none;border:0;padding:.7rem .3rem;cursor:pointer;display:inline-flex;flex-direction:column;gap:7px;position:relative;z-index:60}
.nav-toggle .bar{display:block;width:27px;height:2.5px;background:var(--deep);border-radius:2px;transition:transform .28s ease,background .2s ease}
.nav-toggle[aria-expanded="true"] .bar{background:#fff}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){transform:translateY(4.75px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){transform:translateY(-4.75px) rotate(-45deg)}
.site-header .brand{position:relative;z-index:60}
.site-header:has(.nav-mobile.open) .brand-name{background:linear-gradient(100deg,#7EC8EC,#A9DCF4);-webkit-background-clip:text;background-clip:text}
.site-header:has(.nav-mobile.open) .brand-sub{color:var(--ocean-light)}
.site-header:has(.nav-mobile.open) .header-phone{color:#fff}
.nav-mobile{display:none}
.nav-mobile.open{display:flex;flex-direction:column;justify-content:space-between;position:fixed;inset:0;z-index:55;background:rgba(9,29,46,.985);backdrop-filter:blur(8px);padding:6.8rem 1.75rem 1.5rem;overflow-y:auto;animation:menuIn .22s ease}
@keyframes menuIn{from{opacity:0}to{opacity:1}}
.nav-mobile-links{display:flex;flex-direction:column}
.nav-mobile-links a{font-family:var(--font-display);font-size:clamp(1.35rem,4.2vh,1.8rem);font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:#fff;text-decoration:none;padding:.35rem 0;border-bottom:1px solid rgba(255,255,255,.10)}
.nav-mobile-links a:active,.nav-mobile-links a[aria-current="page"]{color:var(--ocean-light)}
.nav-mobile-cta{display:grid;gap:.7rem;margin-top:1.2rem}
.nav-mobile .btn-ghost{color:#fff;border-color:rgba(255,255,255,.75)}

@media(min-width:1200px){.nav-desktop{display:flex}.header-cta{display:flex}.nav-toggle{display:none}}
@media(min-width:1200px) and (max-width:1379px){.header-phone{display:none}}

/* ---------- hero ---------- */
.hero{position:relative;min-height:min(88vh,46rem);display:flex;align-items:flex-end;background:var(--deeper)}
.hero-media,.hero-media img,.hero-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0;background:
  linear-gradient(100deg,rgba(8,34,52,.94) 0%,rgba(11,48,74,.72) 55%,rgba(17,74,112,.45) 100%)}
.hero-inner{position:relative;padding-top:5rem;padding-bottom:3.5rem}
.hero-inner .btn-ghost{border-color:rgba(255,255,255,.7)}

/* trust strip */
.trust-strip{position:relative;background:var(--deeper);border-top:3px solid var(--coral)}
.trust-row{display:flex;flex-wrap:wrap;gap:.4rem 2rem;padding:.85rem 1.25rem;justify-content:center}
.trust-row span{display:inline-flex;align-items:center;gap:.5rem;color:#BFDCEE;font-size:.9rem;font-weight:600}
.trust-row svg{width:17px;height:17px;color:var(--ocean-light);flex-shrink:0}

/* ---------- sections & bands ---------- */
.section{padding:4.5rem 0}
.section-tight{padding:3rem 0}
.band-navy{background:var(--grad-ocean);color:#D7EAF6}
.band-navy h2,.band-navy h3{color:var(--white)}
.band-navy .lede{color:#C9E4F4}
.band-deep{background:var(--sky)}
.rule-brass{width:72px;height:4px;background:var(--grad-logo);border:0;border-radius:2px;margin:1rem 0 1.4rem}
.center .rule-brass{margin-left:auto;margin-right:auto}

/* ---------- cards & grids ---------- */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;
}
.card-img{aspect-ratio:4/3;object-fit:cover;width:100%}
.card-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.card-body .btn{margin-top:auto;align-self:flex-start}
.price-line{font-family:var(--font-display);font-size:1.9rem;color:var(--ocean);font-weight:600;line-height:1}
.price-line small{font-family:var(--font-body);font-size:.82rem;color:var(--ink-soft);font-weight:600;text-transform:none;letter-spacing:0}
.tag{
  display:inline-block;background:var(--sky);border:1px solid #C6E3F4;
  color:var(--ocean);border-radius:999px;padding:.15rem .7rem;
  font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
}

/* stat band */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;text-align:center}
.stat .stat-num{font-family:var(--font-display);font-size:3.1rem;font-weight:600;color:var(--ocean-light);line-height:1}
.stat .stat-label{font-size:.9rem;font-weight:600;letter-spacing:.04em;color:#BFDCEE}

/* ---------- rate table ---------- */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow)}
table.rates{width:100%;border-collapse:collapse;min-width:34rem}
table.rates th,table.rates td{padding:.95rem 1.25rem;text-align:left;border-bottom:1px solid var(--line)}
table.rates thead th{
  background:var(--deep);color:var(--white);font-family:var(--font-body);
  font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;
}
table.rates tbody tr:last-child td{border-bottom:0}
table.rates td.price{font-family:var(--font-display);font-size:1.5rem;font-weight:600;color:var(--ocean);white-space:nowrap}
table.rates tbody tr:hover{background:var(--sky)}

/* checklists */
.check-list{list-style:none;display:grid;gap:.55rem}
.check-list li{padding-left:1.7rem;position:relative}
.check-list li::before{
  content:"";position:absolute;left:0;top:.42em;width:.95em;height:.95em;
  background:var(--ocean);border-radius:50%;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat;
}
.x-list li::before{
  background:var(--ink-soft);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round"><line x1="6" y1="6" x2="18" y2="18"/><line x1="18" y1="6" x2="6" y2="18"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round"><line x1="6" y1="6" x2="18" y2="18"/><line x1="18" y1="6" x2="6" y2="18"/></svg>') center/contain no-repeat;
}

/* ---------- reviews ---------- */
.stars{color:var(--sun);letter-spacing:.1em;font-size:1.05rem}
.review-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.review-card blockquote{font-size:1.02rem;color:var(--ink);margin:.8rem 0 1rem}
.review-card cite{font-style:normal;font-size:.9rem;color:var(--ink-soft);font-weight:600}
.review-title{font-family:var(--font-display);font-weight:600;color:var(--deep);font-size:1.4rem;text-transform:uppercase;letter-spacing:.015em}

/* ---------- gallery ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.gallery-grid a{display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:var(--white)}
.gallery-grid img{aspect-ratio:1/1;object-fit:cover;width:100%;transition:transform .25s ease}
.gallery-grid a:hover img{transform:scale(1.04)}
.gallery-grid .wide{grid-column:span 2}
.gallery-grid .wide img{aspect-ratio:2.05/1}

/* ---------- faq ---------- */
.faq-list{display:grid;gap:.9rem;max-width:50rem;margin:0 auto}
details.faq{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:0;box-shadow:var(--shadow)}
details.faq summary{
  cursor:pointer;font-weight:700;color:var(--deep);font-size:1.05rem;
  padding:1.1rem 3rem 1.1rem 1.4rem;list-style:none;position:relative;
}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{
  content:"+";position:absolute;right:1.3rem;top:50%;transform:translateY(-50%);
  font-family:var(--font-display);font-size:1.6rem;color:var(--ocean);
}
details.faq[open] summary::after{content:"–"}
details.faq .faq-body{padding:0 1.4rem 1.3rem;color:var(--ink-soft)}
details.faq .faq-body p+p{margin-top:.7rem}

/* ---------- figures / split ---------- */
.figure{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}
.figure img{width:100%;object-fit:cover}
figcaption{font-size:.86rem;color:var(--ink-soft);padding:.6rem .9rem;background:var(--white)}
.split-media img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;object-fit:cover;aspect-ratio:4/3}

/* callout */
.callout{
  border-left:4px solid var(--ocean);background:var(--white);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1.2rem 1.5rem;box-shadow:var(--shadow);
}

/* ---------- book page ---------- */
.book-hero{background:var(--grad-ocean);color:#D7EAF6;padding:4rem 0 3.5rem}
.book-hero h1{color:var(--white)}
.book-hero .lede{color:#D7ECF8}
.contact-big{
  font-family:var(--font-display);font-size:clamp(2.6rem,5.5vw,4rem);
  font-weight:600;color:var(--white);text-decoration:none;display:inline-block;line-height:1;
}
.contact-big:hover{color:var(--ocean-light)}
.step-list{counter-reset:step;display:grid;gap:1.2rem}
.step-list li{list-style:none;position:relative;padding-left:3.4rem}
.step-list li::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:0;top:.1rem;width:2.4rem;height:2.4rem;
  border-radius:50%;background:var(--deep);color:var(--ocean-light);
  font-family:var(--font-display);font-weight:600;font-size:1.3rem;
  display:flex;align-items:center;justify-content:center;
}

/* ---------- peek-a-boo book bar (mobile) ---------- */
.book-bar{position:fixed;left:0;right:0;bottom:0;z-index:45;display:flex;gap:.6rem;
  padding:.6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background:rgba(9,29,46,.97);backdrop-filter:blur(6px);transition:transform .25s ease}
.book-bar .btn{flex:1;padding:.75rem .5rem;font-size:.95rem}
.book-bar .btn-ghost{color:#fff;border-color:rgba(255,255,255,.75)}
.book-bar.bar-hidden{transform:translateY(110%)}
.site-header:has(.nav-mobile.open)~.book-bar{display:none}
@media(min-width:768px){.book-bar{display:none}}
@media(max-width:767px){body{padding-bottom:0}}

/* ---------- footer ---------- */
.site-footer{background:var(--deeper);color:#9DB8CA;padding:3.5rem 0 2rem;margin-top:0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:2rem;margin-bottom:2.5rem}
.site-footer h4{color:var(--white);font-size:1.25rem;margin-bottom:.6rem}
.site-footer a{color:#BFDCEE;text-decoration:none}
.site-footer a:hover{color:var(--ocean-light)}
.footer-links{display:grid;gap:.35rem}
.footer-brand .brand-name{
  font-family:var(--font-display);font-size:2rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.02em;display:block;
  background:linear-gradient(100deg,#5FB4E4,#7EC8EC 60%,#A9DCF4);
  -webkit-background-clip:text;background-clip:text;color:transparent;line-height:1;
}
.footer-brand .brand-sub{font-size:.63rem;font-weight:700;letter-spacing:.26em;text-transform:uppercase;color:var(--ocean-light);display:block;margin:.1rem 0 .9rem}
.footer-note{border-top:1px solid var(--line-deep);padding-top:1.4rem;font-size:.85rem;display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between}

/* ---------- page hero (interior) ---------- */
.page-hero{background:var(--grad-ocean);padding:3.6rem 0 3rem;color:#D7EAF6}
.page-hero h1{color:var(--white);font-size:clamp(2.6rem,5.5vw,4rem)}
.page-hero .lede{color:#C9E4F4}
.page-hero .eyebrow{color:var(--ocean-light)}

/* ---------- responsive ---------- */
@media(max-width:960px){
  .grid-3,.grid-4{grid-template-columns:1fr 1fr}
  .stats-row{grid-template-columns:1fr 1fr;gap:2rem 1rem}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .grid-2{grid-template-columns:1fr}
  .grid-3,.grid-4{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-grid .wide{grid-column:span 2}
  .header-phone{display:none}
  .section{padding:3.2rem 0}
  .hero{min-height:78vh}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
