/* ============================================
   LUME — Estética Dental Premium
   main.css
   ============================================ */

/* ===== Design tokens ===== */
:root {
  --color-primary:        #C9908B;
  --color-secondary:      #A36B4A;
  --color-accent:         #E8A87C;
  --color-cta:            #B8624D;
  --color-cta-hover:      #9F4E3B;

  --color-bg:             #FBF7F2;
  --color-surface:        #F2E6DD;
  --color-surface-deep:   #EBDBCC;

  --color-text:           #2A1F1A;
  --color-text-muted:     #7A6B62;
  --color-text-on-dark:   #FBF7F2;

  --color-border:         #E5D5C8;
  --color-border-strong:  #C9B6A4;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-lg: 1.125rem; --fs-xl: 1.25rem;
  --fs-2xl: clamp(1.5rem, 2vw, 1.75rem);
  --fs-3xl: clamp(1.875rem, 3vw, 2.25rem);
  --fs-4xl: clamp(2.25rem, 4vw, 3rem);
  --fs-5xl: clamp(2.75rem, 5vw, 4rem);
  --fs-hero: clamp(2.75rem, 6vw, 5rem);

  --lh-tight: 1.1; --lh-snug: 1.3; --lh-normal: 1.5; --lh-relaxed: 1.7;
  --ls-tight: -.015em; --ls-eyebrow: .15em;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  --section-py: clamp(64px, 10vw, 128px);

  --r-sm: 6px; --r-md: 12px; --r-lg: 24px; --r-xl: 32px; --r-full: 999px;

  --sh-sm: 0 2px 6px rgba(42,31,26,.05);
  --sh-md: 0 8px 24px rgba(42,31,26,.06);
  --sh-lg: 0 24px 48px rgba(42,31,26,.10);
  --sh-warm: 0 12px 32px rgba(184,98,77,.18);

  --container: 1240px;
  --container-narrow: 880px;
  --gutter: 24px;
  --gutter-lg: 48px;

  --t-fast: 150ms ease;
  --t-base: 250ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);

  --header-h: 80px;
}

/* ===== Reset + base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-base); }
a:hover { color: var(--color-cta); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
}
em { font-style: italic; color: var(--color-secondary); font-weight: var(--fw-light); }

::selection { background: var(--color-primary); color: var(--color-bg); }

:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 3px; border-radius: var(--r-sm); }

/* ===== Skip link ===== */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--color-cta); color: var(--color-bg);
  padding: 12px 20px; border-radius: var(--r-md); z-index: 9999;
  font-weight: var(--fw-semibold);
}
.skip-link:focus { top: 16px; }

/* ===== Utils ===== */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
@media (min-width: 1024px) { .container { padding-inline: var(--gutter-lg); } }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--color-secondary); margin-bottom: var(--sp-4);
}

.section { padding-block: var(--section-py); }
.section--surface { background: var(--color-surface); }
.section--dsd { background: var(--color-surface-deep); }

.section-head { text-align: center; margin-bottom: var(--sp-8); max-width: 720px; margin-inline: auto; }
.section-title { font-size: var(--fs-4xl); margin-bottom: var(--sp-4); }
.section-subtitle { color: var(--color-text-muted); font-size: var(--fs-lg); }

.section-foot { text-align: center; margin-top: var(--sp-7); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: var(--fw-semibold); color: var(--color-cta);
  border-bottom: 1px solid var(--color-cta);
  padding-bottom: 2px; transition: gap var(--t-base);
}
.link-arrow:hover { gap: var(--sp-3); color: var(--color-cta-hover); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2); padding: 14px 28px;
  font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: var(--fw-semibold); letter-spacing: .03em;
  border-radius: var(--r-full);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn--lg { padding: 18px 36px; font-size: var(--fs-base); }
.btn--full { width: 100%; }

.btn--primary { background: var(--color-cta); color: var(--color-text-on-dark); }
.btn--primary:hover { background: var(--color-cta-hover); transform: translateY(-2px); box-shadow: var(--sh-warm); color: var(--color-text-on-dark); }

.btn--ghost { background: transparent; color: var(--color-text); border: 1px solid var(--color-border-strong); }
.btn--ghost:hover { background: var(--color-surface); color: var(--color-text); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,242,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); background: rgba(251,247,242,.95); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); height: var(--header-h);
}
.site-header__brand img { height: 36px; width: auto; mix-blend-mode: multiply; }
.brand-mark {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: var(--fw-light);
	font-style: italic;
	color: var(--color-cta);
	letter-spacing: -0.02em;
	line-height: 1;
	transition: color var(--t-base);
}
.site-header__brand:hover .brand-mark { color: var(--color-cta-hover); }
.site-footer .brand-mark { color: var(--color-bg); margin-bottom: var(--sp-4); }

