/* =========================================================
   Kagio Hospital — Main Stylesheet
   Primary  : #045a5a   (deep teal)
   Secondary: #ffba3b   (warm amber)
   Fonts    : Fraunces (display) + Manrope (body)
   ========================================================= */

:root {
  --primary: #045a5a;
  --primary-dark: #033d3d;
  --primary-deep: #022929;
  --primary-soft: #e6f2f1;
  --primary-mist: #f3f9f8;
  --secondary: #ffba3b;
  --secondary-dark: #e79f18;
  --secondary-soft: #fff4de;
  --ink: #102b2b;
  --body: #4d6161;
  --line: #e2ecea;
  --white: #ffffff;
  --shadow-sm: 0 6px 20px rgba(4, 90, 90, .08);
  --shadow-md: 0 14px 40px rgba(4, 90, 90, .12);
  --shadow-lg: 0 24px 70px rgba(3, 45, 45, .18);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  font-size: 1rem;
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--secondary-dark); }
img { max-width: 100%; }

::selection { background: var(--primary); color: #fff; }

.container { max-width: 1240px; }

/* ---------------------------------------------- buttons */
.btn { font-family: var(--font-body); font-weight: 700; letter-spacing: .2px; border-radius: 50rem; padding: .8rem 1.7rem; transition: all .3s ease; border: 2px solid transparent; }
.btn i { margin-right: .45rem; }

.btn-gold { background: var(--secondary); color: var(--primary-deep); box-shadow: 0 10px 24px rgba(255, 186, 59, .35); }
.btn-gold:hover { background: var(--secondary-dark); color: var(--primary-deep); transform: translateY(-2px); }

.btn-teal { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(4, 90, 90, .28); }
.btn-teal:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-light-2 { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--primary); }

.btn-outline-teal { border-color: var(--primary); color: var(--primary); }
.btn-outline-teal:hover { background: var(--primary); color: #fff; }

.btn-light-solid { background: #fff; color: var(--primary); }
.btn-light-solid:hover { background: var(--secondary); color: var(--primary-deep); transform: translateY(-2px); }

/* ---------------------------------------------- topbar */
.topbar { background: var(--primary-deep); color: rgba(255,255,255,.82); font-size: .84rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--secondary); }
.topbar-list li { margin-right: 1.6rem; }
.topbar-list i, .topbar-open i { color: var(--secondary); margin-right: .4rem; }
.topbar-social li a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); margin-left: .35rem; font-size: .72rem; }
.topbar-social li a:hover { background: var(--secondary); color: var(--primary-deep); }

/* ---------------------------------------------- header / nav */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 2px 14px rgba(4,90,90,.06); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 34px rgba(4,90,90,.14); }

.navbar { padding: .65rem 0; }

.navbar-brand { display: flex; align-items: center; gap: .7rem; padding: 0; }
.site-logo { height: 74px; width: auto; display: block; }
.brand-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--secondary); font-size: 1.5rem; box-shadow: 0 8px 18px rgba(4,90,90,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--primary-deep); }
.brand-name em { font-style: normal; color: var(--primary); }
.brand-tag { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary-dark); font-weight: 700; }

.navbar-nav .nav-link { font-weight: 700; color: var(--ink); padding: 1.1rem 1.05rem !important; font-size: .95rem; position: relative; }
.navbar-nav .nav-link i { font-size: .6rem; margin-left: .3rem; opacity: .6; transition: transform .3s ease; }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: 1.05rem; right: 100%; bottom: .7rem; height: 3px; border-radius: 3px; background: var(--secondary); transition: right .3s ease; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { right: 1.05rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); }
.mega-item:hover .mega-toggle i { transform: rotate(180deg); }

