/* ============================================================
   IRISH COUSIN EVENTS — Design System & Stylesheet
   Aesthetic: Luxury Celtic Heritage
   Stack: Vanilla HTML/CSS/JS — Mobile-First
   ============================================================ */

/* ---- 1. DESIGN TOKENS ------------------------------------ */
:root {
  /* Color Primitives */
  --forest-900: #0F2318;
  --forest-800: #1B3A2F;
  --forest-700: #254D3D;
  --forest-600: #2E6050;
  --navy-900:   #070F1A;
  --navy-800:   #0D1B2E;
  --navy-700:   #162540;
  --gold-500:   #C9A84C;
  --gold-400:   #DFC070;
  --gold-300:   #EDD48A;
  --cream-100:  #F7F3EB;
  --cream-200:  #EDE8DC;
  --cream-300:  #E0D9CB;
  --white:      #FFFFFF;

  /* Semantic Tokens */
  --color-bg-hero:        var(--forest-900);
  --color-bg-light:       var(--cream-100);
  --color-bg-dark:        var(--forest-800);
  --color-bg-deeper:      var(--navy-800);
  --color-accent:         var(--gold-500);
  --color-accent-hover:   var(--gold-400);
  --color-text-dark:      #2A2318;
  --color-text-light:     #F0ECE3;
  --color-text-muted:     rgba(240, 236, 227, 0.6);
  --color-text-body:      #3D3326;
  --color-border-gold:    rgba(201, 168, 76, 0.25);
  --color-border-cream:   var(--cream-300);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-script:  'Playfair Display', Georgia, serif;
  --font-body:    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale (Major Third — 1.250) */
  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.875rem;   /*  14px */
  --text-base: 1rem;       /*  16px */
  --text-lg:   1.125rem;   /*  18px */
  --text-xl:   1.25rem;    /*  20px */
  --text-2xl:  1.5rem;     /*  24px */
  --text-3xl:  2rem;       /*  32px */
  --text-4xl:  2.5rem;     /*  40px */
  --text-5xl:  3.5rem;     /*  56px */
  --text-6xl:  5rem;       /*  80px */

  /* Spacing (4px base) */
  --sp-1:  0.25rem;   /*  4px */
  --sp-2:  0.5rem;    /*  8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.20);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.28);
  --shadow-gold: 0 4px 28px rgba(201, 168, 76, 0.30);

  /* Z-index scale */
  --z-base:    1;
  --z-raised:  10;
  --z-nav:     100;
  --z-overlay: 200;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   450ms var(--ease-out);
}


/* ---- 2. RESET & BASE ------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-body);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* Focus ring — visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
}


/* ---- 3. LAYOUT UTILITIES -------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-8); }
}


/* ---- 4. TYPOGRAPHY UTILITIES ---------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-6);
}

.section-sub {
  font-size: var(--text-lg);
  line-height: 1.75;
  max-width: 58ch;
  margin-inline: auto;
  opacity: 0.8;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}


/* ---- 5. BUTTON COMPONENTS ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), box-shadow var(--t-base);
  white-space: nowrap;
}

/* Gold shimmer effect on primary button */
.btn-gold {
  background: var(--color-accent);
  color: var(--forest-900);
  border-color: var(--color-accent);
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: translateX(-110%);
  transition: transform 0.65s ease;
}

.btn-gold:hover::after {
  transform: translateX(110%);
}

.btn-gold:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

.btn-full {
  width: 100%;
}


/* ---- 6. NAVIGATION -------------------------------------- */
.nav-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  padding: var(--sp-4) 0;
  transition:
    background var(--t-base),
    backdrop-filter var(--t-base),
    box-shadow var(--t-base);
}

.nav-header.is-scrolled {
  background: rgba(7, 15, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border-gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  min-height: 44px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: transform var(--t-slow);
}

.nav-logo:hover .nav-logo-icon {
  transform: rotate(60deg);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transform-origin: center;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav links — mobile drawer */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: rgba(7, 15, 26, 0.97);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  border-top: 1px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-border-gold);
  gap: 0;
}