.site-nav { display: none; }
@media (min-width: 1024px) { .site-nav { display: block; } }
.site-nav__list {
  display: flex; gap: var(--sp-6); list-style: none;
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
}
.site-nav__list a { position: relative; padding: 6px 0; }
.site-nav__list a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--color-cta);
  transition: width var(--t-base);
}
.site-nav__list a:hover::after, .site-nav__list .current-menu-item a::after { width: 100%; }

.site-header__cta { display: none; }
@media (min-width: 1024px) { .site-header__cta { display: block; } }

.site-header__burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: var(--r-full);
}
.site-header__burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--color-text); border-radius: 1px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .site-header__burger { display: none; } }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--color-bg); padding: var(--sp-7) var(--gutter);
  transform: translateX(100%); transition: transform var(--t-slow);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-5); }
.mobile-menu a { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: var(--fw-regular); }
.mobile-menu__cta {
  margin-top: var(--sp-5); padding: 16px 24px;
  background: var(--color-cta); color: var(--color-text-on-dark) !important;
  border-radius: var(--r-full); display: inline-block;
  font-family: var(--font-body) !important; font-size: var(--fs-base) !important;
  font-weight: var(--fw-semibold) !important;
}

/* ===== Hero ===== */
.hero { padding-block: var(--sp-8) var(--sp-9); }
.hero__inner {
  display: grid; gap: var(--sp-8);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.1fr 1fr; gap: var(--sp-9); } }
.hero__title {
  font-size: var(--fs-hero); margin-bottom: var(--sp-5);
  font-weight: var(--fw-light);
}
.hero__lead {
  font-size: var(--fs-xl); color: var(--color-text-muted);
  margin-bottom: var(--sp-6); max-width: 56ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__trust {
  font-size: var(--fs-sm); color: var(--color-text-muted);
  letter-spacing: .02em;
}
.hero__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4/3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Bento (tratamientos destacados) ===== */
.bento {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bento__card--0 { grid-row: span 2; }
}
.bento__card {
  background: var(--color-bg);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 220px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.bento__card h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.bento__card p { color: var(--color-text-muted); font-size: var(--fs-sm); flex-grow: 1; }
.bento__meta {
  display: inline-block; margin-top: var(--sp-4);
  font-size: var(--fs-xs); color: var(--color-secondary);
  letter-spacing: .05em; text-transform: uppercase; font-weight: var(--fw-semibold);
}

/* ===== Casos slider ===== */
.casos-slider {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .casos-slider { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .casos-slider { grid-template-columns: repeat(4, 1fr); } }

.caso-card { display: flex; flex-direction: column; gap: var(--sp-4); }
.caso-card__media {
  position: relative; aspect-ratio: 1/1;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--color-surface);
}
.caso-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.caso-card:hover .caso-card__media img { transform: scale(1.04); }
.caso-card__num {
  position: absolute; top: var(--sp-4); left: var(--sp-4);
  background: rgba(251,247,242,.92); padding: 4px 12px;
  border-radius: var(--r-full); font-size: var(--fs-xs);
  font-weight: var(--fw-semibold); letter-spacing: .05em;
  text-transform: uppercase; color: var(--color-secondary);
}
.caso-card__body h3, .caso-card__body h4 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.caso-card__meta { font-size: var(--fs-sm); color: var(--color-secondary); margin-bottom: var(--sp-2); font-weight: var(--fw-medium); }
.caso-card__caption { font-size: var(--fs-sm); color: var(--color-text-muted); }

.caso-card--full { gap: var(--sp-5); }
.caso-card--full .caso-card__media { aspect-ratio: 4/3; }

.casos-grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .casos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .casos-grid { grid-template-columns: repeat(3, 1fr); } }

.casos-filters {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center; margin-bottom: var(--sp-7);
}
.filter-chip {
  padding: 8px 18px; border-radius: var(--r-full);
  border: 1px solid var(--color-border-strong);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  transition: all var(--t-base);
}
.filter-chip:hover { border-color: var(--color-cta); color: var(--color-cta); }
.filter-chip.is-active { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

/* ===== DSD preview ===== */
.dsd-preview {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .dsd-preview { grid-template-columns: 1fr 1fr; gap: var(--sp-9); } }
.dsd-preview__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 1/1; }
.dsd-preview__media img { width: 100%; height: 100%; object-fit: cover; }
.dsd-preview__steps {
  list-style: none; margin-block: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.dsd-preview__steps li {
  display: flex; align-items: baseline; gap: var(--sp-4);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-lg);
}
.dsd-preview__steps span {
  font-family: var(--font-display); font-size: var(--fs-xl);
  font-weight: var(--fw-light); color: var(--color-secondary);
  min-width: 36px;
}

/* ===== Doctora preview ===== */
.doctora-preview {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .doctora-preview { grid-template-columns: 1fr 1.2fr; gap: var(--sp-9); } }
.doctora-preview__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 2/3; max-width: 480px; }
.doctora-preview__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Testimonios ===== */
.testimonios {
  display: grid; gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonios { grid-template-columns: repeat(3, 1fr); } }