.btn-appoint { background: var(--primary); color: #fff; border-radius: 50rem; font-weight: 700; padding: .7rem 1.4rem; font-size: .92rem; box-shadow: 0 8px 20px rgba(4,90,90,.25); border: 2px solid var(--primary); white-space: nowrap; }
.btn-appoint:hover { background: transparent; color: var(--primary); }

/* hamburger */
.navbar-toggler { border: 0; width: 44px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { display: block; height: 3px; width: 26px; border-radius: 3px; background: var(--primary); transition: all .3s ease; }
.navbar-toggler:not(.collapsed) span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-toggler:not(.collapsed) span:nth-child(2) { opacity: 0; }
.navbar-toggler:not(.collapsed) span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------- mega menu */
.mega-item { position: static; }
.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--secondary);
  box-shadow: 0 30px 60px rgba(3,45,45,.16);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s cubic-bezier(.22,.61,.36,1);
  border-radius: 0 0 22px 22px; z-index: 1040;
}
@media (min-width: 992px) {
  .mega-item:hover .mega-menu, .mega-item:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.mega-inner { max-width: 1240px; margin: 0 auto; padding: 1.8rem 1.5rem 0; }
.mega-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--line); padding-bottom: .9rem; margin-bottom: 1.1rem; }
.mega-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--secondary-dark); }
.mega-head h3 { font-size: 1.35rem; margin: 0; }
.mega-all { font-weight: 700; font-size: .88rem; }
.mega-all i { transition: transform .3s ease; margin-left: .3rem; }
.mega-all:hover i { transform: translateX(5px); }

.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem 1.2rem; padding-bottom: 1.4rem; }
.mega-link { display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; border-radius: 12px; transition: background .25s ease, transform .25s ease; }
.mega-link:hover { background: var(--primary-mist); transform: translateX(4px); }
.mega-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 1.05rem; transition: all .25s ease; }
.mega-icon.alt { background: var(--secondary-soft); color: var(--secondary-dark); }
.mega-link:hover .mega-icon { background: var(--primary); color: #fff; }
.mega-link:hover .mega-icon.alt { background: var(--secondary); color: var(--primary-deep); }
.mega-txt { display: flex; flex-direction: column; line-height: 1.3; }
.mega-txt strong { color: var(--ink); font-size: .9rem; font-weight: 700; }
.mega-txt small { color: var(--body); font-size: .74rem; }
.mega-foot { border-top: 1px dashed var(--line); padding: .85rem 0 1rem; font-size: .88rem; color: var(--body); }
.mega-foot i { color: var(--secondary-dark); margin-right: .5rem; }
.mega-foot a { font-weight: 700; }

/* ---------------------------------------------- hero slider */
.hero { position: relative; height: min(88vh, 780px); min-height: 560px; overflow: hidden; background: var(--primary-deep); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7.5s ease-out; }
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(2,41,41,.94) 0%, rgba(4,90,90,.78) 38%, rgba(4,90,90,.28) 68%, rgba(2,41,41,.15) 100%);
}
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.hero-box { max-width: 690px; color: #fff; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,186,59,.5); color: var(--secondary); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: .45rem 1.1rem; border-radius: 50rem; margin-bottom: 1.3rem; opacity: 0; transform: translateY(24px); }
.hero-box h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 600; margin-bottom: 1.2rem; opacity: 0; transform: translateY(30px); }
.hero-box h1 .type-wrap { color: var(--secondary); font-style: italic; }
.type-caret { display: inline-block; width: 3px; background: var(--secondary); margin-left: 3px; animation: caretBlink .8s infinite; height: .95em; vertical-align: -0.12em; }
@keyframes caretBlink { 0%,45% {opacity:1} 50%,100% {opacity:0} }
.hero-box p { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 1.8rem; opacity: 0; transform: translateY(30px); }
.hero-btns { opacity: 0; transform: translateY(30px); }
.hero-slide.active .hero-kicker { animation: heroUp .8s .25s forwards ease; }
.hero-slide.active h1 { animation: heroUp .8s .45s forwards ease; }
.hero-slide.active p { animation: heroUp .8s .65s forwards ease; }
.hero-slide.active .hero-btns { animation: heroUp .8s .85s forwards ease; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.hero-nav { position: absolute; right: 3rem; bottom: 3rem; z-index: 5; display: flex; gap: .6rem; }
.hero-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); color: #fff; font-size: .95rem; transition: all .3s ease; }
.hero-arrow:hover { background: var(--secondary); border-color: var(--secondary); color: var(--primary-deep); }

