/* ============================================
   FOCUSED FIDO TRAINING — Site Stylesheet
   Per FF Brand Guidelines:
   Palette: #F4F0EA cream | #A994AC mauve | #5AA7B6 bright teal
            #2A5F6A deep teal | #42464A charcoal
   Type:    October Compressed Devanagari Bold (display)
            Avenir Next Medium (body)
   Web substitutes: Barlow Condensed (display), Mulish (body)
   ============================================ */

:root {
  --teal: #2a5f6a;          /* brand deep teal */
  --teal-dark: #1f4a53;
  --teal-darker: #17383f;
  --teal-light: #e3edef;
  --teal-soft: #9fc1c8;
  --accent: #5aa7b6;        /* brand bright teal */
  --accent-dark: #428b9a;
  --mauve: #a994ac;         /* brand mauve */
  --mauve-dark: #8a7191;
  --cream: #f4f0ea;         /* brand cream */
  --sand: #ebe5da;
  --gold: #5aa7b6;          /* CTA accent — brand bright teal */
  --gold-dark: #428b9a;
  --ink: #42464a;           /* brand charcoal */
  --gray: #5c646b;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 8px 30px rgba(66, 70, 74, 0.10);
  --shadow-lg: 0 16px 50px rgba(66, 70, 74, 0.16);
  --font-head: 'Barlow Condensed', 'Avenir Next Condensed', 'October Compressed Devanagari', sans-serif;
  --font-body: 'Mulish', 'Avenir Next', 'Avenir', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--teal-dark);
}

h1, h2 { text-transform: uppercase; letter-spacing: 0.015em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { color: var(--gray); }

a { color: var(--teal); text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-intro {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(90, 167, 182, 0.45);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }

.btn-secondary {
  background: var(--teal);
  color: var(--white);
}
.btn-secondary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--teal-dark);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--teal-darker);
  color: #cfe2e6;
  text-align: center;
  font-size: 0.85rem;
  padding: 9px 16px;
  font-weight: 500;
}
.announce a { color: var(--gold); font-weight: 700; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(40, 96, 106, 0.10);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo img { height: 56px; width: auto; }

nav.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav > a, .dropdown > button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--teal-dark);
  padding: 10px 14px;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.main-nav > a:hover, .dropdown > button:hover { background: var(--teal-light); }
.main-nav > a.active { color: var(--gold-dark); }

.dropdown { position: relative; }
.dropdown > button::after { content: " ▾"; font-size: 0.7em; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--teal-dark);
}
.dropdown-menu a:hover { background: var(--teal-light); }

.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 11px 26px; font-size: 0.92rem; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--teal-dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: 1.15rem;
  margin: 22px 0 32px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 26px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal-dark);
}
.hero-badge .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-img-wrap { position: relative; }
.hero-img-wrap::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 75%;
  height: 75%;
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
  z-index: 1;
}
.hero-float {
  position: absolute;
  bottom: 26px;
  left: -30px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 16px 22px;
  z-index: 2;
  font-family: var(--font-head);
}
.hero-float strong { color: var(--teal); font-size: 1.4rem; display: block; }
.hero-float span { font-size: 0.82rem; color: var(--gray); font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--teal);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
.marquee span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 18px;
}
.marquee .star { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee.alt { background: var(--sand); }
.marquee.alt span { color: var(--teal-dark); }
.marquee.alt .star { color: var(--gold-dark); }

/* ---------- Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.pillar:hover { transform: translateY(-6px); }
.pillar .pillar-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar:nth-child(2) .pillar-icon { background: rgba(90, 167, 182, 0.16); color: var(--accent-dark); }
.pillar:nth-child(3) .pillar-icon { background: rgba(169, 148, 172, 0.20); color: var(--mauve-dark); }
.pillar:nth-child(4) .pillar-icon { background: rgba(66, 70, 74, 0.08); color: var(--ink); }
.pillar h3 { font-size: 1.08rem; margin-bottom: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.pillar p { font-size: 0.95rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card img { height: 210px; object-fit: cover; width: 100%; }
.service-card-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; flex: 1; }
.service-card .card-link {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.95rem;
}
.service-card .card-link::after { content: " →"; transition: 0.2s; }
.service-card:hover .card-link::after { padding-left: 4px; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > .split-img { order: 2; }
.split-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/4.5;
  object-fit: cover;
}
.split-img.square img { aspect-ratio: 1/1; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { margin-bottom: 16px; }
.split-body .btn { margin-top: 12px; }

.checklist { list-style: none; margin: 20px 0; }
.checklist li {
  padding: 8px 0 8px 36px;
  position: relative;
  color: var(--gray);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 24px; height: 24px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

/* ---------- Trust band ---------- */
.trust { background: var(--teal); }
.trust .eyebrow { color: var(--teal-soft); }
.trust h2 { color: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 52px;
}
.trust-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 38px 30px;
  text-align: center;
}
.trust-card img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 20px; }
.trust-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; }
.trust-card p { color: #c6dadd; font-size: 0.95rem; }
.trust-card a { color: var(--gold); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sand); }
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(420px, 85vw);
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 48px max(4vw, calc((100vw - 1180px) / 2)) 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-soft) transparent;
}

