/* ==========================================================================
   DogBarber · Peluquería canina y felina · Gijón
   Styles — mobile-first, expresiva variant
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — derived from brand identity */
  --teal-900: #0b4f50;
  --teal-800: #0f6769;
  --teal-700: #14807f;
  --teal-500: #1aa6a3;
  --teal-400: #35bab8;
  --teal-200: #b6e5e3;
  --teal-50:  #edf8f7;

  --ink:    #0e1a1a;
  --ink-2:  #2a3a3a;
  --muted:  #6b7a7a;
  --line:   #e3ece9;
  --paper:  #fafaf7;
  --white:  #ffffff;

  /* Accent — mascot palette */
  --accent-yellow: #ffd23f;
  --accent-purple: #a88fd0;
  --accent-red:    #e4574a;

  /* Radii */
  --radius:    14px;
  --radius-lg: 22px;

  /* Layout */
  --maxw:  1240px;
  --pad-x: clamp(20px, 5vw, 96px);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a { color: inherit; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.display-italic {
  font-style: italic;
  font-weight: 500;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-700);
}

h2.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

p.section-lede {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 30ch;
}

@media (min-width: 900px) {
  h2.section-title {
    font-size: 48px;
    letter-spacing: -.025em;
  }

  p.section-lede {
    font-size: 17px;
    max-width: 52ch;
  }
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  background: rgba(250, 250, 247, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
  gap: 32px;
}

.top-nav.scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-500);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1);
  flex-shrink: 0;
}

.brand-dot svg { width: 18px; height: 18px; }

.nav-links {
  display: none;
  gap: 28px;
  flex: 1;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}

.nav-links a:hover { color: var(--teal-700); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--teal-900); }
.nav-cta img { filter: brightness(0) invert(1); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .top-nav { padding: 18px var(--pad-x); }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 64px var(--pad-x) 80px;
  background: var(--teal-500);
  color: white;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero .eyebrow { color: rgba(255, 255, 255, .85); }

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(52px, 10vw, 112px);
  line-height: .92;
  letter-spacing: -.035em;
  margin: 18px 0 24px;
  color: white;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #fff6db;
}

.hero p.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  max-width: 42ch;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  line-height: 1;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: white;
  color: var(--ink);
}

.btn-primary:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Hero info strip */
.hero-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px;
  color: rgba(255, 255, 255, .9);
}

.hero-strip .item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-strip svg {
  width: 16px;
  height: 16px;
  opacity: .9;
  flex-shrink: 0;
}

/* Decorative bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  aria-hidden: true;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 60%);
}

/* Mobile mascot corner */
.hero-mascot {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 140px;
  opacity: .9;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .2));
  transform: rotate(8deg);
}

/* Desktop hero visual */
.hero-visual { display: none; }

@media (min-width: 900px) {
  .hero {
    padding: 100px var(--pad-x) 120px;
    min-height: 82vh;
    display: flex;
    align-items: center;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
  }

  .hero-mascot { display: none; }

  .hero-visual {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    justify-self: end;
    width: 100%;
  }

  .hv-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .3), rgba(255, 255, 255, .05));
    border: 1.5px solid rgba(255, 255, 255, .3);
  }

  .hv-ring {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .15);
  }

  .hv-ring.r2 {
    inset: -60px;
    border-color: rgba(255, 255, 255, .08);
  }

  .hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: floaty 6s ease-in-out infinite;
  }

  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
  }

  /* Floating info chips */
  .hv-chip {
    position: absolute;
    background: white;
    color: var(--ink);
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: chipFloat 5s ease-in-out infinite;
  }

  .hv-chip.c1 { top: 12%; left: -8%; animation-delay: -1s; }
  .hv-chip.c2 { bottom: 18%; right: -12%; animation-delay: -3s; }

  .hv-chip .chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-700);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .hv-chip .chip-icon svg { width: 16px; height: 16px; }

  .hv-chip strong {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 600;
    display: block;
    line-height: 1.2;
  }

  .hv-chip span {
    color: var(--muted);
    font-size: 11px;
  }

  @keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
  }
}

/* --------------------------------------------------------------------------
   6. Section base
   -------------------------------------------------------------------------- */
section {
  padding: 72px var(--pad-x);
}

section.teal  { background: var(--teal-50); }
section.dark  { background: var(--teal-900); color: white; }

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center p.section-lede {
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  section { padding: 112px var(--pad-x); }
  .section-head { margin-bottom: 56px; }
}

/* --------------------------------------------------------------------------
   7. About
   -------------------------------------------------------------------------- */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--teal-200);
  order: -1;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .25));
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.stat {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: -.02em;
  line-height: 1;
}

.stat .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    flex-direction: unset;
  }

  .about-visual { order: 2; }
  .about-copy   { order: 1; }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
  }

  .stat { padding: 24px; }
  .stat .num { font-size: 44px; }
  .stat .lbl { font-size: 13px; margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  color: var(--ink);
}

.service-card:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(26, 166, 163, .2);
}

.service-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-card .icon svg { width: 22px; height: 22px; }

.service-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}