.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 2.2rem; z-index: 5; display: flex; gap: .55rem; }
.hero-dot { width: 34px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.3); border: 0; padding: 0; overflow: hidden; position: relative; transition: background .3s; }
.hero-dot .fill { position: absolute; inset: 0; width: 0; background: var(--secondary); }
.hero-dot.active .fill { animation: dotFill 7s linear forwards; }
@keyframes dotFill { to { width: 100%; } }

.hero-scroll { position: absolute; left: 3rem; bottom: 2.4rem; z-index: 5; color: rgba(255,255,255,.7); font-size: .74rem; letter-spacing: .25em; text-transform: uppercase; writing-mode: initial; display: none; }
@media (min-width: 1200px){ .hero-scroll{ display:flex; align-items:center; gap:.6rem; } .hero-scroll::after{ content:""; width:56px; height:1px; background: rgba(255,255,255,.4);} }

/* ---------------------------------------------- quick cards under hero */
.quick-strip { position: relative; z-index: 10; margin-top: -74px; }
.quick-card { background: #fff; border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-md); height: 100%; display: flex; gap: 1.1rem; align-items: flex-start; border-bottom: 4px solid transparent; transition: all .35s ease; position: relative; overflow: hidden; }
.quick-card::before { content: ""; position: absolute; right: -22px; top: -22px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%); }
.quick-card:hover { transform: translateY(-6px); border-bottom-color: var(--secondary); box-shadow: var(--shadow-lg); }
.quick-card.dark { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.quick-card.dark h3, .quick-card.dark p { color: #fff; }
.quick-card.dark p { color: rgba(255,255,255,.78); }
.quick-icon { flex: 0 0 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.35rem; }
.quick-card.dark .quick-icon { background: rgba(255,255,255,.12); color: var(--secondary); }
.quick-card h3 { font-size: 1.08rem; margin-bottom: .3rem; font-family: var(--font-body); font-weight: 800; }
.quick-card p { font-size: .87rem; margin: 0; }
.quick-card a.stretched { font-weight: 700; font-size: .85rem; }

/* ---------------------------------------------- sections */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 70px 0; }

.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: .42rem 1.05rem; border-radius: 50rem; margin-bottom: 1.1rem; }
.kicker i { color: var(--secondary-dark); }
.kicker.on-dark { background: rgba(255,255,255,.1); color: var(--secondary); }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 1rem; }
.section-head h2 span { color: var(--primary); font-style: italic; }
.section-head p { margin-bottom: 0; }

