@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Newsreader;
  src: url("assets/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --base: #fcf8f2;
  --paper: #fffdf8;
  --warm: #f5eae1;
  --line: #e0d3c7;
  --ink: #29231f;
  --muted: #61574f;
  --berry: #633d4b;
  --wine: #52313b;
  --green: #304f44;
  --sage: #e7eee5;
  --frame: #a67c87;
  --display: Newsreader, Georgia, serif;
  --max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block: 24px 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--base);
  font: 400 16px/1.58 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 530; }
h1, h2 { letter-spacing: -.043em; }
h2 { font-size: clamp(2.25rem, 4.4vw, 3.85rem); line-height: .99; }
h3 { line-height: 1.1; letter-spacing: -.022em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, summary { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid #885665; outline-offset: 4px; }
.wrap { width: min(var(--max), calc(100% - 104px)); margin-inline: auto; }
.section { padding-block: clamp(54px, 6.4vw, 92px); }
.arrow { flex: 0 0 auto; font-size: 1.14em; line-height: 1; }
.kicker {
  color: var(--berry);
  font-size: .77rem;
  line-height: 1.4;
  font-weight: 770;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip {
  position: fixed;
  z-index: 12;
  inset: 12px auto auto 12px;
  padding: 10px 15px;
  transform: translateY(-160%);
  color: white;
  background: var(--wine);
  border-radius: 6px;
}
.skip:focus { transform: none; }

.masthead { position: relative; z-index: 2; background: var(--base); }
.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 77px;
  align-items: center;
  gap: 22px;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  gap: 2px;
  min-height: 46px;
  justify-content: center;
  text-decoration: none;
}
.wordmark span { font: 620 2rem/.95 var(--display); letter-spacing: -.047em; }
.wordmark small {
  color: var(--berry);
  font-size: .63rem;
  letter-spacing: .16em;
  font-weight: 770;
  text-transform: uppercase;
}
.nav-main { display: flex; align-items: center; gap: clamp(15px, 2.9vw, 42px); }
.nav-main a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 680;
  text-decoration: none;
}
.nav-main a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 5px; }
.nav-mobile { display: none; }

