/* ==========================================================================
   Diosalud — Clínica Odontológica · Bogotá
   Hoja de estilos única. Blanco y negro, como el logo, con destellos de esmalte.
   ========================================================================== */

:root {
  --paper:       #0A0A0A;    /* fondo de la pagina */
  --paper-2:     #121212;    /* franjas alternas */
  --paper-3:     #1C1C1C;    /* marcos de foto */
  --ink:         #F2F0EC;    /* texto */
  --ink-soft:    #9A9A9A;
  --ink-faint:   #6B6B6B;
  --noir:        #121212;    /* paneles: apenas se despegan del fondo */
  --noir-700:    #000000;
  --noir-200:    #C6C6C6;
  --silver:      #9A9A9A;
  --silver-soft: #C9C9C9;
  --line:        #272727;
  --white:       #171717;    /* superficie elevada */
  --puro:        #FFFFFF;    /* blanco de verdad, solo para botones */

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------- reset y base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--silver); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--ink); color: var(--paper); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 132px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* --------------------------------------------------------- tipografía */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--silver);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.display   { font-size: clamp(40px, 4.4vw, 60px); }
.h2        { font-size: clamp(30px, 3.4vw, 46px); }
.h3        { font-size: clamp(22px, 2.2vw, 28px); }

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
}

.muted { color: var(--ink-soft); }
.small { font-size: 14.5px; line-height: 1.6; }
.tiny  { font-size: 13px; line-height: 1.55; letter-spacing: 0.01em; }

.placeholder {
  color: var(--silver);
  font-style: italic;
  white-space: nowrap;
}

/* --------------------------------------------------------- botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

/* barrido de luz sobre el botón — el brillo toma el color del texto */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent,
              color-mix(in srgb, currentColor 24%, transparent), transparent);
  transform: skewX(-18deg);
  transition: left .75s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn--primary { background: var(--ink); color: #0A0A0A; border-color: var(--ink); }
.btn--primary:hover { background: var(--puro); border-color: var(--puro); color: #000000; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.btn--light { background: var(--ink); color: #0A0A0A; border-color: var(--ink); }
.btn--light:hover { background: var(--puro); color: #000000; border-color: var(--puro); }

.btn--outline-light { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, 0.32); }
.btn--outline-light:hover { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, 0.07); }

.btn--sm { min-height: 46px; padding: 12px 22px; font-size: 13px; }
.btn--block { width: 100%; }

.btn svg { flex: none; }

/* --------------------------------------------------------- header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.header.is-stuck { background: rgba(10, 10, 10, 0.92); border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
}

.brand { position: relative; display: inline-flex; align-items: center; flex: none; }
.brand__logo {
  height: 38px;
  width: auto;
  transition: opacity .35s var(--ease);
}
/* dos versiones del logo: la clara sobre el hero negro, la oscura al hacer scroll */
.brand:hover .brand__logo { opacity: 0.7; }
.brand--footer .brand__logo { height: 44px; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 9px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding-block: 6px;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--silver);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background-color .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.burger.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 12px var(--gutter) 28px;
}
.mobile-panel.is-open { display: block; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-panel nav a {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 22px; }

/* --------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 85% at 50% -5%, #151515 0%, #0D0D0D 55%, #060606 100%);
}

/* ondas de fondo: líneas finas que se abren hacia la derecha */
.hero__waves {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 148%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #242424;
}
.hero__waves svg { width: 100%; height: auto; display: block; }

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  align-content: end;
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
  padding-block: 0 clamp(52px, 6vw, 84px);
}

/* cifras, arriba a la izquierda */
.hero__stats {
  position: absolute;
  left: var(--gutter);
  top: 42%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 220px;
}
.stat-hero strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.stat-hero > span {
  display: block;
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* el diente en 3D */
.hero__tooth {
  position: absolute;
  right: -4%;
  top: 1%;
  width: 52%;
  max-width: 610px;
  height: 70%;
  z-index: 2;
}
.hero__tooth canvas { display: block; width: 100%; height: 100%; }
.hero__tooth::after {
  content: "";
  position: absolute;
  left: 19%; right: 19%;
  bottom: 1%;
  height: 9%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.15), transparent 72%);
  filter: blur(24px);
  z-index: -1;
}
.tooth__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #262626;
}
.tooth__fallback svg { width: 72%; height: auto; }
.hero__tooth.is-live .tooth__fallback { display: none; }