/* subtle background patterns */
.bg-mist { background: var(--primary-mist); }
.bg-dots { background-image: radial-gradient(rgba(4,90,90,.10) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.bg-mist.bg-dots { background-color: var(--primary-mist); }
.bg-grid { background-image: linear-gradient(rgba(4,90,90,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(4,90,90,.045) 1px, transparent 1px); background-size: 44px 44px; }
.bg-dark { background: var(--primary-deep); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,.78); }

/* decorative floating shapes */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape-ring { width: 190px; height: 190px; border: 26px solid var(--primary-soft); border-radius: 50%; opacity: .8; }
.shape-ring.gold { border-color: var(--secondary-soft); }
.shape-cross { font-size: 120px; color: var(--primary-soft); opacity: .55; }
.shape-dots { width: 160px; height: 160px; background-image: radial-gradient(var(--secondary) 2.2px, transparent 2.2px); background-size: 18px 18px; opacity: .35; }
.shape-blob { width: 320px; height: 320px; border-radius: 46% 54% 60% 40% / 46% 44% 56% 54%; background: linear-gradient(140deg, var(--primary-soft), transparent); opacity: .7; animation: blobFloat 9s ease-in-out infinite alternate; }
@keyframes blobFloat { from { transform: translateY(0) rotate(0); } to { transform: translateY(-26px) rotate(8deg); } }
.section > .container { position: relative; z-index: 1; }

/* ---------------------------------------------- creative image frames */
.img-frame { position: relative; border-radius: var(--radius); }
.img-frame .main-img { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.img-frame::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 62%; height: 62%; border: 3px solid var(--secondary); border-radius: var(--radius); z-index: 1; }
.img-frame::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 150px; height: 150px; background-image: radial-gradient(var(--primary) 2.2px, transparent 2.2px); background-size: 17px 17px; opacity: .3; z-index: 1; }

.img-frame-line::before { inset: auto -16px -16px auto; width: 78%; height: 78%; border: 2px dashed rgba(4,90,90,.4); }
.img-frame-line::after { left: -22px; top: -22px; right: auto; bottom: auto; background-image: radial-gradient(var(--secondary) 2.4px, transparent 2.4px); opacity: .55; }

.badge-float { position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); padding: 1rem 1.35rem; display: flex; align-items: center; gap: .9rem; animation: floatY 4.5s ease-in-out infinite alternate; }
@keyframes floatY { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.badge-float .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--primary); line-height: 1; }
.badge-float small { display: block; font-size: .74rem; font-weight: 700; color: var(--body); text-transform: uppercase; letter-spacing: .08em; }
.badge-float .bicon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--secondary); color: var(--primary-deep); font-size: 1.2rem; }

/* sized image boxes: object-fit everywhere */
.img-box { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.img-box img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.img-box:hover img { transform: scale(1.06); }
.ratio-16x10 { aspect-ratio: 16/10; }
.ratio-4x3 { aspect-ratio: 4/3; }
.ratio-1x1 { aspect-ratio: 1/1; }

/* ---------------------------------------------- feature checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .42rem 0 .42rem 2.1rem; position: relative; font-weight: 600; color: var(--ink); }
.check-list li i { position: absolute; left: 0; top: .72rem; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: .6rem; }

/* ---------------------------------------------- stats band */
.stats-band { position: relative; background: linear-gradient(120deg, var(--primary-deep) 0%, var(--primary) 100%); overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.6px, transparent 1.6px); background-size: 30px 30px; }
.stat-item { text-align: center; padding: 1.4rem .5rem; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,.16); }
.stat-icon { width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.09); color: var(--secondary); font-size: 1.5rem; border: 1px solid rgba(255,255,255,.14); }
.stat-num { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat-num sup { color: var(--secondary); font-size: 1.4rem; top: -0.7em; }
.stat-label { color: rgba(255,255,255,.75); font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------------------------------------------- service cards */
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; height: 100%; position: relative; overflow: hidden; transition: all .4s ease; z-index: 1; }
.svc-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); transition: height .45s cubic-bezier(.22,.61,.36,1); z-index: -1; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { height: 100%; }
.svc-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.5rem; margin-bottom: 1.3rem; transition: all .4s ease; }
.svc-card:hover .svc-icon { background: var(--secondary); color: var(--primary-deep); transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 1.16rem; margin-bottom: .6rem; font-family: var(--font-body); font-weight: 800; transition: color .3s; }
.svc-card p { font-size: .9rem; margin-bottom: 1.1rem; transition: color .3s; }
.svc-card:hover h3 { color: #fff; }
.svc-card:hover p { color: rgba(255,255,255,.8); }
.svc-more { font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; gap: .4rem; }
.svc-more i { transition: transform .3s ease; }
.svc-card:hover .svc-more { color: var(--secondary); }
.svc-card:hover .svc-more i { transform: translateX(5px); }
.svc-num { position: absolute; right: 1.2rem; top: .9rem; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--primary-soft); line-height: 1; transition: color .3s; }
.svc-card:hover .svc-num { color: rgba(255,255,255,.14); }

