:root {
  --blue: #3eacd2;
  --blue-dark: #178cb7;
  --blue-pale: #eaf6fb;
  --blue-soft: #cdeef9;
  --ink: #202629;
  --muted: #5e696e;
  --line: #dce5e9;
  --white: #ffffff;
  --footer: #1d2021;
  --green: #20cd62;
  --shadow: 0 18px 45px rgba(32, 86, 104, 0.09);
  --radius: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html.js:not(.is-loaded) body {
  overflow: hidden;
}

body.menu-open {
  overflow-x: clip;
}

main {
  max-width: 100%;
  overflow-x: clip;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-loader {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: none;
  justify-items: center;
  align-content: center;
  color: var(--blue-dark);
  background:
    radial-gradient(circle at 50% 44%, rgba(205, 238, 249, 0.75), transparent 34%),
    var(--white);
  gap: 20px;
  opacity: 1;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.js .site-loader {
  display: grid;
}

.is-loaded .site-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-loader__mark {
  position: relative;
  display: grid;
  width: 176px;
  height: 176px;
  place-items: center;
}

.site-loader__mark img {
  position: relative;
  z-index: 1;
  width: 126px;
  height: auto;
  animation: loader-logo-breathe 1.5s ease-in-out infinite;
}

.site-loader__orbit {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(62, 172, 210, 0.16);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: loader-orbit 1.15s linear infinite;
}

.site-loader__orbit::after {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(62, 172, 210, 0.12);
  content: "";
}

.site-loader__text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@keyframes loader-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-logo-breathe {
  50% {
    opacity: 0.72;
    transform: scale(0.97);
  }
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 115px 0;
}

.contact-bar {
  position: relative;
  z-index: 20;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
}

.contact-bar__inner {
  display: flex;
  justify-content: flex-end;
  min-height: 34px;
  gap: 30px;
  align-items: center;
}

.contact-bar a {
  display: inline-flex;
  opacity: 0.94;
  align-items: center;
  gap: 5px;
}

.contact-bar a svg {
  width: 14px;
  height: 14px;
}

.contact-bar a:hover {
  opacity: 1;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(24, 66, 79, 0.07);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  min-height: 104px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  width: auto;
  height: 76px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 12px 0;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav > a.is-active {
  color: var(--blue);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--blue-pale);
  cursor: pointer;
  place-items: center;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  align-items: center;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.button--small {
  min-height: 50px;
  padding-inline: 26px;
}

.button--outline {
  color: var(--blue);
  background: transparent;
}

.button--outline:hover {
  color: var(--white);
}

.button--whatsapp {
  border-color: var(--green);
  background: var(--green);
}

.button--whatsapp:hover {
  border-color: #15af4f;
  background: #15af4f;
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(62, 172, 210, 0.4);
  outline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  min-height: 710px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 65px 0 90px;
}

.pill {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-pale);
  font-size: 14px;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-size: clamp(43px, 4.2vw, 66px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.hero h1 strong {
  color: var(--blue);
  font-weight: inherit;
}

.hero__line {
  display: block;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 30px;
  color: #4a555a;
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 14px;
}

.hero__portrait {
  position: relative;
  align-self: end;
  height: 650px;
}

.hero__portrait img {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 0;
  width: min(88%, 450px);
  max-height: 640px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 30px rgba(50, 82, 92, 0.08));
}

.hero__blob {
  position: absolute;
  right: -5%;
  bottom: 70px;
  width: 530px;
  height: 440px;
  border-radius: 40% 60% 55% 45% / 53% 43% 57% 47%;
  background: #bce3f1;
  transform: rotate(12deg);
}

/* Presentación inicial, coordinada con la salida del loader. */
.js .hero__content .pill,
.js .hero__content .hero__line,
.js .hero__content .hero__lead,
.js .hero__content .hero__actions,
.js .hero__portrait {
  opacity: 0;
}

.js .hero__content .pill,
.js .hero__content .hero__line,
.js .hero__content .hero__lead,
.js .hero__content .hero__actions {
  transform: translate3d(0, 24px, 0);
}

.js .hero__portrait {
  transform: translate3d(36px, 0, 0) scale(0.96);
}

.js .hero-intro-ready .hero__content .pill,
.js .hero-intro-ready .hero__content .hero__line,
.js .hero-intro-ready .hero__content .hero__lead,
.js .hero-intro-ready .hero__content .hero__actions,
.js .hero-intro-ready .hero__portrait {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.7s ease,
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero-intro-ready .hero__content .pill {
  transition-delay: 0.05s;
}

.js .hero-intro-ready .hero__content .hero__line:nth-child(1) {
  transition-delay: 0.12s;
}

.js .hero-intro-ready .hero__content .hero__line:nth-child(2) {
  transition-delay: 0.2s;
}

.js .hero-intro-ready .hero__content .hero__line:nth-child(3) {
  transition-delay: 0.28s;
}

.js .hero-intro-ready .hero__content .hero__lead {
  transition-delay: 0.34s;
}

.js .hero-intro-ready .hero__content .hero__actions {
  transition-delay: 0.42s;
}

.js .hero-intro-ready .hero__portrait {
  transition-delay: 0.22s;
}

.stats {
  color: var(--white);
  background: var(--blue);
}

.stats__grid {
  display: grid;
  min-height: 145px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.stats__grid > div {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

.stats strong {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
}

.stats span {
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}

.section-heading {
  max-width: 700px;
}

.section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 3vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.process {
  padding-bottom: 170px;
}

.process__grid {
  position: relative;
  display: grid;
  margin: 100px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process__grid::before {
  position: absolute;
  top: 32px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: var(--line);
  content: "";
}

.process__item {
  position: relative;
  padding: 0 28px;
  text-align: center;
}

.process__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 55px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 9px 15px rgba(40, 124, 153, 0.18);
  font-size: 19px;
  font-weight: 700;
  place-items: center;
}

.process__icon {
  display: grid;
  min-height: 35px;
  color: var(--blue);
  place-items: center;
}

.process__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.process h3 {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.process p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.about {
  padding-top: 75px;
  padding-bottom: 155px;
}

.about__grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.tooth-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 510px);
  aspect-ratio: 0.95;
  overflow: visible;
}

.tooth-photo::before {
  position: absolute;
  z-index: -1;
  inset: -22px 12px 20px -18px;
  border-radius: 45% 55% 48% 52% / 28% 30% 70% 72%;
  background: #f3eef8;
  content: "";
  transform: rotate(-5deg);
}

.tooth-photo img {
  width: 100%;
  height: 100%;
  border-radius: 45% 55% 48% 52% / 28% 30% 70% 72%;
  object-fit: cover;
  object-position: 50% center;
}

.spark {
  position: absolute;
  color: var(--blue);
  font-size: 70px;
  line-height: 1;
}

.spark--one {
  top: -35px;
  left: -48px;
}

.spark--two {
  right: -22px;
  bottom: 0;
  font-size: 55px;
}

.about__content h2 span {
  color: var(--blue);
}

.about__content > p:not(.eyebrow) {
  margin: 26px 0 28px;
  color: #525e63;
  font-size: 15px;
}

.feature-list {
  display: grid;
  margin: 0 0 30px;
  padding: 0;
  gap: 13px;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list svg {
  box-sizing: content-box;
  padding: 8px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-pale);
}

.services {
  background: #edf7fb;
}

.services__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  align-items: flex-end;
}

.services__header h2 {
  max-width: 750px;
}

.text-link {
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
}

.text-link svg {
  transition: transform 0.2s;
}

.text-link:hover svg {
  transform: translateX(5px);
}

.text-link--blue {
  color: var(--blue);
  font-weight: 600;
}

.services__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 120px 30px 32px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  flex-direction: column;
}

.service-card__badge {
  position: absolute;
  top: 30px;
  left: 30px;
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: var(--blue);
  background: var(--blue-pale);
  font-size: 28px;
  place-items: center;
}

.service-card__badge svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.15;
}

.service-card img {
  width: 100%;
  height: 235px;
  border-radius: 12px;
  object-fit: cover;
}

.service-card:first-child img {
  object-position: 50% 42%;
}

.service-card:nth-child(2) img {
  object-position: 50% 48%;
}

.service-card:nth-child(3) img {
  object-position: 50% 38%;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0 0 24px;
  color: #505c61;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.clinical-gallery {
  position: relative;
  background:
    radial-gradient(circle at 87% 12%, rgba(62, 172, 210, 0.12), transparent 24%),
    var(--white);
}

.gallery__header {
  display: grid;
  margin-bottom: 54px;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
}

.gallery__header > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
}

.gallery__grid {
  display: grid;
  gap: 14px;
  grid-auto-rows: 235px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery__item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  background: #dcebf0;
  box-shadow: 0 12px 30px rgba(31, 72, 87, 0.08);
  cursor: zoom-in;
  text-align: left;
}

.gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 35, 43, 0.76));
  content: "";
  opacity: 0.88;
  transition: opacity 0.3s;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__item--featured img {
  object-position: 50% 44%;
}

