/* Hermanus Shuttle - homepage demo
   Brand tokens pulled from live site (hermanus-shuttle.co.za): blue #066aab, gold #e3bc27.
   Refined here: desaturated blue, cooler off-white base, same type/radius system as sibling brand Authentick Travel. */

:root {
  --blue-950: #0c2436;
  --blue-900: #123049;
  --blue-800: #1a4463;
  --blue-700: #2c5f85;
  --gold-500: #d9a441;
  --gold-400: #e5b95e;
  --gold-100: #f6e8cc;
  --white-50: #f8fafb;
  --white-100: #eef2f5;
  --ink: #1c232c;
  --ink-muted: #5c6773;
  --ink-faint: #93a0ab;
  --line: rgba(28, 35, 44, 0.1);
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 40px -20px rgba(12, 36, 54, 0.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--blue-950);
}

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--gold-500); color: var(--blue-950); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--white-50); border: 1px solid rgba(248,250,251,0.35); }
.btn-ghost:hover { border-color: rgba(248,250,251,0.7); }
.btn-dark { background: var(--blue-950); color: var(--white-50); }
.btn-dark:hover { background: var(--blue-800); transform: translateY(-1px); }

/* Top contact bar */
.topbar { background: var(--blue-950); color: rgba(248,250,251,0.85); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 40px; font-size: 13px; }
.topbar-links { display: flex; align-items: center; gap: 24px; }
.topbar-link, .topbar-whatsapp { display: inline-flex; align-items: center; gap: 6px; color: inherit; transition: color 180ms var(--ease-out); }
.topbar-link:hover { color: var(--gold-400); }
.topbar-whatsapp { color: var(--gold-400); font-weight: 700; }
.topbar-whatsapp:hover { color: var(--gold-500); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 700; color: var(--blue-950); }
.logo span { color: var(--gold-500); }
.logo-link { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.footer-logo-plate { display: inline-block; background: var(--white-50); border-radius: 12px; padding: 10px 16px; margin-bottom: 16px; }
.footer-logo-img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-muted); transition: color 180ms var(--ease-out); }
.nav-links a:hover { color: var(--blue-950); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 32px; position: relative; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--blue-950); transition: transform 300ms var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 220px;
  overflow: hidden;
  color: var(--white-50);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms var(--ease-out);
  animation: heroKenBurns 16s ease-out forwards;
}
.hero-slide.active { opacity: 1; z-index: 1; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(12,36,54,0.6) 0%, rgba(12,36,54,0.5) 45%, rgba(12,36,54,0.78) 100%);
}
.hero-inner { position: relative; z-index: 3; }
.hero-dots {
  position: absolute; z-index: 3; bottom: 240px; left: 0; right: 0;
  display: flex; gap: 10px; justify-content: center;
}
.hero-dot {
  width: 28px; height: 3px; border-radius: 2px; border: none;
  background: rgba(248,250,251,0.35); cursor: pointer;
  transition: background 250ms var(--ease-out);
}
.hero-dot.active { background: var(--gold-500); }
.hero-content { max-width: 620px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); color: var(--white-50); margin-bottom: 20px; }
.hero p { font-size: 18px; color: rgba(248,250,251,0.85); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Quote widget */
.booking-widget { position: relative; z-index: 10; margin-top: -140px; margin-bottom: 96px; }
.widget-card { background: var(--white-50); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 24px 28px 28px; max-width: 880px; margin: 0 auto; }
.widget-card h3 { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.widget-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 8px; }
.field select, .field input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white-100);
  font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.field select:focus, .field input:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }
.widget-submit { width: 100%; }

.widget-result { display: none; margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: var(--gold-100); border: 1px solid var(--gold-400); }
.widget-result.show { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.widget-result .price { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--blue-950); }
.widget-result p { font-size: 13.5px; color: var(--ink-muted); margin-top: 2px; }

/* Marquee */
.marquee { background: var(--blue-950); overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marqueeScroll 32s linear infinite; }
.marquee-track span { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--gold-400); letter-spacing: 0.02em; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Initials avatar (no stock portraits used) */
.avatar-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-700);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}

/* Pulsing CTA */
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.55);
  animation: ctaPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(217, 164, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0); }
}

/* Section rhythm */
section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--ink-muted); font-size: 16.5px; margin-top: 12px; max-width: 55ch; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento-item { position: relative; border-radius: var(--radius-card); overflow: hidden; color: var(--white-50); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.bento-item:hover img { transform: scale(1.05); }
.bento-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,36,54,0) 35%, rgba(12,36,54,0.85) 100%); }
.bento-caption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.bento-caption .name { font-weight: 700; font-size: 17px; }
.bento-caption .sub { font-size: 13.5px; color: var(--gold-400); font-weight: 700; margin-top: 2px; }
.bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.bento-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.bento-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }

/* FAQ */
.faq { padding: 72px 0 24px; }
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: none; border: none; cursor: pointer;
  padding: 20px 4px;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--blue-950);
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white-100);
  font-size: 16px; font-weight: 700; color: var(--blue-950);
  transition: transform 250ms var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}
