@font-face {
  font-family: Inter;
  src: url("/laminados-ceramicos/media/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f3ed;
  --ink: #161e24;
  --muted: #515c61;
  --navy: #111b23;
  --sand: #e3ca9e;
  --gold: #785b32;
  --line: #d7d0c4;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20c45b;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior-x: none;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #1971a3; outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.site-header { background: var(--paper); }
.masthead { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 84px; height: auto; }
.masthead nav { display: flex; gap: clamp(24px, 4vw, 64px); }
.masthead nav a { font-size: .87rem; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-location { color: var(--muted); font-size: .78rem; }

.hero, .location, .replacement { color: var(--paper); background: var(--navy); }
.hero { background: radial-gradient(ellipse at 85% 20%, #29363b, transparent 52%), var(--navy); }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: 45px; }
.hero-copy { max-width: 650px; }
.hero-heading-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; margin-bottom: 18px; }
.hero-heading-line .eyebrow { margin: 0; }
.hero-flags { display: inline-flex; align-items: center; gap: 6px; }
.hero-flags img { display: block; width: 25px; height: 17px; object-fit: fill; border-radius: 2px; }
.hero-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: clamp(12px, 3vw, 32px);
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero-evidence li { padding-inline-start: 11px; border-inline-start: 1px solid #e3ca9e80; }
.hero-evidence strong {
  display: block;
  color: var(--sand);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.25vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
}
.hero-evidence span { display: block; margin-top: 4px; color: #e0e4e2; font-size: .78rem; line-height: 1.35; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 1px; flex: 0 0 24px; background: currentColor; content: ""; }
.hero .eyebrow, .location .eyebrow, .replacement .eyebrow { color: var(--sand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 5.4vw, 5.55rem); line-height: 1; letter-spacing: -.05em; }
h1 em { color: var(--sand); }
h2 { font-size: clamp(2.55rem, 4.1vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; }
h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.1; }
.hero-description { max-width: 45ch; margin-top: 22px; color: #e0e4e2; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; }
.hero-note { margin-top: 13px; color: #ccd4d4; font-size: .76rem; text-align: center; }
.whatsapp-symbols { position: absolute; }
.whatsapp-icon { flex: none; color: #fff; }
.whatsapp-button, .floating-whatsapp { background: var(--whatsapp-green); }
.whatsapp-button:hover, .floating-whatsapp:hover { background: var(--whatsapp-hover); }
.whatsapp-button { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--navy); text-align: center; }
.cta {
  width: min(100%, 340px);
  min-height: 60px;
  margin: 22px auto 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.hero-art { position: relative; isolation: isolate; height: min(640px, 72vh); min-height: 490px; overflow: hidden; background: #303135; }
.hero-art::after { position: absolute; z-index: 0; inset: 45% 0 0; background: linear-gradient(transparent, #0d151de8); content: ""; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-art figcaption { position: absolute; inset: auto 22px 22px; z-index: 1; }
.hero-art strong, .hero-art span { display: block; }
.hero-art strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.hero-art span { margin-top: 5px; color: #e0e4e2; font-size: .73rem; }

.section { padding-block: clamp(52px, 7vw, 106px); }
.section-intro p:not(.eyebrow), .location p:not(.eyebrow) { max-width: 53ch; margin-top: 17px; line-height: 1.65; color: var(--muted); }
.treatment { display: grid; grid-template-columns: 1fr .88fr; gap: clamp(32px, 8vw, 125px); align-items: center; }
.video-panel { display: grid; place-items: center; background: #e8e0d4; min-width: 0; }
.video-panel video { display: block; width: 100%; max-width: 260px; aspect-ratio: 9 / 16; object-fit: contain; background: #15191f; }
.structure { background: #ece7dd; }
.structure .section-intro { max-width: 720px; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.method-grid img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }
.method-grid figure:first-child img { object-position: center 36%; }
.method-grid figcaption { padding-block: 17px 4px; }
.method-grid figcaption p { max-width: 34ch; margin-top: 9px; line-height: 1.55; color: var(--muted); font-size: .925rem; }
.faq { display: grid; grid-template-columns: .74fr 1.26fr; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
#experiencia-hori { padding-bottom: clamp(24px, 4vw, 52px); }
#experiencia-hori + .faq { padding-top: clamp(24px, 4vw, 52px); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { color: var(--gold); font-size: 1.18rem; line-height: 1; content: "+"; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 20px 0; color: var(--muted); line-height: 1.6; }

.location-layout { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; padding-block: clamp(45px, 6vw, 85px); }
.location-layout > img { width: 100%; height: auto; }
.location p:not(.eyebrow), .replacement p:not(.eyebrow) { color: #e0e4e2; }
address { margin-top: 16px; font-style: normal; font-size: .88rem; line-height: 1.55; }
.site-footer { background: var(--paper); }
.footer-layout { padding-block: 25px 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.footer-layout strong { color: var(--ink); }
.footer-layout a { text-underline-offset: 4px; }
.floating-whatsapp {
  position: fixed;
  z-index: 2;
  right: max(17px, env(safe-area-inset-right));
  bottom: max(17px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 3px 14px #061a1440;
}
.floating-whatsapp svg { display: block; width: 32px; height: 32px; }
.contact-dialog {
  --form-ink: #112e52;
  --form-muted: #596b82;
  width: min(460px, calc(100% - 38px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 32px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--form-ink);
  box-shadow: 0 24px 72px #081b3d3d;
}
.contact-dialog::backdrop {
  background: rgb(13 32 58 / 67%);
  backdrop-filter: blur(4px);
}
.contact-dialog .close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: var(--form-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.contact-dialog .close:hover { background: #e0e7ef; }
.contact-dialog-unit {
  margin: 8px 0 18px;
  padding-right: 34px;
  font-size: .6875rem;
  font-weight: 550;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact-dialog h2 {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: wrap;
}
.contact-dialog h2:focus { outline: none; }
.contact-dialog-intro {
  margin: 0 0 22px;
  color: var(--form-muted);
  font-size: .875rem;
  line-height: 1.6;
}
.contact-dialog label {
  display: block;
  margin-bottom: 16px;
  font-size: .8125rem;
  font-weight: 500;
}
.contact-dialog input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 11px 14px;
  border: 1px solid #c4cbd1;
  border-radius: 10px;
  background: #fff;
  color: var(--form-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}
.contact-dialog input::placeholder { color: #68717a; }
.contact-dialog-submit {
  width: 100%;
  min-height: 49px;
  padding: 12px;
  border: 0;
  border-radius: 13px;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}
.contact-dialog-submit:disabled { opacity: .65; cursor: wait; }
.contact-dialog .privacy {
  margin: 14px 0 0;
  color: var(--form-muted);
  font-size: .6875rem;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .contact-dialog { padding: 25px 22px; }
  .contact-dialog h2 { font-size: 1.5rem; }
}

@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .masthead { min-height: 60px; }
  .brand { width: 70px; }
  .masthead nav { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; padding: 0 0 26px; }
  .hero-art { grid-row: 1; height: clamp(176px, 51vw, 335px); min-height: 0; margin-inline: -20px; }
  .hero-art img { object-position: center 31%; }
  .hero-art figcaption { inset: auto 20px 16px; }
  .hero-art strong { font-size: 1.23rem; }
  .hero-copy { padding-top: 22px; }
  h1 { font-size: clamp(2.15rem, 9.65vw, 4rem); }
  .hero-heading-line { margin-bottom: 10px; }
  .hero-evidence { margin-top: 14px; }
  .hero-description { margin-top: 13px; font-size: .9375rem; line-height: 1.45; }
  .hero .cta { margin-top: 17px; }
  .treatment, .faq, .location-layout { grid-template-columns: 1fr; gap: 24px; }
  .method-grid { grid-template-columns: 1fr; gap: 23px; }
  .method-grid img { aspect-ratio: 1.8; }
  .method-grid figcaption { padding-top: 12px; }
  .method-grid figcaption p { max-width: none; }
  .footer-layout { align-items: flex-start; flex-direction: column; padding-right: 50px; }
}

@media (max-width: 360px) {
  .hero-art { height: 170px; }
  .hero h1 { font-size: 1.9rem; }
}

.smiles {
  padding-block: clamp(36px, 5vw, 72px);
}
.testimonials {
  padding-block: clamp(38px, 5vw, 72px);
  background: var(--navy);
  color: var(--paper);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.testimonial-carousel { margin-top: 25px; }
.testimonial-carousel[data-ready] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
}
.testimonial-carousel[data-ready] .testimonial-viewport {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.testimonial-carousel[data-ready] .media-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 3);
}
.testimonial-arrow {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff73;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}
.testimonial-arrow[hidden] { display: none; }
.testimonial-arrow:hover { background: #26343f; }
.testimonial-arrow:focus-visible { outline-color: var(--sand); }
.testimonial-card { min-width: 0; }
.testimonial-card figcaption { margin-top: 10px; font-size: .9rem; font-weight: 600; }
.testimonial-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #202a31;
}
.video-cover,
.testimonial-frame video {
  width: 100%;
  height: 100%;
}
.video-cover {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  cursor: pointer;
}
.video-cover:focus-visible { outline: 3px solid var(--sand); outline-offset: -4px; }
.video-cover[hidden] { display: none; }
.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}
.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #111b23c9;
}
.play-icon::after {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
  content: "";
}
.video-cover:hover .play-icon { background: var(--navy); }
.testimonial-frame video { object-fit: contain; }
.testimonials .cta { margin-top: 26px; }

@media (max-width: 820px) {
  .testimonial-carousel[data-ready] .media-grid { grid-auto-columns: calc((100% - 14px) / 2); }
}

@media (max-width: 560px) {
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-carousel[data-ready] .media-grid { grid-auto-columns: 100%; }
}

.replacement { padding-block: clamp(42px, 6vw, 84px); }
.replacement .video-panel { background: #19262f; }
.replacement-video {
  width: min(100%, 260px);
  aspect-ratio: 9 / 16;
}
.replacement .video-cover img { object-position: center; }

.smile-gallery-header { text-align: center; }
.smile-gallery-header p { margin: 12px auto 0; max-width: 48ch; line-height: 1.6; color: var(--muted); }
.smile-gallery {
  margin-top: 25px;
  display: grid;
  gap: 6px;
  --card-width: clamp(156px, 24vw, 290px);
  --fade: clamp(14px, 4vw, 52px);
}
.smile-belt {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black var(--fade), black calc(100% - var(--fade)), transparent);
}
.smile-track {
  display: flex;
  width: max-content;
  animation: hori-smiles 40s linear infinite;
}
.smile-belt:nth-child(2) .smile-track { animation-direction: reverse; }
.smile-track ul {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.smile-track li { width: var(--card-width); }
.smile-track img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 13;
  object-fit: cover;
}
@keyframes hori-smiles {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .smile-track { animation: none; }
  .smile-track ul[aria-hidden="true"] { display: none; }
  .smile-belt { overflow-x: auto; mask-image: none; }
}
#smile-gallery { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  #smile-gallery .smile-belt { overflow: hidden; }
  #smile-gallery .smile-belt:nth-child(2) { display: none; }
  #smile-gallery .smile-track { width: 100%; }
  #smile-gallery .smile-track ul:not([aria-hidden]) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    width: 100%;
    gap: 6px;
  }
  #smile-gallery .smile-track li { width: auto; }
}

.clinic-gallery { --card-width: clamp(228px, 29vw, 370px); }
.clinic-gallery .smile-track { animation-duration: 48s; }
.clinic-gallery .smile-track img { aspect-ratio: 4 / 3; }

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(28px, 7vw, 100px);
}
.founder-portrait {
  padding: clamp(10px, 1.3vw, 18px);
  border: 1px solid var(--line);
  background: #ece7dd;
}
.founder-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 36%;
}
.founder-portrait figcaption {
  padding: 13px 4px 2px;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}
.founder-units strong,
.founder-units span { display: block; }
.founder-units strong { color: var(--ink); }
.founder-units span { margin-top: 3px; }
.founder-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}
.founder-focus li {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 580;
}
@media (max-width: 780px) {
  .founder-layout { grid-template-columns: 1fr; gap: 25px; }
  .founder-portrait { width: min(100%, 410px); }
}