/* titular y bajada */
.hero__head { grid-column: 1; }
.hero__title { margin-bottom: 0; }
.hero__title em { font-style: italic; color: var(--ink-soft); }

.hero__pitch {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 44ch;
  padding-bottom: 6px;
}
.hero__pitch p { color: var(--ink-soft); font-size: 16px; line-height: 1.68; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* marco de foto — sustituir por imagen real */
.frame {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 11px),
    var(--paper-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(140, 140, 140, 0.36);
  pointer-events: none;
}
.frame:has(img)::after { display: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame__note {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #8A8A8A;
  text-align: center;
  padding: 22px;
  line-height: 1.9;
}
.frame__note span { display: block; color: var(--silver); letter-spacing: 0.12em; font-weight: 600; }

/* --------------------------------------------------------- barra de sedes */

.strip {
  background: var(--noir);
  color: var(--ink);
  padding-block: 20px;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 40px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.strip__item { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.86); }
.strip__item svg { color: var(--silver); flex: none; }
.strip a { color: var(--ink); }
.strip a:hover { color: var(--silver); }

/* --------------------------------------------------------- encabezado de sección */

.section__head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 68px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head .lead { margin-top: 22px; }

.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
}

/* --------------------------------------------------------- servicios */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--paper);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color .35s var(--ease);
}
.service:hover { background: var(--white); }
.service__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--silver);
  letter-spacing: 0.08em;
}
.service h3 { font-size: 25px; }
.service p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.62; }
.service__icon { color: var(--ink); margin-bottom: 4px; }

.services__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
}

/* --------------------------------------------------------- por qué */

.why { background: var(--noir); color: var(--ink); }
.why .eyebrow { color: var(--silver); }
.why .eyebrow::before { background: var(--silver); }
.why .lead { color: rgba(255, 255, 255, 0.72); }

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.claims { display: flex; flex-direction: column; gap: 30px; margin-top: 42px; }
.claim {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.claim svg { color: var(--silver-soft); margin-top: 3px; }
.claim h3 { font-size: 23px; color: var(--ink); margin-bottom: 7px; }
.claim p { color: rgba(255, 255, 255, 0.66); font-size: 16px; line-height: 1.5; }

.why__media .frame { aspect-ratio: 3 / 4; }
.frame--dark {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 11px),
    rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.18);
}
.frame--dark::after { border-color: rgba(255, 255, 255, 0.24); }
.frame--dark .frame__note { color: rgba(255, 255, 255, 0.58); }
.frame--dark .frame__note span { color: var(--silver-soft); }

.why__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 64px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.stat > span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}
.stat .placeholder { color: var(--silver); }

/* --------------------------------------------------------- casos */

.cases { display: grid; gap: clamp(40px, 5vw, 64px); }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
.case__panel { display: flex; flex-direction: column; gap: 14px; }
.case__frame { aspect-ratio: 4 / 3; }
.case__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.case__label--after { color: var(--ink); }
.case__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case__meta h3 { font-size: 24px; }
.case__meta span { font-size: 13.5px; color: var(--ink-soft); letter-spacing: 0.03em; }

.disclaimer {
  margin-top: 44px;
  padding: 22px 26px;
  background: var(--paper-2);
  border-left: 2px solid var(--silver);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 720px;
}

/* --------------------------------------------------------- testimonios */

.testimonials { background: var(--paper-2); position: relative; overflow: hidden; }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stars { display: flex; gap: 4px; color: var(--silver); }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.48;
  color: var(--ink);
  flex-grow: 1;
}
.quote figcaption {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }

/* --------------------------------------------------------- galería clínica */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery .frame { aspect-ratio: 3 / 4; }
.gallery .frame:nth-child(1) { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery .frame:nth-child(4) { grid-column: span 2; aspect-ratio: 3 / 2; }

/* --------------------------------------------------------- cta final */

.cta {
  background: var(--noir);
  color: var(--ink);
  text-align: center;
}
.cta .eyebrow { color: var(--silver); justify-content: center; }
.cta h2 { color: var(--ink); margin-bottom: 22px; }
.cta p { color: rgba(255, 255, 255, 0.7); max-width: 56ch; margin-inline: auto; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}
.cta__note { margin-top: 28px; font-size: 13.5px; color: rgba(255, 255, 255, 0.5); }

/* --------------------------------------------------------- contacto */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.info-list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.info-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:first-child { padding-top: 0; }
.info-item svg { color: var(--silver); margin-top: 3px; }
.info-item h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 7px;
}
.info-item p { font-size: 16px; line-height: 1.55; }
.info-item .small { color: var(--ink-soft); margin-top: 4px; }

