:root {
  --red: #e7282d;
  --red-dark: #ba1d23;
  --pink: #f1c4c7;
  --pink-soft: #fff1f2;
  --blue: #58a9dc;
  --blue-dark: #2377ae;
  --ink: #242126;
  --muted: #66636a;
  --white: #ffffff;
  --line: #eadfe1;
  --shadow: 0 18px 55px rgba(56, 35, 41, .12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: #fffdfd; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--ink); color: white; padding: 10px 15px; z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 20px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(234,223,225,.75); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(36,33,38,.08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 16px; }
.brand span { font-family: Nunito, sans-serif; font-weight: 800; font-size: 1rem; line-height: 1.15; }
.brand strong { color: var(--red); display: block; font-size: 1.18rem; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: .93rem; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--red); transition: right .2s; }
.main-nav > a:hover::after { right: 0; }
.nav-cta { background: var(--red); color: white; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(231,40,45,.25); }
.menu-toggle { display: none; width: 45px; height: 45px; border: 0; background: var(--pink-soft); border-radius: 12px; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

.hero { min-height: 720px; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 10%, #fff5f5 54%, #eff8ff 100%); }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(to top, #fffdfd, transparent); }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .72; }
.hero-shape-one { width: 420px; height: 420px; right: -150px; top: 80px; background: var(--pink); }
.hero-shape-two { width: 260px; height: 260px; left: -110px; bottom: 40px; background: #d8effd; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; padding-block: 75px 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--red); }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.eyebrow.light { color: #fff; opacity: .9; }
.hero h1 { font: 900 clamp(3.3rem, 7vw, 6.3rem)/.92 Nunito, sans-serif; letter-spacing: -.06em; margin: 23px 0 25px; }
.hero h1 span { color: var(--red); display: block; }
.hero-copy > p { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px; padding: 13px 22px; border-radius: 999px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--red); box-shadow: 0 13px 28px rgba(231,40,45,.24); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: white; color: var(--blue-dark); border: 1px solid #d6e9f5; box-shadow: 0 10px 25px rgba(35,119,174,.1); }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-highlights span { font-size: .83rem; font-weight: 700; padding: 7px 12px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; }
.hero-visual { position: relative; min-height: 535px; display: grid; place-items: center; }
.logo-card { width: min(470px, 93%); aspect-ratio: 1; border-radius: 42% 58% 50% 50% / 44% 43% 57% 56%; background: rgba(255,255,255,.92); box-shadow: var(--shadow); padding: 35px; position: relative; border: 1px solid white; }
.logo-card::after { content: ""; position: absolute; inset: 18px; border: 2px dashed rgba(88,169,220,.3); border-radius: inherit; pointer-events: none; }
.logo-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 32%; }
.medical-mark { position: absolute; z-index: 2; right: 40px; top: 32px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; background: var(--red); color: white; font: 900 2.3rem/1 Nunito; box-shadow: 0 14px 30px rgba(231,40,45,.24); }
.floating-card { position: absolute; background: white; border-radius: 18px; padding: 14px 18px; box-shadow: 0 16px 42px rgba(38,45,56,.14); display: flex; flex-direction: column; min-width: 190px; border-left: 4px solid var(--blue); }
.floating-card strong { font-family: Nunito; font-size: 1rem; }
.floating-card span { color: var(--muted); font-size: .78rem; }
.floating-one { left: -15px; top: 105px; }
.floating-two { right: -15px; bottom: 70px; border-left-color: var(--red); }

.quick-contact { position: relative; z-index: 4; margin-top: -38px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); background: white; box-shadow: var(--shadow); border-radius: 24px; overflow: hidden; }
.quick-grid a { display: flex; align-items: center; gap: 13px; padding: 22px 18px; border-right: 1px solid var(--line); transition: background .2s; }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--pink-soft); }
.quick-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; display: grid; place-items: center; background: #edf8ff; color: var(--blue-dark); font-weight: 900; font-size: 1.1rem; }
.quick-grid a:nth-child(2) .quick-icon, .quick-grid a:nth-child(3) .quick-icon { background: var(--pink-soft); color: var(--red); }
.quick-grid small, .quick-grid strong { display: block; }
.quick-grid small { color: var(--muted); font-size: .72rem; }
.quick-grid strong { font-size: .92rem; }