.gallery__item--wide img {
  object-position: 50% 42%;
}

.gallery__value {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(20, 48, 58, 0.68);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery__label {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 17px;
  left: 20px;
  display: flex;
  flex-direction: column;
}

.gallery__label strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.gallery__label small {
  max-width: 360px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.gallery__item:hover img {
  transform: scale(1.045);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__item:focus-visible,
.gallery__expand:focus-visible,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.gallery__note {
  display: flex;
  padding: 30px 34px;
  border: 1px solid #cfe7f0;
  border-radius: 16px;
  background: var(--blue-pale);
  flex-direction: column;
  grid-column: span 2;
  justify-content: center;
}

.gallery__note > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--white);
  place-items: center;
}

.gallery__note > span svg {
  width: 23px;
  height: 23px;
}

.gallery__note p {
  max-width: 390px;
  margin: 0 0 18px;
  color: #34464d;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.gallery__expand {
  display: inline-flex;
  padding: 0;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
}

.gallery__expand svg {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.25s;
}

.gallery__expand[aria-expanded="true"] svg {
  transform: rotate(-90deg);
}

.gallery__more {
  margin-top: 42px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}

.gallery__more-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.gallery__more-header p {
  margin: 0;
}

.gallery__more-header strong {
  color: var(--ink);
}

.gallery__more-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery__item--more {
  height: 360px;
}

.gallery-lightbox {
  width: min(calc(100% - 36px), 760px);
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(10, 22, 27, 0.86);
  backdrop-filter: blur(5px);
}

.gallery-lightbox__panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(17, 30, 35, 0.78);
  cursor: pointer;
  place-items: center;
}