.service-card .from {
  font-size: 12px;
  color: var(--teal-700);
  font-weight: 600;
}

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

@media (min-width: 900px) {
  .services-grid { gap: 20px; }
  .service-card  { padding: 28px 24px; min-height: 200px; gap: 14px; }
  .service-card .icon { width: 48px; height: 48px; }
  .service-card .icon svg { width: 26px; height: 26px; }
  .service-card h3 { font-size: 18px; }
  .service-card p  { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   9. Prices
   -------------------------------------------------------------------------- */
.price-columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-table {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-group-title {
  padding: 14px 18px 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
  font-weight: 600;
  background: var(--teal-50);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.price-row:first-of-type { border-top: none; }

.price-row .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  line-height: 1.4;
}

.price-row .dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--line);
  min-width: 20px;
  align-self: flex-end;
  margin-bottom: 6px;
}

.price-row .price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-size: 16px;
}

.price-row .price small {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  text-align: right;
  margin-top: -2px;
  letter-spacing: .02em;
}

.price-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.55;
}

.price-note strong { color: var(--ink); font-weight: 600; }

@media (min-width: 900px) {
  .price-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    flex-direction: unset;
  }

  .price-group-title { padding: 18px 24px 10px; font-size: 12px; }
  .price-row         { padding: 20px 24px; }
  .price-row .name   { font-size: 15px; }
  .price-row .price  { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.testi-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--pad-x));
  padding: 4px var(--pad-x) 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.testi-scroll::-webkit-scrollbar { display: none; }

.testi {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.testi .stars {
  color: var(--accent-yellow);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testi blockquote {
  margin: 0 0 16px;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
}

.testi .who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-200);
  display: grid;
  place-items: center;
  color: var(--teal-900);
  font-weight: 600;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.testi .who-info  { font-size: 12px; }
.testi .who-name  { font-weight: 600; color: var(--ink); }
.testi .who-meta  { color: var(--muted); }

@media (min-width: 900px) {
  .testi-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .testi {
    flex: none;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
  }

  .testi blockquote { font-size: 20px; line-height: 1.4; flex: 1; }
  .testi .stars     { font-size: 16px; }
  .testi .avatar    { width: 42px; height: 42px; font-size: 14px; }
  .testi .who-name  { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   11. Location / Map
   -------------------------------------------------------------------------- */
.location-grid { display: block; }

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--teal-50);
  aspect-ratio: 4 / 3;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.loc-card {
  margin-top: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 30px -15px rgba(14, 26, 26, .2);
}

.loc-card h3 {
  margin: 0 0 14px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.loc-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.loc-row:first-of-type { border-top: none; padding-top: 0; }

.loc-row .lbl {
  color: var(--muted);
  width: 78px;
  flex-shrink: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-top: 2px;
}

.loc-row .val {
  flex: 1;
  color: var(--ink);
  line-height: 1.55;
}

.loc-row .val a {
  color: var(--teal-700);
  text-decoration: none;
  font-weight: 500;
}

.loc-row .val a:hover { text-decoration: underline; }

/* Opening hours */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.h-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  flex-wrap: wrap;
}

.h-row .day { font-weight: 500; flex-shrink: 0; }

.h-row .hrs {
  text-align: right;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.h-row.today .day,
.h-row.today .hrs {
  color: var(--teal-700);
  font-weight: 600;
}

.h-row .closed {
  color: var(--muted);
  font-style: italic;
}

@media (min-width: 900px) {
  .location-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: stretch;
  }

  .map-wrap { aspect-ratio: auto; height: 100%; min-height: 520px; }
  .loc-card { margin-top: 0; padding: 36px; }
  .loc-card h3 { font-size: 28px; margin-bottom: 24px; }
  .loc-row  { padding: 16px 0; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   12. Gallery / 3D Coverflow Carousel
   -------------------------------------------------------------------------- */
.gallery {
  position: relative;
  background: linear-gradient(180deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: white;
  overflow: hidden;
  padding: 80px var(--pad-x) 100px;
}

.gallery-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
}

.gb-1 { width: 500px; height: 500px; background: var(--teal-400); top: -150px; right: -100px; }
.gb-2 { width: 400px; height: 400px; background: var(--accent-yellow); bottom: -100px; left: -80px; opacity: .2; }
.gb-3 { width: 300px; height: 300px; background: var(--teal-500); top: 40%; left: 30%; opacity: .3; }

.gallery .section-inner { position: relative; z-index: 2; }

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-title { color: white; font-size: clamp(36px, 5vw, 64px); }
.gallery-title em { color: var(--teal-200); font-style: italic; font-weight: 500; }
.gallery-lede { color: rgba(255, 255, 255, .75); font-size: 16px; line-height: 1.55; max-width: 42ch; margin: 12px 0 0; }
.gallery .eyebrow { color: rgba(255, 255, 255, .75); }

.gallery-controls { display: flex; gap: 10px; }

.gc-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s, transform .15s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gc-btn:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .5); }
.gc-btn:active { transform: scale(.95); }
.gc-btn svg { width: 22px; height: 22px; }

/* ---- Carousel 3D stage ---- */
.carousel {
  position: relative;
  perspective: 1800px;
}

.carousel-track {
  position: relative;
  height: 460px;
  transform-style: preserve-3d;
}

@media (min-width: 700px)  { .carousel-track { height: 520px; } }
@media (min-width: 1100px) { .carousel-track { height: 580px; } }

/* ---- Slide cards ---- */
.car-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 380px);
  aspect-ratio: 4 / 5;
  margin-left: calc(min(78vw, 380px) * -0.5);
  margin-top: calc(min(78vw, 380px) * 5 / 4 * -0.5);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .7s cubic-bezier(.3, .7, .2, 1), opacity .5s, filter .5s;
  will-change: transform;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  backface-visibility: hidden;
}