/* ---------------------------------------------- clinic cards (image top) */
.clinic-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; transition: all .4s ease; position: relative; }
.clinic-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cc-media { position: relative; }
.clinic-card .img-box { border-radius: 0; height: 210px; }
.clinic-card .img-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,41,41,.65) 100%); }
.clinic-icon { position: absolute; left: 1.4rem; bottom: -26px; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--secondary); color: var(--primary-deep); font-size: 1.3rem; z-index: 5; box-shadow: 0 10px 22px rgba(255,186,59,.4); transition: transform .35s ease; }
.clinic-card:hover .clinic-icon { transform: rotate(-8deg) scale(1.08); }
.clinic-body { padding: 2.3rem 1.5rem 1.6rem; }
.clinic-body h3 { font-size: 1.14rem; font-family: var(--font-body); font-weight: 800; margin-bottom: .5rem; }
.clinic-body p { font-size: .89rem; margin-bottom: 1rem; }

/* ---------------------------------------------- parallax */
.parallax { position: relative; background-attachment: fixed; background-size: cover; background-position: center; }
@media (max-width: 991px){ .parallax { background-attachment: scroll; } }
.parallax .overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,41,41,.95) 0%, rgba(4,90,90,.82) 45%, rgba(2,41,41,.55) 100%); }
.parallax .container { position: relative; z-index: 2; }
.parallax h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.parallax h2 span { color: var(--secondary); font-style: italic; }
.parallax p { color: rgba(255,255,255,.82); }

