/* ═══════════════════════════════════════════════════════════
   SJ SMILE STUDIO — Styles
   Lujo Cálido · Scroll continuo · Mobile-first
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:            #faf6f0;
  --bg-warm:       #f5ede0;
  --bg-dark:       #100c07;
  --surface:       rgba(255, 255, 255, 0.96);
  --surface-warm:  rgba(250, 246, 240, 0.95);
  --text:          #1a1008;
  --text-soft:     #7a6855;
  --text-muted:    #a8957e;
  --accent:        #b8924a;
  --accent-strong: #7a4f22;
  --accent-soft:   #f0e4cc;
  --accent-glow:   rgba(184, 146, 74, 0.15);
  --cta-start:     #d4a96a;
  --cta-end:       #b8924a;
  --line:          rgba(122, 79, 34, 0.12);
  --line-strong:   rgba(122, 79, 34, 0.22);
  --shadow-sm:     0 4px 16px rgba(100, 62, 22, 0.07);
  --shadow-md:     0 12px 36px rgba(100, 62, 22, 0.10);
  --shadow-lg:     0 24px 64px rgba(100, 62, 22, 0.13);
  --radius-sm:     12px;
  --radius-md:     20px;
  --radius-lg:     28px;
  --radius-xl:     40px;
  --max-w:         1200px;
  --pad:           clamp(1.25rem, 5vw, 2.5rem);
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
blockquote { font-style: normal; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
em { font-style: italic; color: var(--accent); }
p { line-height: 1.7; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.section-sub { margin-top: 1rem; color: var(--text-soft); font-size: 1.05rem; }
.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 100px;
  padding: 0.8rem 1.6rem;
  transition: all 200ms var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 146, 74, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184, 146, 74, 0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--surface);
  color: var(--accent-strong);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.55); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.icon-md { width: 1.4rem; height: 1.4rem; flex-shrink: 0; color: var(--accent); }

/* ── Pills ───────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills span {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-warm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 250ms ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 68px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--line-strong); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.brand-copy small { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-wa-cta { display: none; }
.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  transition: color 180ms, background 180ms;
}
.site-nav a:hover { color: var(--accent-strong); background: var(--accent-glow); }
.btn-header { margin-left: 1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-soft);
  margin-left: 0.5rem;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-strong);
  border-radius: 2px;
  transition: transform 280ms var(--ease), opacity 200ms;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after { content: ''; position: absolute; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg) translate(4px, -4px); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(16,12,7,0.80) 0%, rgba(26,16,8,0.62) 45%, rgba(16,12,7,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 740px;
  margin-left: clamp(1.25rem, 8vw, 8rem);
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
}
.hero-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline { color: #fff; margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-headline em { color: var(--cta-start); font-style: italic; }
.hero-sub { color: rgba(255,255,255,0.8); font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 500; margin-bottom: 1.75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  padding: 1.5rem var(--pad);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.stat-sep { font-size: 1.5rem; color: rgba(255,255,255,0.35); font-weight: 300; }

/* ══════════════════════════════════════════════════════════
   RESULTADOS — CAROUSEL
══════════════════════════════════════════════════════════ */
.section--results { background: var(--bg); }
.results-carousel { max-width: 900px; margin: 0 auto; }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.carousel-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 200ms, transform 200ms;
  cursor: pointer;
}
.dot.is-active { background: var(--accent); transform: scale(1.3); }
.carousel-arrows { display: flex; gap: 0.5rem; }
.arrow-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: all 180ms;
  color: var(--accent-strong);
}
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn:hover { background: var(--accent-soft); border-color: var(--accent); }
.carousel-track-wrap { overflow: hidden; border-radius: var(--radius-lg); }

/* Result slide */
.result-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.result-slide[hidden] { display: none; }