.gallery-lightbox__close svg {
  width: 20px;
  height: 20px;
}

.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  background: rgba(17, 30, 35, 0.72);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--previous {
  left: 14px;
}

.gallery-lightbox__nav--previous svg {
  transform: rotate(180deg);
}

.gallery-lightbox__nav--next {
  right: 14px;
}

.gallery-lightbox__nav svg {
  width: 21px;
  height: 21px;
}

.gallery-lightbox figure {
  margin: 0;
}

.gallery-lightbox img {
  width: 100%;
  max-height: calc(100dvh - 125px);
  background: #101719;
  object-fit: contain;
}

.gallery-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  min-height: 66px;
  padding: 20px 24px;
  color: #445158;
  background: var(--white);
  font-size: 14px;
  gap: 20px;
  align-items: center;
}

.gallery-lightbox__counter {
  color: #879298;
  font-size: 12px;
  white-space: nowrap;
}

.testimonials {
  padding-block: 145px;
}

.testimonials .section-heading h2::after {
  display: block;
  width: 75px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 10px;
  background: var(--blue);
  content: "";
}

.testimonials__grid {
  display: grid;
  margin-top: 70px;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

blockquote {
  display: flex;
  min-height: 280px;
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 64, 76, 0.05);
  flex-direction: column;
}

.stars {
  color: #ffc800;
  font-size: 20px;
  letter-spacing: 0.12em;
}

blockquote > p {
  margin: 22px 0;
  color: #465157;
  font-size: 14px;
  font-style: italic;
  line-height: 1.75;
  flex: 1;
}

blockquote footer {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

blockquote footer span {
  color: #8a9296;
}

.location {
  padding-top: 20px;
  padding-bottom: 150px;
}

.location__grid {
  display: grid;
  overflow: hidden;
  background: #f2f9fc;
  grid-template-columns: 1fr 1fr;
}

.location__content {
  padding: 70px 80px;
}

.location__content > p:not(.eyebrow) {
  margin: 22px 0 35px;
  color: #667176;
  font-size: 14px;
}

.contact-list {
  display: grid;
  margin: 0;
  gap: 20px;
  font-style: normal;
}

.contact-list > div {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-list > div > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 10px;
  color: var(--blue);
  background: #cceffd;
  place-items: center;
}

.contact-list p {
  margin: 0;
  color: #59666b;
  font-size: 14px;
  line-height: 1.55;
}

.contact-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 500;
}

.location__actions {
  display: flex;
  margin-top: 35px;
  gap: 14px;
}

