/* ═══════════════════════════════════════════════════════════════
   DR ANDREJ KOVAČEVIĆ – PREMIUM DENTAL LANDING PAGE
   style.css · Mobile-first · Vanilla CSS
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
───────────────────────────────────────────── */
:root {
  /* Color Palette */
  --clr-navy:        #0d1f3c;   /* Primary – surgical deep navy */
  --clr-navy-mid:    #162b50;
  --clr-navy-light:  #1e3a6a;
  --clr-gold:        #b89b6a;   /* Accent – warm gold */
  --clr-gold-light:  #d4b896;
  --clr-white:       #ffffff;
  --clr-off-white:   #f8f7f4;
  --clr-grey-light:  #f2f1ee;
  --clr-grey:        #9ca3af;
  --clr-grey-dark:   #6b7280;
  --clr-text:        #1a1a2e;
  --clr-text-mid:    #374151;
  --clr-text-light:  #6b7280;

  /* Typography */
  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --fs-xs:    clamp(0.7rem,  1vw, 0.75rem);
  --fs-sm:    clamp(0.8rem,  1.2vw, 0.875rem);
  --fs-base:  clamp(0.9rem,  1.5vw, 1rem);
  --fs-md:    clamp(1rem,    1.8vw, 1.125rem);
  --fs-lg:    clamp(1.1rem,  2vw, 1.25rem);
  --fs-xl:    clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-2xl:   clamp(1.5rem,  3vw, 2rem);
  --fs-3xl:   clamp(2rem,    4vw, 2.75rem);
  --fs-4xl:   clamp(2.5rem,  5vw, 3.75rem);
  --fs-hero:  clamp(2.8rem,  7vw, 5.5rem);

  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;

  --lh-tight:  1.15;
  --lh-snug:   1.35;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);

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

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(13, 31, 60, 0.05);
  --shadow-md:  0 4px 20px rgba(13, 31, 60, 0.08);
  --shadow-lg:  0 12px 40px rgba(13, 31, 60, 0.12);
  --shadow-xl:  0 24px 60px rgba(13, 31, 60, 0.16);
  --shadow-gold: 0 8px 32px rgba(184, 155, 106, 0.25);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-base:   300ms;
  --dur-slow:   500ms;
  --dur-slower: 700ms;
}

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

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

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  background-color: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

svg {
  display: block;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   3. UTILITY CLASSES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Section Typography Tokens */
.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
  line-height: var(--lh-tight);
  color: var(--clr-navy);
  margin-bottom: var(--space-6);
}

.section-title em {
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--clr-navy-light);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-light);
  line-height: var(--lh-loose);
  max-width: 60ch;
  margin-inline: auto;
}

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

/* ─────────────────────────────────────────────
   4. BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-smooth),
    color var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth),
    transform var(--dur-base) var(--ease-bounce),
    box-shadow var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
}

.btn--large {
  padding: var(--space-4) var(--space-10);
  font-size: var(--fs-base);
}

.btn--primary {
  background-color: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background-color: var(--clr-navy-light);
  border-color: var(--clr-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--primary:active {
  transform: translateY(0);
}

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

.btn--ghost:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--clr-navy);
  border-color: var(--clr-navy);
}

.btn--outline:hover {
  background-color: var(--clr-navy);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background-color: var(--clr-white);
  color: var(--clr-navy);
  border-color: var(--clr-white);
  box-shadow: var(--shadow-lg);
}

.btn--white:hover {
  background-color: var(--clr-off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn__icon {
  width: 1.1em;
  height: 1.1em;
}

/* ─────────────────────────────────────────────
   5. SCROLL ANIMATIONS
───────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity var(--dur-slower) var(--ease-smooth),
    transform var(--dur-slower) var(--ease-smooth);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none !important;
}

.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }

/* Delays */
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 240ms; }
.delay-3 { transition-delay: 360ms; }
.delay-4 { transition-delay: 480ms; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─────────────────────────────────────────────
   6. HEADER
───────────────────────────────────────────── */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  transition:
    background-color var(--dur-base) var(--ease-smooth),
    backdrop-filter var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    padding var(--dur-base) var(--ease-smooth);
  padding-block: var(--space-6);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding-block: var(--space-3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.logo:hover { opacity: 0.85; }

.logo__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  color: var(--clr-white);
  line-height: 1;
  transition: color var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
}

.logo__subtitle {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
}

.header.scrolled .logo__title  { color: var(--clr-navy); }
.header.scrolled .logo__subtitle { color: var(--clr-text-light); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  padding-block: var(--space-1);
  transition: color var(--dur-base) var(--ease-smooth);
}

.nav__link::after {
  content: '';
  position: absolute;
  inset-block-end: -2px;
  inset-inline-start: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--clr-gold);
  transition: width var(--dur-base) var(--ease-smooth);
}