.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  font-size: .91rem;
  line-height: 1.25;
  font-weight: 730;
  text-decoration: none;
}
.button {
  gap: 14px;
  padding: 10px 19px;
  color: #fffdf9;
  background: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 8px;
  transition: background-color .17s ease, border-color .17s ease;
}
.button:hover { background: #693f4c; border-color: #693f4c; }
.button:active { background: #40252e; }
.masthead-cta {
  justify-self: end;
  color: var(--wine);
  border-color: #d3c0b7;
  background: transparent;
}
.masthead-cta:hover { color: var(--wine); background: var(--warm); border-color: #b29489; }
.text-link {
  justify-content: start;
  color: var(--wine);
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration: underline; }
.button-light {
  color: var(--wine);
  border-color: #dbcac2;
  background: #f7eee8;
}
.button-light:hover { color: var(--wine); background: #f1e1d9; border-color: #c2a699; }
.button-cream {
  color: var(--wine);
  background: #fff6eb;
  border-color: #fff6eb;
}
.button-cream:hover { color: var(--wine); background: #f0dfd1; border-color: #f0dfd1; }
.button-green { background: var(--green); border-color: var(--green); }
.button-green:hover { background: #416254; border-color: #416254; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 23px; }

.hero {
  border-block: 1px solid var(--line);
  background: linear-gradient(117deg, #f9f0e7 8%, #f3e8e0 83%, #eee1d8);
}
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 88px);
  padding-block: clamp(36px, 4.2vw, 59px) 26px;
}
.hero h1 {
  font-size: clamp(3.12rem, 4.55vw, 4.25rem);
  line-height: .95;
  letter-spacing: -.049em;
}
.hero h1 em { display: block; color: var(--berry); font-style: normal; }
.hero h1 em span { white-space: nowrap; }
.hero-copy > p { max-width: 43ch; margin-block: 19px 23px; color: var(--muted); font-size: 1.06rem; }
.framed { padding: 7px; border: 1px solid var(--frame); background: var(--paper); border-radius: 14px; }
.hero-photo {
  border-start-start-radius: clamp(58px, 7.6vw, 110px);
  box-shadow: 0 14px 35px -29px #623f41ad;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 8px;
  border-start-start-radius: clamp(51px, 7.1vw, 103px);
}
.reasons { padding: 6px 0 29px; }
.reasons h2 { font-size: clamp(1.67rem, 2.55vw, 2.35rem); margin-bottom: 10px; }
.reasons ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border: 1px solid #d9c8be;
  border-radius: 11px;
  background: var(--paper);
}
.reasons li + li { border-left: 1px solid var(--line); }
.reasons a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 73px;
  padding: 11px 14px;
  color: var(--wine);
  border-radius: 8px;
  text-decoration: none;
}
.reasons a:hover { background: #f7ede8; }
.reasons strong, .reasons small { display: block; }
.reasons strong { font-size: .93rem; line-height: 1.25; }
.reasons small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.28; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 35px;
  margin-bottom: 26px;
}
.section-heading h2 { margin-top: 7px; }
.section-heading > p { color: var(--muted); max-width: 35ch; }
.homepage #consultas { padding-top: clamp(48px, 5vw, 70px); }
.clinic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.clinic-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(18px, 2.3vw, 31px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.clinic-card h3 { margin: 8px 0 10px; font-size: clamp(1.68rem, 2.6vw, 2.35rem); }
.clinic-card h3 a { text-decoration: none; }
.clinic-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.clinic-card address { margin-bottom: 13px; color: var(--muted); font-size: .93rem; }
.clinic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 19px; margin-top: auto; }

.feature-section { padding-bottom: clamp(52px, 6vw, 84px); }
.laser-feature {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4.4vw, 66px);
  align-items: center;
  padding: clamp(18px, 3.7vw, 51px);
  color: #fff7ed;
  background: #52343d;
  border-radius: 15px;
}
.laser-image {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 16px;
  background: #f8f3ec;
  border-radius: 10px;
}
.laser-image img { width: min(90%, 246px); height: auto; max-height: 300px; object-fit: contain; }
.laser-feature .kicker { color: #f1c9ba; margin-bottom: 12px; }
.feature-copy h2 { font-size: clamp(2.5rem, 4vw, 3.85rem); text-wrap: balance; }
.feature-copy > p:not(.kicker) { color: #f3dfd8; max-width: 46ch; margin-block: 15px 20px; }
.catalog { background: #f5ece4; border-block: 1px solid var(--line); }
.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.directory-group {
  padding: clamp(16px, 2.2vw, 27px);
  border: 1px solid #dfcfc3;
  border-radius: 10px;
  background: var(--paper);
  scroll-margin-block: 16px;
}
.directory-group:target { outline: 2px solid #a97982; outline-offset: 3px; }
.directory-group h3 { font-size: clamp(1.6rem, 2.7vw, 2.28rem); }
.directory-group p { color: var(--muted); margin: 6px 0 12px; font-size: .93rem; }
.directory-group ul, .related ul { list-style: none; padding: 0; clear: both; }
.directory-group li, .related li { border-top: 1px solid var(--line); }
.directory-group li a, .related li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
  color: var(--wine);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
}
.directory-group li a:hover, .related li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.group-photo { float: right; width: min(28%, 130px); margin: 0 0 11px 12px; }
.group-photo img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 6px; }

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 6.3vw, 88px);
}
.profile-photo img { width: 100%; aspect-ratio: 1.54; object-fit: cover; border-radius: 8px; }
.profile-photo figcaption { margin: 8px 5px 2px; color: var(--muted); font-size: .78rem; }
.profile h2 { margin-top: 8px; }
.profile div > p:not(.kicker) { margin: 13px 0; color: var(--muted); max-width: 50ch; }
.home-care { background: var(--sage); border-block: 1px solid #cfdacb; }
.home-care-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(27px, 6vw, 79px);
}
.podostec-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 760;
  margin-bottom: 11px;
}
.podostec-mark img { width: 31px; height: 31px; border-radius: 50%; }
.home-care h2 { color: var(--green); }
.home-care p { margin: 13px 0 16px; color: #405649; }
.home-care figure img { width: 100%; aspect-ratio: 2.18; object-fit: cover; object-position: 55%; border-radius: 11px; }

.detail-intro { padding-block: 23px 58px; border-block: 1px solid var(--line); background: var(--warm); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; color: var(--muted); }
.crumbs a { text-underline-offset: 3px; }
.detail-grid { display: grid; padding-top: clamp(22px, 4.4vw, 52px); align-items: center; }
.detail-grid.has-figure { grid-template-columns: minmax(0, 1.1fr) minmax(0, .84fr); gap: clamp(24px, 6vw, 85px); }
.detail-grid h1 {
  font-size: clamp(2.85rem, 6.25vw, 5.2rem);
  line-height: .95;
  margin-top: 10px;
  max-width: 20ch;
  text-wrap: balance;
}
.detail-grid p:not(.kicker) { max-width: 49ch; color: var(--muted); margin: 16px 0 20px; font-size: 1.06rem; }
.detail-figure { display: grid; justify-items: center; }
.detail-figure img { width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: 8px; }
.detail-figure img[src*="laser-fox"] { width: min(100%, 300px); aspect-ratio: auto; max-height: 355px; object-fit: contain; }
.detail-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.detail-panels > section { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.detail-panels h2, .detail-panels h3, .questions h2, .related h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.detail-panels ul { padding-left: 21px; }
.detail-panels li + li { margin-top: 8px; }
.detail-panels p, .detail-panels address, .detail-panels li { color: var(--muted); }
.questions, .related, .reference { margin-top: 28px; max-width: 790px; }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { padding: 12px 0; min-height: 44px; cursor: pointer; font-weight: 730; }
.questions details p { padding: 0 8px 14px 17px; color: var(--muted); }
.reference { color: var(--muted); font-size: .86rem; }
.section-link { margin-top: 19px; }
.home-intro { background: var(--sage); }
.home-intro h1 { color: var(--green); }

.site-footer { padding: 34px 0; background: #efe7df; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px 30px; }
.footer-inner h2 { font: 750 .86rem/1.5 "DM Sans", system-ui, sans-serif; letter-spacing: 0; margin-bottom: 6px; }
.footer-inner div > a:not(.wordmark) { display: block; min-height: 32px; color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer-inner div > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mobile-contact { display: none; }
.phone-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 24px);
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 48px #30201d38;
}
.phone-dialog::backdrop { background: #2c222178; }
.dialog-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.phone-dialog h2 { font-size: 2rem; }
.dialog-close {
  min-height: 44px;
  padding: 4px 9px;
  color: var(--wine);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--base);
}
.phone-dialog ul { padding: 0; list-style: none; margin-top: 16px; }
.phone-dialog li { border-top: 1px solid var(--line); }
.phone-dialog li a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  min-height: 49px;
  align-items: center;
  color: var(--wine);
  text-decoration: none;
}
.phone-dialog li a:hover { text-decoration: underline; }

@media (max-width: 1060px) {
  .wrap { width: calc(100% - 64px); }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.15rem); }
  .clinic-actions { gap: 3px 13px; }
}

