﻿:root {
  --ivory: #f7f3ee;
  --porcelain: #fdfaf6;
  --sand: #e6dbc9;
  --champagne: #bfa98a;
  --wine: #5a2133;
  --wine-strong: #431727;
  --graphite: #272325;
  --charcoal: #3b3637;
  --muted: #6f6664;
  --line: #d9cebc;
  --card: #fffdf9;
  --soft: #f2ece3;
  --shadow-lg: 0 28px 70px rgba(42, 30, 36, 0.14);
  --shadow-md: 0 12px 32px rgba(42, 30, 36, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--graphite);
  background:
    radial-gradient(circle at 8% -5%, rgba(203, 184, 156, 0.35) 0%, transparent 34%),
    radial-gradient(circle at 94% 12%, rgba(90, 33, 51, 0.11) 0%, transparent 28%),
    var(--ivory);
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(90, 33, 51, 0.06) 25%, transparent 26%, transparent 74%, rgba(90, 33, 51, 0.06) 75%, transparent 76%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(90, 33, 51, 0.06) 25%, transparent 26%, transparent 74%, rgba(90, 33, 51, 0.06) 75%, transparent 76%, transparent);
  background-size: 3px 3px;
  z-index: -1;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--graphite);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
}

p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.container {
  width: min(1200px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 0.82rem;
  font-size: 0.68rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wine);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.95), rgba(245, 238, 229, 0.94));
}

.section-head {
  max-width: 760px;
  margin: 0 auto 2.3rem;
  text-align: center;
}

.section-head p {
  margin-top: 0.85rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, var(--wine), var(--wine-strong));
  color: #fff;
  border-color: var(--wine-strong);
  box-shadow: 0 13px 28px rgba(90, 33, 51, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(90, 33, 51, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
  color: var(--graphite);
}

.btn-light {
  background: #fff;
  color: var(--wine);
  border-color: #fff;
}

.full-btn {
  width: 100%;
}

#navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background-color 0.28s ease, border-color 0.28s ease, backdrop-filter 0.28s ease;
}

#navbar.is-scrolled {
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(10px);
  border-color: rgba(217, 206, 188, 0.75);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(90, 33, 51, 0.32);
  box-shadow: 0 10px 24px rgba(90, 33, 51, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.8;
}

.nav-links a:hover {
  color: var(--wine);
  opacity: 1;
}

.nav-actions {
  min-width: max-content;
}

.hero {
  position: relative;
  padding: clamp(5.2rem, 8vw, 7.4rem) 0 clamp(4rem, 6vw, 5.4rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 420px at 80% -12%, rgba(191, 169, 138, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(246, 238, 229, 0.95));
  z-index: -1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.2rem, 2.8vw, 2.5rem);
  align-items: stretch;
}

.hero-layout--single {
  grid-template-columns: 1fr;
  max-width: 920px;
}

.hero-copy h1 {
  max-width: 18ch;
}

.hero-lead {
  margin-top: 1rem;
  max-width: 64ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero-proof {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.hero-proof article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 206, 188, 0.92);
  border-radius: 16px;
  padding: 0.78rem;
}

.hero-proof strong {
  display: block;
  font-size: 1.08rem;
  color: var(--wine);
}

.hero-proof span {
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-panel {
  background:
    linear-gradient(170deg, rgba(90, 33, 51, 0.96), rgba(50, 22, 34, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-lg);
  color: rgba(255, 247, 243, 0.94);
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.panel-logo {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.panel-kicker {
  margin-top: 0.2rem;
  font-size: 0.67rem;
  letter-spacing: 0.17rem;
  text-transform: uppercase;
  color: rgba(255, 239, 229, 0.78);
  font-weight: 700;
}

.hero-panel h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.hero-panel p {
  color: rgba(255, 240, 233, 0.78);
}

.panel-link {
  color: rgba(255, 228, 214, 0.95);
  font-size: 0.75rem;
  letter-spacing: 0.11rem;
  text-transform: uppercase;
  font-weight: 700;
}

.panel-link:hover {
  color: #fff;
}

.service-ribbon {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.service-track {
  width: max-content;
  display: inline-flex;
  gap: 0.72rem;
  align-items: center;
  padding: 0.86rem 0;
  padding-left: 100%;
  animation: marquee 34s linear infinite;
  font-size: 0.72rem;
  letter-spacing: 0.11rem;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

.dot {
  opacity: 0.55;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.carousel {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.8rem;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel__slide {
  flex: 0 0 430px;
  margin: 0 0.62rem;
  opacity: 0.34;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.placeholder-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  border: 1px solid rgba(217, 206, 188, 0.9);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(244, 235, 224, 0.94));
  box-shadow: var(--shadow-md);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.1rem;
}

.placeholder-card span {
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

.placeholder-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.42rem, 2.8vw, 2rem);
  color: var(--graphite);
}

.placeholder-card small {
  font-size: 0.75rem;
  color: var(--muted);
}

.resultado-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(217, 206, 188, 0.9);
  box-shadow: var(--shadow-md);
}

.resultado-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(217, 206, 188, 0.9);
  box-shadow: var(--shadow-md);
  background: #000;
}

.carousel__controls {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(191, 169, 138, 0.68);
  background: #fff;
  color: var(--wine);
  font-size: 1.16rem;
  cursor: pointer;
}

.carousel__dots {
  display: flex;
  gap: 0.48rem;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(90, 33, 51, 0.25);
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--wine);
  transform: scale(1.2);
}

.section-cta {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.feature-card {
  border-radius: 18px;
  border: 1px solid rgba(217, 206, 188, 0.88);
  background: var(--card);
  padding: 1.35rem 1.1rem;
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: 1.47rem;
}

.feature-card p {
  margin-top: 0.62rem;
}

.about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 242, 235, 0.96));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.05rem;
  align-items: stretch;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(217, 206, 188, 0.96);
  box-shadow: var(--shadow-md);
}

.about-copy {
  border-radius: 24px;
  border: 1px solid rgba(217, 206, 188, 0.96);
  background: var(--card);
  box-shadow: var(--shadow-md);
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.about-copy p + p {
  margin-top: 0.78rem;
}

.about-chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-chips span {
  border-radius: 999px;
  border: 1px solid rgba(191, 169, 138, 0.85);
  background: rgba(242, 236, 227, 0.65);
  padding: 0.46rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 600;
}

.clinic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.05rem;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.66rem;
}

.clinic-gallery--single {
  grid-template-columns: 1fr;
}

.clinic-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(217, 206, 188, 0.9);
  box-shadow: var(--shadow-md);
}