.nav__link:hover { color: var(--clr-white); }
.nav__link:hover::after { width: 100%; }

.header.scrolled .nav__link { color: var(--clr-text-mid); }
.header.scrolled .nav__link:hover { color: var(--clr-navy); }

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1100;
  flex-shrink: 0;
}

/* The bars wrapper – fixed 18px tall box */
.nav-toggle__bars {
  position: relative;
  width: 22px;
  height: 18px;  /* (3 × 2px bar) + (2 × 6px gap) = 18px */
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: var(--clr-white);
  border-radius: var(--radius-full);
  transition:
    transform 300ms var(--ease-smooth),
    opacity  300ms var(--ease-smooth);
  transform-origin: center center;
}

/* Default positions:
   bar 1 → top:  0px  (center at 1px)
   bar 2 → top:  8px  (center at 9px)  ← geometric center
   bar 3 → top: 16px  (center at 17px) */
.nav-toggle__bar:nth-child(1) { top: 0px; }
.nav-toggle__bar:nth-child(2) { top: 8px; }
.nav-toggle__bar:nth-child(3) { top: 16px; }

/* Scrolled – switch bars to navy */
.header.scrolled .nav-toggle__bar { background-color: var(--clr-navy); }

/* Menu open – bars become a perfect X.
   Bar 1 moves from center=1px → center=9px → +8px down, then rotates 45°
   Bar 3 moves from center=17px → center=9px → -8px up, then rotates -45° */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* Force white bars when overlay is open (scrolled state would make them navy) */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background-color: var(--clr-white);
}

/* ─── Mobile Nav Overlay ─── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100dvh;
    padding-block-start: 110px;
    padding-block-end: var(--space-12);
    padding-inline: var(--space-8);
    background-color: var(--clr-navy);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-8);
    z-index: 1050;
    overflow-y: auto;
    /* Slide-in from right */
    transform: translateX(100%);
    transition: transform 380ms var(--ease-smooth);
    /* Always rendered, just off-screen */
    display: flex;
    pointer-events: none;
  }

  .nav.nav--open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    font-family: var(--ff-serif);
    font-weight: var(--fw-light);
    color: rgba(255,255,255,0.9);
    padding-block: var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    text-align: center;
    letter-spacing: 0.02em;
    transition: color var(--dur-base) var(--ease-smooth);
  }

  .nav__link:hover {
    color: var(--clr-gold-light);
  }

  .nav__link::after { display: none; }

  .nav__cta {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
    padding-block: var(--space-4);
    font-size: var(--fs-base);
  }
}

/* ─────────────────────────────────────────────
   7. HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease-smooth);
}

.hero__image.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 31, 60, 0.82) 0%,
    rgba(13, 31, 60, 0.60) 50%,
    rgba(13, 31, 60, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--space-32) + 60px) var(--space-24);
  max-width: 750px;
}

.hero__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-hero);
  font-weight: var(--fw-light);
  line-height: var(--lh-tight);
  color: var(--clr-white);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--clr-gold-light);
}

.hero__desc {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-loose);
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

/* Hero Google Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-4);
}

.hero__badge-stars {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 14px;
  height: 14px;
  color: #fbbf24;
}

.hero__badge-text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7) translateY(-4px); }
  50%       { opacity: 1;   transform: scaleY(1) translateY(0); }
}

/* ─────────────────────────────────────────────
   8. TRUST BAR
───────────────────────────────────────────── */
.trust-bar {
  background-color: var(--clr-navy);
  padding-block: var(--space-8);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.trust-item__icon {
  width: 28px;
  height: 28px;
  color: var(--clr-gold);
}

.trust-item__text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────
   9. ABOUT
───────────────────────────────────────────── */
.about {
  padding-block: var(--space-32);
  background-color: var(--clr-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
  }
}

/* Image Column */
.about__image-col {
  position: relative;
}

.about__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about__image-accent {
  position: absolute;
  inset-block-end: -20px;
  inset-inline-end: -20px;
  width: 55%;
  height: 55%;
  border: 2px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.4;
}

/* Content Column */
.about__divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--clr-gold), transparent);
  margin-bottom: var(--space-8);
}

.about__text {
  font-size: var(--fs-md);
  color: var(--clr-text-mid);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-6);
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.about__highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-mid);
}

.about__highlight-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--clr-gold);
}

/* ─────────────────────────────────────────────
   10. SERVICES
───────────────────────────────────────────── */
.services {
  padding-block: var(--space-32);
  background-color: var(--clr-off-white);
}

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

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

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

/* Service Card */
.service-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 31, 60, 0.06);
  transition:
    transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 155, 106, 0.3);
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: rgba(13, 31, 60, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: background-color var(--dur-base) var(--ease-smooth);
}

.service-card:hover .service-card__icon-wrap {
  background-color: rgba(184, 155, 106, 0.12);
}