.section { padding: 105px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; }
.section-heading h2 { font: 900 clamp(2.2rem, 4.5vw, 4rem)/1.05 Nunito; letter-spacing: -.045em; margin: 16px 0 0; }
.section-heading.centered { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p { color: var(--muted); }
.intro-text { color: var(--muted); font-size: 1.12rem; border-left: 4px solid var(--blue); padding-left: 24px; }
.services { background: #fff8f8; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { min-height: 230px; padding: 26px; border-radius: 22px; background: white; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(56,35,41,.1); border-color: transparent; }
.service-card.featured { background: var(--red); color: white; border-color: var(--red); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: #eef8fe; font-size: 1.45rem; margin-bottom: 28px; }
.service-card:nth-child(3n+2) .service-icon { background: var(--pink-soft); }
.service-card.featured .service-icon { background: rgba(255,255,255,.17); }
.service-card h3 { font: 800 1.08rem/1.2 Nunito; margin: 0 0 11px; }
.service-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.service-card.featured p { color: rgba(255,255,255,.8); }

.clinical { background: linear-gradient(135deg, #1f6f9f, #5aaee0); color: white; overflow: hidden; position: relative; }
.clinical::after { content: "+"; position: absolute; right: 2%; top: -90px; font: 900 24rem/1 Nunito; color: rgba(255,255,255,.06); }
.clinical-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.clinical-panel h2 { font: 900 clamp(2.3rem, 4.4vw, 4.2rem)/1.02 Nunito; letter-spacing: -.05em; margin: 18px 0 35px; }
.clinical-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.clinical-columns h3 { margin: 0 0 12px; }
.clinical-columns ul { list-style: none; padding: 0; margin: 0; color: rgba(255,255,255,.83); }
.clinical-columns li { margin: 8px 0; }
.clinical-columns li::before { content: "✓"; margin-right: 10px; }
.btn-light { background: white; color: var(--blue-dark); }
.care-stack { display: grid; gap: 18px; }
.care-card { display: flex; gap: 18px; padding: 24px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; backdrop-filter: blur(10px); }
.care-card > span { font: 900 1.5rem/1 Nunito; color: #fff; opacity: .7; }
.care-card h3 { margin: 0 0 7px; }
.care-card p { margin: 0; color: rgba(255,255,255,.8); }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { position: relative; overflow: hidden; min-height: 430px; padding: 48px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(145deg, white, #fff5f5); }
.split-card:nth-child(2) { background: linear-gradient(145deg, white, #eff9ff); }
.split-card h2 { font: 900 clamp(2rem, 3.5vw, 3.15rem)/1.08 Nunito; letter-spacing: -.04em; max-width: 540px; margin: 17px 0 33px; }
.split-icon { position: absolute; right: 30px; top: 25px; font-size: 6rem; color: rgba(231,40,45,.08); }
.split-card:nth-child(2) .split-icon { color: rgba(35,119,174,.1); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span { padding: 9px 13px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: .86rem; font-weight: 700; }

.location { background: #fff8f8; }
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 35px; align-items: stretch; }
.location-card { padding: 52px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.location-card h2 { font: 900 clamp(2rem,4vw,3.4rem)/1.06 Nunito; margin: 18px 0 22px; }
.address { color: var(--muted); font-size: 1.08rem; }
.location-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.text-link { color: var(--blue-dark); font-weight: 800; }
.map-visual { position: relative; min-height: 430px; border-radius: var(--radius); overflow: hidden; background: #e8f5fc; }
.map-grid { position: absolute; inset: 0; opacity: .72; background-image: linear-gradient(rgba(35,119,174,.13) 2px, transparent 2px), linear-gradient(90deg, rgba(35,119,174,.13) 2px, transparent 2px), linear-gradient(35deg, transparent 47%, rgba(231,40,45,.18) 48%, rgba(231,40,45,.18) 51%, transparent 52%); background-size: 58px 58px, 58px 58px, 100% 100%; }
.map-pin { position: absolute; left: 52%; top: 42%; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: var(--red); box-shadow: 0 15px 30px rgba(231,40,45,.32); }
.map-pin span { transform: rotate(45deg); color: white; font: 900 2.7rem/1 Nunito; }
.map-label { position: absolute; left: 49%; top: 64%; background: white; padding: 10px 18px; border-radius: 999px; font-weight: 900; box-shadow: var(--shadow); }

.cta-section { padding: 0 0 90px; background: #fff8f8; }
.cta-box { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 38px; padding: 45px; border-radius: 30px; background: linear-gradient(135deg, var(--red), #ef6468); color: white; box-shadow: 0 25px 65px rgba(231,40,45,.26); }
.cta-box > img { width: 145px; height: 145px; object-fit: contain; border-radius: 26px; background: white; }
.cta-box h2 { font: 900 clamp(2rem,3.4vw,3.2rem)/1.05 Nunito; margin: 10px 0 13px; }
.cta-box p { margin: 0; color: rgba(255,255,255,.85); }
.cta-actions { display: grid; gap: 10px; min-width: 185px; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.55); color: white; }

.site-footer { background: #242126; color: white; padding: 55px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .65fr 1fr; gap: 60px; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 88px; height: 88px; object-fit: contain; border-radius: 22px; background: white; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font: 800 1.2rem Nunito; }
.footer-brand span, .site-footer p, .site-footer a { color: rgba(255,255,255,.67); }
.site-footer h3 { margin-top: 0; font: 800 1rem Nunito; }
.site-footer a { display: block; margin: 6px 0; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55); }

.whatsapp-float { position: fixed; z-index: 999; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; background: #25d366; color: white; padding: 13px 18px; border-radius: 999px; font-weight: 900; box-shadow: 0 15px 35px rgba(37,211,102,.35); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 25px; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-highlights { justify-content: center; }
  .hero-visual { min-height: 470px; }
  .services-grid { grid-template-columns: repeat(3,1fr); }
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .quick-grid a:nth-child(2) { border-right: 0; }
  .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .clinical-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 120px 1fr; }
  .cta-box > img { width: 120px; height: 120px; }
  .cta-actions { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 88px; display: grid; gap: 0; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 13px 14px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 4px; }
  .intro-grid, .split-grid, .location-grid, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .intro-text { margin: 0; }
  .footer-grid { gap: 28px; }
  .cta-box { text-align: center; grid-template-columns: 1fr; }
  .cta-box > img { margin-inline: auto; }
  .cta-actions { grid-column: auto; grid-template-columns: 1fr; width: 100%; }
}

@media (max-width: 590px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand span { display: none; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 52px; height: 52px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 55px 75px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 360px; }
  .logo-card { width: 88%; padding: 23px; }
  .medical-mark { width: 50px; height: 50px; right: 22px; top: 20px; font-size: 1.9rem; }
  .floating-card { min-width: 155px; padding: 10px 12px; }
  .floating-one { left: 0; top: 50px; }
  .floating-two { right: 0; bottom: 35px; }
  .quick-contact { margin-top: -25px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-grid a:last-child { border-bottom: 0; }
  .section { padding: 75px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .clinical-columns { grid-template-columns: 1fr; }
  .split-card, .location-card { padding: 34px 25px; }
  .map-visual { min-height: 330px; }
  .cta-section { padding-bottom: 65px; }
  .cta-box { padding: 34px 23px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