.nav-links.is-open {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  color: rgba(240, 236, 227, 0.85);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  min-height: 44px;
  cursor: pointer;
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.nav-link:last-child {
  border-bottom: none;
}

.nav-link:hover {
  color: var(--color-accent);
  padding-left: var(--sp-2);
}

.nav-link--cta {
  color: var(--color-accent);
  font-weight: 700;
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    border: none;
    gap: var(--sp-8);
    align-items: center;
  }

  .nav-link {
    padding: 0;
    border: none;
    font-size: var(--text-sm);
    min-height: auto;
  }

  .nav-link:hover {
    padding-left: 0;
  }

  .nav-link::after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    background: var(--color-accent);
    transition: width var(--t-base);
    margin-top: 2px;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-link--cta {
    background: var(--color-accent);
    color: var(--forest-900);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: var(--text-sm);
    min-height: 44px;
    transition: background var(--t-fast), box-shadow var(--t-fast);
  }

  .nav-link--cta::after { display: none; }

  .nav-link--cta:hover {
    background: var(--color-accent-hover);
    box-shadow: var(--shadow-gold);
  }
}


/* ---- 7. HERO -------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    148deg,
    var(--forest-900) 0%,
    var(--forest-800) 38%,
    var(--navy-800) 100%
  );
  overflow: hidden;
  padding: calc(80px + var(--sp-12)) var(--sp-6) var(--sp-20);
}

/* Subtle ambient radial glows */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 15% 55%, rgba(201, 168, 76, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 15%, rgba(37, 77, 61, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 65% 85%, rgba(13, 27, 46, 0.6) 0%, transparent 55%);
}

/* Diagonal bottom cut — cream matches next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 90px;
  background: var(--cream-100);
  clip-path: polygon(0 100%, 100% 0%, 100% 100%);
  z-index: var(--z-base);
}

/* Large decorative Celtic rings — right side */
.hero-celtic {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 38vw, 480px);
  opacity: 0.14;
  pointer-events: none;
  animation: slow-spin 80s linear infinite;
}

@keyframes slow-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: var(--z-raised);
  text-align: center;
  max-width: 840px;
  color: var(--white);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-6);
  opacity: 0.9;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--sp-4);
  /* Subtle gold on the 'h' ascender via text-shadow */
  text-shadow: 0 2px 40px rgba(201, 168, 76, 0.15);
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1.3;
  margin-bottom: var(--sp-6);
}

.hero-subtext {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240, 236, 227, 0.82);
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator line */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-raised);
}

.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.7) 0%, transparent 100%);
  animation: scroll-drip 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-drip {
  0%   { opacity: 0; transform: scaleY(0.2); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1.4); }
}


/* ---- 8. SERVICES ---------------------------------------- */
.services {
  background: var(--cream-100);
  padding: var(--sp-24) 0;
  position: relative;
}

.services .section-title { color: var(--forest-800); }
.services .section-sub   { color: var(--color-text-body); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--color-border-cream);
  border-right: 1px solid var(--color-border-cream);
  border-bottom: 1px solid var(--color-border-cream);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin-bottom: var(--sp-4);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--forest-800);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

.service-text {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-body);
  opacity: 0.85;
}


/* ---- 9. ABOUT ------------------------------------------- */
.about {
  background: var(--forest-800);
  color: var(--color-text-light);
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

/* Decorative Celtic rings — left bleed */
.about-celtic-bg {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  opacity: 0.10;
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: var(--z-base);
  max-width: 720px;
}

.about .section-title { color: var(--white); }

.about-text {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: rgba(240, 236, 227, 0.85);
  margin-bottom: var(--sp-6);
  max-width: 65ch;
}

.about-stats {
  display: flex;
  gap: var(--sp-10);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border-gold);
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.about-stat-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}


/* ---- 10. GALLERY ---------------------------------------- */
.gallery {
  background: var(--navy-800);
  padding: var(--sp-24) 0;
}