/* Pinned horizontal-scroll mode (activated by js/main.js on desktop) */
.testi-pin.pinned { padding: 0; }
.testi-pin.pinned .testi-pin-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.testi-pin.pinned .testi-track {
  overflow: visible;
  scroll-snap-type: none;
  scrollbar-width: none;
  will-change: transform;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.testi-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 16px; }
.testi-card blockquote { font-size: 0.96rem; color: var(--gray); flex: 1; }
.testi-card cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: normal;
  color: var(--teal-dark);
  font-size: 0.95rem;
}
.testi-card cite span { display: block; font-weight: 600; color: var(--gold-dark); font-size: 0.82rem; }

/* ---------- Areas ---------- */
.areas-band {
  background: var(--teal-darker);
  padding: 60px 0;
  text-align: center;
}
.areas-band h2 { color: var(--white); margin-bottom: 8px; font-size: 1.6rem; }
.areas-band p { color: var(--teal-soft); margin-bottom: 28px; }
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.areas-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 999px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  margin-top: 52px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--gold); }
.price-card .flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { margin-bottom: 6px; }
.price-card .price-sub { font-size: 0.9rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 22px; font-family: var(--font-head); }
.price-rows { list-style: none; flex: 1; }
.price-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(40, 96, 106, 0.18);
  font-size: 0.95rem;
  color: var(--gray);
}
.price-rows li strong { color: var(--teal-dark); font-family: var(--font-head); white-space: nowrap; }
.price-note { font-size: 0.85rem; color: var(--gray); margin-top: 18px; font-style: italic; }
.price-card .btn { margin-top: 24px; text-align: center; }

