/* EDNA FLOREZ SMILE | Hoja de estilos limpia y responsive */
:root {
  color-scheme: light;
  --black: #0b0809;
  --black-soft: #171013;
  --pink: #d89aa8;
  --pink-deep: #a76e7c;
  --pink-light: #f3d6dc;
  --cream: #fff9f9;
  --paper: #f7f2ed;
  --muted: #77686d;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page-pad: clamp(20px, 7vw, 104px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--black); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--pink); color: var(--black); }

.site-header {
  height: 78px; padding: 0 var(--page-pad); display: flex; align-items: center;
  justify-content: space-between; gap: 20px; position: relative; z-index: 10;
  background: var(--black); border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.monogram { font: 500 34px/.9 var(--serif); letter-spacing: -.08em; color: var(--cream); }
.monogram span { color: var(--pink); }
.brand-name { display: flex; flex-direction: column; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }
.brand-name small { font-size: 8px; font-weight: 500; letter-spacing: .27em; color: #c4aeb4; }
.header-cta { display: inline-flex; align-items: center; gap: 14px; padding: 12px 17px; border: 1px solid rgba(216,154,168,.6); color: var(--pink-light); font-size: 10px; font-weight: 700; transition: background .25s ease,color .25s ease; }
.header-cta:hover { background: var(--pink); color: var(--black); }
.header-cta span { font-size: 15px; }

.hero {
  min-height: min(790px, calc(100vh - 78px)); min-height: min(790px, calc(100svh - 78px));
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(30px, 5vw, 80px); padding: 80px var(--page-pad) 100px;
  background: var(--black) url("../assets/images/consultorio-principal.jpg") center 42%/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(11,8,9,.97) 0%,rgba(11,8,9,.88) 38%,rgba(11,8,9,.5) 68%,rgba(11,8,9,.68) 100%),linear-gradient(0deg,rgba(11,8,9,.72),transparent 45%); }
.hero-copy { max-width: 600px; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; font-size: 9px; line-height: 1.5; font-weight: 700; letter-spacing: .2em; }
.eyebrow-line { display: inline-block; flex: 0 0 28px; width: 28px; height: 1px; background: var(--pink); }
.hero h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
.hero h1 { max-width: 660px; font-size: clamp(48px, 6.1vw, 86px); line-height: .99; }
h1 em, h2 em { color: var(--pink); font-weight: 500; }
.hero-translation { max-width: 400px; margin: 25px 0 31px; color: #e1d3d6; font-size: 12px; line-height: 1.8; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; font-size: 10px; font-weight: 700; transition: background .25s ease,color .25s ease,transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 15px; }
.button-light { background: var(--pink); color: var(--black); }
.button-light:hover { background: var(--cream); }
.button-dark { background: var(--black); color: var(--cream); }
.button-dark span { color: var(--pink); }
.button-dark:hover { background: #34242a; }
.hero-images { position: relative; width: 100%; max-width: 570px; height: clamp(360px, 43vw, 560px); justify-self: end; }
.hero-main { position: absolute; top: 3%; right: 8%; width: 72%; height: 91%; object-fit: cover; object-position: center; border-radius: 2px; box-shadow: 0 30px 80px #0008; }
.hero-detail { position: absolute; object-fit: cover; border: 5px solid var(--black); box-shadow: 0 20px 50px #0008; }
.hero-detail-one { width: 39%; height: 31%; left: 0; top: 13%; }
.hero-detail-two { width: 39%; height: 31%; left: 5%; bottom: 5%; }
.hero-seal { position: absolute; right: 0; bottom: 0; display: grid; place-content: center; width: 92px; aspect-ratio: 1; border-radius: 50%; background: var(--pink); color: var(--black); text-align: center; font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; outline: 1px solid #fff8; outline-offset: -7px; }
.scroll-cue { position: absolute; left: var(--page-pad); bottom: 25px; display: inline-flex; align-items: center; gap: 15px; color: #e7dadd; font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.scroll-cue span { color: var(--pink); font-size: 16px; }

.results-section { padding: 100px var(--page-pad) 95px; background: var(--pink-light); color: var(--black); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(220px, .65fr); align-items: end; column-gap: 40px; margin-bottom: 38px; }
.section-heading .eyebrow { grid-column: 1/-1; color: var(--pink-deep); margin-bottom: 17px; }
.section-heading h2 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; }
.section-heading h2 em { color: var(--pink-deep); }
.section-intro { max-width: 300px; justify-self: end; margin: 0 0 5px; color: #6d5960; font-size: 12px; line-height: 1.8; }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: clamp(155px, 17vw, 245px); grid-auto-flow: dense; gap: 12px; }
.gallery-item { min-width: 0; min-height: 0; position: relative; margin: 0; overflow: hidden; background: #dfc4cb; isolation: isolate; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s var(--ease), filter .5s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent,rgba(11,8,9,.3)); opacity: .45; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1.04); }
.image-open { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 32px; height: 32px; border: 1px solid #fff9; border-radius: 50%; background: #0b080966; color: white; cursor: pointer; opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover .image-open, .image-open:focus-visible { opacity: 1; }
.gallery-item:focus-within .image-open { opacity: 1; }

.treatments-section { padding: 78px var(--page-pad) 82px; background: var(--black-soft); }
.treatments-section > .eyebrow { color: #e2c3cb; }
.treatment-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.treatment-heading h2 { max-width: 760px; font-size: clamp(38px, 5vw, 66px); line-height: 1.06; }
.text-cta { flex-shrink: 0; display: inline-flex; gap: 12px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--pink); font-size: 10px; font-weight: 700; }
.text-cta span { color: var(--pink); font-size: 15px; }
.treatment-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.treatment-tags span { padding: 11px 15px; border: 1px solid #ffffff24; color: #e8dadd; font-size: 10px; }

.video-section { padding: 100px var(--page-pad) 105px; background: var(--paper); color: var(--black); }
.video-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.video-heading .eyebrow { color: var(--pink-deep); }
.video-heading h2 { font-size: clamp(39px, 4.7vw, 64px); line-height: 1.06; }
.video-heading h2 em { color: var(--pink-deep); }
.video-heading > p { max-width: 300px; margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.video-card { margin: 0; min-width: 0; }
.video-card video { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #21171b; }
.video-card figcaption { margin-top: 13px; color: var(--pink-deep); font-size: 8px; font-weight: 700; letter-spacing: .17em; }

.studio-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 45px 8%; padding: 100px var(--page-pad); background: var(--pink-light); color: var(--black); }
.studio-feature { min-width: 0; height: clamp(380px, 46vw, 590px); overflow: hidden; background: #e5c6cf; }
.studio-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.studio-copy { max-width: 530px; }
.studio-copy .eyebrow { color: var(--pink-deep); }
.studio-copy h2 { margin-bottom: 24px; font-size: clamp(44px, 5.2vw, 72px); line-height: 1.02; }
.studio-copy h2 em { color: var(--pink-deep); }
.studio-copy > p:not(.eyebrow) { max-width: 410px; margin: 0 0 28px; color: #6d5960; font-size: 12px; line-height: 1.9; }
.studio-gallery { grid-column: 1/-1; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin-top: 5px; }
.studio-gallery img { width: 100%; height: clamp(170px, 20vw, 260px); object-fit: cover; background: #dfc4cb; }

.featured-result { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; gap: clamp(30px,6vw,90px); padding: 100px var(--page-pad); background: #fffafa; color: var(--black); }
.before-after { position: relative; min-width: 0; aspect-ratio: 4/3; overflow: hidden; background: #ead5da; }
.before-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-labels { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 30px 18px 14px; background: linear-gradient(transparent,rgba(11,8,9,.8)); color: white; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.featured-copy .eyebrow { color: var(--pink-deep); }
.featured-copy h2 { margin-bottom: 22px; font-size: clamp(40px,4.5vw,62px); line-height: 1.04; }
.featured-copy h2 em { color: var(--pink-deep); }
.featured-copy > p:not(.eyebrow) { max-width: 410px; margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.quote { max-width: 500px; margin: 35px 0 0; padding: 24px 0 0; border-top: 1px solid #0b08091e; }
.quote p { margin: 0 0 14px; font: italic 18px/1.6 var(--serif); }
.quote footer { color: var(--pink-deep); font-size: 9px; font-weight: 700; letter-spacing: .17em; }

.final-cta { position: relative; overflow: hidden; padding: 100px 24px 105px; background: var(--black); text-align: center; }
.final-cta::before { content: ""; position: absolute; width: min(75vw,520px); aspect-ratio: 1; border: 1px solid #d89aa825; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 55px #d89aa80a,0 0 0 110px #d89aa805; pointer-events: none; }
.final-cta > * { position: relative; }
.final-cta .eyebrow { justify-content: center; color: #e7c6ce; }
.final-cta h2 { margin: 0 0 20px; font-size: clamp(48px,7vw,84px); line-height: 1; }
.final-cta > p:not(.eyebrow) { margin: 0 0 27px; color: #cdbfc3; font-size: 12px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px var(--page-pad); background: #070506; border-top: 1px solid #ffffff18; }
.footer-tagline { color: #c2b1b6; font: italic 12px var(--serif); text-align: center; }
.back-top { color: var(--pink); font-size: 23px; }
.floating-wa { position: fixed; z-index: 20; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--pink); color: var(--black); box-shadow: 0 8px 30px #0004; font-size: 10px; font-weight: 700; transition: transform .2s ease,background .2s ease; }
.floating-wa:hover { transform: translateY(-3px); background: var(--cream); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; gap: 18px; padding: 55px 5vw; background: rgba(5,3,4,.96); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(82vw,1200px); max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; border: 1px solid #ffffff50; background: #ffffff12; color: white; cursor: pointer; }
.lightbox-close { top: 16px; right: 20px; width: 42px; height: 42px; font-size: 29px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 44px; height: 54px; font-size: 30px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (min-width: 1500px) {
  .hero, .results-section, .treatments-section, .video-section, .studio-section, .featured-result { padding-left: max(var(--page-pad), calc((100vw - 1320px)/2)); padding-right: max(var(--page-pad), calc((100vw - 1320px)/2)); }
}
@media (max-width: 1000px) {
  :root { --page-pad: 42px; }
  .hero { gap: 28px; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(45px,6.2vw,66px); }
  .hero-images { height: 410px; }
  .gallery { grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 200px; }
  .studio-section { gap: 35px; }
  .featured-result { gap: 35px; }
}
@media (max-width: 700px) {
  :root { --page-pad: 21px; }
  html { scroll-padding-top: 68px; }
  .site-header { height: 68px; }
  .monogram { font-size: 30px; }
  .brand-name { font-size: 9px; }
  .brand-name small { font-size: 7px; }
  .header-cta { padding: 10px 11px; gap: 8px; font-size: 9px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding-top: 63px; padding-bottom: 78px; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg,rgba(11,8,9,.91),rgba(11,8,9,.65)),linear-gradient(0deg,rgba(11,8,9,.85),transparent 70%); }
  .hero h1 { max-width: 570px; font-size: clamp(44px,11.5vw,66px); }
  .hero-translation { margin: 20px 0 25px; }
  .hero-images { width: min(100%,490px); height: clamp(330px,92vw,450px); justify-self: center; }
  .hero-main { right: 8%; width: 72%; }
  .hero-detail-one { width: 39%; height: 29%; }
  .hero-detail-two { width: 38%; height: 29%; }
  .hero-seal { width: 76px; font-size: 8px; }
  .scroll-cue { bottom: 23px; }
  .results-section { padding-top: 65px; padding-bottom: 65px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading .eyebrow { margin-bottom: 15px; }
  .section-heading h2 { font-size: clamp(39px,10vw,54px); }
  .section-intro { margin-top: 17px; max-width: 420px; font-size: 11px; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: clamp(150px,45vw,230px); gap: 7px; }
  .gallery-item.tall { grid-row: span 2; }
  .gallery-item.wide { grid-column: span 2; }
  .image-open { width: 29px; height: 29px; opacity: 1; }
  .treatments-section { padding-top: 60px; padding-bottom: 63px; }
  .treatment-heading { display: block; }
  .treatment-heading h2 { font-size: clamp(38px,9.5vw,52px); }
  .text-cta { margin-top: 23px; }
  .treatment-tags { margin-top: 25px; gap: 7px; }
  .treatment-tags span { padding: 9px 11px; font-size: 9px; }
  .video-section { padding-top: 68px; padding-bottom: 72px; }
  .video-heading { display: block; margin-bottom: 28px; }
  .video-heading h2 { font-size: clamp(38px,9.8vw,52px); }
  .video-heading > p { margin-top: 18px; font-size: 11px; }
  .video-grid { grid-template-columns: 1fr; gap: 28px; }
  .video-card video { aspect-ratio: 16/10; }
  .studio-section { grid-template-columns: 1fr; gap: 28px; padding-top: 68px; padding-bottom: 68px; }
  .studio-feature { height: min(115vw,480px); }
  .studio-copy h2 { font-size: clamp(43px,10vw,58px); }
  .studio-gallery { grid-column: auto; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 0; }
  .studio-gallery img { height: clamp(145px,39vw,205px); }
  .studio-gallery img:first-child { grid-column: 1/-1; height: clamp(190px,58vw,280px); }
  .featured-result { grid-template-columns: 1fr; gap: 30px; padding-top: 68px; padding-bottom: 70px; }
  .before-after { aspect-ratio: 4/3; }
  .featured-copy h2 { font-size: clamp(40px,10vw,54px); }
  .quote { margin-top: 30px; }
  .final-cta { padding: 75px 21px 82px; }
  .final-cta h2 { font-size: clamp(47px,12vw,65px); }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
  .footer-tagline { order: 3; width: 100%; text-align: left; font-size: 11px; }
  .back-top { margin-left: auto; }
  .floating-wa { right: 11px; bottom: 11px; padding: 11px 13px; }
  .lightbox { gap: 0; padding: 45px 10px; }
  .lightbox img { max-width: 94vw; max-height: 78vh; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 370px) {
  .brand { gap: 7px; }
  .brand-name { letter-spacing: .1em; }
  .header-cta { padding: 9px 8px; }
  .hero h1 { font-size: 42px; }
  .gallery { grid-auto-rows: 145px; }
}
@media (hover: none) {
  .image-open { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* =========================================
   TESTIMONIO EN VIDEO VERTICAL
   EDNA FLOREZ SMILE
========================================= */

.testimonial-video {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 9vw, 135px);
  background: #0b0809;
  color: #fff8f8;
}

.testimonial-video__intro {
  width: 100%;
  max-width: 520px;
}

.testimonial-video__eyebrow {
  margin: 0 0 22px;
  color: #d9a9b7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.testimonial-video__intro h2 {
  margin: 0 0 24px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.testimonial-video__intro h2 span {
  color: #d9a9b7;
  font-style: italic;
}

.testimonial-video__description {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 248, 248, 0.72);
  font-size: 15px;
  line-height: 1.9;
}

.testimonial-video__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.testimonial-video__frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(217, 169, 183, 0.45);
  border-radius: 220px 220px 12px 12px;
  background: #21191c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.testimonial-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0809;
}

.testimonial-video__caption {
  width: 100%;
  max-width: 420px;
  padding-top: 24px;
}

.testimonial-video__line {
  display: block;
  width: 42px;
  height: 1px;
  margin-bottom: 16px;
  background: #d9a9b7;
}

.testimonial-video__caption p {
  margin: 0 0 12px;
  color: #fff8f8;
  font-family: var(--serif, Georgia, serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-video__signature {
  color: #d9a9b7;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

/* TABLET */
@media (max-width: 850px) {
  .testimonial-video {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
    gap: 32px;
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .testimonial-video__frame {
    max-width: 360px;
  }
}

/* MÓVIL */
@media (max-width: 620px) {
  .testimonial-video {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 64px 22px;
  }

  .testimonial-video__intro {
    max-width: 100%;
  }

  .testimonial-video__intro h2 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .testimonial-video__description {
    font-size: 14px;
  }

  .testimonial-video__content {
    width: 100%;
  }

  .testimonial-video__frame {
    width: min(100%, 380px);
    max-width: 380px;
  }

  .testimonial-video__caption {
    width: min(100%, 380px);
  }
}