.testimonio {
  background: var(--color-surface); padding: var(--sp-6);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.testimonio p {
  font-family: var(--font-display); font-size: var(--fs-lg);
  font-weight: var(--fw-light); line-height: 1.5;
}
.testimonio footer { font-size: var(--fs-sm); color: var(--color-text-muted); }
.testimonio strong { color: var(--color-text); font-weight: var(--fw-semibold); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq__item {
  background: var(--color-bg); border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  padding: var(--sp-5) var(--sp-6);
  transition: border-color var(--t-base);
}
.faq__item[open] { border-color: var(--color-border-strong); }
.faq__item summary {
  cursor: pointer; font-family: var(--font-display);
  font-size: var(--fs-xl); font-weight: var(--fw-regular);
  list-style: none; position: relative; padding-right: 32px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem;
  color: var(--color-secondary); transition: transform var(--t-base);
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p { margin-top: var(--sp-3); color: var(--color-text-muted); font-size: var(--fs-base); }

.faq-cat { margin-bottom: var(--sp-8); }
.faq-cat__title {
  font-size: var(--fs-2xl); margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--color-border);
}

/* ===== Page hero ===== */
.page-hero { padding-block: var(--sp-9) var(--sp-7); }
.page-hero__title { font-size: var(--fs-5xl); margin-bottom: var(--sp-4); font-weight: var(--fw-light); }
.page-hero__lead { font-size: var(--fs-xl); color: var(--color-text-muted); max-width: 56ch; }

.page-hero--media { padding-bottom: var(--sp-8); }
.page-hero__media-full {
  margin-top: var(--sp-7); aspect-ratio: 16/9;
  max-height: 70vh; overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}
.page-hero__media-full img { width: 100%; height: 100%; object-fit: cover; }

.page-hero--split .hero-split {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 1024px) { .page-hero--split .hero-split { grid-template-columns: 1.3fr 1fr; gap: var(--sp-9); } }
.hero-split__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 2/3; max-width: 480px; }
.hero-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Tratamientos grid ===== */
.tratamientos-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .tratamientos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tratamientos-grid { grid-template-columns: repeat(3, 1fr); } }

.trat-card {
  position: relative; padding: var(--sp-7) var(--sp-6);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.trat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.trat-card__num {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  font-family: var(--font-display); font-size: var(--fs-3xl);
  font-weight: var(--fw-light); color: var(--color-primary);
  opacity: .5;
}
.trat-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); padding-right: 60px; }
.trat-card p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.trat-card__meta {
  display: inline-block; padding: 4px 12px;
  background: var(--color-surface); border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  color: var(--color-secondary);
  letter-spacing: .05em; text-transform: uppercase;
}

/* ===== Proceso (DSD) ===== */
.proceso { list-style: none; display: flex; flex-direction: column; gap: var(--sp-5); }
.proceso li {
  display: flex; gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--color-border);
}
.proceso__num {
  font-family: var(--font-display); font-size: var(--fs-4xl);
  font-weight: var(--fw-light); color: var(--color-primary);
  min-width: 80px; line-height: 1;
}
.proceso h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.proceso p { color: var(--color-text-muted); }