.emg-call { display: inline-flex; align-items: center; gap: 1.1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); padding: 1rem 1.7rem; border-radius: 20px; }
.emg-call .pulse-ring { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--secondary); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.3rem; }
.emg-call .pulse-ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--secondary); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.emg-call small { display: block; color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
.emg-call a { color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.emg-call a:hover { color: var(--secondary); }

/* ---------------------------------------------- why choose us */
.why-item { display: flex; gap: 1.1rem; padding: 1.15rem 0; border-bottom: 1px dashed var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.15rem; transition: all .3s ease; }
.why-item:hover .why-icon { background: var(--primary); color: var(--secondary); transform: rotate(-6deg); }
.why-item h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; margin-bottom: .25rem; }
.why-item p { font-size: .89rem; margin: 0; }

/* ---------------------------------------------- testimonials */
.testi-wrap { position: relative; max-width: 860px; margin: 0 auto; }
.testi-slide { display: none; text-align: center; padding: 0 1rem; animation: fadeUp .7s ease; }
.testi-slide.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px);} to { opacity: 1; transform: translateY(0);} }
.testi-quote { width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--secondary); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 12px 26px rgba(255,186,59,.4); }
.testi-slide blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 1.6rem; }
.bg-dark .testi-slide blockquote { color: #fff; }
.testi-stars { color: var(--secondary); margin-bottom: 1rem; letter-spacing: .2em; }
.testi-who strong { display: block; color: var(--ink); font-weight: 800; }
.bg-dark .testi-who strong { color: #fff; }
.testi-who span { font-size: .82rem; color: var(--body); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.bg-dark .testi-who span { color: rgba(255,255,255,.6); }
.testi-nav { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.testi-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary); background: transparent; padding: 0; transition: all .3s; }
.bg-dark .testi-dot { border-color: rgba(255,255,255,.5); }
.testi-dot.active { background: var(--secondary); border-color: var(--secondary); transform: scale(1.2); }

/* ---------------------------------------------- blog cards */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; transition: all .4s ease; border: 1px solid var(--line); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card .img-box { height: 230px; border-radius: 0; }
.blog-date { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 3; background: var(--secondary); color: var(--primary-deep); border-radius: 12px; padding: .45rem .8rem; text-align: center; line-height: 1.1; font-weight: 800; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.blog-date .d { font-size: 1.25rem; display: block; font-family: var(--font-display); }
.blog-date .m { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.blog-body { padding: 1.6rem 1.5rem; }
.blog-meta { font-size: .78rem; color: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; display: flex; gap: 1.1rem; }
.blog-meta i { color: var(--secondary-dark); margin-right: .3rem; }
.blog-body h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 800; line-height: 1.4; margin-bottom: .6rem; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { font-size: .9rem; margin-bottom: 1rem; }

/* ---------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; padding: 108px 0 96px; background-size: cover; background-position: center 30%; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(85deg, rgba(2,41,41,.96) 0%, rgba(4,90,90,.85) 45%, rgba(4,90,90,.45) 100%); }
.page-hero::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 300px; height: 300px; border: 44px solid rgba(255,186,59,.16); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .7rem; }
.page-hero .lead-sub { color: rgba(255,255,255,.85); max-width: 620px; font-size: 1.05rem; margin: 0; }
.breadcrumb-line { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 50rem; padding: .45rem 1.1rem; margin-bottom: 1.2rem; backdrop-filter: blur(6px); }
.breadcrumb-line a { color: rgba(255,255,255,.85); }
.breadcrumb-line a:hover { color: var(--secondary); }
.breadcrumb-line i { font-size: .58rem; opacity: .7; }

/* ---------------------------------------------- detail pages */
.detail-side { background: var(--primary-mist); border-radius: var(--radius); padding: 1.8rem 1.6rem; position: sticky; top: 110px; }
.detail-side h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; margin-bottom: 1rem; }
.side-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.side-list a { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 12px; padding: .68rem 1rem; margin-bottom: .5rem; font-weight: 700; font-size: .88rem; color: var(--ink); border-left: 3px solid transparent; transition: all .25s ease; }
.side-list a:hover, .side-list a.current { border-left-color: var(--secondary); color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.side-list a i { font-size: .65rem; color: var(--secondary-dark); }
.side-help { background: linear-gradient(150deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); color: #fff; padding: 1.7rem 1.5rem; text-align: center; }
.side-help i.big { font-size: 2rem; color: var(--secondary); margin-bottom: .8rem; }
.side-help h5 { color: #fff; font-family: var(--font-body); font-weight: 800; }
.side-help p { color: rgba(255,255,255,.75); font-size: .85rem; }

.detail-content h2 { font-size: 1.9rem; margin-bottom: 1.1rem; }
.detail-content .lead-para { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.feature-tile { background: var(--primary-mist); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; display: flex; align-items: center; gap: .8rem; height: 100%; font-weight: 700; color: var(--ink); font-size: .9rem; transition: all .3s ease; }
.feature-tile:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature-tile i { color: var(--secondary-dark); font-size: 1.05rem; flex: 0 0 auto; }

/* ---------------------------------------------- contact page */
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 2rem 1.8rem; height: 100%; text-align: center; border-top: 4px solid var(--secondary); transition: transform .3s ease; }
.contact-card:hover { transform: translateY(-6px); }
.contact-card .cicon { width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.4rem; }
.contact-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; }
.contact-card p, .contact-card a { font-size: .92rem; }

.form-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 2.4rem; position: relative; overflow: hidden; }
.form-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; background: var(--primary-mist); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(4,90,90,.1); background: #fff; }
.form-label { font-weight: 700; color: var(--ink); font-size: .88rem; }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; line-height: 0; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.9); }

/* ---------------------------------------------- blog article */
.article-body { font-size: 1.04rem; }
.article-body h2, .article-body h3 { margin: 1.8rem 0 .9rem; }
.article-body img { border-radius: var(--radius); margin: 1rem 0; height: auto; }
.article-body blockquote { border-left: 4px solid var(--secondary); background: var(--primary-mist); padding: 1.2rem 1.5rem; border-radius: 0 14px 14px 0; font-style: italic; color: var(--ink); }
.article-hero { height: 440px; }
.share-links a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); margin-right: .4rem; transition: all .3s; }
.share-links a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------------------------------------------- footer */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.75); position: relative; }
.footer-cta { transform: translateY(-50%); margin-top: 140px; }
.footer-cta-box { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 24px; padding: 2.6rem 2.8rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.footer-cta-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border: 34px solid rgba(255,186,59,.15); border-radius: 50%; }
.footer-cta-box::after { content: ""; position: absolute; left: 30%; bottom: -40px; width: 130px; height: 130px; background-image: radial-gradient(rgba(255,255,255,.16) 2px, transparent 2px); background-size: 16px 16px; }
.cta-kicker { color: var(--secondary); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; display: inline-block; margin-bottom: .6rem; }
.footer-cta-box h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: .4rem; }
.footer-cta-box h2 span { color: var(--secondary); font-style: italic; }
.footer-cta-box p { color: rgba(255,255,255,.78); }

