:root {
  --coral: #fea07c;
  --coral-dark: #c87c5a;
  --peach: #fbd7c9;
  --cream: #fff8f3;
  --text: #5c5a5a;
  --muted: #88817d;
  --dark: #232323;
  --footer: #211f1f;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
}

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

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

.topbar {
  background: #ffffff;
  color: #6a6562;
  font-size: 13px;
  font-weight: 400;
  padding: 9px 20px;
  text-align: center;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--coral-dark);
  font-weight: 600;
}

.topbar .company-info {
  margin-top: 3px;
  color: #6a6562;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  padding: 14px clamp(22px, 7vw, 115px);
  background: #ffffff;
  box-shadow: 0 2px 20px rgb(0 0 0 / 4%);
}

.logo img {
  width: 210px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #595959;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.nav-group > button {
  position: relative;
  padding: 20px 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.main-nav .active,
.main-nav a:hover,
.nav-group:hover > button {
  color: var(--coral-dark);
}

.main-nav .active::before,
.main-nav a:hover::before,
.nav-group:hover > button::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--coral);
}

.nav-group {
  position: relative;
}

.submenu {
  position: absolute;
  top: 58px;
  right: 0;
  width: 250px;
  padding: 12px 0;
  background: #ffffff;
  box-shadow: 0 12px 34px rgb(0 0 0 / 12%);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s ease;
}

.submenu a {
  display: block;
  padding: 11px 20px;
  color: #686868;
  font-size: 13px;
}

.nav-group:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: #5a5552;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: 720px;
  padding: 40px clamp(24px, 7vw, 120px) 105px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0%) 80%, #fff 100%),
    linear-gradient(180deg, #e47f5c 0%, #f3b29f 43%, #fff5ef 92%);
}

.hero-copy {
  max-width: 600px;
  color: #5c5a5a;
}

.brand-line,
.section-title {
  margin: 0 0 20px;
  color: #a86148;
  font-family: "Montserrat Alternates", "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
}

.hero h1 {
  max-width: 570px;
  margin: 0 0 22px;
  color: #5c5a5a;
  font-size: clamp(25px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.23;
}

.lead {
  max-width: 560px;
  margin: 0 0 34px;
  color: #5f5b59;
  font-size: 17px;
  line-height: 1.7;
}

.button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--coral);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgb(200 124 90 / 24%);
}

.button:hover,
.small-button:hover {
  background: var(--coral-dark);
}

.hero-portrait {
  position: relative;
  align-self: end;
  justify-self: center;
}

.hero-portrait img {
  width: min(47vw, 560px);
  min-width: 360px;
  filter: drop-shadow(0 24px 40px rgb(91 62 50 / 18%));
}

.icon-dot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--coral);
  font-size: 28px;
  box-shadow: 0 18px 38px rgb(0 0 0 / 12%);
}

.icon-dot-a {
  top: 22%;
  left: -18px;
}

.icon-dot-b {
  right: 0;
  bottom: 24%;
}

.wave {
  position: absolute;
  right: -5%;
  bottom: -48px;
  left: -5%;
  height: 120px;
  background: #fff;
  clip-path: polygon(0 52%, 9% 38%, 18% 61%, 31% 31%, 46% 58%, 61% 36%, 76% 54%, 90% 33%, 100% 48%, 100% 100%, 0 100%);
}

.intro-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding: 105px clamp(24px, 7vw, 118px) 90px;
}

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

.gallery-grid img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.clinic-copy p:not(.section-title),
.doctor-copy p,
.contact p {
  color: #6b6663;
  font-size: 16px;
  line-height: 1.8;
}

.button-center {
  margin-top: 8px;
}

.care-banner {
  padding: 64px 24px;
  background: #fbf2ec;
  text-align: center;
}

.care-banner p {
  margin: 0;
  color: #5f5a57;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.25;
}

.procedures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  padding: 95px clamp(24px, 8vw, 150px);
  background: #ffffff;
}