.map {
  margin-top: 32px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}
.map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: invert(0.92) hue-rotate(180deg) grayscale(0.45) contrast(0.92) brightness(0.95);
}

/* formulario */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(30px, 3.4vw, 44px);
}
.form-card h3 { font-size: 30px; margin-bottom: 10px; }
.form-card > p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 30px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  min-height: 52px;
  width: 100%;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; cursor: pointer; background-image: none; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.form-legal { font-size: 12.5px; color: var(--ink-faint); line-height: 1.55; margin-top: 16px; }

.form-msg {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 2px;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-msg.is-visible { display: block; }
.form-msg--ok  { background: rgba(255, 255, 255, 0.06); color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.18); }
.form-msg--err { background: rgba(255, 255, 255, 0.05); color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.42); }

/* --------------------------------------------------------- footer */

.footer {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.68);
  padding-block: clamp(56px, 6vw, 80px) 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer__about { margin-top: 22px; font-size: 15px; line-height: 1.65; max-width: 40ch; }
.footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer a { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.footer a:hover { color: var(--ink); }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.socials a:hover { border-color: var(--silver); color: var(--silver); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------- whatsapp flotante */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.85);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); background: var(--puro); color: #000000; }

/* --------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------- brillo */

/* destellos de esmalte, repartidos por la página */
@keyframes destello {
  0%, 100% { opacity: 0.10; transform: scale(0.6) rotate(-10deg); }
  48%      { opacity: 0.92; transform: scale(1) rotate(12deg); }
}
.sparkle {
  position: absolute;
  pointer-events: none;
  color: var(--ink);
  animation: destello 6.5s var(--ease) infinite;
  z-index: 3;
}
.sparkle--light { color: var(--puro); }

/* reflejo suave en las franjas oscuras */
.why, .cta, .footer { position: relative; overflow: hidden; }
.why::before, .cta::before, .footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(44% 60% at 82% 6%, rgba(255, 255, 255, 0.11), transparent 64%);
  pointer-events: none;
}
.why > .container, .cta > .container, .footer > .container { position: relative; z-index: 1; }

/* barrido de luz al pasar por una tarjeta de servicio */
.service { position: relative; overflow: hidden; }
.service::before {
  content: "";
  position: absolute;
  top: -60%; left: 0;
  width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  transform: skewX(-16deg) translateX(-160%);
  transition: transform 1s var(--ease);
  pointer-events: none;
}
.service:hover::before { transform: skewX(-16deg) translateX(330%); }
.service > * { position: relative; z-index: 1; }

/* --------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 980px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 30px;
    padding-block: 18px 56px;
  }
  .hero__head   { order: 1; }
  .hero__tooth  { order: 2; position: static; width: 100%; max-width: 400px; height: auto; aspect-ratio: 1 / 1.05; margin-inline: auto; }
  .hero__pitch  { order: 3; max-width: none; }
  .hero__stats  { order: 4; position: static; transform: none; flex-direction: row; gap: 44px; max-width: none; padding-top: 8px; border-top: 1px solid var(--line); }
  .hero__waves  { top: 32%; width: 210%; }
  .section__head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .why__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .why__media { max-width: 440px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .frame:nth-child(1), .gallery .frame:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
  body { font-size: 16.5px; }
  .display { font-size: clamp(32px, 8.8vw, 40px); }
  .h2 { font-size: clamp(27px, 7.4vw, 34px); }
  .header__inner { min-height: 72px; }
  .brand__logo { height: 30px; }
  .section__head { margin-bottom: 34px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .case { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .case__arrow { transform: rotate(90deg); padding-block: 4px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .hero__stats { gap: 30px; }
  .stat-hero strong { font-size: 34px; }
  .hero__tooth { max-width: 300px; }
  .hero__actions .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .wa-float { right: 16px; bottom: 16px; }
}
