/* ============================================================
   PG-13 CCW TRAINING ACADEMY — TACTICAL REDESIGN
   Dark / charcoal base + electric blue accent
============================================================ */

:root{
  --bg:            #0a0d10;
  --bg-alt:        #0e1215;
  --panel:         #12171c;
  --panel-2:       #171d23;
  --line:          #232b32;
  --text:          #eef2f5;
  --text-dim:      #9aa7b0;
  --text-faint:    #67747c;
  --accent:        #00c2ff;
  --accent-2:      #0084c7;
  --accent-glow:   rgba(0,194,255,.35);
  --gold:          #e3b04b;
  --gold-soft:     rgba(227,176,75,.5);
  --danger:        #ff3b3b;
  --radius:        2px;
  --maxw:          1240px;
  --font-head:     'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
  line-height:1.1;
}

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-size:13px;
  font-weight:600;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:16px;
}
.eyebrow::before{
  content:'';
  width:28px; height:2px;
  background:var(--gold);
}

/* ---------- background texture ---------- */
body::before{
  content:'';
  position:fixed; inset:0;
  background-image:
    linear-gradient(rgba(0,194,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,.035) 1px, transparent 1px);
  background-size:44px 44px;
  pointer-events:none;
  z-index:0;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:16px 32px;
  border:1px solid transparent;
  border-radius:var(--radius);
  cursor:pointer;
  transition:all .2s ease;
  clip-path:polygon(0 0, 100% 0, 100% 70%, 94% 100%, 0 100%);
}
.btn-primary{
  background:var(--accent);
  color:#04141c;
}
.btn-primary:hover{
  background:#3fd3ff;
  box-shadow:0 0 28px var(--accent-glow);
  transform:translateY(-2px);
}
.btn-outline{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
}
.btn-outline:hover{
  border-color:var(--accent);
  color:var(--accent);
}

/* ============ HEADER ============ */
.site-header .container{ max-width:1440px; }
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(10,13,16,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  height:84px;
}
.logo{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  line-height:1;
  flex:0 0 auto;
  position:relative;
  z-index:2;
}
/* oversized badge that hangs below the header divider */
.logo-badge{
  height:116px;
  width:auto;
  flex-shrink:0;
  position:relative;
  top:20px;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.6));
}
/* the badge artwork already spells out the full name, so this text
   wordmark stays hidden at every width - it would be a duplicate */
.logo-text{
  display:none;
  flex-direction:column;
  line-height:1;
}
.footer-logo{
  height:104px;
  width:auto;
  margin-bottom:20px;
}
.logo .mark{
  font-family:var(--font-head);
  font-size:26px;
  font-weight:800;
  letter-spacing:.04em;
  color:var(--text);
}
.logo .mark span{ color:var(--accent); }
.logo .sub{
  font-size:10px;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--text-faint);
  margin-top:4px;
  white-space:nowrap;
}

.nav-desktop{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:30px;
  margin:0 24px;
}
.nav-desktop a{
  font-family:var(--font-head);
  font-size:15px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--text-dim);
  position:relative;
  padding:8px 0;
  white-space:nowrap;
  transition:color .2s ease;
}
.nav-desktop a:hover,
.nav-desktop a.active{ color:var(--text); }
.nav-desktop a.active::after,
.nav-desktop a:hover::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background:var(--accent);
}
.nav-cta{ display:flex; align-items:center; gap:18px; flex:0 0 auto; }
.nav-cta .btn{ padding:14px 24px; font-size:14px; white-space:nowrap; }
.nav-phone{
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  color:var(--text);
  display:flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.nav-phone svg{ width:16px; height:16px; color:var(--accent); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; cursor:pointer;
  padding:8px;
}
.nav-toggle span{
  width:26px; height:2px; background:var(--text);
}

/* ============ HERO ============ */
.hero{
  position:relative;
  padding:56px 0 48px;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
  filter:grayscale(.2) contrast(1.05) brightness(.8);
}
.hero-overlay{
  position:absolute; inset:0;
  z-index:0;
  background:linear-gradient(90deg, rgba(10,13,16,.92) 0%, rgba(10,13,16,.55) 48%, rgba(10,13,16,.18) 100%);
}
.hero::after{
  content:'';
  position:absolute;
  top:-20%; right:-10%;
  width:600px; height:600px;
  background:radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity:.5;
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.65fr .35fr;
  gap:60px;
  align-items:center;
  position:relative; z-index:1;
}
.hero h1{
  font-size:clamp(36px,4.4vw,56px);
  color:var(--text);
  margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;
  color:var(--accent);
  text-shadow:0 0 30px var(--accent-glow);
}
.hero p.lead{
  font-size:18px;
  color:var(--text-dim);
  max-width:700px;
  margin-bottom:28px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid var(--line);
  padding-top:22px;
  max-width:700px;
}
.hero-stats div{ padding-right:20px; }
.hero-stats .num{
  font-family:var(--font-head);
  font-size:30px;
  font-weight:800;
  color:var(--accent);
}
.hero-stats .lbl{
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-faint);
  margin-top:4px;
}

/* hero visual: tactical target graphic (svg, no fake photos) */
.hero-visual{
  position:relative;
  aspect-ratio:1/1;
  display:flex; align-items:center; justify-content:center;
}
.target-ring{
  position:absolute;
  border:1px solid var(--line);
  border-radius:50%;
}
.target-ring.r1{ width:100%; height:100%; }
.target-ring.r2{ width:74%; height:74%; border-color:rgba(0,194,255,.25); }
.target-ring.r3{ width:46%; height:46%; border-color:rgba(0,194,255,.4); }
.target-core{
  width:14%; height:14%;
  background:var(--accent);
  border-radius:50%;
  box-shadow:0 0 40px var(--accent-glow);
}
.target-crosshair{
  position:absolute; inset:0;
}
.target-crosshair::before,
.target-crosshair::after{
  content:'';
  position:absolute;
  background:var(--line);
}
.target-crosshair::before{ left:0; right:0; top:50%; height:1px; }
.target-crosshair::after{ top:0; bottom:0; left:50%; width:1px; }

/* ============ SECTION GENERIC ============ */
section{ position:relative; padding:100px 0; }
.section-head{
  max-width:820px;
  margin-bottom:56px;
}
/* the intro paragraph stays at a comfortable reading measure even though
   the heading above it is now allowed to run wider */