@media (min-width: 700px) {
  .car-slide {
    width: min(42vw, 420px);
    margin-left: calc(min(42vw, 420px) * -0.5);
    margin-top: calc(min(42vw, 420px) * 5 / 4 * -0.5);
  }
}

@media (min-width: 1100px) {
  .car-slide {
    width: 400px;
    margin-left: -200px;
    margin-top: -250px;
  }
}

.car-slide .cs-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.car-slide .cs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-slide .cs-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .8));
  pointer-events: none;
}

.car-slide .cs-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 22px 24px;
  color: white;
}

.car-slide .cs-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 600;
}

.car-slide .cs-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 6px;
}

.car-slide .cs-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}

/* 3D positional states */
.car-slide[data-pos="0"]      { transform: translateZ(0) rotateY(0deg); z-index: 5; opacity: 1; }
.car-slide[data-pos="-1"]     { transform: translate3d(-78%, 0, -180px) rotateY(25deg); z-index: 4; opacity: .9; }
.car-slide[data-pos="1"]      { transform: translate3d(78%, 0, -180px) rotateY(-25deg); z-index: 4; opacity: .9; }
.car-slide[data-pos="-2"]     { transform: translate3d(-130%, 0, -360px) rotateY(30deg); z-index: 3; opacity: .5; filter: blur(2px); }
.car-slide[data-pos="2"]      { transform: translate3d(130%, 0, -360px) rotateY(-30deg); z-index: 3; opacity: .5; filter: blur(2px); }
.car-slide[data-pos="hidden"] { transform: translate3d(0, 0, -500px); opacity: 0; pointer-events: none; }

.car-slide[data-pos="0"] .cs-body {
  animation: slideUpFade .6s .2s both;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Dot nav ---- */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.gd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s, width .3s;
  flex-shrink: 0;
}

.gd-dot.active { background: white; width: 28px; border-radius: 8px; }

@media (min-width: 900px) {
  .gallery { padding: 120px var(--pad-x) 140px; }
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq-grid { display: block; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details.faq {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}

details.faq[open] { border-color: var(--teal-500); }

details.faq summary {
  list-style: none;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  user-select: none;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary .plus {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform .3s, background .2s;
}

details.faq[open] summary .plus {
  transform: rotate(45deg);
  background: var(--teal-500);
  color: white;
}

details.faq .answer {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  animation: faqOpen .25s ease;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 900px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
  }

  .faq-grid .section-head {
    margin-bottom: 0;
    position: sticky;
    top: 100px;
  }

  details.faq summary { padding: 22px 28px; font-size: 17px; }
  details.faq .answer { padding: 0 28px 24px; font-size: 15px; }
  details.faq summary .plus { width: 28px; height: 28px; font-size: 18px; }
}

/* --------------------------------------------------------------------------
   14. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  padding: 72px var(--pad-x);
  background: var(--teal-900);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}

.cta-banner h2 em {
  font-style: italic;
  color: var(--teal-400);
  font-weight: 500;
}

.cta-banner p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  line-height: 1.55;
  max-width: 38ch;
}

.cta-banner .btn-primary { background: white; color: var(--ink); }
.cta-banner .btn-primary:hover { box-shadow: 0 6px 24px rgba(255,255,255,.2); }

/* Decorative ring */
.cta-deco {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .1);
  pointer-events: none;
}

.cta-deco::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .06);
}

@media (min-width: 900px) {
  .cta-banner { padding: 120px var(--pad-x); }

  .cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
footer {
  padding: 56px var(--pad-x) 72px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-inner { max-width: var(--maxw); margin: 0 auto; }

.f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.f-brand strong {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--ink);
}

.f-tag {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 36ch;
  margin: 0;
}

.f-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

footer h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 600;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

footer a:hover { color: var(--teal-700); }

.f-legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
}

@media (min-width: 900px) {
  .f-top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
  }

  .f-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   16. Floating WhatsApp button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 2px 6px rgba(0, 0, 0, .1);
  text-decoration: none;
  transition: transform .2s;
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg   { width: 30px; height: 30px; }
.wa-float img   { filter: brightness(0) invert(1); }

.wa-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.wa-float:hover .wa-label { opacity: 1; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.1), 0 0 0 0 rgba(37,211,102,.4); }
  50%       { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.1), 0 0 0 14px rgba(37,211,102,0); }
}

/* --------------------------------------------------------------------------
   17. Scroll-reveal animation
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-up.in {
  opacity: 1;
  transform: none;
}