/* ---------- Programs (puppy) ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 52px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--teal);
}
.program-card.gold { border-top-color: var(--gold); }
.program-card h3 { margin-bottom: 14px; }
.program-card ul { list-style: none; }
.program-card ul li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.93rem;
  color: var(--gray);
}
.program-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232a5f6a'><ellipse cx='5.3' cy='10' rx='2.1' ry='2.7'/><ellipse cx='18.7' cy='10' rx='2.1' ry='2.7'/><ellipse cx='9' cy='6' rx='2.2' ry='2.9'/><ellipse cx='15' cy='6' rx='2.2' ry='2.9'/><path d='M12 11.2c-3.2 0-5.8 2.6-5.8 5.3 0 1.9 1.4 3.2 3.3 3.2.9 0 1.7-.35 2.5-.35s1.6.35 2.5.35c1.9 0 3.3-1.3 3.3-3.2 0-2.7-2.6-5.3-5.8-5.3Z'/></svg>") center/contain no-repeat;
}
.program-card .program-price {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-dark);
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 48px auto 0; }
.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-dark);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  transition: 0.25s;
}
.faq-item[open] summary::after { content: "–"; background: var(--teal); color: var(--white); }
.faq-body { padding: 0 28px 26px; }
.faq-body p, .faq-body li { font-size: 0.96rem; color: var(--gray); margin-bottom: 10px; }
.faq-body ul { padding-left: 22px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 52px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 220px 1fr;
}
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 30px 28px; }
.team-card-body h3 { margin-bottom: 4px; }
.team-card-body .role { font-size: 0.85rem; font-weight: 700; color: var(--gold-dark); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.team-card-body p { font-size: 0.93rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  opacity: 0.08;
  right: -40px;
  bottom: -55px;
  transform: rotate(-20deg);
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><ellipse cx='5.3' cy='10' rx='2.1' ry='2.7'/><ellipse cx='18.7' cy='10' rx='2.1' ry='2.7'/><ellipse cx='9' cy='6' rx='2.2' ry='2.9'/><ellipse cx='15' cy='6' rx='2.2' ry='2.9'/><path d='M12 11.2c-3.2 0-5.8 2.6-5.8 5.3 0 1.9 1.4 3.2 3.3 3.2.9 0 1.7-.35 2.5-.35s1.6.35 2.5.35c1.9 0 3.3-1.3 3.3-3.2 0-2.7-2.6-5.3-5.8-5.3Z'/></svg>") center/contain no-repeat;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #cfe2e6; max-width: 560px; margin: 0 auto 32px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 52px;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(40, 96, 106, 0.16);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-row h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-row p, .contact-row a { font-size: 0.93rem; }

.booking-steps { counter-reset: step; margin-top: 8px; }
.booking-step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
}
.booking-step .num {
  counter-increment: step;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-step h4 { margin-bottom: 4px; }
.booking-step p { font-size: 0.93rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  padding: 90px 0;
  background: var(--teal-dark);
  overflow: hidden;
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p { color: #d4e4e7; font-size: 1.12rem; max-width: 640px; margin-top: 18px; }
.page-hero .btn { margin-top: 28px; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Footer ---------- */
footer {
  background: var(--teal-darker);
  color: #b9cfd3;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-brand img { height: 58px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #9db8bd; font-size: 0.9rem; max-width: 280px; }
footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: #b9cfd3; font-size: 0.93rem; transition: color 0.15s; }
footer ul a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.93rem; margin-bottom: 10px; color: #b9cfd3; }
.footer-contact a { color: var(--gold); font-weight: 600; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #b9cfd3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.footer-social a svg { display: block; }
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8aa6ab;
}
.footer-bottom a { color: #8aa6ab; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Newsletter popup ---------- */
.ff-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 56, 63, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ff-popup-overlay.show { opacity: 1; visibility: visible; }
.ff-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--accent);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px 34px;
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
}
.ff-popup-overlay.show .ff-popup { transform: none; }
.ff-popup img { height: 44px; margin: 0 auto 18px; }
.ff-popup h3 { font-size: 1.9rem; text-transform: uppercase; margin-bottom: 10px; }
.ff-popup p { font-size: 0.95rem; }
.ff-popup-form { display: flex; gap: 10px; margin: 22px 0 8px; flex-wrap: wrap; }
.ff-popup-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid var(--teal-light);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.ff-popup-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.ff-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
}
.ff-popup-close:hover { color: var(--teal-dark); }
.ff-popup-fine { font-size: 0.78rem !important; color: #8a949a; margin-top: 4px; }
.ff-popup-error { font-size: 0.85rem !important; color: #b3553e; display: none; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered reveals inside card grids */
.pillars-grid > .reveal:nth-child(2), .services-grid > .reveal:nth-child(2),
.trust-grid > .reveal:nth-child(2), .pricing-grid > .reveal:nth-child(2),
.program-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.pillars-grid > .reveal:nth-child(3), .services-grid > .reveal:nth-child(3),
.trust-grid > .reveal:nth-child(3), .pricing-grid > .reveal:nth-child(3),
.program-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }
.pillars-grid > .reveal:nth-child(4), .services-grid > .reveal:nth-child(4),
.trust-grid > .reveal:nth-child(4), .pricing-grid > .reveal:nth-child(4),
.program-grid > .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ---------- Scroll effects ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  z-index: 1200;
  pointer-events: none;
}

header { transition: box-shadow 0.25s ease; }
header.scrolled { box-shadow: 0 6px 24px rgba(66, 70, 74, 0.10); }
.logo img { transition: height 0.25s ease; }
header.scrolled .logo img { height: 44px; }

