:root {
  --brand-950: #102d29;
  --brand-900: #183d37;
  --brand-800: #225047;
  --brand-700: #2d675b;
  --brand-600: #3d7c6d;
  --brand-100: #e7f2ed;
  --brand-50: #f3f8f5;
  --accent: #f19542;
  --accent-soft: #fff1df;
  --cream: #fbfaf6;
  --ink: #1f2d2a;
  --muted: #66736f;
  --line: rgba(24, 61, 55, .12);
  --white: #fff;
  --shadow-sm: 0 10px 30px rgba(16, 45, 41, .08);
  --shadow-lg: 0 28px 80px rgba(16, 45, 41, .16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--brand-700); color: var(--white); }

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 9999; padding: .75rem 1rem; background: var(--brand-950); color: #fff; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.topbar { background: var(--brand-950); color: rgba(255,255,255,.86); }
.topbar a { color: rgba(255,255,255,.86); transition: color .2s ease; }
.topbar a:hover { color: #fff; }

.navbar { background: rgba(251,250,246,.88); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.navbar.scrolled { background: rgba(251,250,246,.97); box-shadow: 0 8px 30px rgba(16,45,41,.08); border-color: var(--line); }
.navbar-brand { padding-block: .65rem; }
.brand-logo { border-radius: 50%; object-fit: cover; border: 1px solid rgba(45,103,91,.16); background: #fff; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--brand-700); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin-top: .25rem; }
.nav-link { font-size: .91rem; font-weight: 700; color: var(--ink); padding-inline: .75rem !important; }
.nav-link:hover, .nav-link.active { color: var(--brand-700); }
.btn-language { border: 1px solid var(--line); border-radius: 999px; font-weight: 800; font-size: .82rem; padding: .62rem .86rem; background: rgba(255,255,255,.55); }
.dropdown-menu { border-radius: 16px; padding: .55rem; }
.dropdown-item { border-radius: 10px; font-weight: 700; }
.dropdown-item.active, .dropdown-item:active { background: var(--brand-700); }

.btn { font-weight: 800; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary-custom { color: #fff; background: var(--brand-700); border: 1px solid var(--brand-700); padding: .76rem 1.25rem; box-shadow: 0 10px 24px rgba(45,103,91,.20); }
.btn-primary-custom:hover, .btn-primary-custom:focus { color: #fff; background: var(--brand-800); border-color: var(--brand-800); box-shadow: 0 14px 30px rgba(45,103,91,.26); }
.btn-outline-custom { color: var(--brand-900); border: 1px solid rgba(24,61,55,.28); background: rgba(255,255,255,.56); padding: .76rem 1.25rem; }
.btn-outline-custom:hover { color: #fff; background: var(--brand-900); border-color: var(--brand-900); }
.btn-light-custom { background: #fff; color: var(--brand-900); border: 1px solid #fff; padding: .8rem 1.25rem; }
.btn-light-custom:hover { background: var(--accent-soft); color: var(--brand-950); border-color: var(--accent-soft); }
.btn-outline-light-custom { color: #fff; border: 1px solid rgba(255,255,255,.5); padding: .8rem 1.25rem; }
.btn-outline-light-custom:hover { background: #fff; color: var(--brand-900); }

.hero-section { background: linear-gradient(145deg, #f7f5ed 0%, #edf5f0 56%, #e5f0eb 100%); }
.min-vh-hero { min-height: 760px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 420px; height: 420px; background: rgba(241,149,66,.16); left: -180px; top: 70px; }
.hero-orb-two { width: 520px; height: 520px; background: rgba(61,124,109,.12); right: -170px; bottom: -100px; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; color: var(--brand-700); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(241,149,66,.16); }
.display-title { max-width: 720px; font-family: var(--font-display); font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: .94; letter-spacing: -.045em; color: var(--brand-950); }
.hero-lead { max-width: 640px; color: #4e5d59; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-features { max-width: 680px; }
.mini-feature { display: flex; align-items: center; gap: .65rem; color: var(--brand-900); font-size: .8rem; font-weight: 800; line-height: 1.35; }
.mini-feature i { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: var(--brand-700); background: rgba(255,255,255,.76); box-shadow: var(--shadow-sm); font-size: 1rem; }
.hero-visual { position: relative; max-width: 600px; margin-inline: auto; padding: 0 1rem 2.5rem 3rem; }
.hero-main-image-wrap { position: relative; overflow: hidden; border-radius: 44% 44% 28px 28px; aspect-ratio: .80; box-shadow: var(--shadow-lg); }
.hero-main-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,45,41,.24), transparent 40%); }
.glass-card { position: absolute; display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.74); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); border-radius: 18px; padding: .8rem 1rem; }
.doctor-card { left: 0; bottom: 6%; min-width: 250px; }
.doctor-card img { width: 56px; height: 56px; object-fit: cover; object-position: center 14%; border-radius: 14px; }
.doctor-card div { display: grid; line-height: 1.25; }
.doctor-card strong { font-size: .92rem; }
.doctor-card span { color: var(--muted); font-size: .77rem; }
.doctor-card > i { color: var(--brand-700); margin-left: auto; }
.schroth-card { right: -2%; top: 11%; max-width: 230px; }
.schroth-card .icon-bubble { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-800); background: var(--brand-100); }
.schroth-card div:last-child { display: grid; line-height: 1.25; }
.schroth-card strong { font-size: .84rem; }
.schroth-card span { color: var(--muted); font-size: .72rem; margin-top: .2rem; }
.hero-wave { height: 30px; background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(1px); }

.trust-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-title { color: var(--brand-950); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); font-weight: 800; font-size: .82rem; }
.trust-item i { color: var(--accent); font-size: 1.15rem; }

.section-padding { padding: 7rem 0; }
.section-kicker { margin-bottom: .85rem; color: var(--brand-700); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; }
.section-kicker.light { color: #a9d4c8; }
.section-title { margin-bottom: 1rem; font-family: var(--font-display); color: var(--brand-950); font-size: clamp(2.35rem, 4vw, 4.3rem); line-height: 1.04; letter-spacing: -.035em; }
.section-lead { color: var(--muted); font-size: 1.06rem; }
.section-heading-narrow { max-width: 820px; }
.text-muted-custom { color: var(--muted); }

.services-section { background: var(--cream); }
.service-card { position: relative; overflow: hidden; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 36px rgba(16,45,41,.045); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(45,103,91,.25); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: var(--brand-700); background: var(--brand-100); font-size: 1.35rem; margin-bottom: 1.35rem; }
.service-card h3 { max-width: 86%; color: var(--brand-950); font-size: 1.12rem; line-height: 1.35; font-weight: 800; }
.service-card p { margin: .8rem 0 0; color: var(--muted); font-size: .9rem; }
.service-number { position: absolute; top: 1.5rem; right: 1.5rem; color: rgba(24,61,55,.10); font-family: var(--font-display); font-size: 2rem; }
.featured-service { background: var(--brand-900); border-color: var(--brand-900); }
.featured-service h3 { color: #fff; }
.featured-service p { color: rgba(255,255,255,.70); }
.featured-service .service-icon { color: var(--brand-950); background: var(--accent-soft); }
.featured-service .service-number { color: rgba(255,255,255,.12); }
.service-badge { position: absolute; top: 0; right: 0; padding: .45rem 1rem; border-radius: 0 0 0 16px; background: var(--accent); color: var(--brand-950); font-weight: 800; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }

.about-section { background: #eef4f0; }
.about-image-grid { position: relative; min-height: 650px; max-width: 600px; margin-inline: auto; }
.about-image-main { position: absolute; inset: 0 17% 4% 0; overflow: hidden; border-radius: 180px 180px 26px 26px; box-shadow: var(--shadow-lg); }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.about-image-detail { position: absolute; width: 42%; height: 42%; right: 0; bottom: 0; overflow: hidden; border: 8px solid #eef4f0; border-radius: 28px; box-shadow: var(--shadow-sm); }
.about-image-detail img { width: 100%; height: 100%; object-fit: cover; }
.about-note { position: absolute; left: -3%; bottom: 7%; width: 265px; display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; color: #fff; background: var(--brand-900); border-radius: 18px; box-shadow: var(--shadow-sm); font-size: .78rem; font-weight: 700; line-height: 1.45; }
.about-note i { color: var(--accent); font-size: 1.35rem; }
.about-point { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; background: rgba(255,255,255,.55); border: 1px solid rgba(24,61,55,.08); border-radius: 16px; }
.about-point > i { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--brand-700); background: var(--brand-100); }
.about-point div { display: grid; }
.about-point strong { color: var(--brand-950); font-size: .86rem; }
.about-point span { color: var(--muted); font-size: .76rem; line-height: 1.4; margin-top: .15rem; }

.clinic-section { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: 22px; background: var(--brand-100); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(16,45,41,.18); opacity: 0; transition: opacity .25s ease; }
.gallery-overlay i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(16,45,41,.68); backdrop-filter: blur(8px); }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-close { position: absolute; right: .5rem; top: -2.8rem; opacity: 1; }

.process-section { position: relative; background: var(--brand-950); color: #fff; }
.process-section::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(circle at 20% 10%, #fff 0 1px, transparent 1.5px); background-size: 24px 24px; }
.process-section .container { position: relative; }
.process-lead { color: rgba(255,255,255,.68); font-size: 1.05rem; margin-bottom: 2rem; }
.process-list { border-top: 1px solid rgba(255,255,255,.18); }
.process-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; padding: 1.65rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-number { color: var(--accent); font-family: var(--font-display); font-size: 2rem; }
.process-item h3 { color: #fff; font-size: 1.12rem; font-weight: 800; }
.process-item p { color: rgba(255,255,255,.62); margin-bottom: 0; font-size: .92rem; }

.faq-section { background: #f6f5ef; }
.custom-accordion .accordion-item { margin-bottom: .9rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px !important; background: rgba(255,255,255,.70); }
.custom-accordion .accordion-button { padding: 1.25rem 1.35rem; color: var(--brand-950); background: transparent; box-shadow: none; font-weight: 800; }
.custom-accordion .accordion-button:not(.collapsed) { color: var(--brand-700); background: var(--brand-50); }
.custom-accordion .accordion-button::after { width: 36px; height: 36px; margin-left: auto; border-radius: 50%; background-color: var(--brand-100); background-position: center; background-size: 15px; }
.custom-accordion .accordion-body { padding: 0 1.35rem 1.35rem; color: var(--muted); font-size: .93rem; }

.contact-section { background: var(--cream); }
.contact-shell { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #fff; }
.contact-info { padding: clamp(2rem, 5vw, 4rem); background: var(--brand-900); color: #fff; }
.contact-intro { color: rgba(255,255,255,.68); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-detail-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--brand-950); background: var(--accent-soft); }
.contact-detail div:last-child { display: grid; }
.contact-detail strong { font-size: .84rem; margin-bottom: .15rem; }
.contact-detail span, .contact-detail a { color: rgba(255,255,255,.72); font-size: .85rem; line-height: 1.55; }
.contact-detail a:hover { color: #fff; }
.contact-form-wrap { padding: clamp(2rem, 5vw, 4rem); }
.contact-form-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.form-icon { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--brand-700); background: var(--brand-100); font-size: 1.4rem; }
.contact-form-header h3 { margin: 0; color: var(--brand-950); font-size: 1.35rem; font-weight: 800; }
.contact-form-header p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.form-label { color: var(--brand-950); font-size: .82rem; font-weight: 800; }
.form-control, .form-select { min-height: 52px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfa; padding: .8rem 1rem; }
textarea.form-control { min-height: 110px; }
.form-control:focus, .form-select:focus { border-color: var(--brand-600); box-shadow: 0 0 0 .22rem rgba(61,124,109,.12); background: #fff; }
.form-check-input:checked { background-color: var(--brand-700); border-color: var(--brand-700); }
.form-check-label { color: var(--muted); font-size: .78rem; }
.form-note { color: var(--muted); font-size: .75rem; }

.site-footer { background: #0c2421; color: rgba(255,255,255,.72); }
.footer-brand { display: grid; }
.footer-brand strong { color: #fff; font-size: 1rem; }
.footer-brand span { color: rgba(255,255,255,.55); font-size: .78rem; margin-top: .2rem; }
.footer-disclaimer { max-width: 540px; color: rgba(255,255,255,.50); font-size: .77rem; }
.footer-heading { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.62); font-size: .82rem; }
.footer-links a:hover { color: #fff; }
.social-links { display: flex; gap: .6rem; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.09); transition: background .2s ease, transform .2s ease; }
.social-links a:hover { background: var(--brand-600); transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,.12); }

.floating-whatsapp { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1rem; color: #fff; background: #1fa855; border-radius: 999px; font-size: .8rem; font-weight: 800; box-shadow: 0 14px 34px rgba(16,45,41,.24); transition: transform .2s ease; }
.floating-whatsapp:hover { color: #fff; transform: translateY(-4px); }
.back-to-top { position: fixed; right: 1.4rem; bottom: 5.3rem; z-index: 1020; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--brand-950); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }

@media (max-width: 1199.98px) {
  .display-title { font-size: clamp(3.2rem, 7.7vw, 5.5rem); }
  .gallery-grid { grid-auto-rows: 190px; }
}

@media (max-width: 991.98px) {
  .section-padding { padding: 5.5rem 0; }
  .min-vh-hero { min-height: auto; }
  .hero-visual { max-width: 560px; }
  .about-image-grid { min-height: 590px; margin-bottom: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery-large, .gallery-wide { grid-column: span 2; }
  .contact-info, .contact-form-wrap { padding: 2.5rem; }
}

@media (max-width: 767.98px) {
  html { scroll-padding-top: 76px; }
  .navbar-brand .brand-copy strong { font-size: .9rem; }
  .brand-copy small { font-size: .65rem; }
  .display-title { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  .hero-lead { font-size: 1rem; }
  .hero-visual { padding: 0 .75rem 3rem 1.3rem; }
  .hero-main-image-wrap { border-radius: 38% 38% 24px 24px; }
  .doctor-card { left: 0; bottom: 2%; min-width: 220px; }
  .schroth-card { right: 0; top: 8%; max-width: 205px; }
  .section-title { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .about-image-grid { min-height: 540px; }
  .about-image-main { inset: 0 9% 5% 0; }
  .about-image-detail { width: 43%; height: 35%; }
  .about-note { left: 0; bottom: 6%; width: 240px; }
  .gallery-grid { grid-auto-rows: 190px; }
  .process-item { grid-template-columns: 58px 1fr; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 52px; height: 52px; justify-content: center; padding: 0; font-size: 1.2rem; }
}

@media (max-width: 575.98px) {
  .section-padding { padding: 4.5rem 0; }
  .hero-features .col-sm-4 + .col-sm-4 { margin-top: .75rem; }
  .hero-visual { padding-left: .5rem; }
  .doctor-card { left: .25rem; min-width: 205px; padding: .65rem; }
  .doctor-card img { width: 48px; height: 48px; }
  .schroth-card { right: -.2rem; max-width: 180px; padding: .65rem; }
  .schroth-card .icon-bubble { flex-basis: 38px; width: 38px; height: 38px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: .7rem; }
  .gallery-item { border-radius: 16px; }
  .gallery-large { grid-column: span 2; grid-row: span 2; }
  .gallery-wide { grid-column: span 2; }
  .about-image-grid { min-height: 470px; }
  .about-note { width: 220px; font-size: .72rem; }
  .contact-info, .contact-form-wrap { padding: 1.65rem; }
  .contact-shell { border-radius: 24px; }
}

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