:root {
  --navy: #082d39;
  --navy-deep: #031f29;
  --aqua: #51d0cf;
  --aqua-light: #bff4f0;
  --mint: #e8f8f5;
  --ice: #f5fbfa;
  --white: #fff;
  --ink: #0a2630;
  --muted: #52676d;
  --line: rgba(8,45,57,.13);
  --shadow: 0 24px 70px rgba(6,40,50,.13);
  --radius: 28px;
  --section-space: clamp(3.25rem, 4.2vw, 4rem);
  --content-gap: clamp(2.5rem, 4.5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: var(--navy); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1160px, calc(100% - clamp(32px, 5vw, 64px))); margin: 0 auto; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; padding: 12px clamp(14px, 2vw, 24px); transition: .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.93); box-shadow: 0 10px 30px rgba(8,45,57,.08); backdrop-filter: blur(18px); }
.nav-wrap { width: min(1320px, 100%); margin: auto; min-height: 66px; display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); padding: 8px 10px 8px 18px; border: 1px solid rgba(8,45,57,.1); border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: 0 12px 40px rgba(8,45,57,.07); backdrop-filter: blur(15px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-wordmark { color: #2aafb3; font: 700 1.55rem/1 "Poppins", sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(9px, 1vw, 16px); margin-left: auto; }
.main-nav a { position: relative; flex: 0 0 auto; color: #354f57; font-size: .74rem; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--aqua); transition: right .2s; }
.main-nav a:hover::after { right: 0; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; padding: 14px 17px; border-radius: 12px; background: var(--navy); color: white; font-size: .78rem; font-weight: 700; text-align: center; }
.nav-cta span { color: var(--aqua); }
.menu-toggle { display: none; margin-left: auto; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--navy); }

.hero { position: relative; min-height: clamp(590px, 76vh, 640px); padding: 96px 0 0; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(32px, 4vw, 56px); }
.kicker { margin: 0 0 20px; color: #118f92; font: 700 .75rem/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .18em; }
.hero h1, h2 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.025em; word-spacing: .08em; }
.hero h1 { max-width: 680px; font-size: clamp(3.35rem, 5.15vw, 5.35rem); font-weight: 700; line-height: 1.04; }
.hero h1 span { display: block; color: var(--aqua); }
.lead { max-width: 570px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 21px; border: 1px solid transparent; border-radius: 13px; font: 700 .82rem/1 "Manrope", sans-serif; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 16px 32px rgba(8,45,57,.18); }
.button-primary:hover { background: #0b3e4d; box-shadow: 0 20px 35px rgba(8,45,57,.24); }
.whatsapp-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: currentColor; }
.whatsapp-cta::before { content: ""; width: 1.25em; height: 1.25em; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.009-.371-.01-.57-.01-.198%200-.52.075-.792.372-.273.297-1.04%201.016-1.04%202.479s1.065%202.875%201.213%203.074c.149.198%202.095%203.2%205.076%204.487.709.306%201.262.489%201.693.625.712.227%201.36.195%201.871.118.57-.085%201.758-.719%202.006-1.413.248-.694.248-1.29.173-1.414-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%200%201-5.031-1.378l-.361-.214-3.741.981.999-3.648-.235-.374a9.86%209.86%200%200%201-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%200%201%202.895%206.993c-.002%205.45-4.437%209.884-9.888%209.884m8.413-18.297A11.815%2011.815%200%200%200%2012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.14%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%200%200%205.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893A11.821%2011.821%200%200%200%2020.464%203.486z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.009-.371-.01-.57-.01-.198%200-.52.075-.792.372-.273.297-1.04%201.016-1.04%202.479s1.065%202.875%201.213%203.074c.149.198%202.095%203.2%205.076%204.487.709.306%201.262.489%201.693.625.712.227%201.36.195%201.871.118.57-.085%201.758-.719%202.006-1.413.248-.694.248-1.29.173-1.414-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%200%201-5.031-1.378l-.361-.214-3.741.981.999-3.648-.235-.374a9.86%209.86%200%200%201-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%200%201%202.895%206.993c-.002%205.45-4.437%209.884-9.888%209.884m8.413-18.297A11.815%2011.815%200%200%200%2012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.14%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%200%200%205.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893A11.821%2011.821%200%200%200%2020.464%203.486z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nav-cta.whatsapp-cta::before, .button-primary.whatsapp-cta::before { color: var(--aqua); }
.text-link.whatsapp-cta::before { color: var(--navy); }
.button-primary .whatsapp { color: var(--aqua); }
.button-ghost { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,.8); }
.hero-meta { position: absolute; z-index: 4; top: 122px; left: calc(50% + 18px); display: grid; gap: 7px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin: 0; }
.hero-proof strong { color: var(--navy); font: 800 2.3rem/1 "Manrope", sans-serif; letter-spacing: -.08em; }
.hero-proof sup { color: var(--aqua); font-size: .5em; }
.hero-proof span { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 600; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.hero-location { max-width: 260px; margin: 0; font-size: .68rem; line-height: 1.45; letter-spacing: .14em; }
.hero-visual { position: relative; min-height: 0; align-self: end; display: flex; align-items: flex-end; overflow: visible; isolation: isolate; }
.hero-visual img { position: static; z-index: 2; flex: 0 0 118%; width: 118%; height: auto; max-width: none; margin-left: -9%; object-fit: contain; object-position: center bottom; transform: none; filter: saturate(.92); }

.services { padding: var(--section-space) 0; background: var(--navy); color: white; }
.section-heading { margin-bottom: clamp(28px, 3vw, 38px); }
.section-heading h2, .feature-copy h2, .location-copy h2, .doctor-copy h2 { font-size: clamp(2.85rem, 4.65vw, 4.75rem); font-weight: 650; line-height: 1.06; text-transform: uppercase; }
.section-heading-light .kicker { color: var(--aqua); }
.section-heading-light { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.section-heading-light .kicker { grid-column: 1 / -1; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.service-card { position: relative; min-height: 250px; display: flex; align-items: flex-end; padding: 25px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); background: #07313d; color: white; transition: background .25s, color .25s; overflow: hidden; isolation: isolate; }
.service-card::before { content: ""; position: absolute; z-index: 0; width: 230px; height: 230px; right: -115px; top: -115px; border: 0; border-radius: 50%; background: rgba(1,22,29,.52); transform-origin: center; transition: transform .35s ease, background .35s ease; }
.service-card::after { content: none; }
.service-card:hover { background: #07313d; color: white; }
.service-card:hover::before { background: rgba(1,18,24,.62); transform: scale(1.05); }
.service-image { position: absolute; z-index: 2; right: -5%; bottom: -2%; width: 92%; height: 106%; max-width: none; object-fit: contain; object-position: right bottom; opacity: .94; filter: saturate(.9) contrast(.98); transform: scale(1.01); transform-origin: right bottom; transition: transform .35s ease, opacity .35s ease, filter .35s ease; }
.service-card:first-child .service-image { right: -2%; bottom: 3%; width: 88%; height: 94%; }
.service-card:hover .service-image { opacity: 1; filter: saturate(1) contrast(1); transform: scale(1.055); }
.service-card h3 { position: relative; z-index: 4; max-width: 72%; margin: 0; padding: 10px 14px 10px 0; font: 600 clamp(1.45rem, 2.2vw, 2rem)/1.08 "Manrope", sans-serif; letter-spacing: -.015em; word-spacing: .05em; text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 8px 24px rgba(0,0,0,.55); }

.doctor { padding: var(--section-space) 0 0; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: var(--content-gap); }
.doctor-portrait { position: relative; height: clamp(440px, 44vw, 515px); min-height: 0; overflow: visible; }
.portrait-shape { position: absolute; inset: 12% 7% 0; border-radius: 0 150px 0 0; background: var(--mint); }
.doctor-portrait::before { content: ""; position: absolute; top: 18%; left: 1%; width: 100px; height: 100px; border: 1px solid var(--aqua); border-radius: 50%; }
.doctor-portrait img { position: absolute; z-index: 2; left: 50%; bottom: 0; width: min(96%, 490px); height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); }
.portrait-label { position: absolute; z-index: 3; right: 8px; bottom: 42px; padding: 14px 18px; background: var(--navy); color: white; border-radius: 12px; font: 700 .72rem/1 "Manrope", sans-serif; letter-spacing: .14em; }
.doctor-copy p:not(.kicker), .feature-copy p, .location-copy p { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.05rem); line-height: 1.78; }
.text-link { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; padding: 0 22px; border: 0; border-radius: 13px; background: var(--aqua); color: var(--navy); box-shadow: 0 15px 32px rgba(22,154,158,.24); font: 750 .86rem/1 "Manrope", sans-serif; text-align: center; transition: transform .2s, box-shadow .2s, background .2s; }
.text-link:hover { transform: translateY(-3px); background: #69dcda; box-shadow: 0 19px 36px rgba(22,154,158,.3); }

.feature-section { padding: var(--section-space) 0; }
.clinic-section { background: var(--ice); }
.technology-section { background: white; }
.feature-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: var(--content-gap); }
.feature-reverse { grid-template-columns: 1.15fr .85fr; }
.feature-copy .button { margin-top: 34px; }
.image-pair { position: relative; min-height: clamp(455px, 42vw, 520px); display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(14px, 1.6vw, 20px); }
.image-card { margin: 0; height: clamp(405px, 38vw, 465px); overflow: hidden; border-radius: 100px 0 0 0; box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-offset { margin-top: 55px; border-radius: 0 0 100px 0; }

.location { padding: var(--section-space) 0; background: var(--navy-deep); color: white; }
.location-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: var(--content-gap); }
.location-copy .kicker { color: var(--aqua); }
.location-copy p { color: #b8c9ce; }
.location-copy address { margin-top: 28px; color: white; font-style: normal; font-weight: 600; line-height: 1.7; }
.button-light { margin-top: 35px; background: var(--aqua); color: var(--navy); }
.location-images { position: relative; min-height: clamp(455px, 42vw, 520px); }
.location-images img { position: absolute; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.building { inset: 0 auto 0 0; width: 65%; height: 100%; border-radius: 120px 0 0 0; }
.neighborhood { width: 46%; height: 58%; right: 0; bottom: -25px; border: 10px solid var(--navy-deep); border-radius: 0 0 100px 0; }
.map-pin { position: absolute; top: 20%; right: 27%; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50% 50% 50% 5px; background: var(--aqua); transform: rotate(-45deg); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.map-pin span { width: 18px; height: 18px; border: 4px solid var(--navy); border-radius: 50%; }

.testimonials { padding: var(--section-space) 0; }
.testimonials > .section-heading { text-align: center; }
.testimonials > .section-heading .kicker { margin-bottom: 16px; }
.stars { margin-top: 18px; color: #e0b53d; letter-spacing: .13em; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial { min-height: 215px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--ice); }
.testimonial.featured { grid-row: span 2; padding: 30px; background: var(--navy); color: white; }
.quote-mark { height: 50px; color: var(--aqua); font: 700 5rem/1 sans-serif; }
.testimonial p { margin: 14px 0 22px; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.testimonial.featured p { color: #d5e3e6; font-size: 1.2rem; }
.testimonial footer { display: flex; align-items: center; gap: 14px; }
.testimonial footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial footer span { display: grid; gap: 4px; }
.testimonial footer strong { font-size: .9rem; }
.testimonial footer small { color: #85969b; }
.stars.small { margin: 0; font-size: .75rem; }
.testimonial-cta { display: flex; justify-content: center; margin-top: 28px; }

.site-footer { padding: 28px 0 16px; background: #021820; color: white; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 8px 44px; align-items: center; padding-bottom: 18px; }
.brand-footer { grid-row: span 2; }
.brand-footer .brand-wordmark { color: var(--aqua); }
.footer-top p { margin: 0; color: #9bb0b6; text-align: right; font-size: .85rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 0; border-top: 0; color: #7f969d; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom > a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--aqua); }
.floating-whatsapp { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: 58px; height: 58px; display: grid; place-items: center; border: 4px solid white; border-radius: 50%; background: #20b75a; color: white; box-shadow: 0 12px 30px rgba(7,65,34,.3); font-size: 1.4rem; transition: transform .2s, box-shadow .2s; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(7,65,34,.36); }
.floating-whatsapp .whatsapp-icon { width: 27px; height: 27px; }

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

@media (max-width: 1180px) {
  .hero { min-height: 590px; }
  .hero-visual { min-height: 0; }
  .feature-grid, .feature-reverse, .location-grid { gap: 52px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 78px; left: 12px; right: 12px; display: none; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a, .main-nav a:nth-child(n) { min-height: 48px; display: flex; align-items: center; padding: 0 14px; font-size: 1rem; line-height: 1.35; }
}

@media (max-width: 1020px) and (min-width: 821px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section-shell { width: min(100% - 32px, 680px); }
  .site-header { padding: 10px 12px; }
  .nav-wrap { min-height: 62px; }
  .hero { min-height: auto; padding: 104px 0 0; grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(3rem, 11vw, 4.7rem); }
  .hero-meta { position: static; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .hero-proof { margin: 0; }
  .hero-location { margin: 0; text-align: right; }
  .hero-visual { min-height: 0; width: min(100%, 560px); margin: 4px auto 0; }
  .hero-visual img { flex-basis: auto; width: 100%; margin-left: 0; }
  .services, .doctor, .feature-section, .location, .testimonials { padding-top: 42px; padding-bottom: 42px; }
  .doctor { padding-bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor, .feature-grid, .feature-reverse, .location-grid { grid-template-columns: 1fr; gap: 38px; }
  .doctor-portrait { order: 2; height: clamp(410px, 72vw, 500px); }
  .image-pair { min-height: 430px; }
  .image-card { height: 380px; }
  .technology-section .image-pair { order: 2; }
  .location-images { min-height: 460px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial, .testimonial.featured { min-height: 0; padding: 24px; }
  .testimonial.featured { grid-row: auto; }
}

@media (max-width: 520px) {
  .section-shell { width: min(100% - 24px, 440px); }
  .brand-wordmark { font-size: 1.12rem; }
  .hero { padding-top: 94px; }
  .kicker { margin-bottom: 16px; font-size: .875rem; line-height: 1.35; letter-spacing: .15em; }
  .services, .doctor, .feature-section, .location, .testimonials { padding-top: 30px; padding-bottom: 30px; }
  .doctor { padding-bottom: 0; }
  .section-heading { margin-bottom: 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; font-size: .9rem; }
  .hero-visual { min-height: 0; }
  .section-heading-light { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; }
  .doctor-portrait { height: clamp(370px, 105vw, 450px); min-height: 0; }
  .doctor-portrait img { width: min(96%, 430px); height: 100%; }
  .portrait-label { right: 8px; font-size: .82rem; }
  .hero-proof span, .hero-location { font-size: .82rem; }
  .text-link { font-size: .9rem; }
  .image-pair { min-height: 370px; gap: 10px; }
  .image-card { height: 330px; border-radius: 58px 0 0 0; }
  .image-offset { margin-top: 40px; border-radius: 0 0 58px 0; }
  .location-images { min-height: 400px; }
  .building { width: 74%; }
  .neighborhood { width: 50%; }
  .map-pin { right: 18%; width: 56px; height: 56px; }
  .testimonial, .testimonial.featured { padding: 25px; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-footer { grid-row: auto; margin-bottom: 16px; }
  .footer-top p { text-align: left; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