/* Parallax layers (transform driven by js/main.js) */
.page-hero .bg, .hero-img { will-change: transform; }
.page-hero { isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .page-hero .bg, .hero-img { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillars-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero-grid, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > .split-img { order: 0; }
  .hero-float { left: 10px; }

  nav.main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(330px, 85vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  nav.main-nav.open { transform: translateX(0); }
  .main-nav > a, .dropdown > button { width: 100%; text-align: left; font-size: 1.05rem; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-cta { margin: 18px 0 0; width: 100%; }
  .nav-cta .btn { display: block; text-align: center; }
  .hamburger { display: block; z-index: 200; position: relative; }
  .hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .pillars-grid, .services-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 28px; }
}

/* ============================================
   HOMEPAGE v2 — video hero, modals, repeaters
   ============================================ */

/* ---------- Full-screen video hero ---------- */
.hero-video {
  position: relative;
  height: calc(100svh - 38px); /* viewport minus announce bar */
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Brand deep-teal wash for legibility over any footage */
  background:
    linear-gradient(180deg,
      rgba(23, 56, 63, 0.30) 0%,
      rgba(23, 56, 63, 0.12) 45%,
      rgba(23, 56, 63, 0.55) 100%),
    rgba(42, 95, 106, 0.42);
}
.hero-video-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}
.hero-video-content .eyebrow {
  color: var(--cream);
  opacity: 1;
  text-shadow: 0 1px 10px rgba(23, 56, 63, 0.7);
}
.hero-video-content h1 { color: var(--white); text-shadow: 0 2px 24px rgba(23, 56, 63, 0.45); }
.hero-video-content h1 .accent { color: var(--accent); }
.hero-video-content .hero-sub {
  color: #f2f7f8;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 16px rgba(23, 56, 63, 0.65);
}
/* Centered minimal hero: video does the talking */
.hero-video { align-items: center; }
.hero-video-content.lower-third {
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
}
.hero-video-content.lower-third .hero-sub { margin-left: auto; margin-right: auto; }
.hero-video-content.lower-third .hero-actions { justify-content: center; }
/* ---------- Hero lockup ---------- */
.lockup-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  letter-spacing: 0.3em;
  margin-bottom: 6px;
}
.lockup-eyebrow::before,
.lockup-eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(244, 240, 234, 0.55);
}

.hero-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 32px;
}
.hero-lockup > span {
  opacity: 0;
  transform: translateY(10px);
  animation: lockup-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-lockup .lockup-main { animation-delay: 0.15s; }
.hero-lockup .lockup-tail { animation-delay: 0.4s; }
@keyframes lockup-in {
  to { opacity: 1; transform: translateY(0); }
}

.lockup-main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  color: #ffffff;
  text-shadow: 0 2px 22px rgba(23, 56, 63, 0.55);
}