.gallery .section-title { color: var(--white); }
.gallery .section-sub   { color: rgba(240, 236, 227, 0.65); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: var(--sp-3);
}

/* Gallery item with real images */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--forest-900);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.05);
}

/* Dark gradient overlay for caption readability */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  z-index: var(--z-base);
  transition: opacity var(--t-base);
  opacity: 0;
}

.gallery-item:hover::before,
.gallery-item:focus-within::before {
  opacity: 1;
}

/* Subtle sheen on the gradient itself */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.04) 0%,
    transparent 50%,
    rgba(0,0,0,0.08) 100%
  );
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-raised);
  padding: var(--sp-6) var(--sp-4) var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transform: translateY(6px);
  opacity: 0;
  transition: transform var(--t-base), opacity var(--t-base);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Layout variants */
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: var(--sp-4);
  }
}

.gallery-note {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-8);
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(240, 236, 227, 0.35);
}

.gallery-note svg {
  flex-shrink: 0;
  opacity: 0.5;
}


/* ---- 11. TESTIMONIALS ----------------------------------- */
.testimonials {
  background: var(--navy-800);
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind testimonials */
.testimonials::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.testimonials .section-title { color: var(--white); }

/* Review card grid */
.testimonials-grid,
.all-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .testimonials-grid,
  .all-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid,
  .all-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.testimonial:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.08);
}

/* Gold accent bar at top of card */
.testimonial-gold-bar {
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.testimonial-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Decorative opening quote */
.testimonial-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.2;
  user-select: none;
  pointer-events: none;
  font-weight: 900;
  margin-bottom: var(--sp-2);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: var(--sp-4);
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
}

.testimonial-cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  opacity: 0.85;
}

.testimonial-date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: auto;
}

/* "See All Reviews" CTA */
.testimonials-cta {
  text-align: center;
  margin-top: var(--sp-10);
}

/* ---- 11c. REVIEWS PAGE ---------------------------------- */
.reviews-page-hero {
  background: linear-gradient(148deg, var(--forest-900) 0%, var(--forest-800) 38%, var(--navy-800) 100%);
  padding: calc(80px + var(--sp-16)) 0 var(--sp-16);
  text-align: center;
  color: var(--white);
}

.reviews-page-hero .section-title { color: var(--white); }
.reviews-page-hero .section-sub { color: rgba(240, 236, 227, 0.7); }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  font-family: var(--font-display);
  color: var(--color-accent);
}

.reviews-summary-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1;
}

.reviews-summary-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
}

.reviews-summary-count {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.all-reviews-section {
  background: var(--navy-800);
  padding: var(--sp-16) 0 var(--sp-24);
}

.reviews-loading,
.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-12) 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  font-style: italic;
}


/* ---- 11b. REVIEW FORM ----------------------------------- */
.review-form-wrapper {
  max-width: 680px;
  width: 100%;
  margin: var(--sp-12) auto 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  border: 1px solid rgba(201, 168, 76, 0.18);
}

@media (min-width: 768px) {
  .review-form-wrapper { max-width: 900px; }
}

.review-form-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-6);
  text-align: center;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.review-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) {
  .review-row { grid-template-columns: 1fr 1fr; }
}

.review-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.review-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.review-input {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-light);
  min-height: 44px;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.review-input::placeholder {
  color: rgba(240, 236, 227, 0.28);
}

.review-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.10);
}

.review-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 4px;
  align-items: center;
  padding-top: var(--sp-1);
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.star-btn svg {
  width: 24px;
  height: 24px;
  fill: rgba(201, 168, 76, 0.25);
  transition: fill 0.15s ease;
}

.star-btn.is-active svg {
  fill: var(--color-accent);
}

.star-btn:hover svg {
  fill: var(--color-accent-hover);
}

.star-btn:hover {
  transform: scale(1.12);
}

.review-submit {
  align-self: flex-start;
  margin-top: var(--sp-2);
}

.review-success {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #9CD49C;
  font-weight: 600;
  margin-top: var(--sp-2);
}