.procedure-card {
  padding: 42px 38px 46px;
  border-radius: 4px;
  background: #fff8f4;
  text-align: center;
  box-shadow: 0 10px 36px rgb(184 119 91 / 12%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.procedure-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgb(184 119 91 / 20%);
}

.procedure-card img {
  width: min(100%, 430px);
  margin: 0 auto 26px;
  border-radius: 3px;
}

.procedure-card h2 {
  margin: 0 0 14px;
  color: #5a5552;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.procedure-card p {
  min-height: 58px;
  margin: 0 auto 28px;
  color: #706b68;
  line-height: 1.7;
}

.small-button {
  min-height: 42px;
  padding: 12px 27px;
  font-size: 13px;
  text-transform: none;
}

.doctor {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding: 100px clamp(24px, 7vw, 118px);
  background: linear-gradient(90deg, #fff 0%, #fff 39%, #fbf1eb 39%, #fbf1eb 100%);
}

.doctor-image img {
  width: min(100%, 520px);
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 22px 48px rgb(0 0 0 / 14%);
}

.doctor-copy h2 {
  margin: 0 0 22px;
  color: #a86148;
  font-family: "Montserrat Alternates", "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 80px clamp(24px, 8vw, 140px);
  background: #fff;
  text-align: center;
}

.stats span {
  color: var(--coral);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 1;
}

.stats p {
  margin: 12px 0 0;
  color: #6d6764;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.testimonials {
  padding: 90px clamp(24px, 8vw, 140px) 100px;
  background: #fbf2ec;
}

.testimonial-slider {
  position: relative;
  min-height: 455px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: 0.45s ease;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial img {
  width: min(100%, 380px);
  max-height: 430px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgb(0 0 0 / 12%);
}

.quote {
  display: block;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 0.5;
}

.testimonial p {
  margin: 0 0 22px;
  color: #5d5855;
  font-family: "Montserrat Alternates", "Montserrat", sans-serif;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 500;
  line-height: 1.2;
}

.testimonial h3 {
  margin: 0;
  color: #a86148;
  font-size: 20px;
  font-weight: 600;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9beb1;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--coral);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: 520px;
  padding: 80px clamp(24px, 8vw, 130px);
  background:
    linear-gradient(rgb(255 255 255 / 88%), rgb(255 255 255 / 88%)),
    url("./assets/galeria-2.jpg") center/cover;
}

.contact-heading {
  color: #5f5a57;
  font-size: 24px !important;
  font-weight: 700;
}

.contact iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 12px 34px rgb(0 0 0 / 12%);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px clamp(24px, 8vw, 130px);
  background: var(--footer);
  color: #ffffff;
}

.site-footer img {
  width: 210px;
  margin-bottom: 30px;
  filter: brightness(1.25);
}

.site-footer p {
  max-width: 430px;
  color: #ffffff;
  line-height: 1.7;
}

.site-footer a {
  color: #ffffff;
}

.copyright {
  padding: 18px 24px;
  background: #181717;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
}

.cookie-notice {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  color: #444444;
  box-shadow: 0 -8px 24px rgb(0 0 0 / 10%);
}

.cookie-notice p {
  max-width: 780px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-notice button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 2px;
  padding: 9px 14px;
  background: var(--coral);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 86px;
  z-index: 31;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-float span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: 156px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #2db742;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.whatsapp-float strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #2db742;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 10px 26px rgb(0 0 0 / 18%);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 82px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px;
    background: #ffffff;
    box-shadow: 0 16px 35px rgb(0 0 0 / 14%);
  }

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

  .main-nav a,
  .nav-group > button {
    padding: 12px 0;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero,
  .intro-gallery,
  .doctor,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero-portrait img {
    width: min(88vw, 520px);
    min-width: 0;
    margin: 20px auto 0;
  }

  .doctor {
    background: #fbf1eb;
  }

  .doctor-image img {
    margin: 0 auto;
  }

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

  .testimonial {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial img {
    margin: 0 auto;
  }

  .testimonial-slider {
    min-height: 760px;
  }
}

@media (max-width: 640px) {
  .topbar {
    font-size: 11px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .logo img {
    width: 165px;
  }

  .hero,
  .intro-gallery,
  .procedures,
  .doctor,
  .stats,
  .testimonials,
  .contact,
  .site-footer {
    padding-inline: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .procedures,
  .stats,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .procedure-card {
    padding: 28px 20px 34px;
  }

  .testimonial-slider {
    min-height: 700px;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 16px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 150px;
  }

  .whatsapp-float span {
    display: none;
  }
}