.service-card__icon {
  width: 32px;
  height: 32px;
  color: var(--clr-navy);
  transition: color var(--dur-base) var(--ease-smooth);
}

.service-card:hover .service-card__icon {
  color: var(--clr-gold);
}

.service-card__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  margin-bottom: var(--space-4);
  line-height: var(--lh-snug);
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: var(--lh-loose);
  flex-grow: 1;
  margin-bottom: var(--space-6);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
  letter-spacing: 0.02em;
  transition:
    color var(--dur-base) var(--ease-smooth),
    gap var(--dur-base) var(--ease-bounce);
  margin-top: auto;
  text-decoration: none;
}

.service-card:hover .service-card__link {
  color: var(--clr-gold);
  gap: var(--space-3);
}

/* ─────────────────────────────────────────────
   11. TESTIMONIALS
───────────────────────────────────────────── */
.testimonials {
  padding-block: var(--space-32);
  background-color: var(--clr-white);
}

/* Google Score Block */
.google-score {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  margin-bottom: var(--space-16);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.google-score__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.google-logo {
  width: 36px;
  height: 36px;
}

.google-score__number {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: var(--fw-light);
  color: var(--clr-white);
  line-height: 1;
}

.google-score__stars {
  display: flex;
  gap: 3px;
}

.google-score__stars svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
}

.google-score__right {
  flex: 1;
}

.google-score__label {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  color: var(--clr-white);
  margin-bottom: var(--space-2);
  font-weight: var(--fw-light);
}

.google-score__sublabel {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-snug);
}

/* Review Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.review-card {
  background-color: var(--clr-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid rgba(13, 31, 60, 0.06);
  transition:
    transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth);
}

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

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-5);
}

.review-card__stars svg {
  width: 14px;
  height: 14px;
  color: #fbbf24;
}

.review-card__text {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  font-style: italic;
  line-height: var(--lh-loose);
  color: var(--clr-text-mid);
  margin-bottom: var(--space-6);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--clr-navy);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  font-style: normal;
  margin-bottom: 2px;
}

.review-card__date {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

/* ─────────────────────────────────────────────
   12. CTA BANNER
───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,155,106,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
  color: var(--clr-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-6);
}

.cta-banner__text {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.7);
  line-height: var(--lh-loose);
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

/* ─────────────────────────────────────────────
   13. CONTACT
───────────────────────────────────────────── */
.contact {
  padding-block: var(--space-32);
  background-color: var(--clr-off-white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: start;
}

@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.contact-item__icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--clr-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 31, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item__icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--clr-navy);
}

.contact-item__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-1);
}

.contact-item__value {
  font-size: var(--fs-base);
  color: var(--clr-text-mid);
  line-height: var(--lh-snug);
}

.contact-item__value--link {
  font-size: var(--fs-xl);
  font-family: var(--ff-serif);
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-smooth);
}

.contact-item__value--link:hover { color: var(--clr-gold); }

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--clr-text-mid);
  padding-block: var(--space-1);
  border-bottom: 1px solid rgba(13, 31, 60, 0.06);
}

.hours-row:last-child { border-bottom: none; }

.hours-row--closed { color: var(--clr-grey); }

/* Map */
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background-color: var(--clr-grey-light);
}

.map-placeholder {
  width: 100%;
  height: 100%;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}

/* ─────────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────────── */
.footer {
  background-color: var(--clr-navy);
  padding-block-start: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-block-end: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 700px) {
  .footer__inner {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: var(--space-16);
  }
}

.footer__logo-title {
  display: block;
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  color: var(--clr-white);
  margin-bottom: var(--space-1);
}

.footer__logo-sub {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__nav-link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-base) var(--ease-smooth);
  text-decoration: none;
}

.footer__nav-link:hover { color: var(--clr-white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__phone {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  color: var(--clr-white);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-smooth);
}

.footer__phone:hover { color: var(--clr-gold); }

.footer__google-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
}

.google-g { width: 20px; height: 20px; }

.footer__stars {
  display: flex;
  gap: 2px;
}

.footer__stars svg {
  width: 12px;
  height: 12px;
  color: #fbbf24;
}

/* Footer Bottom */
.footer__bottom {
  padding-block: var(--space-5);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ─────────────────────────────────────────────
   15. RESPONSIVE FINE-TUNING
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--large {
    width: 100%;
    justify-content: center;
  }

  .google-score {
    flex-direction: column;
    text-align: center;
    padding: var(--space-8);
  }

  .google-score__left { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (min-width: 480px) and (max-width: 768px) {
  .hero__content { max-width: 100%; }
}

/* ─────────────────────────────────────────────
   16. SELECTION & SCROLLBAR
───────────────────────────────────────────── */
::selection {
  background-color: var(--clr-navy);
  color: var(--clr-white);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-off-white); }
::-webkit-scrollbar-thumb {
  background: var(--clr-navy);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--clr-navy-light); }