.lockup-tail {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 18px;
  text-shadow: 0 1px 10px rgba(23, 56, 63, 0.6);
}
.lockup-tail em {
  font-style: normal;
  color: var(--accent);
  padding: 0 6px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-lockup > span { opacity: 1; transform: none; animation: none !important; }
}
@media (max-width: 640px) {
  .hero-video-content.lower-third { padding-bottom: 88px; }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero-video-content .hero-actions { justify-content: center; }
.hero-video-content .hero-badges { justify-content: center; }
.hero-video-content .hero-badge { color: #dcebee; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: var(--white); color: var(--teal-dark); }

.hero-video-toggle {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(23, 56, 63, 0.45);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero-video-toggle:hover { background: rgba(23, 56, 63, 0.75); }

.hero-scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  margin: 0 auto;
  width: max-content;
  z-index: 3;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* balance the trailing letter-space */
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(23, 56, 63, 0.6);
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
  animation: cue 2.2s ease-in-out infinite;
  transition: color 0.2s;
}
.hero-scroll-cue:hover { color: var(--white); }
@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Transparent header over video hero */
body.has-video-hero header {
  position: absolute;
  top: 38px; /* below announce bar */
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.has-video-hero header.scrolled { position: fixed; top: 0; }
body.has-video-hero .announce { position: relative; z-index: 101; }
body.has-video-hero header:not(.scrolled) .main-nav > a,
body.has-video-hero header:not(.scrolled) .dropdown > button {
  color: var(--white);
}
body.has-video-hero header:not(.scrolled) .main-nav > a:hover,
body.has-video-hero header:not(.scrolled) .dropdown > button:hover {
  background: rgba(255, 255, 255, 0.14);
}
body.has-video-hero header:not(.scrolled) .main-nav > a.active { color: var(--accent); }
body.has-video-hero header:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
body.has-video-hero header:not(.scrolled) .hamburger span { background: var(--white); }
body.has-video-hero header.scrolled {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(40, 96, 106, 0.10);
}
@media (max-width: 860px) {
  body.has-video-hero nav.main-nav > a,
  body.has-video-hero nav.main-nav .dropdown > button { color: var(--teal-dark); }
}

/* ---------- Service card quick view ---------- */
.service-card-media { position: relative; overflow: hidden; }
.service-card-media img { transition: transform 0.4s ease; }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.quick-view {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 10px);
  opacity: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.94);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  white-space: nowrap;
}
.service-card:hover .quick-view,
.quick-view:focus-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.quick-view:hover { background: var(--gold); color: var(--white); }
@media (hover: none) {
  .quick-view { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- Team tiles ---------- */
.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.team-tile {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: var(--font-body);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-tile img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-tile:hover img { transform: scale(1.04); }
.team-tile-body { padding: 22px 24px 26px; }
.team-tile-body h3 { font-size: 1.35rem; }
.team-tile-body .role {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 4px 0 10px;
}
.team-tile-body .tile-more {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mauve-dark);
}
.team-tile:hover .tile-more { color: var(--teal); }
@media (max-width: 860px) {
  .team-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--mauve);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.05;
}
.stat span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Generic modal system ---------- */
.ff-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 56, 63, 0.58);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.ff-modal.show { opacity: 1; }
.ff-modal[hidden] { display: none; }
.ff-modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--accent);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 44px 40px 36px;
  position: relative;
  transform: translateY(22px) scale(0.97);
  transition: transform 0.32s ease;
}
.ff-modal.show .ff-modal-card { transform: none; }
.ff-modal-card h3 { font-size: 1.7rem; text-transform: uppercase; margin: 4px 0 12px; }
.ff-modal-card > p { font-size: 0.95rem; margin-bottom: 8px; }
.ff-modal-card .price-rows { margin: 18px 0 4px; }
.ff-modal-card .price-rows li em { font-style: normal; font-size: 0.82rem; color: var(--gray); font-family: var(--font-body); font-weight: 600; }
.ff-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ff-modal-actions .btn { padding: 12px 26px; font-size: 0.92rem; }
.ff-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  z-index: 2;
}
.ff-modal-close:hover { color: var(--teal-dark); }

.ff-modal-card.has-media {
  padding: 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}
.ff-modal-img { width: 100%; height: 100%; object-fit: cover; }
.ff-modal-body { padding: 40px 36px 34px; overflow-y: auto; }
.ff-modal-body h3 { font-size: 1.7rem; text-transform: uppercase; margin: 4px 0 12px; }
.ff-modal-body p { font-size: 0.95rem; margin-bottom: 12px; }
@media (max-width: 640px) {
  .ff-modal-card.has-media { grid-template-columns: 1fr; max-height: 88vh; }
  .ff-modal-img { height: 220px; }
  .ff-modal-card { padding: 38px 26px 30px; }
  .ff-modal-body { padding: 28px 26px 30px; }
}

body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
  .ff-modal, .ff-modal-card { transition: none; }
}

/* ---------- Mission pillar icon animations ----------
   Each icon gets a subtle motion matching what it depicts.
   Long cycles (4s+) with brief movement so it stays calm. */
