:root {
  --ink: #132225;
  --ink-2: #203339;
  --muted: #647174;
  --paper: #f4f7f6;
  --surface: #ffffff;
  --soft: #eaf3f0;
  --line: #dce8e5;
  --teal: #007782;
  --teal-dark: #064b54;
  --gold: #d8b45d;
  --coral: #c96c72;
  --plum: #44324f;
  --shadow: 0 24px 58px rgba(19, 34, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Mulish, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 232, 229, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 218px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--coral);
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 75, 84, 0.94), rgba(19, 34, 37, 0.72) 48%, rgba(19, 34, 37, 0.16)),
    linear-gradient(0deg, rgba(19, 34, 37, 0.62), rgba(19, 34, 37, 0.02) 52%);
}

.hero-copy {
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 112px);
  padding: 96px 0 clamp(72px, 11vw, 134px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 6rem;
  font-weight: 900;
}

h2 {
  font-size: 4rem;
  font-weight: 900;
}

h3 {
  font-size: 1.35rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-actions,
.clinic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #182326;
  box-shadow: 0 18px 34px rgba(216, 180, 93, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.button.dark {
  width: fit-content;
  background: white;
  color: var(--plum);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info article {
  min-height: 164px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
}

.quick-info span,
.publication-grid span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-info strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.quick-info p,
.clinic-copy p,
.treatment-grid p,
.publication-grid p,
address {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.clinic {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: var(--surface);
}

.clinic-image {
  position: relative;
}

.clinic-image::after {
  content: "Odonto Esthetic Master";
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--teal-dark);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(19, 34, 37, 0.12);
}

.clinic-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.clinic-copy {
  max-width: 780px;
}

.clinic-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.clinic-list span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #fbfdfc;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 36px;
}

.treatments {
  background: var(--soft);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.treatment-grid article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 16px 38px rgba(19, 34, 37, 0.1);
}

.treatment-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 34, 37, 0.08), rgba(19, 34, 37, 0.84));
}

.treatment-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.treatment-grid article:hover img {
  transform: scale(1.04);
}

.treatment-grid div {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: white;
}

.treatment-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.results {
  background: var(--surface);
}

.result-strip {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  gap: 14px;
}

.result-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(19, 34, 37, 0.09);
}

.result-strip img:first-child {
  aspect-ratio: 1 / 1.18;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: #0b363c;
}

.numbers article {
  min-height: 164px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--teal-dark);
  color: white;
  text-align: center;
}

.numbers strong {
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.numbers span {
  font-weight: 800;
}

.publications {
  background: var(--paper);
}

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

.publication-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(19, 34, 37, 0.08);
}

.publication-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.publication-grid div {
  padding: 26px;
}

.publication-grid h3 {
  margin-top: 12px;
}

.testimonial {
  display: grid;
  align-content: center;
  padding: clamp(26px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(201, 108, 114, 0.94), rgba(68, 50, 79, 0.96)),
    var(--plum);
  color: white;
}

.testimonial .eyebrow,
.testimonial p {
  color: rgba(255, 255, 255, 0.84);
}

.contact {
  background:
    linear-gradient(120deg, rgba(6, 75, 84, 0.98), rgba(19, 34, 37, 0.96)),
    var(--teal-dark);
  color: white;
}

.contact .section-heading {
  margin-bottom: 30px;
}

.contact h2 {
  max-width: 900px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

address {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  backdrop-filter: blur(12px);
}

address strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 1.45rem;
}

address a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 30px 18px 92px;
  background: #10191b;
  color: rgba(255, 255, 255, 0.76);
}

.footer img {
  width: 118px;
  border-radius: 4px;
}

.footer strong {
  color: white;
}

.footer a {
  text-decoration: none;
}

.float-whatsapp {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  min-height: 50px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #182326;
  box-shadow: 0 18px 42px rgba(19, 34, 37, 0.2);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.whatsapp-modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(19, 34, 37, 0.66);
}

.whatsapp-modal[hidden] {
  display: none;
}

.whatsapp-panel {
  position: relative;
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  padding: 30px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.whatsapp-panel h2 {
  margin-bottom: 8px;
  font-size: 2.3rem;
}

.whatsapp-panel a {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #eef5f2;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 4.9rem;
  }

  h2 {
    font-size: 3.3rem;
  }

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

  .numbers {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 920px) {
  .menu-button {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
  }

  .nav a::after {
    display: none;
  }

  .quick-info,
  .clinic,
  .publication-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 75, 84, 0.5), rgba(6, 75, 84, 0.9) 58%, rgba(19, 34, 37, 0.95)),
      linear-gradient(90deg, rgba(19, 34, 37, 0.18), rgba(19, 34, 37, 0.08));
  }

  .result-strip {
    grid-template-columns: 1fr;
  }

  .result-strip img:first-child {
    aspect-ratio: 1;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand img {
    width: 174px;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-bottom: 62px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-actions,
  .clinic-actions,
  .button {
    width: 100%;
  }

  .clinic-list,
  .treatment-grid,
  .numbers {
    grid-template-columns: 1fr;
  }

  .treatment-grid article {
    min-height: 360px;
  }

  .float-whatsapp {
    left: 14px;
    right: 14px;
  }
}
