/* ==========================================================================
   Citadel Properties LLP — brand stylesheet
   Palette taken from the logo: navy, leaf green, slate grey, warm cream.
   ========================================================================== */
:root {
  --navy: #1c3c63;
  --navy-700: #163151;
  --navy-900: #0f2239;
  --green: #5b8c3e;
  --green-600: #4d7834;
  --green-100: #e8f1e1;
  --slate: #6b7280;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --cream: #fbf5ec;
  --cream-200: #f3e9d9;
  --gold: #c9a24d;
  --ink: #1b2430;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .12);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .18);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.muted { color: var(--slate); }
.text-center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: .6rem; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__head p { color: var(--slate); font-size: 1.05rem; }
.section--navy .section__head p { color: rgba(255,255,255,.78); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; line-height: 1; white-space: nowrap;
  font-family: var(--font-body);
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cream); color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

/* Topbar + header */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; gap: 16px; align-items: center; }
.topbar__badge { background: rgba(255,255,255,.1); padding: 2px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .04em; }
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--grey-200); transition: box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(8px); } }
.header__mobile { display: none; align-items: center; gap: 6px; }
.header__call { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; }
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__emblem { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--cream); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: .01em; }
.brand__name--green { color: var(--green); }
.brand__tag { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 10px 12px; font-weight: 500; font-size: .92rem; color: var(--ink); border-radius: 8px; position: relative; white-space: nowrap; }
.nav__link:hover { color: var(--navy); background: var(--grey-100); }
.nav__link.is-active { color: var(--green); font-weight: 600; }
.nav__cta { margin-left: 10px; padding: 10px 18px; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .25s; display: block; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin: 16px 0; font-size: .95rem; border: 1px solid; }
.alert--success { background: #ecfdf3; border-color: #a6e4bd; color: #0a5c2b; }
.alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert--info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); will-change: transform, opacity; }
.hero__slide picture, .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; animation: kenburns 10s ease-out forwards; }
.hero__slide:nth-child(even).is-active { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
@keyframes kenburns-alt { from { transform: scale(1.12) translate(1%, -1%); } to { transform: scale(1.03) translate(0, 0); } }
.hero__caption { position: absolute; left: 20px; bottom: 62px; z-index: 3; color: rgba(255,255,255,.85); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(15,34,57,.5); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); max-width: calc(100% - 40px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.15); }
.hero__progress span { display: block; height: 100%; width: 0; background: #a6d47f; }
.hero__progress.is-running span { animation: progress 8s linear forwards; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(15,34,57,.88) 0%, rgba(15,34,57,.6) 45%, rgba(15,34,57,.15) 100%); pointer-events: none; }
.hero__3d { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.hero__3d.is-active { opacity: 1; }
.hero__3d canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__3d-label { position: absolute; right: 20px; bottom: 62px; z-index: 3; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 8px; background: rgba(15,34,57,.5); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s; }
.hero__3d.is-active ~ .hero__3d-label { opacity: 1; }
.hero__3d-label span { width: 8px; height: 8px; border-radius: 50%; background: #a6d47f; box-shadow: 0 0 0 0 rgba(166,212,127,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(166,212,127,.7); } 70% { box-shadow: 0 0 0 8px rgba(166,212,127,0); } 100% { box-shadow: 0 0 0 0 rgba(166,212,127,0); } }
.hero__content { position: relative; z-index: 2; padding: 80px 0 60px; max-width: 760px; }
.hero__content .eyebrow { color: #a6d47f; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: #a6d47f; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 600px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; }
.hero__trust div { border-left: 2px solid rgba(255,255,255,.3); padding-left: 14px; }
.hero__trust strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1; }
.hero__trust span { font-size: .8rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; }

/* Search bar */
.search-bar { position: relative; z-index: 3; margin-top: -44px; }
.search-bar__box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--grey-300); border-radius: 10px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(91,140,62,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.field__error { color: #b91c1c; font-size: .8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--grey-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.badge--green { background: var(--green); color: #fff; }
.badge--navy { background: var(--navy); color: #fff; }
.badge--gold { background: var(--gold); color: #fff; }
.badge--grey { background: var(--grey-100); color: var(--slate); box-shadow: none; }
.badge--red { background: #fee2e2; color: #991b1b; box-shadow: none; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__title a { color: var(--navy); }
.card__loc { color: var(--slate); font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.card__price { font-weight: 700; color: var(--green-600); font-size: 1.05rem; }
.card__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--slate); border-top: 1px solid var(--grey-200); padding-top: 12px; margin-top: auto; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__actions { display: flex; gap: 8px; margin-top: 10px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 6px 0; }
.price-table th, .price-table td { padding: 6px 0; text-align: left; border-bottom: 1px dashed var(--grey-200); }
.price-table th { color: var(--slate); font-weight: 500; }
.price-table td { font-weight: 600; text-align: right; }

/* Service tiles */
.service { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px; transition: .25s; position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green); transform: scaleY(0); transition: .3s; transform-origin: bottom; }
.service:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service:hover::before { transform: scaleY(1); }
.service__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--green-100); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.service h3 { font-size: 1.15rem; }
.service p { color: var(--slate); font-size: .93rem; margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; background: rgba(255,255,255,.06); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.stat strong { font-family: var(--font-head); font-size: 2.6rem; color: #a6d47f; display: block; line-height: 1; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .08em; }

/* Why us */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.why__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.why__img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.why__float { position: absolute; bottom: 24px; left: -24px; background: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; }
.why__float strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--green); }
.why__float span { font-size: .8rem; color: var(--slate); line-height: 1.3; display: block; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { flex: none; margin-top: 3px; color: var(--green); }
.check-list strong { display: block; color: var(--navy); }
.check-list span { color: var(--slate); font-size: .92rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--grey-200); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 2.6rem; color: var(--cream-200); position: absolute; right: 18px; top: 8px; font-weight: 700; }
.step h3 { font-size: 1.1rem; position: relative; }
.step p { color: var(--slate); font-size: .9rem; margin: 0; }

/* Testimonials */
.testimonial { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--grey-200); display: flex; flex-direction: column; gap: 14px; height: 100%; }
.testimonial__stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.testimonial p { color: var(--ink); font-size: .96rem; flex: 1; margin: 0; font-style: italic; }
.testimonial__who { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testimonial__who strong { display: block; color: var(--navy); font-size: .95rem; }
.testimonial__who span { font-size: .8rem; color: var(--slate); }

/* Page hero */
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, #27507f); color: #fff; padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(166,212,127,.25), transparent 65%); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 680px; font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb span { margin: 0 6px; }

/* Filters */
.filters { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--slate); font-size: .9rem; flex-wrap: wrap; gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--grey-300); font-size: .85rem; font-weight: 500; color: var(--ink); background: #fff; }
.chip:hover, .chip.is-active { border-color: var(--green); background: var(--green-100); color: var(--green-600); }
.empty { text-align: center; padding: 60px 20px; color: var(--slate); background: var(--grey-100); border-radius: var(--radius); }

/* Detail layout */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.detail__gallery { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.detail__gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; cursor: zoom-in; }
.detail__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.detail__thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.detail__thumbs img.is-active { border-color: var(--green); }
.detail h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.detail__price { font-family: var(--font-head); font-size: 1.8rem; color: var(--green-600); font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.spec { background: var(--cream); border-radius: 10px; padding: 14px; }
.spec small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.spec strong { color: var(--navy); font-size: 1rem; }
.sticky { position: sticky; top: 100px; }
.inquiry-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--grey-200); padding: 26px; }
.inquiry-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.inquiry-card > p { color: var(--slate); font-size: .9rem; }
.inquiry-card form { display: grid; gap: 12px; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 20px; }
.amenities li { background: var(--green-100); color: var(--green-600); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.prose { font-size: 1.02rem; line-height: 1.8; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.price-card { border: 1.5px solid var(--grey-200); border-radius: var(--radius); padding: 20px; }
.price-card h4 { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.price-card dl { margin: 0; display: grid; gap: 8px; }
.price-card dl div { display: flex; justify-content: space-between; font-size: .92rem; }
.price-card dt { color: var(--slate); }
.price-card dd { margin: 0; font-weight: 600; color: var(--ink); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--green-600), var(--green) 55%, #7bb35a); color: #fff; padding: 48px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--green { background: var(--navy); }
.cta-band .btn--green:hover { background: var(--navy-900); }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 64px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #a6d47f; }
.footer__logo-wrap { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }
.footer__legal { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 18px; margin-top: 10px; max-width: 420px; }
.footer__legal h4 { margin-bottom: 10px; font-size: .8rem; color: #a6d47f; }
.footer__legal dl { margin: 0; display: grid; gap: 6px; font-size: .85rem; }
.footer__legal dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 5px; }
.footer__legal dt { color: rgba(255,255,255,.6); }
.footer__legal dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; font-size: .82rem; }
.footer__certlink { display: inline-block; margin-top: 12px; color: #a6d47f; font-weight: 600; font-size: .85rem; }
.footer address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }
.footer__contact { margin-bottom: 14px; }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social a { background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 999px; font-size: .8rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer__bottom div { display: flex; gap: 18px; }
.footer__admin { opacity: .6; }
.footer__disclaimer { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: 18px; line-height: 1.5; }

/* Floating buttons */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: 0 10px 30px rgba(37,211,102,.45); font-weight: 600; transition: .2s; }
.wa-float:hover { transform: translateY(-2px); color: #fff; }
.call-float { position: fixed; right: 20px; bottom: 82px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.call-float:hover { background: var(--green); color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,16,28,.88); }
.modal__dialog { position: absolute; inset: 24px; display: grid; place-items: center; }
.modal__dialog img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.modal__close { position: absolute; top: 0; right: 0; background: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 24px; cursor: pointer; z-index: 2; }

/* Certificates */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cert { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px; }
.cert__preview { border: 1px solid var(--grey-200); border-radius: 10px; overflow: hidden; margin: 14px 0; cursor: zoom-in; background: var(--grey-100); }
.cert__preview img { aspect-ratio: 3/4; object-fit: cover; object-position: top; width: 100%; }
.cert dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.cert dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.cert dd { margin: 0; font-weight: 600; color: var(--navy); font-size: .92rem; }
.cert__pages { display: flex; gap: 8px; margin-top: 10px; }
.cert__pages img { width: 64px; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--grey-200); cursor: zoom-in; }

/* EMI */
.emi { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.emi__panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--grey-200); padding: 28px; box-shadow: var(--shadow-sm); }
.range { display: grid; gap: 8px; margin-bottom: 22px; }
.range__head { display: flex; justify-content: space-between; align-items: center; }
.range__head label { font-weight: 600; color: var(--navy); }
.range__head output { font-weight: 700; color: var(--green-600); background: var(--green-100); padding: 4px 10px; border-radius: 6px; font-size: .9rem; }
.range input[type=range] { width: 100%; accent-color: var(--green); }
.range input[type=number] { padding: 8px 10px; border: 1.5px solid var(--grey-300); border-radius: 8px; font: inherit; width: 100%; }
.emi__result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.emi__big { font-family: var(--font-head); font-size: 2.8rem; color: #a6d47f; font-weight: 700; line-height: 1; margin: 6px 0 20px; }
.emi__rows { display: grid; gap: 10px; }
.emi__rows div { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.2); padding-bottom: 8px; font-size: .95rem; }
.emi__rows strong { color: #fff; }
.donut { width: 160px; height: 160px; border-radius: 50%; margin: 20px auto 0; background: conic-gradient(#a6d47f var(--p, 60%), rgba(255,255,255,.2) 0); display: grid; place-items: center; }
.donut span { width: 112px; height: 112px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font-size: .8rem; text-align: center; line-height: 1.3; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; }
.contact-item svg { color: var(--green); flex: none; margin-top: 2px; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item span, .contact-item a { color: var(--slate); font-size: .95rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); margin-top: 32px; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Blog */
.article-hero img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); margin: -60px 0 32px; box-shadow: var(--shadow-lg); position: relative; }
.article-body { max-width: 780px; margin: 0 auto; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--grey-300); font-size: .9rem; }
.pagination .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__slide.is-active { animation: none; } }

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .search-bar__box, .filters { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why, .emi, .contact-grid, .cert-grid { grid-template-columns: 1fr; }
  .why__float { left: 12px; }
}
@media (max-width: 860px) {
  .topbar__right { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar a:last-child { margin-right: 0; }
  .header__inner { min-height: 64px; gap: 10px; }
  .brand__emblem { width: 42px; height: 42px; }
  .brand__name { font-size: 1.05rem; }
  .header__mobile { display: flex; }
  .nav-toggle { display: flex; }
  .hero { min-height: min(calc(100svh - 100px), 680px); }
  .hero__content { padding: 48px 0 40px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero p { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 45%; }
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
  .hero__trust strong { font-size: 1.4rem; }
  .hero__caption { bottom: 10px; left: 12px; font-size: .62rem; }
  .hero__3d-label { bottom: 10px; right: 12px; font-size: .6rem; }
  .section { padding: 48px 0; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 20px 30px; gap: 4px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; box-shadow: var(--shadow-lg); z-index: 99; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav__link { padding: 13px 14px; font-size: 1rem; border-bottom: 1px solid var(--grey-100); border-radius: 0; }
  .nav__cta { margin: 16px 0 0; justify-content: center; }
  .nav-toggle { position: relative; z-index: 100; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,16,28,.5); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .brand__tag { display: none; }
}
@media (max-width: 480px) {
  .topbar a:nth-child(2) { display: none; }
  .brand__name { font-size: .98rem; }
  .brand__emblem { width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats, .steps, .form-grid, .price-cards { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .search-bar__box, .filters { grid-template-columns: 1fr; }
  .search-bar { margin-top: 0; padding-top: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 18px; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .cta-band__actions .btn { width: 100%; }
  .detail__thumbs { grid-template-columns: repeat(4, 1fr); }
  .topbar a { margin-right: 10px; font-size: .75rem; }
}
