/* DENTAL CORTES | Estilos principales */
:root {
  --navy: #173e68;
  --navy-deep: #12335a;
  --blue: #315783;
  --sky: #60b4e8;
  --sky-soft: #a6d7f1;
  --cream: #dfc7a0;
  --ice: #f2f9fc;
  --white: #fff;
  --ink: #1c4268;
  --body: #5d7184;
  --radius: 26px;
  --font-main: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-secondary: 'DM Sans', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: var(--font-main); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #60b4e8; outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { color: #fff; background: var(--navy); }
.container { width: min(100% - 100px, 1210px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 20px; color: #fff; background: var(--navy); padding: 13px 17px; border-radius: 7px; }
.skip-link:focus { top: 16px; }
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; z-index: 100; }
.scroll-progress > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(38, 85, 124, .075); transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(26, 58, 90, .065); }
.header-inner { height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; width: 211px; min-width: 190px; justify-content: flex-start; align-items: center; }
.brand img { width: 196px; height: auto; }
.nav { display: flex; align-items: center; gap: 37px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 700; color: #59718b; font-size: 12px; letter-spacing: .035em; padding: 25px 0; transition: color .25s; }
.nav-link span { font-family: var(--font-secondary); color: #97bad3; font-size: 10px; font-weight: 700; }
.nav-link::after { content: ''; position: absolute; bottom: 18px; left: 0; width: 0; height: 1px; background: var(--sky); transition: width .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-feature { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 12px 18px 12px 20px; border: 1px solid #c4dcea; border-radius: 100px; color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .035em; transition: background .3s, border-color .3s, transform .3s; }
.nav-feature:hover { background: var(--ice); border-color: var(--sky); transform: translateY(-2px); }
.nav-feature svg { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 13px 11px; border: 1px solid #d5e9f3; background: #fff; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--navy); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.hero { position: relative; min-height: min(770px, calc(100svh - 91px)); isolation: isolate; overflow: hidden; background: linear-gradient(118deg, #fff 0%, #fbfefe 46%, #eaf6fc 100%); }
.hero-gradient { position: absolute; z-index: -2; pointer-events: none; border-radius: 50%; }
.hero-gradient-one { width: 500px; height: 500px; right: -210px; top: -240px; background: radial-gradient(circle, rgba(192,226,244,.55) 0%, transparent 70%); }
.hero-gradient-two { width: 620px; height: 620px; left: -415px; bottom: -480px; background: radial-gradient(circle, rgba(218,241,250,.8) 0%, transparent 70%); }
.hero-outline { position: absolute; width: 730px; height: 730px; top: -420px; right: -230px; border: 1px solid rgba(105,177,223,.16); border-radius: 50%; z-index: -1; }
.hero-grid { min-height: min(690px, calc(100svh - 171px)); display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(28px, 4vw, 74px); align-items: center; }
.hero-copy { z-index: 2; padding: 44px 0 25px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 800; letter-spacing: .28em; font-size: 11px; }
.eyebrow-line { flex: 0 0 27px; width: 27px; height: 1px; background: var(--sky); }
.hero-copy h1 { margin: 28px 0 31px; color: var(--navy-deep); font-weight: 600; letter-spacing: -.07em; font-size: clamp(61px, 6.25vw, 100px); line-height: 1.09; }
.hero-copy h1 em { position: relative; color: var(--sky); font-weight: 500; font-style: normal; }
.hero-copy h1 em::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 1%; height: 12px; border-bottom: 2px solid var(--cream); border-radius: 0 0 50% 50%; transform: rotate(-3deg); }
.hero-last { white-space: nowrap; }
.hero-period { color: var(--cream); }
.hero-underheading { display: flex; align-items: center; gap: 20px; color: #71899b; }
.hero-underheading .micro-line { height: 1px; width: 38px; background: #d4c49f; }
.hero-underheading p { font-size: 10px; letter-spacing: .26em; font-weight: 800; }
.hero-cta { margin-top: 47px; display: inline-flex; align-items: center; gap: 16px; font-size: 12px; color: var(--navy); font-weight: 800; letter-spacing: .035em; }
.cta-icon { width: 57px; height: 57px; display: inline-grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); box-shadow: 0 13px 30px rgba(24, 67, 111, .16); transition: background .25s, transform .25s; }
.cta-icon svg { width: 21px; height: 21px; }
.hero-cta:hover .cta-icon { background: #4a9dcf; transform: translateX(5px); }
.hero-art { position: relative; width: min(100%, 544px); height: clamp(445px, 43vw, 570px); margin: 42px 0 35px auto; }
.hero-photo-frame { position: absolute; inset: 17px 21px 18px 41px; border-radius: 240px 240px 35px 35px; padding: 8px; background: linear-gradient(145deg, #d6e9f4, #fdfdfd 57%, #dec9a3); box-shadow: 0 24px 62px rgba(33, 74, 106, .18); overflow: hidden; }
.hero-photo { width: 100%; height: 100%; border-radius: 230px 230px 29px 29px; object-fit: cover; object-position: center 49%; filter: saturate(.82) contrast(1.03) brightness(1.045); }
.hero-photo-outline { position: absolute; inset: 0 0 32px 29px; border: 1px solid rgba(129,186,221,.65); border-radius: 260px 260px 33px 33px; transform: rotate(5deg); }
.hero-orbit { position: absolute; z-index: -1; height: 440px; width: 440px; right: -145px; top: 60px; border: 1px solid #b9dfef; border-radius: 50%; }
.hero-accent-disk { position: absolute; z-index: 3; top: 14%; left: -26px; width: 105px; height: 105px; border-radius: 50%; display: grid; place-items: center; color: #aacadf; background: rgba(255,255,255,.9); border: 1px solid #d6e8f1; box-shadow: 0 12px 30px rgba(28,70,102,.07); }
.hero-accent-disk svg { width: 60%; height: 60%; }
.hero-image-label { position: absolute; left: 4px; bottom: 44px; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.96); border: 1px solid rgba(139,187,219,.34); border-radius: 10px; padding: 19px 20px; box-shadow: 0 8px 26px rgba(29,70,109,.12); color: var(--navy); font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.hero-image-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.image-label-index { color: #9db2c2; margin-left: 13px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.hero-scroll-hint { display: flex; align-items: center; gap: 13px; color: #88a0b2; font-size: 9px; font-weight: 800; letter-spacing: .22em; }
.hint-stem { display: block; height: 1px; width: 53px; background: #b4d9ea; }
.hero-bottom-mark { font-size: 10px; letter-spacing: .15em; color: #94aabb; font-weight: 700; }
.hero-bottom-mark span { padding: 0 9px; color: var(--cream); }

.signature { background: #eaf5fb; border-top: 1px solid #e4f0f6; border-bottom: 1px solid #e4f0f6; }
.signature-inner { min-height: 104px; display: flex; justify-content: center; align-items: center; gap: clamp(28px,5vw,70px); }
.signature-inner p { text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .23em; color: var(--blue); }
.signature-dot { display: inline-block; margin: 0 17px 3px; width: 4px; height: 4px; border-radius: 50%; background: #c9b18b; vertical-align: middle; }
.signature-spark { display: flex; align-items: center; gap: 6px; transform: rotate(-20deg); }
.signature-spark span { height: 1px; width: 13px; background: #b6d8eb; }
.signature-spark span:nth-child(2), .signature-spark span:nth-child(3) { width: 5px; }
.signature-spark-right { transform: rotate(160deg); }

.gallery-section { position: relative; isolation: isolate; overflow: hidden; background: #153d66; color: #fff; padding: 115px 0 98px; }
.gallery-section::before { content: ''; position: absolute; top: -520px; left: -300px; height: 950px; width: 950px; border: 1px solid rgba(187,216,236,.09); border-radius: 50%; z-index: -1; }
.gallery-section::after { content: ''; position: absolute; right: -470px; bottom: -530px; width: 1100px; height: 1100px; border-radius: 50%; border: 1px solid rgba(217,239,251,.11); z-index: -1; }
.gallery-ambient { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.gallery-ambient-a { top: -190px; right: -120px; width: 620px; height: 600px; background: radial-gradient(circle, rgba(88,142,185,.13), transparent 67%); }
.gallery-ambient-b { bottom: 30px; left: -280px; width: 600px; height: 500px; background: radial-gradient(circle, rgba(58,114,161,.13), transparent 75%); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 45px; }
.eyebrow-light { color: #c7dfeb; }
.eyebrow-light .eyebrow-line { background: var(--cream); }
.gallery-head h2 { margin: 23px 0 0; color: #fff; font-size: clamp(43px, 5.4vw, 70px); line-height: 1.13; letter-spacing: -.062em; font-weight: 600; }
.gallery-head h2 span { color: #8eccea; }
.gallery-heading-aside { display: flex; align-items: center; gap: 13px; padding: 0 0 10px; color: #9dc4db; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.decorative-divider { width: 67px; height: 1px; background: rgba(190,222,239,.4); }
.gallery-grid { display: grid; grid-template-columns: 1.14fr .86fr; grid-template-rows: auto auto; gap: 30px 38px; align-items: start; }
.gallery-item { padding: 0; display: block; text-align: left; border: 0; outline-offset: 5px; background: none; color: #fff; cursor: zoom-in; min-width: 0; }
.gallery-photo-wrap { display: block; position: relative; overflow: hidden; width: 100%; border: 1px solid rgba(221, 202, 164, .65); border-radius: 27px; padding: 7px; background: rgba(255,255,255,.065); box-shadow: 0 22px 46px rgba(3, 25, 52, .18); }
.gallery-photo-wrap::after { content: ''; position: absolute; z-index: 2; inset: 7px; border-radius: 21px; border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 0 34px rgba(230,245,251,.19), inset 0 0 20px rgba(14,50,84,.12); pointer-events: none; }
.gallery-photo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 21px; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .5s; }
.smile-photo-wrap { aspect-ratio: 1.55 / 1; }
.smile-photo-wrap img { object-position: center; }
.clinic-photo-wrap { aspect-ratio: .96 / 1; }
.clinic-photo-wrap img { object-position: 50% 52%; filter: brightness(1.03) saturate(.88); }
.gallery-item:hover .gallery-photo-wrap img, .gallery-item:focus-visible .gallery-photo-wrap img { transform: scale(1.055); }
.gallery-image-overlay { position: absolute; inset: 8px; border-radius: 20px; background: linear-gradient(160deg, transparent 68%, rgba(10,38,70,.16) 100%); pointer-events: none; }
.zoom-icon { position: absolute; z-index: 3; right: 24px; bottom: 24px; display: grid; place-items: center; height: 46px; width: 46px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(15,56,95,.65); color: white; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.zoom-icon svg { width: 18px; height: 18px; }
.gallery-item:hover .zoom-icon { background: var(--sky); transform: scale(1.07); }
.gallery-caption { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.caption-number { color: #9fc9df; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.gallery-caption svg { width: 17px; height: 17px; margin-left: auto; opacity: .65; }
.gallery-item-smile { grid-column: 1; grid-row: 1; }
.gallery-item-clinic { grid-column: 2; grid-row: 1 / 3; }
.gallery-quote { grid-column: 1; grid-row: 2; align-self: stretch; min-height: 185px; padding: 27px 0 0 9px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; font-size: clamp(22px, 2.9vw, 34px); font-weight: 500; line-height: 1.28; letter-spacing: .12em; color: #c7e5f2; }
.quote-accent { height: 1px; width: 62px; background: var(--cream); }
.quote-period { color: var(--cream); }
.quote-signature { font-size: 10px; letter-spacing: .24em; color: #8eb7ce; font-weight: 800; }
.gallery-end { display: flex; align-items: center; gap: 30px; justify-content: center; margin-top: 86px; }
.gallery-end p { margin: 0; color: #a9cce0; font-size: 9px; letter-spacing: .3em; font-weight: 800; }
.end-line { height: 1px; width: 90px; background: rgba(164,208,231,.25); }

.closing { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(140deg,#fff 16%, #edf8fc 100%); min-height: 430px; display: grid; align-items: center; }
.closing-shape { position: absolute; z-index: -1; border: 1px solid rgba(77,155,209,.16); border-radius: 50%; pointer-events: none; }
.closing-shape-a { width: 600px; height: 600px; left: -350px; bottom: -400px; }
.closing-shape-b { width: 500px; height: 500px; top: -390px; right: -180px; }
.closing-inner { padding: 72px 0 65px; display: flex; align-items: center; flex-direction: column; text-align: center; }
.closing-topline { display: flex; align-items: center; gap: 13px; margin-bottom: 31px; }
.closing-topline span { height: 1px; width: 54px; background: #d4c39b; }
.closing-topline i { display: block; height: 7px; width: 7px; transform: rotate(45deg); border: 1px solid #c7a875; }
.closing-brand-frame { display: grid; place-items: center; padding: 12px 18px; background: #fff; border-radius: 15px; box-shadow: 0 15px 46px rgba(51,110,150,.06); }
.closing-brand-frame img { width: 255px; height: auto; }
.closing-inner > p { font-size: 11px; color: #6f91aa; letter-spacing: .28em; margin: 26px 0 35px; font-weight: 800; }
.back-to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 12px; font-weight: 800; padding: 10px; border-bottom: 1px solid #a8c9df; }
.back-to-top svg { width: 15px; height: 15px; transition: transform .25s; }
.back-to-top:hover svg { transform: translateY(-5px); }
.site-footer { background: #fff; border-top: 1px solid #eaf2f7; }
.footer-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #7893a7; font-size: 9px; letter-spacing: .16em; font-weight: 800; }

.lightbox { width: 100vw; height: 100dvh; max-height: 100dvh; max-width: 100vw; border: none; padding: 0; background: rgba(8, 24, 42, .97); color: #fff; overflow: auto; }
.lightbox::backdrop { background: rgba(8, 24, 42, .9); backdrop-filter: blur(12px); }
.lightbox[open] { animation: lightbox-appear .25s ease-out; }
.lightbox-content { width: min(100% - 44px, 1050px); min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 90px; }
.lightbox-name { font-size: 10px; letter-spacing: .25em; font-weight: 800; color: #c8dde9; }
.lightbox-close { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.09); color: white; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.21); }
.lightbox-close svg { width: 19px; height: 19px; }
.lightbox figure { flex: 1; margin: 0 0 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; }
.lightbox figure img { max-width: 100%; max-height: calc(100dvh - 185px); width: auto; height: auto; object-fit: contain; border-radius: 12px; border: 1px solid rgba(225,205,167,.55); box-shadow: 0 24px 50px rgba(0,0,0,.15); }
.lightbox figcaption { font-size: 12px; color: #d4e2ea; font-weight: 600; letter-spacing: .04em; }
@keyframes lightbox-appear { from { opacity: 0; } to { opacity: 1; } }
html.js .reveal { opacity: 0; transform: translateY(23px); transition: opacity .7s ease, transform .7s cubic-bezier(.18,.7,.2,1); transition-delay: var(--reveal-delay, 0s); }
html.js .reveal.in-view { opacity: 1; transform: translateY(0); }

@media (min-width: 1500px) { .hero { min-height: 760px; } .hero-grid { min-height: 684px; } }
@media (max-width: 1100px) {
  .container { width: min(100% - 68px, 1210px); }
  .hero-copy h1 { font-size: clamp(58px, 6.25vw, 78px); }
  .hero-photo-frame { inset: 16px 8px 17px 25px; }
  .hero-art { height: 505px; }
  .hero-accent-disk { left: -25px; width: 79px; height: 79px; }
  .gallery-section { padding: 97px 0 80px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 79px; }
  .container { width: min(100% - 42px, 570px); }
  .header-inner { height: 77px; }
  .brand { min-width: 0; width: 185px; }
  .brand img { width: 177px; }
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 11px 21px 22px; border-bottom: 1px solid #dcebf2; background: rgba(255,255,255,.99); box-shadow: 0 18px 30px rgba(25,65,104,.1); }
  .nav.is-open { display: flex; }
  .nav-link { padding: 17px 10px; border-bottom: 1px solid #edf4f8; }
  .nav-link::after { display: none; }
  .nav-feature { align-self: flex-start; margin-top: 18px; }
  .hero { min-height: initial; }
  .hero-grid { min-height: initial; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .hero-copy { padding: 68px 0 15px; }
  .eyebrow { font-size: 10px; }
  .hero-copy h1 { margin: 23px 0 23px; font-size: clamp(57px, 13vw, 82px); line-height: 1.1; }
  .hero-underheading p { font-size: 9px; }
  .hero-cta { margin-top: 31px; }
  .cta-icon { width: 50px; height: 50px; }
  .hero-art { width: min(100% - 12px, 495px); margin: 31px auto 10px; height: clamp(390px, 104vw, 550px); }
  .hero-photo-frame { inset: 16px 12px 19px 21px; }
  .hero-photo-outline { inset: 0 0 28px 20px; }
  .hero-accent-disk { left: -20px; width: 75px; height: 75px; }
  .hero-image-label { bottom: 44px; left: 0; padding: 15px 15px; font-size: 9px; }
  .hero-bottom { height: 72px; }
  .hero-scroll-hint { font-size: 8px; }
  .hint-stem { width: 27px; }
  .signature-inner { min-height: 90px; gap: 14px; }
  .signature-inner p { line-height: 2.2; font-size: 8px; letter-spacing: .16em; }
  .signature-dot { margin: 0 7px 2px; }
  .signature-spark { display: none; }
  .gallery-section { padding: 76px 0 70px; }
  .gallery-head h2 { font-size: clamp(43px, 8.5vw, 60px); }
  .gallery-head { margin-bottom: 33px; }
  .gallery-heading-aside { display: none; }
  .gallery-grid { display: flex; flex-direction: column; gap: 34px; }
  .gallery-item, .gallery-quote { width: 100%; }
  .gallery-item-clinic { margin-top: 4px; }
  .gallery-quote { padding: 13px 0 0 2px; min-height: 145px; gap: 18px; }
  .gallery-photo-wrap { border-radius: 23px; }
  .gallery-photo-wrap img, .gallery-photo-wrap::after { border-radius: 17px; }
  .clinic-photo-wrap { aspect-ratio: 1.09 / 1; }
  .gallery-end { margin-top: 68px; }
  .end-line { width: 53px; }
  .closing { min-height: 375px; }
  .closing-inner { padding: 70px 0 54px; }
  .closing-brand-frame img { width: 225px; }
}
@media (max-width: 390px) {
  .container { width: min(100% - 34px, 570px); }
  .hero-copy h1 { font-size: 54px; }
  .hero-image-label { padding: 12px; }
  .image-label-index { margin-left: 0; }
  .hero-art { height: 380px; }
  .hero-underheading .micro-line { width: 26px; }
  .hero-underheading { gap: 12px; }
  .signature-inner p { font-size: 7px; }
  .gallery-head h2 { font-size: 43px; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 9px; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