.review-error {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #F09090;
  font-weight: 600;
  margin-top: var(--sp-2);
}


/* ---- 12. CONTACT ---------------------------------------- */
.contact {
  background: var(--forest-900);
  color: var(--color-text-light);
  padding: var(--sp-24) 0;
}

.contact .section-title { color: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--sp-20);
  }
}

/* Contact info side */
.contact-intro {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: rgba(240, 236, 227, 0.75);
  margin-bottom: var(--sp-10);
  max-width: 52ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  cursor: pointer;
  min-height: 44px;
  color: inherit;
  transition: opacity var(--t-fast);
}

.contact-item:is(a):hover { opacity: 0.75; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.contact-item:is(a):hover .contact-item-icon {
  background: var(--color-border-gold);
  border-color: var(--color-accent);
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-item-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact-item-value {
  font-size: var(--text-base);
  color: var(--color-text-light);
}

/* Facebook button in contact section */
.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  background: rgba(201, 168, 76, 0.06);
  cursor: pointer;
  min-height: 44px;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn-facebook:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--forest-900);
}

.btn-facebook svg {
  flex-shrink: 0;
}

/* Form side */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-8) var(--sp-10);
}

@media (max-width: 479px) {
  .contact-form { padding: var(--sp-6); }
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(240, 236, 227, 0.65);
}

.form-required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-light);
  min-height: 44px;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(240, 236, 227, 0.28);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.10);
}

/* Red border on invalid fields that have been touched */
.form-input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(220, 80, 80, 0.55);
}

/* Date input color on dark bg */
input[type="date"].form-input::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) hue-rotate(10deg);
  cursor: pointer;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Submit button row */
#submit-btn {
  margin-top: var(--sp-2);
  gap: var(--sp-3);
}

#submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Feedback messages */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.form-feedback svg { flex-shrink: 0; margin-top: 1px; }

.form-feedback--success {
  background: rgba(27, 90, 27, 0.30);
  border: 1px solid rgba(100, 185, 100, 0.4);
  color: #9CD49C;
}

.form-feedback--error {
  background: rgba(160, 40, 40, 0.25);
  border: 1px solid rgba(220, 80, 80, 0.4);
  color: #F09090;
}

[hidden] { display: none !important; }


/* ---- 13. FOOTER ----------------------------------------- */
.footer {
  background: var(--navy-900);
  color: rgba(240, 236, 227, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-8);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
  .footer-brand,
  .footer-nav,
  .footer-contact {
    flex: 1;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-contact {
    align-items: flex-end;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

@media (min-width: 768px) {
  .footer-brand { align-items: flex-start; }
}

.footer-knot {
  width: 52px;
  height: 52px;
  transition: transform var(--t-slow);
}

.footer-knot:hover { transform: rotate(60deg); }

.footer-tagline {
  font-family: var(--font-script);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-accent);
  opacity: 0.75;
}

.footer-nav {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 227, 0.45);
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--color-accent); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  align-items: center;
}


.footer-contact-link {
  font-size: var(--text-sm);
  color: rgba(240, 236, 227, 0.55);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: color var(--t-fast);
}

.footer-contact-link:hover { color: var(--color-accent); }

.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(240, 236, 227, 0.55);
  min-height: 44px;
  cursor: pointer;
  transition: color var(--t-fast);
}

.footer-facebook:hover { color: var(--color-accent); }

.footer-bottom {
  padding: var(--sp-4) 0;
}

.footer-bottom p {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: rgba(240, 236, 227, 0.25);
  text-align: center;
}


/* ---- 14. SCROLL REVEAL ANIMATION ----------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.10s; }
.reveal:nth-child(3) { transition-delay: 0.20s; }
.reveal:nth-child(4) { transition-delay: 0.30s; }


/* ---- 15. ACTIVE NAV LINK STATE -------------------------- */
@media (min-width: 768px) {
  .nav-link.is-active {
    color: var(--color-accent);
  }

  .nav-link.is-active::after {
    width: 100%;
  }
}