.location__actions .button {
  gap: 9px;
}

.location__actions .button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.location__map {
  min-height: 580px;
  overflow: hidden;
  background: #e8f2f6;
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.site-footer {
  padding: 90px 0 0;
  color: #adb2b4;
  background: var(--footer);
  font-size: 13px;
}

.footer__grid {
  display: grid;
  gap: 65px;
  grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
}

.brand--footer .brand__logo {
  height: 82px;
}

.brand--footer + p {
  max-width: 285px;
  margin: 25px 0 24px;
  line-height: 1.8;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: #292d2f;
  font-size: 18px;
  font-weight: 700;
  place-items: center;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.site-footer h3 {
  margin: 10px 0 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid #34393b;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.footer-links li::before {
  margin-right: 9px;
  color: var(--blue);
  content: "•";
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue);
}

.footer-contact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-contact svg {
  color: var(--blue);
  flex: 0 0 auto;
}

.footer__office {
  width: 100%;
  height: 118px;
  border-radius: 7px;
  object-fit: cover;
  object-position: 50% 20%;
}

.footer__address {
  margin-top: 12px;
}

.footer__bottom {
  margin-top: 75px;
  padding: 25px 0 30px;
  border-top: 1px solid #303537;
  color: #6e7477;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 56px;
  height: 56px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 25px rgba(0, 80, 30, 0.24);
  font-size: 26px;
  place-items: center;
  transition: transform 0.2s;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.8;
}

/* Animaciones de entrada y salida activadas progresivamente por script. */
.motion-ready .reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 0.68s ease,
    filter 0.68s ease,
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
  will-change: opacity, filter, transform;
}

.motion-ready .reveal[data-reveal="left"] {
  transform: translate3d(-48px, 0, 0);
}

.motion-ready .reveal[data-reveal="right"] {
  transform: translate3d(48px, 0, 0);
}