/* Before/After */
.before-after {
  position: relative;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  aspect-ratio: 4/3;
  background: #0a0a0a;
}
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.ba-after img, .ba-before img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-label {
  position: absolute;
  top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.ba-label--after { right: 1rem; background: rgba(184,146,74,0.8); }
.ba-label--before { left: 1rem; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  transform: translateX(-50%);
  width: 3px;
  background: rgba(255,255,255,0.9);
  pointer-events: none;
  z-index: 2;
}
.ba-handle svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  color: var(--accent-strong);
  fill: none; stroke: currentColor; stroke-width: 2;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: col-resize;
  margin: 0;
  z-index: 3;
}
.result-copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.result-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.result-copy p { color: var(--text-soft); font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════════════════════ */
.section--services { background: var(--bg-warm); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.service-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: transform 250ms var(--ease), box-shadow 250ms;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.service-badge {
  position: absolute;
  top: -0.75rem; left: 1.5rem;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(184,146,74,0.4);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-strong);
}
.service-icon svg { width: 26px; height: 26px; }
.service-name { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.025em; }
.service-desc { font-size: 0.92rem; color: var(--text-soft); }

/* Accordion */
.service-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.service-list li { border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: none; }
.service-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.75rem 1rem;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text); text-align: left;
  transition: background 180ms, color 180ms;
  gap: 0.5rem;
}
.service-item:hover { background: var(--accent-glow); color: var(--accent-strong); }
.service-item[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent-strong); }
.chevron { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); transition: transform 250ms var(--ease); }
.service-item[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.service-detail {
  max-height: 0; overflow: hidden;
  font-size: 0.84rem; color: var(--text-soft); line-height: 1.6;
  transition: max-height 280ms var(--ease), padding 280ms;
  padding: 0 1rem;
}
.service-detail.open { max-height: 200px; padding: 0.5rem 1rem 0.85rem; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════════════════════ */
.section--testimonials { background: var(--bg-dark); }
.section--testimonials .section-header h2 { color: #fff; }
.section--testimonials .section-header .eyebrow { color: var(--accent); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 250ms var(--ease), background 250ms;
}
.testimonial:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); }
.t-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; line-height: 0.8;
  color: var(--accent); font-style: italic; font-weight: 700;
}
.t-text { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.7; flex: 1; }
.t-footer {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.t-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.t-info { flex: 1; }
.t-name { font-size: 0.9rem; font-weight: 700; color: #fff; display: block; font-style: normal; }
.t-service { font-size: 0.75rem; color: var(--accent); font-weight: 500; }
.t-stars { font-size: 0.9rem; color: var(--accent); letter-spacing: 0.05em; }

/* ══════════════════════════════════════════════════════════
   EQUIPO
══════════════════════════════════════════════════════════ */
.section--team { background: var(--bg); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1.1fr;
  transition: box-shadow 250ms, transform 250ms var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 600ms var(--ease);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-tag {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(26,16,8,0.7); color: rgba(255,255,255,0.9);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px;
  backdrop-filter: blur(8px);
}
.team-copy {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.85rem; justify-content: center;
}
.team-role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.team-copy h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.team-copy > p { font-size: 0.88rem; color: var(--text-soft); }
.team-quote {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1rem;
}
.team-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--accent-strong); line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   POR QUÉ NOSOTROS
══════════════════════════════════════════════════════════ */
.section--why { background: var(--bg-warm); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.why-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1.5px solid var(--line);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  transition: transform 250ms var(--ease), box-shadow 250ms;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-strong);
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
.why-card p { font-size: 0.87rem; color: var(--text-soft); line-height: 1.6; }
.why-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.why-cta-sub { font-size: 0.82rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   UBICACIÓN
══════════════════════════════════════════════════════════ */
.section--location { background: var(--bg); }
.location-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.location-info { display: flex; flex-direction: column; gap: 1.75rem; }
.location-detail { display: flex; gap: 1rem; align-items: flex-start; }
.location-detail > div { display: flex; flex-direction: column; gap: 0.25rem; }
.location-detail strong { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.location-detail p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.6; }
.location-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.location-actions .btn { justify-content: center; }
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  border: 1.5px solid var(--line);
}
.location-map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--bg-dark); padding: 3rem 0 2rem; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 2rem;
}
.brand--footer .brand-copy strong { color: #fff; }
.brand--footer .brand-copy small { color: rgba(255,255,255,0.45); }
.brand--footer .brand-logo { border-color: rgba(255,255,255,0.12); }
.footer-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.55); padding: 0.3rem 0.6rem;
  border-radius: 6px; transition: color 180ms, background 180ms;
}
.footer-nav a:hover { color: var(--accent); background: rgba(184,146,74,0.1); }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 180ms;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: rgba(184,146,74,0.2); color: var(--accent); border-color: var(--accent); }
.footer-legal {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ══════════════════════════════════════════════════════════
   WHATSAPP FAB
══════════════════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  display: flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  border-radius: 100px;
  padding: 0.75rem 1.25rem 0.75rem 0.85rem;
  box-shadow: 0 6px 28px rgba(184,146,74,0.45);
  font-size: 0.88rem; font-weight: 700;
  transition: transform 250ms var(--ease), box-shadow 250ms, opacity 400ms;
  opacity: 0;
  pointer-events: none;
}
.wa-fab.visible { opacity: 1; pointer-events: auto; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(184,146,74,0.55); }
.wa-fab__icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.wa-fab__icon svg { width: 20px; height: 20px; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤960px)
══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .location-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .result-slide { grid-template-columns: 1fr; }
  .result-copy { padding: 1.75rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤640px)
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Header ── */
  .site-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface-warm);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--pad) 1.25rem;
    box-shadow: var(--shadow-md); gap: 0.15rem;
    z-index: 99;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 1rem; font-size: 0.95rem; border-radius: var(--radius-sm); }
  .nav-wa-cta {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
    color: #fff !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    justify-content: center;
  }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }

  /* ── Hero ── */
  /* La imagen hero es landscape (1400×900). En mobile portrait, el cropping
     horizontal corta el texto "SMILE STUDIO" por los lados. Solución:
     overlay completamente opaco en el 35% inferior para ocultarlo. */
  .hero { min-height: 100svh; align-items: center; }
  .hero-img { object-position: center 20%; }
  .hero-overlay {
    background:
      /* Capa inferior: opaca al 100% — oculta "SMILE STUDIO" cortado */
      linear-gradient(to top,
        rgba(10,7,4,1.00) 0%,
        rgba(10,7,4,1.00) 20%,
        rgba(10,7,4,0.75) 45%,
        rgba(10,7,4,0.70) 65%,
        rgba(10,7,4,0.80) 100%
      );
  }
  .hero-content {
    margin-left: 0;
    padding: 1.5rem var(--pad) 2rem;
    max-width: 100%;
  }
  .hero-eyebrow { display: none; }
  .hero-headline { font-size: clamp(2.2rem, 8.5vw, 3rem); margin-bottom: 0.75rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .hero-trust { gap: 0.4rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .pill { font-size: 0.7rem; padding: 0.3rem 0.65rem; }
  .hero-actions { gap: 0.65rem; }
  .hero-actions .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.9rem; }

  /* ── Stats bar ── */
  .stats-bar { padding: 1.25rem var(--pad); }
  .stats-inner { gap: 1.25rem; justify-content: space-around; }
  .stat-sep { display: none; }
  .stat-value { font-size: 1.5rem; }
  .stat-label { font-size: 0.68rem; }

  /* ── Secciones ── */
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* ── Resultados: imagen horizontal en mobile ── */
  .results-carousel { max-width: 100%; }
  .before-after { aspect-ratio: 4/3; }
  .result-copy { padding: 1.25rem; gap: 0.75rem; }
  .result-copy h3 { font-size: 1.2rem; }

  /* ── Servicios ── */
  .services-grid { max-width: 100%; gap: 1rem; }
  .service-card { padding: 1.5rem; }
  .service-detail.open { max-height: 300px; }

  /* ── Testimonios ── */
  .testimonials-grid { gap: 1rem; }
  .testimonial { padding: 1.5rem; }
  /* Mover estrellas a nueva fila para evitar que el FAB las tape */
  .t-footer { flex-wrap: wrap; }
  .t-stars { width: 100%; padding-top: 0.5rem; font-size: 1rem; }
  /* Espacio extra al final para que el FAB no cubra el último card */
  .section--testimonials { padding-bottom: 5rem; }

  /* ── Equipo — card tipo póster: foto completa, texto encima ── */
  .team-grid { max-width: 100%; gap: 1.5rem; }
  .team-card {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  /* La foto ocupa su ratio natural (2:3) → se ve TODA la imagen */
  .team-photo {
    height: auto;
    aspect-ratio: 2/3;
    width: 100%;
  }
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .team-copy { padding: 1.5rem; gap: 0.75rem; }
  .team-copy h3 { font-size: 1.2rem; }
  .team-copy > p { font-size: 0.87rem; }
  .team-quote { padding: 0.7rem 0.85rem; }
  .team-quote p { font-size: 0.92rem; }

  /* ── Por qué ── */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .why-card { padding: 1.25rem 1rem; }
  .why-card h4 { font-size: 0.95rem; }
  .why-cta .btn-lg { width: 100%; justify-content: center; }

  /* ── Ubicación ── */
  .location-layout { gap: 1.5rem; }
  .location-map { aspect-ratio: 4/3; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .footer-nav { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-legal { padding-top: 1rem; }

  /* ── WhatsApp FAB ── */
  .wa-fab {
    bottom: 1.25rem; right: 1.25rem;
    width: 56px; height: 56px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
  .wa-fab__icon { background: transparent; width: 28px; height: 28px; }
  .wa-fab__label { display: none; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet pequeño (≤768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .team-card { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .team-photo { height: auto; aspect-ratio: 2/3; width: 100%; }
  .team-photo img { object-fit: cover; object-position: center center; }
}

/* ── Focus / Accessibility ──────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