.faq-a > p {
  overflow: hidden;
  min-height: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
  padding-right: 44px;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 20px; }

/* Fleet strip */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fleet-card { border-radius: var(--radius-card); overflow: hidden; background: var(--white-100); border: 1px solid var(--line); }
.fleet-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 600ms var(--ease-out); }
.fleet-card:hover img { transform: scale(1.05); }
.fleet-card-body { padding: 18px 20px; }
.fleet-card h3 { font-size: 18px; margin-bottom: 4px; }
.fleet-card p { font-size: 13.5px; color: var(--ink-muted); }
.fleet-card .cap { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--gold-500); background: var(--gold-100); padding: 4px 10px; border-radius: var(--radius-pill); }

/* How it works */
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.how-step { position: relative; padding: 0 32px 0 0; }
.how-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 26px; right: -8px;
  width: 16px; height: 16px;
  background: none;
  border-top: 2px solid var(--ink-faint);
  border-right: 2px solid var(--ink-faint);
  transform: rotate(45deg);
}
.how-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-950); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 700;
  margin-bottom: 20px;
}
.how-step h3 { font-size: 18px; margin-bottom: 8px; }
.how-step p { font-size: 14.5px; color: var(--ink-muted); max-width: 32ch; }

/* Trust badge */
.trust-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: -16px; margin-bottom: 40px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--white-100);
  color: var(--blue-950);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.trust-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.trust-badge-score { font-weight: 800; font-size: 15px; }
.trust-badge-score span { color: var(--gold-500); font-size: 12px; margin-left: 4px; }
.trust-badge-label { font-size: 12px; color: var(--ink-muted); }

/* Find us / map */
.find-us { position: relative; padding: 0; }
.map-embed { width: 100%; height: 440px; filter: saturate(0.85); }
.find-us-card {
  position: relative; margin-top: -120px; z-index: 2;
  background: var(--white-50); border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft); padding: 32px 36px; max-width: 380px;
}
.find-us-card h3 { font-size: 22px; margin-bottom: 12px; }
.find-us-card p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }

/* Sticky mobile bottom bar */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--white-50); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border-radius: 12px;
  color: var(--blue-950); font-size: 11px; font-weight: 700;
}
.mobile-bar-book { background: var(--gold-500); color: var(--blue-950); }

/* Why us feature row */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { padding-top: 20px; border-top: 1px solid var(--line); }
.feature .num { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 700; color: var(--gold-500); margin-bottom: 10px; }
.feature h3 { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 700; color: var(--blue-950); margin-bottom: 8px; }
.feature p { color: var(--ink-muted); font-size: 14.5px; max-width: 32ch; }

/* Wine split */
.bg-blue { background: var(--blue-950); color: var(--white-50); }
.bg-blue .section-head p { color: rgba(248,250,251,0.7); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius-card); }
.split-copy h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.split-copy p { color: rgba(248,250,251,0.75); margin-bottom: 24px; max-width: 48ch; }
.bg-blue h2 { color: var(--white-50); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--white-100); border-radius: var(--radius-card); padding: 28px; }
.testimonial-card p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; color: var(--ink); }
.testimonial-attr { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-attr .name { font-weight: 700; font-size: 14px; color: var(--blue-950); }
.testimonial-attr .place { font-size: 12.5px; color: var(--gold-500); }

/* CTA banner */
.cta-banner { background: var(--gold-500); border-radius: 24px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 38px); max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer { background: var(--blue-950); color: rgba(248,250,251,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(248,250,251,0.12); }
.footer-brand .logo { color: var(--white-50); margin-bottom: 12px; }
.footer-brand p { max-width: 34ch; font-size: 14.5px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white-50); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; transition: color 180ms var(--ease-out); }
.footer-col a:hover { color: var(--white-50); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.social-row { display: flex; gap: 14px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(248,250,251,0.2); display: flex; align-items: center; justify-content: center; transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out); }
.social-row a:hover { border-color: var(--gold-500); transform: translateY(-2px); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--white-50); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; max-height: 0; overflow: hidden;
    transition: max-height 320ms var(--ease-out);
  }
  .nav-links.mobile-open { max-height: 320px; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-item:nth-child(1) { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .widget-fields { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 28px; }
  .hero-dots { bottom: 300px; }
  .topbar-link:nth-child(2) { display: none; }
  .logo-img { height: 38px; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .how-it-works { grid-template-columns: 1fr; gap: 32px; }
  .how-step { padding-right: 0; }
  .how-step:not(:last-child)::after { display: none; }
  .find-us-card { max-width: none; margin: -80px 0 0; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}
@media (max-width: 640px) {
  .hero { padding: 140px 0 260px; }
  .booking-widget { margin-top: -180px; }
  .widget-fields { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento-item { grid-column: span 1 !important; }
  .topbar-inner { font-size: 12px; }
  .topbar-whatsapp span { display: none; }
  .fleet-grid { grid-template-columns: 1fr; }
  .find-us-card { padding: 24px; }
  .map-embed { height: 320px; }
}