.motion-ready .reveal[data-reveal="scale"] {
  transform: scale(0.92);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__grid {
    min-height: 620px;
  }

  .hero__portrait {
    height: 560px;
  }

  .hero__blob {
    right: -25%;
    width: 470px;
    height: 390px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .process__item {
    padding-inline: 14px;
  }

  .about__grid {
    gap: 55px;
  }

  .service-card {
    padding-inline: 22px;
  }

  .location__content {
    padding: 55px 45px;
  }

  .footer__grid {
    gap: 35px;
  }
}

@media (max-width: 820px) {
  .contact-bar__inner {
    justify-content: center;
  }

  .contact-bar a:first-child {
    display: none;
  }

  .nav-wrap {
    min-height: 82px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: 82px;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    padding: 25px 30px 35px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 30px 50px rgba(22, 59, 71, 0.12);
    gap: 6px;
    opacity: 0;
    overscroll-behavior: contain;
    transform: translateY(-10px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav > a:not(.button) {
    padding: 10px 4px;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero__content {
    max-width: 660px;
    padding: 75px 0 35px;
    align-self: flex-start;
  }

  .hero h1 {
    font-size: clamp(40px, 8vw, 59px);
  }

  .hero__portrait {
    width: min(100%, 580px);
    height: 550px;
    margin-top: 24px;
    align-self: center;
  }

  .hero__portrait img {
    right: 50%;
    width: auto;
    height: 100%;
    max-height: 100%;
    transform: translateX(50%);
  }

  .hero__blob {
    right: 0;
    left: 8%;
    width: 84%;
  }

  .stats__grid {
    min-height: 125px;
  }

  .stats__grid > div {
    gap: 10px;
  }

  .stats strong {
    font-size: 38px;
  }

  .stats span {
    font-size: 11px;
  }

  .process__grid {
    margin-top: 70px;
    gap: 55px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid::before {
    display: none;
  }

  .process__number {
    margin-bottom: 25px;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__content {
    max-width: 650px;
    margin-inline: auto;
  }

  .services__header {
    display: block;
  }

  .services__header .text-link {
    margin-top: 25px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    padding: 28px;
    gap: 0 28px;
    grid-template-columns: 200px 1fr;
  }

  .service-card__badge {
    display: none;
  }

  .service-card img {
    height: 100%;
    min-height: 230px;
    grid-row: 1 / 5;
  }

  .service-card h3 {
    margin-top: 8px;
  }

  .gallery__header {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-auto-rows: 220px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__item--featured {
    grid-column: span 2;
  }

  .gallery__item--wide {
    grid-column: auto;
  }

  .gallery__note {
    padding: 24px;
    grid-column: auto;
  }

  .gallery__note p {
    font-size: 17px;
  }

  .gallery__more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__item--more {
    height: 330px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  blockquote {
    min-height: 0;
  }

  .location__grid {
    grid-template-columns: 1fr;
  }

  .location__map {
    min-height: 430px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .motion-ready .reveal[data-reveal="left"],
  .motion-ready .reveal[data-reveal="right"] {
    transform: translate3d(0, 22px, 0);
  }

  .motion-ready .reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .section {
    padding: 80px 0;
  }

  .contact-bar {
    font-size: 10px;
  }

  .contact-bar__inner {
    min-height: 32px;
    gap: 0;
  }

  .contact-bar a:nth-child(2) {
    display: none;
  }

  .brand__logo {
    height: 61px;
  }

  .hero__content {
    padding-top: 58px;
  }

  .pill {
    padding: 7px 12px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
    flex: 1 1 0;
  }

  .hero__portrait {
    height: min(425px, 112vw);
    margin-top: 30px;
  }

  .hero__portrait img {
    right: 50%;
    width: auto;
    height: 100%;
    max-height: 100%;
    transform: translateX(50%);
  }

  .hero__blob {
    right: -5%;
    bottom: 40px;
    left: 2%;
    width: 103%;
    height: 310px;
  }

  .stats__grid {
    display: grid;
    padding: 28px 0;
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .stats__grid > div {
    justify-content: flex-start;
    max-width: 245px;
    margin-inline: auto;
  }

  .stats strong {
    min-width: 105px;
    font-size: 42px;
  }

  .stats span {
    font-size: 12px;
  }

  h2 {
    font-size: 30px;
  }

  .process {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .process__grid {
    margin-top: 48px;
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .process__item {
    max-width: 320px;
    margin-inline: auto;
  }

  .process__number {
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
  }

  .about {
    padding-top: 30px;
    padding-bottom: 70px;
  }

  .about__grid {
    gap: 46px;
  }

  .tooth-photo {
    width: calc(100% - 20px);
  }

  .spark--one {
    left: -18px;
  }

  .service-card {
    display: flex;
    padding: 22px;
  }

  .service-card__badge {
    position: static;
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    order: -2;
  }

  .service-card img {
    order: -1;
    height: 220px;
  }

  .gallery__header {
    margin-bottom: 34px;
    gap: 16px;
  }

  .gallery__header > p {
    font-size: 14px;
  }

  .gallery__grid {
    width: calc(100% + 14px);
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    grid-auto-columns: min(82vw, 330px);
    grid-auto-flow: column;
    grid-auto-rows: 390px;
    grid-template-columns: none;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .gallery__item,
  .gallery__item--featured,
  .gallery__item--wide,
  .gallery__note {
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .gallery__note {
    width: min(82vw, 330px);
  }

  .gallery__label {
    right: 17px;
    bottom: 18px;
    left: 17px;
  }

  .gallery__label strong {
    font-size: 15px;
  }

  .gallery__label small {
    font-size: 12px;
  }

  .gallery__more {
    margin-top: 34px;
    padding-top: 28px;
  }

  .gallery__more-header {
    margin-bottom: 18px;
    line-height: 1.55;
  }

  .gallery__more-grid {
    width: calc(100% + 14px);
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    grid-auto-columns: min(82vw, 330px);
    grid-auto-flow: column;
    grid-template-columns: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery__more-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery__item--more {
    height: 390px;
    scroll-snap-align: start;
  }

  .gallery-lightbox {
    width: calc(100% - 24px);
  }

  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .gallery-lightbox__nav--previous {
    left: 9px;
  }

  .gallery-lightbox__nav--next {
    right: 9px;
  }

  .gallery-lightbox figcaption {
    padding: 16px 18px;
    font-size: 13px;
  }

  .testimonials {
    padding-block: 90px;
  }

  .testimonials__grid {
    margin-top: 50px;
  }

  blockquote {
    padding: 26px;
  }

  .location {
    padding-top: 0;
  }

  .location__content {
    padding: 45px 24px;
  }

  .location__actions {
    flex-direction: column;
  }

  .location__actions .button {
    width: 100%;
  }

  .location__map {
    min-height: 340px;
  }

  .site-footer {
    padding-top: 70px;
  }

  .footer__grid {
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .footer__office {
    height: 180px;
  }

  .footer__bottom {
    margin-top: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