.clinic-gallery img:first-child {
  grid-column: span 2;
  height: 290px;
}

.clinic-gallery--single img,
.clinic-gallery--single img:first-child {
  grid-column: auto;
  height: 100%;
  min-height: 440px;
}

.clinic-card {
  border-radius: 20px;
  border: 1px solid rgba(217, 206, 188, 0.9);
  background: var(--card);
  padding: 1.22rem;
  box-shadow: var(--shadow-md);
}

.gmn-title {
  margin-top: 0.9rem;
  color: var(--graphite);
  font-weight: 700;
}

.gmn-rating {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.gmn-rating strong {
  color: var(--graphite);
}

.gmn-rating span {
  color: #d09b00;
  letter-spacing: 0.04rem;
}

.gmn-rating a {
  color: var(--wine);
  font-weight: 700;
  font-size: 0.84rem;
}

.gmn-meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list {
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.56rem;
}

.contact-list a {
  color: var(--wine);
  font-weight: 700;
  font-size: 0.8rem;
}

.contact-list li {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-list a:hover {
  text-decoration: underline;
}

.gmn-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-weight: 700;
  color: var(--graphite);
}

.open-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9e9e9e;
  flex: 0 0 9px;
}

.map-wrap {
  margin-top: 1.1rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 1px solid rgba(217, 206, 188, 0.9);
  border-radius: 16px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.testimonial-card {
  border-radius: 16px;
  border: 1px solid rgba(217, 206, 188, 0.86);
  background: var(--card);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.testimonial-card footer {
  margin-top: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.testimonial-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(217, 206, 188, 0.9);
}

.testimonial-avatar--fallback {
  display: inline-grid;
  place-content: center;
  background: var(--wine);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  border: 0;
}

.testimonial-card footer small {
  color: var(--muted);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid rgba(217, 206, 188, 0.94);
}

.faq-list details {
  border-bottom: 1px solid rgba(217, 206, 188, 0.94);
  padding: 0.95rem 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--graphite);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 0.55rem;
}

.cta-final {
  background:
    radial-gradient(circle at 84% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 36%),
    linear-gradient(145deg, var(--wine), #321220);
  color: #fff;
}

.cta-final .container {
  text-align: center;
}

.cta-final .eyebrow {
  color: rgba(255, 233, 220, 0.86);
}

.cta-final h2 {
  color: #fff;
}

.cta-final p {
  margin: 0.9rem auto 1.5rem;
  max-width: 70ch;
  color: rgba(255, 238, 230, 0.86);
}

.footer {
  border-top: 1px solid rgba(217, 206, 188, 0.7);
  padding: 1.4rem 0 1.7rem;
  background: rgba(252, 248, 243, 0.7);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: var(--graphite);
}

.footer-sub {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
  color: var(--wine);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 25;
  width: 78px;
  line-height: 0;
  display: inline-block;
  transition: transform 0.24s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 44;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 17, 0.63);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(217, 206, 188, 0.95);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

.modal-close {
  position: absolute;
  right: 0.55rem;
  top: 0.45rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.62rem;
  cursor: pointer;
}

.modal-card h3 {
  font-size: 2rem;
}

.modal-card p {
  margin-top: 0.35rem;
}

#leadForm {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.42rem;
}

#leadForm label {
  margin-top: 0.58rem;
  font-size: 0.72rem;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 700;
}

#leadForm input {
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(191, 169, 138, 0.84);
  background: #fff;
  padding: 0 0.74rem;
  font: inherit;
}

#leadForm input:focus-visible {
  outline: 2px solid rgba(90, 33, 51, 0.18);
  border-color: var(--wine);
}

.error {
  display: none;
  font-size: 0.72rem;
  color: #a02f53;
}

.error.is-visible {
  display: block;
}

.has-io .animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.44s ease, transform 0.44s ease;
}

.has-io .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

  .about-grid,
  .clinic-layout {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    min-height: 340px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .carousel__slide {
    flex: 0 0 80vw;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 3.4rem 0;
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
  }

  .clinic-gallery img,
  .clinic-gallery img:first-child {
    grid-column: auto;
    height: 220px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .clinic-gallery--single img,
  .clinic-gallery--single img:first-child {
    height: 300px;
    min-height: auto;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 70px;
  }
}