/* ===== Tech grid (DSD) ===== */
.tech-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-card {
  padding: var(--sp-6); background: var(--color-bg);
  border: 1px solid var(--color-border); border-radius: var(--r-lg);
}
.tech-card h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.tech-card p { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ===== Prose / editorial ===== */
.prose { font-size: var(--fs-lg); line-height: var(--lh-relaxed); }
.prose p { margin-bottom: var(--sp-5); }
.prose .dropcap::first-letter {
  font-family: var(--font-display); font-size: 4em;
  float: left; line-height: .85; padding: 8px 12px 0 0;
  font-weight: var(--fw-light); color: var(--color-secondary);
}
.pull-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--fs-3xl); font-weight: var(--fw-light);
  line-height: var(--lh-snug); color: var(--color-secondary);
  margin: var(--sp-7) 0; padding: var(--sp-6) var(--sp-7);
  border-left: 2px solid var(--color-primary);
  background: var(--color-surface); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.pull-quote--xl {
  font-size: var(--fs-4xl); border: 0; background: transparent;
  text-align: center; padding: 0; margin: 0;
}

/* ===== Formación list ===== */
.formacion {
  list-style: none; display: flex; flex-direction: column; gap: var(--sp-3);
  font-size: var(--fs-base);
}
.formacion li { padding: var(--sp-4) 0; border-bottom: 1px solid var(--color-border); }
.formacion strong { color: var(--color-text); font-weight: var(--fw-semibold); margin-right: var(--sp-2); }

/* ===== Clínica gallery ===== */
.clinica-gallery {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .clinica-gallery { grid-template-columns: 2fr 1fr; } }
.clinica-gallery img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ===== CTA final ===== */
.cta-final {
  background: var(--color-text); color: var(--color-text-on-dark);
  padding-block: var(--sp-9);
  text-align: center;
}
.cta-final h2 {
  color: var(--color-text-on-dark); font-size: var(--fs-5xl);
  font-weight: var(--fw-light); margin-bottom: var(--sp-4);
}
.cta-final h2 em { color: var(--color-primary); }
.cta-final p { color: rgba(251,247,242,.8); font-size: var(--fs-lg); margin-bottom: var(--sp-6); max-width: 56ch; margin-inline: auto; }

/* ===== Agendar grid ===== */
.agendar-grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .agendar-grid { grid-template-columns: 1.4fr 1fr; gap: var(--sp-8); } }

.agendar-form .section-title { margin-bottom: var(--sp-3); }
.form-embed-placeholder {
  background: var(--color-surface);
  border: 1px dashed var(--color-border-strong);
  padding: var(--sp-7);
  border-radius: var(--r-lg);
  text-align: center;
  margin-block: var(--sp-5);
  color: var(--color-text-muted);
}
.form-embed-placeholder code {
  background: var(--color-bg); padding: 2px 6px;
  border-radius: var(--r-sm); font-size: var(--fs-sm);
}

.agendar-info {
  background: var(--color-surface);
  padding: var(--sp-6); border-radius: var(--r-lg);
}
.agendar-info h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.agendar-info h3:not(:first-child) { margin-top: var(--sp-5); }
.agendar-info address { font-style: normal; }
.agendar-info__map { margin-top: var(--sp-5); border-radius: var(--r-md); overflow: hidden; }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-text); color: var(--color-text-on-dark);
  padding-block: var(--sp-9) var(--sp-6);
}
.site-footer a:hover { color: var(--color-primary); }
.site-footer__grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-8);
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__brand img {
  height: 36px; width: auto; margin-bottom: var(--sp-4);
  filter: brightness(0) invert(1);
}
.site-footer__tagline { color: rgba(251,247,242,.7); font-size: var(--fs-sm); max-width: 32ch; }
.site-footer__col h4 {
  color: var(--color-text-on-dark); font-size: var(--fs-base);
  font-weight: var(--fw-semibold); margin-bottom: var(--sp-4);
  font-family: var(--font-body); letter-spacing: .05em; text-transform: uppercase;
}
.site-footer__col p, .site-footer__col address {
  color: rgba(251,247,242,.75); font-size: var(--fs-sm);
  margin-bottom: var(--sp-2); font-style: normal;
}
.site-footer__social { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs-sm); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(251,247,242,.15);
  font-size: var(--fs-xs); color: rgba(251,247,242,.5);
}

/* ===== WhatsApp flotante ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px;
  background: var(--color-cta); color: var(--color-text-on-dark);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-warm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(184,98,77,.35);
  color: var(--color-text-on-dark);
}

/* ===== Reveal on scroll ===== */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive tweaks ===== */
@media (max-width: 767px) {
  .hero { padding-block: var(--sp-7) var(--sp-8); }
  .site-footer__bottom { justify-content: center; text-align: center; }
}

/* ===== Accessibility: reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