.pillar:nth-child(1) .pillar-icon svg { animation: icon-glow 4.5s ease-in-out infinite; transform-origin: 50% 30%; }
@keyframes icon-glow {
  0%, 20%, 100% { transform: scale(1); opacity: 1; }
  6% { transform: scale(1.12); opacity: 0.75; }
  12% { transform: scale(1.05); opacity: 1; }
}
.pillar:nth-child(2) .pillar-icon svg { animation: icon-step 4s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes icon-step {
  0%, 24%, 100% { transform: rotate(0) translateY(0); }
  6% { transform: rotate(-9deg) translateY(-2px); }
  12% { transform: rotate(7deg) translateY(-1px); }
  18% { transform: rotate(-4deg) translateY(0); }
}
.pillar:nth-child(3) .pillar-icon svg { animation: icon-settle 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes icon-settle {
  0%, 22%, 100% { transform: translateY(0) scaleY(1); }
  7% { transform: translateY(-3.5px) scaleY(1.03); }
  14% { transform: translateY(0.5px) scaleY(0.97); }
  18% { transform: translateY(0) scaleY(1); }
}
.pillar:nth-child(4) .pillar-icon svg { animation: icon-beat 3.8s ease-in-out infinite; transform-origin: 50% 55%; }
@keyframes icon-beat {
  0%, 26%, 100% { transform: scale(1); }
  7% { transform: scale(1.16); }
  13% { transform: scale(1); }
  19% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .pillar .pillar-icon svg { animation: none !important; }
}

/* ---------- Footer credit ---------- */
.footer-bottom .credit { font-size: 0.78rem; opacity: 0.8; }
.footer-bottom .credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .credit a:hover { color: var(--teal-soft); }

/* ---------- Cursor glow ---------- */
.ff-cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
  background: radial-gradient(circle,
    rgba(42, 95, 106, 0.30) 0%,
    rgba(42, 95, 106, 0.14) 50%,
    rgba(42, 95, 106, 0) 72%);
  box-shadow: 0 0 14px 5px rgba(31, 74, 83, 0.18);
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease;
}
.ff-cursor-glow.on { opacity: 1; }
.ff-cursor-glow.big {
  width: 30px;
  height: 30px;
  margin: -5px 0 0 -5px;
  box-shadow: 0 0 18px 7px rgba(31, 74, 83, 0.24);
}

/* ---------- Fido Bot chat widget ---------- */
.ff-chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1140;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 15px 22px 15px 17px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.25s ease;
}
.ff-chat-fab:hover { background: var(--teal-dark); transform: translateY(-2px); }
.ff-chat-fab.hide { opacity: 0; pointer-events: none; }
.ff-chat-fab-label { letter-spacing: 0.04em; }

.ff-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1145;
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 100px));
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ff-chat-panel[hidden] { display: none; }
.ff-chat-panel.show { opacity: 1; transform: none; }
.ff-chat-head {
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}
.ff-chat-head svg { flex-shrink: 0; }
.ff-chat-head strong { font-family: var(--font-head); font-size: 1.1rem; display: block; line-height: 1.1; }
.ff-chat-head span { font-size: 0.78rem; color: #cfe2e6; }
.ff-chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #cfe2e6;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.ff-chat-close:hover { color: var(--white); }
.ff-chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ff-chat-msg {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ff-chat-msg.bot {
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow);
  align-self: flex-start;
}
.ff-chat-msg.bot a { color: var(--accent-dark); font-weight: 700; }
.ff-chat-msg.user {
  background: var(--teal);
  color: var(--white);
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
.ff-chat-msg.typing span {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-soft);
  margin: 0 2px;
  animation: chat-dot 1s ease-in-out infinite;
}
.ff-chat-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.ff-chat-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.ff-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  background: var(--cream);
}
.ff-chat-chips button {
  background: var(--white);
  border: 1.5px solid var(--teal-light);
  color: var(--teal-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.ff-chat-chips button:hover { background: var(--teal-light); border-color: var(--teal-soft); }
.ff-chat-inputrow {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid rgba(40, 96, 106, 0.12);
}
.ff-chat-inputrow input {
  flex: 1;
  border: 2px solid var(--teal-light);
  background: var(--cream);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
}
.ff-chat-inputrow input:focus { outline: none; border-color: var(--accent); }
.ff-chat-inputrow button {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ff-chat-inputrow button:hover { background: var(--gold-dark); }
@media (max-width: 560px) {
  .ff-chat-fab-label { display: none; }
  .ff-chat-fab { padding: 15px; }
}

/* ---------- Cookie consent bar ---------- */
.ff-cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 120%);
  z-index: 1150;
  width: min(680px, calc(100vw - 32px));
  background: var(--teal-darker);
  color: #cfe2e6;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.4s ease;
}
.ff-cookie.show { transform: translate(-50%, 0); }
.ff-cookie p { color: #cfe2e6; font-size: 0.88rem; line-height: 1.5; flex: 1; margin: 0; }
.ff-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.ff-cookie-actions .btn { padding: 10px 22px; font-size: 0.88rem; }
.ff-cookie-decline {
  background: transparent;
  color: #9db8bd;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.ff-cookie-decline:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
@media (max-width: 560px) {
  .ff-cookie { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .ff-cookie-actions { justify-content: center; }
}