@media (max-width: 780px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 44px); }
  .masthead-inner { min-height: 68px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .wordmark span { font-size: 1.7rem; }
  .nav-main, .masthead-cta { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--wine);
    background: var(--paper);
    border: 1px solid #d7c3b8;
    border-radius: 7px;
    font-size: .88rem;
    font-weight: 750;
    cursor: pointer;
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile nav {
    position: absolute;
    inset: 100% 22px auto auto;
    display: grid;
    min-width: 206px;
    padding: 5px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--paper);
    box-shadow: 0 12px 35px -20px #362b29a0;
  }
  .nav-mobile nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--wine);
    font-weight: 680;
    text-decoration: none;
  }
  .hero-main { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 30px 16px; }
  .hero h1 { font-size: clamp(2.75rem, 8.8vw, 4.3rem); text-wrap: initial; }
  .hero-copy > p { margin-block: 13px 16px; font-size: .98rem; }
  .hero-photo { border-start-start-radius: 63px; padding: 5px; }
  .hero-photo img { aspect-ratio: 2.13; border-start-start-radius: 57px; }
  .reasons { padding-bottom: 23px; }
  .reasons ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons li:nth-child(odd) { border-left: none; }
  .reasons li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reasons a { padding: 9px 11px; min-height: 66px; }
  .reasons strong { font-size: .85rem; }
  .reasons small { font-size: .73rem; }
  .section { padding-block: 48px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .clinic-grid, .directory, .profile, .home-care-inner, .detail-grid.has-figure, .detail-panels {
    grid-template-columns: minmax(0, 1fr);
  }
  .clinic-card { padding: 18px; }
  .clinic-card h3 { font-size: clamp(1.55rem, 6.25vw, 2.06rem); }
  .clinic-actions { gap: 2px 13px; }
  .laser-feature { grid-template-columns: minmax(0, 1fr); padding: 17px; }
  .laser-image { min-height: 205px; padding: 12px; }
  .laser-image img { max-height: 215px; width: auto; }
  .feature-copy { padding: 1px 1px 7px; }
  .feature-copy h2 { font-size: clamp(2.08rem, 8.4vw, 3rem); text-wrap: initial; }
  .profile .profile-photo { order: 2; }
  .detail-intro { padding-bottom: 35px; }
  .detail-grid h1 { font-size: clamp(2.65rem, 10.4vw, 4.6rem); text-wrap: initial; }
  .detail-grid p:not(.kicker) { font-size: .99rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .mobile-contact {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 10px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--base);
    box-shadow: 0 -4px 14px #4a332018;
  }
  .mobile-contact a { min-height: 45px; }
  .mobile-call {
    display: grid;
    place-items: center;
    color: var(--wine);
    border: 1px solid #d6c4b9;
    border-radius: 8px;
    font-size: .91rem;
    font-weight: 730;
    text-decoration: none;
  }
}

@media (max-width: 375px) {
  .wrap { width: calc(100% - 34px); }
  .clinic-actions { gap: 0 11px; }
  .clinic-actions .text-link { font-size: .85rem; }
  .clinic-actions .button { padding-inline: 11px; }
  .reasons a { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