.section-head p{ max-width:640px; }
.section-head h2{
  font-size:clamp(30px,3.6vw,44px);
  margin-bottom:16px;
}
.section-head p{
  color:var(--text-dim);
  font-size:17px;
}
.section-alt{ background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* ============ LIGHT SECTION ============ */
.section-light{
  background:#f3f1ec;
  border-top:1px solid #e4dfd4;
  border-bottom:1px solid #e4dfd4;
}
.section-light h2, .section-light h3, .section-light h4{ color:#151a1e; }
.section-light p, .section-light .section-head p{ color:#5b656d; }
.section-light .eyebrow{ color:#8a6d23; }
.section-light .eyebrow::before{ background:var(--gold); }
.section-light .check-list li{ color:#3a444c; border-color:#e0dacc; }
.section-light .check-list li:last-child{ border-color:#e0dacc; }
/* .card keeps its dark panel background even inside a .section-light
   section, so its check-list needs the light-on-dark colors restored. */
.section-light .card .check-list li{ color:var(--text-dim); border-color:var(--line); }
.section-light .card .check-list li:last-child{ border-color:var(--line); }
.section-light .steps{ border-color:#ded8ca; background:#fff; }
.section-light .step{ border-right-color:#e4dfd4; }
.section-light .step .step-num{ color:#e0d6bd; }
.section-light .step h4{ color:#151a1e; }
.section-light .step p{ color:#5b656d; }
.section-light .county-grid div, .section-light .county-grid a{ color:#3a444c; border-color:#e0dacc; }
.section-light .county-grid div:hover, .section-light .county-grid a:hover{ background:#fff; color:var(--accent-2); }
.section-light .split-media{ border-color:#e4dfd4; }
.section-light .module-block{ border-color:#e0dacc; }
.section-light .module-tag{ color:#8a6d23; }
.section-light .module-block ul li{ color:#3a444c; border-color:#e0dacc; }
.section-light .module-block ul li:last-child{ border-color:#e0dacc; }
.section-light .module-block ul li::before{ background:var(--gold); }

/* Outline button variant for use directly on a light/cream surface
   (not inside a dark .card) — default .btn-outline stays light-text
   for use on dark backgrounds and inside .card, which keeps its
   dark panel background even in a .section-light section. */
.btn-outline-onlight{
  background:transparent;
  border:1px solid #c9c1ac;
  color:#151a1e;
}
.btn-outline-onlight:hover{
  border-color:var(--accent-2);
  color:var(--accent-2);
}
.section-light .module-visual{ background:#fff; border-color:#e4dfd4; color:var(--accent-2); }
.section-light .info-card{ background:#fff; border-color:#e4dfd4; }
.section-light .info-card h4{ color:#151a1e; }
.section-light .info-card p{ color:#5b656d; }
.section-light .form-wrap{ background:#fff; border-color:#e4dfd4; }
.section-light .field label{ color:#7a838b; }
.section-light .field input, .section-light .field select, .section-light .field textarea{
  background:#faf9f6; border-color:#ddd6c7; color:#151a1e;
}
.section-light .map-frame{ filter:none; border-color:#e4dfd4; }
.section-light .gallery-item{ border-color:#e4dfd4; }
.section-light .legal-toc{ background:#fff; border-color:#e4dfd4; }
.section-light .legal-toc h4{ color:#8a6d23; }
.section-light .legal-toc a{ color:#5b656d; border-color:#eee8db; }
.section-light .legal-toc a:hover{ color:var(--accent-2); }
.section-light .legal-body .updated{ background:#fff; border-color:#e4dfd4; color:#5b656d; }
.section-light .legal-body h2{ border-color:#e0dacc; color:#151a1e; }
.section-light .legal-body h3{ color:#151a1e; }
.section-light .legal-body p, .section-light .legal-body ul li{ color:#3a444c; }
.section-light .legal-body ul li strong{ color:#151a1e; }
.section-light .legal-body ul li::before{ background:var(--gold); }
.section-light .legal-body a{ color:var(--accent-2); }
.section-light .legal-note{ background:#fff; border-color:#e4dfd4; border-left-color:var(--gold); }

/* ============ COURSE / CARD GRID ============ */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px;
  transition:border-color .2s ease, transform .2s ease;
  position:relative;
}
.card:hover{
  border-color:var(--accent);
  transform:translateY(-4px);
}
.card .icon{
  width:48px; height:48px;
  border:1px solid var(--accent);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:24px;
  color:var(--accent);
  clip-path:polygon(0 0,100% 0,100% 100%,15% 100%);
}
.card .icon svg{ width:24px; height:24px; }
.card h3{
  font-size:19px;
  margin-bottom:12px;
  color:var(--text);
}
.card p{ color:var(--text-dim); font-size:15px; }
.card .num{
  position:absolute;
  top:20px; right:22px;
  font-family:var(--font-head);
  font-size:15px;
  font-weight:700;
  color:var(--bg);
  background:var(--accent);
  padding:7px 13px;
  border-radius:var(--radius);
  letter-spacing:.08em;
  white-space:nowrap;
}

/* ============ PROCESS STEPS ============ */
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid var(--line);
}
.step{
  padding:36px 28px;
  border-right:1px solid var(--line);
  position:relative;
}
.step:last-child{ border-right:none; }
.step .step-num{
  font-family:var(--font-head);
  font-size:42px;
  font-weight:800;
  color:var(--line);
  margin-bottom:16px;
}
.step h4{ font-size:16px; margin-bottom:10px; color:var(--text); }
.step p{ font-size:14px; color:var(--text-dim); }

/* ============ CTA BANNER ============ */
.cta-banner{
  background:linear-gradient(120deg, var(--panel) 0%, var(--bg-alt) 100%);
  border:1px solid var(--line);
  padding:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.cta-banner h2{ font-size:clamp(26px,3vw,36px); max-width:640px; }
.cta-banner p{ color:var(--text-dim); margin-top:10px; }

/* ============ FOOTER ============ */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--line);
  padding:80px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:56px;
}
.footer-grid h4{
  font-size:13px;
  letter-spacing:.14em;
  color:var(--text);
  margin-bottom:20px;
}
.footer-grid p{ color:var(--text-dim); font-size:14px; margin-bottom:8px; }
.footer-grid a{ color:var(--text-dim); font-size:14px; display:block; margin-bottom:12px; transition:color .2s; }
.footer-grid p a{ display:inline; margin:0; }
.footer-grid a:hover{ color:var(--accent); }
.footer-bottom{
  border-top:1px solid var(--line);
  padding-top:28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  font-size:13px;
  color:var(--text-faint);
}
.social-row{ display:flex; gap:14px; }
.social-row a{
  width:48px; height:48px;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-dim);
  transition:all .2s;
}
.social-row a svg{ width:22px; height:22px; }
.social-row a:hover{
  border-color:var(--accent);
  color:var(--accent);
  background:var(--panel);
  transform:translateY(-2px);
}

/* ============ PAGE HERO (interior pages) ============ */
.page-hero{
  padding:70px 0 60px;
  border-bottom:1px solid var(--line);
  position:relative;
}
.breadcrumb{
  font-size:13px;
  color:var(--text-faint);
  margin-bottom:18px;
  letter-spacing:.04em;
}
.breadcrumb a{ color:var(--text-dim); }
.breadcrumb a:hover{ color:var(--accent); }
.page-hero h1{ font-size:clamp(32px,4.4vw,52px); max-width:960px; }
.page-hero p.lead{ color:var(--text-dim); font-size:17px; max-width:640px; margin-top:16px; }
.page-hero-split{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:56px;
  align-items:center;
}
.page-hero-split .page-hero-body h1,
.page-hero-split .page-hero-body p.lead{ max-width:none; }

/* ============ SUBSECTION BLOCKS (module detail pages) ============ */
.module-block{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:start;
  padding:64px 0;
  border-bottom:1px solid var(--line);
}
.module-block:last-child{ border-bottom:none; }
.module-tag{
  font-family:var(--font-head);
  font-size:13px;
  letter-spacing:.2em;
  color:var(--accent);
  margin-bottom:14px;
}
.module-block h3{ font-size:28px; margin-bottom:18px; }
.module-block ul{ margin-top:20px; }
.module-block ul li{
  display:flex; gap:12px;
  padding:10px 0;
  border-top:1px solid var(--line);
  color:var(--text-dim);
  font-size:15px;
}
.module-block ul li:last-child{ border-bottom:1px solid var(--line); }
.module-block ul li::before{
  content:'';
  width:6px; height:6px;
  background:var(--accent);
  margin-top:8px;
  flex-shrink:0;
}
.module-visual{
  background:var(--panel);
  border:1px solid var(--line);
  aspect-ratio:4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
  position:relative;
  overflow:hidden;
}
.module-visual svg{ width:35%; height:35%; opacity:.85; }
.module-visual.photo img{ width:100%; height:100%; object-fit:cover; position:relative; z-index:1; }
.module-visual::before{
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(rgba(0,194,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,.06) 1px, transparent 1px);
  background-size:24px 24px;
}

/* ============ FAQ ============ */
.faq-item{
  border-bottom:1px solid var(--line);
  padding:26px 0;
}
.faq-item h4{
  font-size:17px;
  color:var(--text);
  display:flex;
  justify-content:space-between;
  cursor:pointer;
  font-family:var(--font-body);
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
}
.faq-item h4::after{
  content:'+';
  color:var(--accent);
  font-size:22px;
  font-family:var(--font-head);
}
.faq-item.open h4::after{ content:'\2212'; }
.faq-item p{
  color:var(--text-dim);
  margin-top:14px;
  max-width:760px;
  display:none;
}
.faq-item.open p{ display:block; }

/* ============ FORM ============ */
.form-wrap{
  background:var(--panel);
  border:1px solid var(--line);
  padding:48px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1/-1; }
.field label{
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-faint);
}
.field input, .field select, .field textarea{
  background:var(--bg);
  border:1px solid var(--line);
  color:var(--text);
  padding:14px 16px;
  font-family:var(--font-body);
  font-size:15px;
  border-radius:var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--accent);
}
.field textarea{ resize:vertical; min-height:120px; }

/* ============ BOOKING EMBED ============ */
.booking-wrap{
  background:var(--panel);
  border:1px solid var(--line);
  padding:40px;
}
.section-light .booking-wrap{ background:#fff; border-color:#e4dfd4; }
.booking-head h3{ font-size:24px; margin-bottom:20px; }
.section-light .booking-head h3{ color:#151a1e; }
.booking-iframe{
  width:100%;
  height:820px;
  border:0;
  display:block;
  background:#fff;
}
.booking-placeholder{
  border:1px dashed #cfc7b4;
  background:#faf9f6;
  padding:56px 40px;
  text-align:center;
}
.booking-placeholder svg{
  width:44px; height:44px;
  color:var(--gold);
  margin:0 auto 18px;
}
.booking-placeholder h4{
  font-family:var(--font-head);
  font-size:18px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#151a1e;
  margin-bottom:10px;
}
.booking-placeholder p{
  color:#5b656d;
  font-size:15px;
  max-width:420px;
  margin:0 auto 24px;
}

/* ============ CONTACT INFO CARDS ============ */
.info-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:56px; }
.info-card{
  border:1px solid var(--line);
  padding:28px;
  background:var(--panel);
}
.info-card .icon{
  width:40px; height:40px;
  color:var(--accent);
  margin-bottom:16px;
}
.info-card h4{
  font-family:var(--font-head);
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
  color:var(--text);
}
.info-card p{ color:var(--text-dim); font-size:15px; }

.map-frame{
  border:1px solid var(--line);
  filter:grayscale(1) invert(.92) contrast(.9);
  width:100%; height:380px;
}

/* ============ GALLERY ============ */
.gallery-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:32px;
}
.gallery-filters button{
  font-family:var(--font-head);
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:10px 20px;
  background:transparent;
  border:1px solid var(--line);
  color:var(--text-dim);
  cursor:pointer;
  transition:all .2s ease;
}
.gallery-filters button:hover{ border-color:var(--accent); color:var(--text); }
.gallery-filters button.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#04141c;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.gallery-item{
  aspect-ratio:1/1;
  background:var(--panel);
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:var(--text-faint);
  position:relative;
  overflow:hidden;
  transition:border-color .2s;
}
.gallery-item:hover{ border-color:var(--accent); }
.gallery-item svg{ width:30%; height:30%; color:var(--accent); opacity:.8; }
.gallery-item span{
  font-family:var(--font-head);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.gallery-item.hide{ display:none; }

.gallery-item.photo{
  padding:0;
  display:block;
  cursor:zoom-in;
}
.gallery-item.photo.hide{ display:none; }
.gallery-item.photo img{
  width:100%; height:100%;
  object-fit:cover;
  filter:grayscale(.25) contrast(1.08);
  transition:filter .25s ease, transform .3s ease;
}
.gallery-item.photo:hover img{
  filter:grayscale(0) contrast(1.1);
  transform:scale(1.04);
}

/* ============ BADGE STRIP ============ */
.badge-strip{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:24px;
  padding:36px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.badge-strip .badge{
  display:flex; align-items:center; gap:12px;
  font-family:var(--font-head);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.badge-strip .badge svg{ width:20px; height:20px; color:var(--accent); }

/* ============ RESPONSIVE ============ */
/* phone number only when there is genuinely room for it */
@media (max-width:1340px){
  .nav-cta .nav-phone{ display:none; }
}
@media (max-width:1180px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width:520px){
  .logo-badge{ height:88px; top:14px; }
}
@media (max-width:520px){
  /* keep the booking CTA visible on phones, just tighten it */
  .nav-cta .btn{ padding:11px 14px; font-size:12px; letter-spacing:.04em; }
  .nav-cta{ gap:10px; }
}
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ max-width:340px; margin:0 auto; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .step{ border-bottom:1px solid var(--line); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .module-block{ grid-template-columns:1fr; }
  .module-visual{ order:-1; }
  .info-row{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(3,1fr); }
  .form-row{ grid-template-columns:1fr; }
  .cta-banner{ padding:40px; }
}
@media (max-width:600px){
  .grid-2, .grid-3, .grid-4, .steps{ grid-template-columns:1fr; }
  .hero-stats{ grid-template-columns:repeat(3,1fr); gap:10px; }
  .hero-stats .num{ font-size:22px; }
  section{ padding:70px 0; }
}

/* ============ MOBILE NAV PANEL ============ */
.mobile-nav{
  position:fixed; inset:0;
  background:var(--bg);
  z-index:200;
  display:none;
  flex-direction:column;
  padding:16px 24px 24px;
  overflow-y:auto;
}
.mobile-nav.open{ display:flex; }

/* close button: bigger, brand blue, tucked into the top right */
.mobile-nav .close-row{
  display:flex;
  justify-content:flex-end;
  margin-bottom:14px;
}
.mobile-nav-close{
  background:none;
  border:none;
  cursor:pointer;
  color:var(--accent);
  font-size:52px;
  line-height:1;
  /* explicit box keeps the glyph centred and gives a real tap target;
     the negative margin version was letting the row swallow the click */
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  position:relative;
  z-index:1;
  transition:color .2s ease, transform .2s ease;
}
.mobile-nav-close:hover{ color:#3fd3ff; transform:scale(1.08); }

/* tighter rows so the list starts higher and fits without scrolling */
.mobile-nav a{
  font-family:var(--font-head);
  font-size:22px;
  line-height:1.15;
  text-transform:uppercase;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  color:var(--text);
}
.mobile-nav a.sub{
  font-size:16px;
  padding:9px 0 9px 18px;
}

/* ============ LIGHTBOX ============ */
.lightbox{
  position:fixed; inset:0;
  background:rgba(4,7,10,.94);
  z-index:300;
  display:none;
  align-items:center;
  justify-content:center;
  padding:40px;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width:92vw;
  max-height:82vh;
  border:1px solid var(--line);
}
.lightbox .lb-cap{
  position:absolute;
  bottom:36px; left:0; right:0;
  text-align:center;
  font-family:var(--font-head);
  font-size:14px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next{
  position:absolute;
  background:rgba(18,23,28,.85);
  border:1px solid var(--line);
  color:var(--text);
  width:48px; height:48px;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s ease;
}
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover{ border-color:var(--accent); color:var(--accent); }
.lightbox .lb-close{ top:28px; right:28px; }
.lightbox .lb-prev{ left:28px; top:50%; transform:translateY(-50%); }
.lightbox .lb-next{ right:28px; top:50%; transform:translateY(-50%); }

/* ============ HERO PHOTO ============ */
.hero-photo{
  position:relative;
  border:1px solid var(--line);
  overflow:hidden;
  aspect-ratio:4/5;
}
.hero-photo img{
  width:100%; height:100%;
  object-fit:cover;
  filter:grayscale(.3) contrast(1.1) brightness(.92);
}
.hero-photo::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(0,194,255,.14) 0%, transparent 45%, rgba(10,13,16,.75) 100%);
}
.hero-photo .tag{
  position:absolute;
  left:0; bottom:0;
  z-index:2;
  background:var(--accent);
  color:#04141c;
  font-family:var(--font-head);
  font-weight:700;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:12px 20px;
}

/* ============ SPLIT (image + text) ============ */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media{
  position:relative;
  border:1px solid var(--line);
  overflow:hidden;
  aspect-ratio:4/3;
}
.split-media img{
  width:100%; height:100%;
  object-fit:cover;
  filter:grayscale(.25) contrast(1.08);
  transition:transform .5s ease;
}
.split-media:hover img{ transform:scale(1.04); }
.split-media.no-crop{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  padding:32px;
}
.split-media.no-crop img{
  width:100%; height:100%;
  object-fit:contain;
  filter:none;
}
.split-media.no-crop:hover img{ transform:none; }
@media (max-width:600px){
  .split-media.no-crop{ padding:20px; }
}
.split-body h2{ font-size:clamp(28px,3.2vw,40px); margin-bottom:18px; }
.split-body p{ color:var(--text-dim); font-size:16px; margin-bottom:14px; }
.card-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.card-actions .btn{ padding:13px 22px; font-size:13px; }
.check-list{ margin-top:24px; }
.check-list li{
  display:flex; gap:12px;
  padding:12px 0;
  border-top:1px solid var(--line);
  color:var(--text-dim);
  font-size:15px;
}
.check-list li:last-child{ border-bottom:1px solid var(--line); }
.check-list li a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.section-light .check-list li a{ color:var(--accent-2); }
.check-list li::before{
  content:'';
  width:6px; height:6px;
  background:var(--accent);
  margin-top:8px;
  flex-shrink:0;
}

/* ============ PHOTO STRIP ============ */
.photo-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.photo-strip a{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  border:1px solid var(--line);
  overflow:hidden;
}
.photo-strip img{
  width:100%; height:100%;
  object-fit:cover;
  filter:grayscale(.4) contrast(1.08);
  transition:filter .3s ease, transform .4s ease;
}
.photo-strip a:hover img{ filter:grayscale(0); transform:scale(1.05); }
.photo-strip a:hover{ border-color:var(--accent); }
.photo-strip .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:12px 14px;
  background:linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  font-family:var(--font-head);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#fff;
}

/* ============ INSTRUCTOR ============ */
.instructor{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:56px;
  align-items:center;
}
.instructor-photo{
  border:1px solid var(--line);
  overflow:hidden;
  aspect-ratio:3/4;
  background:#0a0d10;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.instructor-photo img{ width:100%; height:100%; object-fit:contain; }
.instructor blockquote{
  font-family:var(--font-head);
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.3;
  text-transform:uppercase;
  color:var(--text);
  border-left:3px solid var(--accent);
  padding-left:24px;
  margin-bottom:24px;
}
.instructor .attrib{
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-faint);
}

/* ============ TESTIMONIALS ============ */
.quote-card{
  background:var(--panel);
  border:1px solid var(--line);
  padding:32px;
  transition:border-color .2s ease, transform .2s ease;
}
.quote-card:hover{ border-color:var(--accent); transform:translateY(-4px); }
.quote-card .stars{ color:var(--gold); letter-spacing:.2em; margin-bottom:16px; font-size:14px; }
.quote-card p{ color:var(--text-dim); font-size:15px; margin-bottom:20px; }
.quote-card .who{
  font-family:var(--font-head);
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text);
}
.quote-card .where{ font-size:12px; color:var(--text-faint); letter-spacing:.08em; }

/* ============ COUNTY / SERVICE AREA ============ */
.county-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  border:1px solid var(--line);
}
.county-grid div, .county-grid a{
  padding:26px 14px;
  text-align:center;
  border-right:1px solid var(--line);
  font-family:var(--font-head);
  font-size:14px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-dim);
  transition:background .2s ease, color .2s ease;
}
.county-grid div:last-child, .county-grid a:last-child{ border-right:none; }
.county-grid div:hover, .county-grid a:hover{ background:var(--panel); color:var(--accent); }

/* ============ EXTRA RESPONSIVE ============ */
@media (max-width:980px){
  .split, .instructor{ grid-template-columns:1fr; gap:32px; }
  .split.reverse .split-media{ order:0; }
  .instructor-photo{ max-width:320px; }
  .photo-strip{ grid-template-columns:repeat(2,1fr); }
  .county-grid{ grid-template-columns:repeat(3,1fr); }
  .county-grid div:nth-child(3n), .county-grid a:nth-child(3n){ border-right:none; }
  .gallery-grid{ grid-template-columns:repeat(3,1fr); }
  .hero-photo{ max-width:420px; margin:0 auto; aspect-ratio:4/3; }
  .page-hero-split{ grid-template-columns:1fr; gap:32px; }
  .page-hero-split .hero-photo{ order:-1; aspect-ratio:16/10; }
}
@media (max-width:600px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .county-grid{ grid-template-columns:repeat(2,1fr); }
  .county-grid div:nth-child(3n), .county-grid a:nth-child(3n){ border-right:1px solid var(--line); }
  .county-grid div:nth-child(2n), .county-grid a:nth-child(2n){ border-right:none; }
  .lightbox .lb-prev{ left:8px; }
  .lightbox .lb-next{ right:8px; }
}

/* ============ LEGAL PAGES ============ */
.legal-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:56px;
  align-items:start;
}
.legal-toc{
  position:sticky;
  top:110px;
  border:1px solid var(--line);
  background:var(--panel);
  padding:24px;
}
.legal-toc h4{
  font-size:12px;
  letter-spacing:.16em;
  color:var(--text-faint);
  margin-bottom:16px;
}
.legal-toc a{
  display:block;
  font-size:14px;
  color:var(--text-dim);
  padding:7px 0;
  border-bottom:1px solid var(--line);
  transition:color .2s ease;
}
.legal-toc a:last-child{ border-bottom:none; }
.legal-toc a:hover{ color:var(--accent); }

.legal-body{ max-width:820px; }
.legal-body .updated{
  display:inline-block;
  border:1px solid var(--line);
  background:var(--panel);
  padding:10px 18px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin-bottom:40px;
}
.legal-body h2{
  font-size:22px;
  margin:44px 0 16px;
  padding-top:28px;
  border-top:1px solid var(--line);
  scroll-margin-top:110px;
}
.legal-body h2:first-of-type{ margin-top:0; border-top:none; padding-top:0; }
.legal-body h3{
  font-size:16px;
  margin:26px 0 10px;
  color:var(--text);
}
.legal-body p{ color:var(--text-dim); font-size:15px; margin-bottom:14px; }
.legal-body ul{ margin:0 0 18px; }
.legal-body ul li{
  display:block;
  position:relative;
  padding:8px 0 8px 22px;
  color:var(--text-dim);
  font-size:15px;
}
.legal-body ul li strong{ color:var(--text); }
.legal-body ul li::before{
  content:'';
  position:absolute;
  left:0; top:17px;
  width:6px; height:6px;
  background:var(--accent);
}
.legal-body a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.legal-note{
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  background:var(--panel);
  padding:22px 24px;
  margin:28px 0;
}
.legal-note p{ margin-bottom:0; }

@media (max-width:980px){
  .legal-layout{ grid-template-columns:1fr; gap:32px; }
  .legal-toc{ position:static; }
}

/* ============ NAV DROPDOWN ============ */
.nav-desktop .has-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}
.nav-desktop .has-dropdown > a{
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-desktop .caret{
  width:12px; height:12px;
  transition:transform .2s ease;
}
.nav-desktop .has-dropdown:hover .caret{ transform:rotate(180deg); }

.nav-desktop .dropdown{
  position:absolute;
  top:100%;
  left:-16px;
  min-width:250px;
  padding:8px 0;
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:120;
}
/* keeps the menu from closing while the cursor crosses the gap */
.nav-desktop .has-dropdown::after{
  content:'';
  position:absolute;
  top:100%; left:0; right:0;
  height:18px;
}
.nav-desktop .has-dropdown:hover .dropdown,
.nav-desktop .has-dropdown:focus-within .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.nav-desktop .dropdown a{
  display:block;
  padding:11px 18px;
  font-size:13px;
  letter-spacing:.06em;
  color:var(--text-dim);
  white-space:nowrap;
  border-left:2px solid transparent;
}
.nav-desktop .dropdown a::after{ display:none !important; }
.nav-desktop .dropdown a:hover,
.nav-desktop .dropdown a.active{
  color:var(--text);
  background:var(--panel-2);
  border-left-color:var(--accent);
}

/* mobile menu sub-items */
.mobile-nav a.sub{ color:var(--text-dim); }


/* ---------- form status message ---------- */
.form-status{
  margin-top:18px;
  font-size:15px;
  line-height:1.5;
  display:none;
}
.form-status.ok, .form-status.err{ display:block; padding:14px 18px; border:1px solid; }
.form-status.ok{ color:#0f7b3d; border-color:#0f7b3d; background:rgba(15,123,61,.08); }
.form-status.err{ color:#c0392b; border-color:#c0392b; background:rgba(192,57,43,.08); }
.form-status a{ color:inherit; text-decoration:underline; }

/* the instructor portrait is a dark badge - back it with the brand dark, not white */
.split-media.no-crop.dark{ background:#0a0d10; }

/* ---------- mobile overflow fixes ---------- */

/* grid children default to min-width:auto, so a wide image (the blog card
   thumbnails carry width="1200") forces the column open and the page
   scrolls sideways on phones. */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .split > *, .steps > *,
.instructor > *, .footer-grid > *{ min-width:0; }

.card-thumb{
  width:100%;
  height:auto;
  display:block;
  margin-bottom:18px;
  border:1px solid var(--line);
}

/* the sitemap tree is declared inline on the page with two fixed columns
   and no small-screen rule */
@media (max-width:700px){
  .site-tree{ grid-template-columns:1fr !important; }
  .tree-card{ padding:22px !important; }
  .tree-card li a span.path{ display:none; }
}

/* ---------- mobile menu call to action ---------- */
.mobile-nav .mobile-book{
  margin-top:28px;
  border-bottom:none;
  justify-content:center;
  font-size:16px;
  padding:18px 24px;
}
.mobile-nav .mobile-call{
  border-bottom:none;
  text-align:center;
  font-size:17px;
  color:var(--text-dim);
  padding-top:18px;
}

/* ---------- reviews ---------- */
.quote-card{ display:flex; flex-direction:column; }
.quote-card p:last-of-type{ margin-bottom:auto; }
.quote-card .who{ margin-top:24px; }
.stars-label{
  font-family:var(--font-head);
  font-weight:700;
  letter-spacing:.06em;
  margin-left:6px;
}
.reviews-cta{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  margin-top:40px;
}
.reviews-write{
  font-size:14px;
  color:var(--text-dim);
  text-decoration:underline;
  text-underline-offset:4px;
}
.reviews-write:hover{ color:var(--accent); }

.area-label{
  font-family:var(--font-head);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--text-faint);
  margin-bottom:12px;
}

/* ---------- FAQ inside a light section ----------
   .faq-item h4 sets color:var(--text) (near white) and is declared after
   .section-light h4, so on the light FAQ page the questions were rendering
   white on a near-white background. */
.section-light .faq-item{ border-bottom-color:#e0dacc; }
.section-light .faq-item h4{ color:#151a1e; }
.section-light .faq-item h4:hover{ color:#8a6d23; }
.section-light .faq-item p{ color:#5b656d; }
.section-light .faq-item h4::after{ color:#8a6d23; }

.instructor-title{
  font-family:var(--font-head);
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:20px !important;
}
.section-light .instructor-title{ color:#8a6d23 !important; }

/* photos fill the module visual; the grid overlay is for the icon version only */
.module-visual.photo{ background:none; }
.module-visual.photo::before{ display:none; }
.module-visual.photo img{
  width:100%; height:100%;
  object-fit:cover;
  position:relative; z-index:1;
  filter:grayscale(.2) contrast(1.05);
  transition:transform .5s ease, filter .3s ease;
}
.module-visual.photo:hover img{ transform:scale(1.04); filter:grayscale(0) contrast(1.06); }
.section-light .module-visual.photo{ background:none; }

/* ---------- page hero with a background photo ----------
   Add class "has-bg" to .page-hero and drop in:
     <img class="page-hero-bg" src="images/xxx.webp" alt="" aria-hidden="true">
     <div class="page-hero-overlay"></div>
   as the first two children. */
.page-hero.has-bg{
  padding:96px 0 84px;
  overflow:hidden;
  background:var(--bg);
  /* the 1px border sits outside the padding box, so an inset:0 image would
     leave a hairline gap at the bottom of the banner */
  border-bottom:none;
}
.page-hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
  opacity:.30;
  filter:grayscale(.35) contrast(1.05) brightness(.85);
}
.page-hero-overlay{
  position:absolute; inset:0;
  z-index:0;
  background:linear-gradient(90deg,
    rgba(10,13,16,.94) 0%,
    rgba(10,13,16,.78) 45%,
    rgba(10,13,16,.55) 100%);
}
.page-hero.has-bg > .container{ position:relative; z-index:1; }
@media (max-width:700px){
  .page-hero.has-bg{ padding:72px 0 64px; }
  .page-hero-overlay{ background:linear-gradient(180deg, rgba(10,13,16,.86) 0%, rgba(10,13,16,.9) 100%); }
}

/* ---------- no widows ----------
   text-wrap:balance evens out the lines of a heading so a single word never
   drops onto a line by itself. text-wrap:pretty does the same for the last
   line of body copy. Both degrade to normal wrapping in older browsers. */
h1, h2, h3, h4,
.section-head h2,
.cta-banner h2,
.page-hero h1,
.quote-card .who,
.card h3,
.info-card h4,
.faq-item h4{
  text-wrap:balance;
}
p, li, .lead, .section-head p, .card p, .split-body p, .legal-body p{
  text-wrap:pretty;
}
/* only genuinely short labels get nowrap - .attrib holds a long credit line
   and forcing it onto one line pushed the homepage 753px wide on a phone */
.stars-label, .area-label{ text-wrap:nowrap; }

.footer-bottom .credit a{ color:inherit; text-decoration:none; }
.footer-bottom .credit a:hover{ color:var(--accent); }
/* the pipe is its own link, so give it a clickable target */
.footer-bottom .credit a[aria-label]{ padding:0 4px; }

/* ---------- instructor block on small screens ----------
   The portrait is a square badge sitting in a 3/4 frame, which letterboxed it
   with dead space top and bottom once the layout stacked. Square the frame,
   trim the padding, and let the quote scale down so nothing runs tight. */
@media (max-width:760px){
  .instructor{ gap:24px; }
  .instructor-photo{
    aspect-ratio:1/1;
    max-width:100%;
    margin:0 auto;
    padding:12px;
  }
  .instructor blockquote{
    font-size:clamp(19px,5.4vw,24px);
    padding-left:16px;
    border-left-width:3px;
    margin-bottom:18px;
  }
  .instructor .attrib{
    font-size:12px;
    letter-spacing:.08em;
    line-height:1.5;
  }
}
@media (max-width:420px){
  .instructor-photo{ padding:8px; }
  .instructor blockquote{ font-size:19px; }
}
/* ============ LIABILITY WAIVER FORM ============ */
.waiver-doc{
  background:#fff;
  border:1px solid #e4dfd4;
  padding:48px;
  max-width:900px;
  margin:0 auto;
}
.waiver-head{ text-align:center; border-bottom:2px solid #8a6d23; padding-bottom:18px; margin-bottom:32px; }
.waiver-head.inner{ margin-top:48px; }
.waiver-brand{
  font-family:var(--font-head);
  font-size:22px; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase;
  color:#151a1e;
}
.waiver-sub{ font-size:15px; color:#3a444c; margin-top:6px; }
.waiver-meta{ font-size:12px; color:#7a838b; margin-top:10px; }

.waiver-form .field label{ color:#5b656d; }
.waiver-form .field input[readonly]{ background:#f3f1ec; color:#5b656d; }

.waiver-section{
  border:1px solid #e0dacc;
  background:#faf9f6;
  padding:24px;
  margin:24px 0;
}
.waiver-section h3{
  font-size:15px; letter-spacing:.08em;
  color:#151a1e; margin-bottom:12px;
}
.waiver-section p{ font-size:14px; line-height:1.65; color:#3a444c; }

.initial-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap;
  margin-top:18px; padding-top:16px;
  border-top:1px dashed #d9d2c4;
}
.initial-row .ack{ font-size:13px; font-weight:600; color:#151a1e; }
.initial-field{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.initial-field span{
  font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:#7a838b;
}
.initial-field input{
  width:78px; text-align:center; text-transform:uppercase;
  font-weight:700; letter-spacing:.1em;
  background:#fff; border:1px solid #d9d2c4; color:#151a1e;
  padding:10px 6px; border-radius:2px;
}
.initial-field input:focus{ outline:none; border-color:#8a6d23; }
.initial-field.compact input{ width:66px; padding:8px 4px; }

.directions{ font-size:14px; color:#3a444c; margin-bottom:20px; }
.rules-block{ border:1px solid #e0dacc; }
.rule-row{
  display:flex; align-items:flex-start; gap:18px;
  padding:14px 18px; border-bottom:1px solid #eee8db;
  background:#fff;
}
.rule-row:last-child{ border-bottom:none; }
.rule-row:nth-child(even){ background:#faf9f6; }
.rule-row p{ font-size:14px; line-height:1.6; color:#3a444c; margin:0; }

.check-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; }
.check-item{
  display:flex; align-items:flex-start; gap:10px;
  font-size:14px; color:#3a444c; cursor:pointer; line-height:1.5;
}
.check-item input{ margin-top:3px; width:17px; height:17px; accent-color:#8a6d23; flex-shrink:0; }
.radio-row{ display:flex; gap:28px; margin-top:8px; }

.waiver-certify{
  border:2px solid #151a1e; background:#f3f1ec;
  padding:24px; margin:32px 0 28px;
}
.waiver-certify p{
  font-size:12.5px; line-height:1.7; letter-spacing:.02em;
  font-weight:600; color:#151a1e; margin:0;
}
.signature-input{
  font-family:'Georgia', serif !important;
  font-size:20px !important; font-style:italic;
}
.consent-final{ margin-top:22px; font-size:13px; }
.waiver-foot{
  margin-top:26px; text-align:center;
  font-size:12px; color:#7a838b;
}

@media (max-width:760px){
  .waiver-doc{ padding:24px 18px; }
  .check-grid{ grid-template-columns:1fr; }
  .initial-row{ flex-direction:column; align-items:flex-start; gap:12px; }
  .rule-row{ flex-direction:column; gap:10px; }
  .waiver-brand{ font-size:18px; }
}
@media print{
  .site-header, .mobile-nav, .site-footer, .page-hero, .btn, .form-status{ display:none !important; }
  .waiver-doc{ border:none; padding:0; max-width:none; }
  .waiver-section, .rule-row{ break-inside:avoid; }
}


/* ============ ADMIN VIEW MODE + PRINT ============ */
.view-mode .site-header, .view-mode .mobile-nav, .view-mode .site-footer,
.view-mode .cta-banner, .view-mode .hero-actions, .view-mode .nav-cta{ display:none !important; }
.view-mode .page-hero{ padding:40px 0 24px; }
.view-bar{
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  background:#fff; border:1px solid #e4dfd4; border-left:4px solid var(--gold);
  padding:14px 18px; margin-bottom:20px; font-size:14px; color:#3a444c;
}
.view-bar.err{ border-left-color:var(--danger); }
.view-actions{ display:flex; gap:12px; align-items:center; }
.view-actions a{ color:var(--accent-2); font-weight:600; }
.view-actions button{
  background:var(--accent); color:#04141c; border:0; padding:10px 16px; cursor:pointer;
  font-family:var(--font-head); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:13px;
}
.view-mode input[readonly], .view-mode textarea[readonly], .view-mode select[disabled]{ opacity:1; color:#151a1e; }
@media print{
  body{ background:#fff !important; color:#000 !important; }
  body::before, .site-header, .mobile-nav, .site-footer, .cta-banner, .view-actions,
  .hero-actions, .breadcrumb, .nav-cta{ display:none !important; }
  .page-hero{ background:#fff !important; padding:0 0 12px !important; border:0 !important; }
  .page-hero h1, .page-hero .lead, .page-hero .eyebrow{ color:#000 !important; text-shadow:none !important; }
  .section-light, .section-alt, section{ background:#fff !important; border:0 !important; padding:0 !important; }
  .form-wrap, .booking-wrap{ background:#fff !important; border:1px solid #ccc !important; box-shadow:none !important; padding:16px !important; }
  input, select, textarea{ background:#fff !important; color:#000 !important; border:1px solid #999 !important; -webkit-print-color-adjust:exact; }
  .view-bar{ border:1px solid #999; }
  h1,h2,h3,h4,p,label,li,span{ color:#000 !important; }
  a{ color:#000 !important; text-decoration:none; }
  @page{ margin:14mm; }
}

/* ============ MULTI-STATE RECIPROCITY ============ */
.reciprocity-states{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:26px 0;
}
.state-card{
  background:#fff;
  border:1px solid #e4dfd4;
  border-left:3px solid #8a6d23;
  padding:20px 22px;
}
.state-card .state-tag{
  display:block;
  font-family:var(--font-head);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#8a6d23;
  margin-bottom:6px;
}
.state-card h3{
  font-size:22px;
  color:#151a1e;
  margin-bottom:8px;
}
.state-card p{ font-size:13px; color:#5b656d; margin:0; }

.reciprocity-cta{
  border-top:1px solid #e0dacc;
  padding-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.reciprocity-cta p{ margin:0; font-size:15px; max-width:520px; }
.reciprocity-cta strong{ color:#151a1e; }

@media (max-width:760px){
  .reciprocity-states{ grid-template-columns:1fr; gap:12px; }
  .reciprocity-cta{ flex-direction:column; align-items:flex-start; gap:18px; }
  .reciprocity-cta .btn{ width:100%; justify-content:center; }
}

/* ============ LEGAL ARTICLE TABLES & PULL QUOTES ============ */
.legal-layout > *, .legal-body{ min-width:0; }

.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin:26px 0; }
.legal-table{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
  font-size:15px;
  line-height:1.55;
}
.legal-table th{
  font-family:var(--font-head);
  font-weight:700;
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-align:left;
  padding:12px 14px;
  background:var(--panel-2);
  color:var(--gold);
  border-bottom:2px solid var(--line);
}
.legal-table td{
  padding:13px 14px;
  border-bottom:1px solid var(--line);
  color:var(--text-dim);
  vertical-align:top;
}
.legal-table tbody tr:nth-child(odd) td{ background:rgba(255,255,255,.015); }
.legal-table td:first-child{ color:var(--text); font-weight:600; }
.legal-table td.ok{ color:#3fbf6b; font-weight:600; }
.legal-table td.no{ color:var(--danger); font-weight:700; }

.section-light .legal-table th{ background:#f4efe4; color:#8a6d23; border-bottom-color:#e0dacc; }
.section-light .legal-table td{ color:#3a444c; border-bottom-color:#e8e2d6; }
.section-light .legal-table tbody tr:nth-child(odd) td{ background:#fdfbf7; }
.section-light .legal-table td:first-child{ color:#151a1e; }
.section-light .legal-table td.ok{ color:#1f7a45; }
.section-light .legal-table td.no{ color:#b3231f; }

.pull-quote{
  border-left:3px solid var(--gold);
  background:var(--panel);
  padding:20px 24px;
  margin:26px 0;
  font-size:18px;
  line-height:1.6;
  font-style:italic;
  color:var(--text);
}
.section-light .pull-quote{ background:#fff; border-left-color:var(--gold); color:#151a1e; }

@media (max-width:760px){
  .legal-table{ font-size:14px; min-width:460px; }
  .legal-table th, .legal-table td{ padding:10px 11px; }
  .pull-quote{ font-size:16px; padding:16px 18px; }
}

/* ============ 3-STEP ENROLLMENT FLOW (enroll.html) ============ */
.flow-progress{ max-width:760px; margin:0 auto 40px; scroll-margin-top:110px; }
.flow-steps{ display:flex; list-style:none; margin:0 0 14px; padding:0; gap:8px; }
.flow-step{ flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; min-width:0; }
.flow-step .dot{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:17px;
  border:2px solid #d8d2c4; background:#fff; color:#9aa2a8;
  transition:.2s;
}
.flow-step .lbl{
  font-family:var(--font-head); font-weight:700; font-size:13px;
  letter-spacing:.1em; text-transform:uppercase; color:#8b949b;
}
.flow-step.is-current .dot{ border-color:var(--accent-2); background:var(--accent-2); color:#fff; }
.flow-step.is-current .lbl{ color:#151a1e; }
.flow-step.is-done .dot{ border-color:#1f7a45; background:#1f7a45; color:#fff; }
.flow-step.is-done .lbl{ color:#3a444c; }
.flow-track{ height:3px; background:#e4dfd4; position:relative; overflow:hidden; }
.flow-fill{ display:block; height:100%; width:0; background:var(--accent-2); transition:width .35s ease; }

.flow-head{ text-align:center; max-width:720px; margin:0 auto 30px; }
.flow-head .eyebrow{ color:#8a6d23; }
.flow-head h2{ color:#151a1e; margin:6px 0 10px; }
.flow-head p{ color:#5b656d; }

.flow-card{
  background:#fff; border:1px solid #e4dfd4; padding:32px;
  max-width:760px; margin:28px auto 0;
}
.flow-card h3{ color:#151a1e; margin-bottom:8px; }
.flow-card p{ color:#3a444c; }
.flow-note{ color:#5b656d; font-size:14px; }
.flow-note a, .flow-card a{ color:#8a6d23; }
.flow-card .form-wrap{ margin-top:22px; padding:0; background:none; border:none; }
.flow-loading{ text-align:center; padding:56px 20px; color:#5b656d; }

.flow-summary{ margin:0 0 24px; border-top:1px solid #eee8db; }
.flow-summary > div{
  display:flex; justify-content:space-between; align-items:baseline; gap:18px;
  padding:12px 0; border-bottom:1px solid #eee8db;
}
.flow-summary dt{
  font-family:var(--font-head); font-weight:700; font-size:12px;
  letter-spacing:.12em; text-transform:uppercase; color:#8b949b; flex-shrink:0;
}
.flow-summary dd{ margin:0; color:#151a1e; font-weight:600; text-align:right; min-width:0; word-break:break-word; }

.flow-back{ text-align:center; margin-top:22px; }
.flow-back.top{ text-align:left; margin:0 0 16px; }
.flow-back.top .linkish{ padding-left:0; }
.linkish{
  background:none; border:none; color:#8a6d23; cursor:pointer; padding:6px;
  font-family:var(--font-head); font-weight:700; font-size:14px;
  letter-spacing:.06em; text-transform:uppercase;
}
.linkish:hover{ color:var(--accent-2); }

.flow-done{ text-align:center; }
.flow-done .flow-summary{ text-align:left; margin-top:26px; }
.flow-check{
  width:64px; height:64px; margin:0 auto 18px; border-radius:50%;
  background:#1f7a45; color:#fff; display:flex; align-items:center; justify-content:center;
}
.flow-check svg{ width:32px; height:32px; }
.flow-done h2{ color:#151a1e; margin-bottom:8px; }

.booking-fallback{ margin-top:16px; text-align:center; font-size:13px; }

/* the waiver rendered inline inside the flow */
#waiver-mount .waiver-doc{ margin-top:0; }

@media (max-width:700px){
  .flow-step .lbl{ font-size:11px; letter-spacing:.06em; }
  .flow-step .dot{ width:32px; height:32px; font-size:15px; }
  .flow-card{ padding:22px 18px; }
  .flow-summary > div{ flex-direction:column; gap:4px; }
  .flow-summary dd{ text-align:left; }
}

/* ============ TESTIMONIALS PAGE ============ */

/* photo strip used with bare <img> children (no link wrapper) */
.photo-strip > img{
  aspect-ratio:1/1;
  width:100%; height:100%;
  object-fit:cover;
  border:1px solid var(--line);
  filter:grayscale(.4) contrast(1.08);
  transition:filter .3s ease;
}
.photo-strip > img:hover{ filter:grayscale(0); }

/* "three things students mention" cards */
.theme-card{
  background:#fff;
  border:1px solid #e4dfd4;
  border-top:3px solid var(--gold);
  padding:30px 28px;
  min-width:0;
}
.theme-num{
  font-family:var(--font-head);
  font-size:13px; font-weight:700;
  letter-spacing:.18em;
  color:#8a6d23;
  margin-bottom:14px;
}
.theme-card h3{ color:#151a1e; font-size:19px; margin-bottom:16px; }
.theme-quote{
  color:#3a444c;
  font-size:15px;
  line-height:1.7;
  font-style:italic;
  border-left:2px solid #e4dfd4;
  padding-left:16px;
  margin-bottom:14px;
}
.theme-attrib{
  font-family:var(--font-head);
  font-weight:700; font-size:13px;
  letter-spacing:.12em; text-transform:uppercase;
  color:#8b949b;
}

/* full-length reviews */
.testimonial-list{ display:flex; flex-direction:column; gap:24px; }
.testimonial{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:32px;
  background:var(--panel);
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  padding:34px 36px;
}
.testimonial > *{ min-width:0; }
.testimonial-side .stars{
  color:var(--gold);
  letter-spacing:.16em;
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:16px;
}
.testimonial-side .stars .stars-label{
  font-size:20px;
  color:var(--text);
  margin-left:0;
}
.testimonial-side .who{
  font-family:var(--font-head);
  font-weight:700; font-size:19px;
  letter-spacing:.04em;
  color:var(--text);
  margin-bottom:4px;
}
.testimonial-side .where{
  font-size:12px; color:var(--text-faint);
  letter-spacing:.08em; text-transform:uppercase;
}
.course-tag{
  display:inline-block;
  margin-top:14px;
  font-family:var(--font-head);
  font-weight:700; font-size:11px;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent);
  border:1px solid rgba(0,194,255,.35);
  padding:5px 10px;
}
.testimonial-body p{
  color:var(--text-dim);
  font-size:16px;
  line-height:1.75;
  margin-bottom:16px;
}
.testimonial-body p:last-child{ margin-bottom:0; }

/* leave-a-review invitation */
.review-invite{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:40px;
  align-items:center;
  background:#fff;
  border:1px solid #e4dfd4;
  padding:44px;
}
.review-invite > *{ min-width:0; }
.review-invite h2{ color:#151a1e; margin:6px 0 14px; }
.review-invite p{ color:#3a444c; }
.review-invite .eyebrow{ color:#8a6d23; }
.review-invite-action{ text-align:right; }
.review-invite-action .btn{ width:100%; justify-content:center; }
.review-invite-action .flow-note{ color:#5b656d; text-align:center; }
.review-invite-action .flow-note a{ color:#8a6d23; }

@media (max-width:900px){
  .testimonial{ grid-template-columns:1fr; gap:20px; padding:28px 24px; }
  .review-invite{ grid-template-columns:1fr; gap:26px; padding:30px 24px; }
  .review-invite-action{ text-align:left; }
}
@media (max-width:640px){
  .testimonial-side .stars{ font-size:21px; }
  .testimonial-side .stars .stars-label{ font-size:18px; }
  .photo-strip{ grid-template-columns:repeat(2,1fr); }
  .theme-card{ padding:24px 22px; }
  .testimonial-body p{ font-size:15px; }
}

/* hero rating row (testimonials page) */
.hero-stars{
  display:flex; align-items:baseline; flex-wrap:wrap;
  gap:12px; margin:18px 0 20px;
}
.hero-stars-glyphs{ color:var(--gold); font-size:26px; letter-spacing:.16em; line-height:1; }
.hero-stars-score{
  font-family:var(--font-head); font-weight:700; font-size:26px;
  color:var(--text); line-height:1;
}
.hero-stars-src{
  font-family:var(--font-head); font-weight:700; font-size:13px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint);
}
@media (max-width:520px){
  .hero-stars{ gap:10px; }
  .hero-stars-glyphs, .hero-stars-score{ font-size:22px; }
}

/* review author links + rated-without-text row (testimonials page) */
.testimonial-side .who a{
  color:var(--text);
  border-bottom:1px solid rgba(227,176,75,.45);
  transition:color .2s ease, border-color .2s ease;
}
.testimonial-side .who a:hover{ color:var(--gold); border-color:var(--gold); }

.rated-only{
  margin-top:24px;
  border:1px solid var(--line);
  border-left:3px solid var(--line);
  background:var(--panel);
  padding:22px 28px;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.rated-only .stars{ color:var(--gold); letter-spacing:.16em; font-size:20px; line-height:1; }
.rated-only p{ color:var(--text-faint); font-size:14px; margin:0; flex:1; min-width:220px; }
.rated-only a{ color:var(--text-dim); border-bottom:1px solid rgba(227,176,75,.35); }
.rated-only a:hover{ color:var(--gold); }