.footer-main { padding: 0 0 60px; margin-top: -30px; }
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 1.1rem; }
.footer-brand img { height: 110px; width: auto; display: block; }
.footer-about { font-size: .92rem; }
.footer-social li a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; margin-right: .5rem; font-size: .85rem; transition: all .3s; }
.footer-social li a:hover { background: var(--secondary); color: var(--primary-deep); transform: translateY(-3px); }
.footer-title { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--secondary); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .92rem; position: relative; padding-left: 1rem; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--secondary); font-size: .75rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 1.25rem; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .9rem; font-size: .92rem; }
.footer-contact i { color: var(--secondary); margin-top: .35rem; }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 1.2rem 0; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-bottom a:hover { color: var(--secondary); }

/* ---------------------------------------------- floating buttons */
.float-whatsapp { position: fixed; right: 22px; bottom: 88px; z-index: 1050; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.55rem; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .3s; }
.float-whatsapp:hover { transform: scale(1.1); color: #fff; }
.float-whatsapp::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s ease-out infinite; }

.back-to-top { position: fixed; right: 22px; bottom: 24px; z-index: 1050; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--primary); color: var(--secondary); font-size: 1rem; opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .35s ease; box-shadow: var(--shadow-md); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--secondary); color: var(--primary-deep); }

/* ---------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
.reveal.reveal-left { transform: translateX(-46px); }
.reveal.reveal-right { transform: translateX(46px); }
.reveal.reveal-zoom { transform: scale(.88); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-slide-bg { transition: none; }
}

/* ---------------------------------------------- alerts */
.alert-kagio { border: 0; border-radius: 14px; font-weight: 600; padding: 1rem 1.3rem; }
.alert-kagio.ok { background: var(--primary-soft); color: var(--primary-dark); border-left: 4px solid var(--primary); }
.alert-kagio.err { background: #fdecec; color: #a13030; border-left: 4px solid #d64545; }

/* ---------------------------------------------- responsive */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link { padding: .7rem .4rem !important; }
  .navbar-nav .nav-link::after { display: none; }
  .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; display: none; border-radius: 14px; background: var(--primary-mist); }
  .mega-menu.open { display: block; }
  .mega-inner { padding: 1.1rem 1rem 0; }
  .mega-grid { grid-template-columns: 1fr; gap: .15rem; padding-bottom: 1rem; }
  .mega-head, .mega-foot { display: none; }
  .btn-appoint { margin: .8rem 0 1rem; display: inline-block; }
  /* Stack slides in one grid cell so the hero grows with its content
     (absolutely-positioned slides contribute no height, which clipped
     the hero text under the sticky header). */
  .hero { height: auto; min-height: 0; display: grid; }
  .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; }
  .hero-content { height: auto; padding: 56px 0 140px; }
  .hero-nav { right: 1.2rem; bottom: 1.4rem; }
  .hero-arrow { width: 42px; height: 42px; }
  .quick-strip { margin-top: -54px; }
  .footer-cta-box { padding: 2rem 1.6rem; }
  .stat-item + .stat-item::before { display: none; }
  .detail-side { position: static; margin-top: 2.5rem; }
  .section { padding: 70px 0; }
  .article-hero { height: 300px; }
}
@media (max-width: 575.98px) {
  .hero-box h1 { font-size: 1.9rem; }
  .hero-dots { display: none; }
  .site-logo { height: 56px; }
  .form-panel { padding: 1.6rem 1.2rem; }
}
