/* NUANSA ASRI – base, layout, header, hero, sections, footer */
:root {
    --navy: #102C59; --navy-d: #0B2146; --gray: #7F8288; --white: #fff; --off: #F7F8FA; --light: #E9EBEF;
    --text: #20242B; --muted: #666D79; --gold: #C5A46D; --gold-d: #8E7240; --wa: #148F4B; --wa-d: #0F7A3F;
    --r: 6px; --header-h: 82px;
    --ff-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --shadow: 0 8px 28px rgba(16, 44, 89, .09);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: var(--ff-body); color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-d); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--ff-head); font-weight: 600; color: var(--navy); line-height: 1.18; letter-spacing: -.01em; }
.text-navy { color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--r); z-index: 3000; }
.skip-link:focus { top: 1rem; color: #fff; }
[hidden] { display: none !important; }

.demo-bar { background: #F3EBDD; color: #5B4722; font-size: .8rem; text-align: center; padding: .45rem 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--light); transition: background-color .25s, box-shadow .25s, border-color .25s; }
.site-header .navbar { padding: 0; min-height: var(--header-h); }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.brand-logo { height: 62px; width: auto; display: block; }
.brand-logo--light { display: none; }
.site-header .nav-link { color: var(--navy); font-size: .92rem; font-weight: 500; padding: .5rem .85rem; border-radius: var(--r); }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.dropdown-menu { border: 1px solid var(--light); border-radius: var(--r); box-shadow: var(--shadow); padding: .5rem; margin-top: .4rem; }
.dropdown-item { border-radius: 4px; font-size: .92rem; padding: .5rem .75rem; }
.dropdown-item:active { background: var(--navy); }
.dropdown-item i { color: var(--gold-d); margin-right: .4rem; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(16, 44, 89, .1); }

/* transparent header over the homepage hero */
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) { background: transparent; border-color: transparent; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .brand-logo--dark { display: none; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .brand-logo--light { display: block; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-link { color: #fff; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-link:hover,
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-link.active { color: #fff; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .navbar-toggler { color: #fff; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .lang-switch { border-color: rgba(255, 255, 255, .5); }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .lang-switch__item { color: #fff; }
.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .lang-switch__item.is-active { background: #fff; color: var(--navy); }

.navbar-toggler { border: 0; padding: .5rem; color: var(--navy); }
.navbar-toggler:focus { box-shadow: none; outline: 2px solid var(--gold); }
.hamburger { display: grid; gap: 5px; width: 24px; }
.hamburger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang-switch { display: inline-flex; border: 1px solid var(--light); border-radius: 999px; padding: 2px; }
.lang-switch__item { font-size: .78rem; font-weight: 600; text-decoration: none; padding: .25rem .65rem; border-radius: 999px; color: var(--navy); }
.lang-switch__item.is-active { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.page-home .hero { margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero { position: relative; min-height: min(100vh, 880px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-d); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 33, 70, .5) 0%, rgba(11, 33, 70, .7) 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 3rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; font-weight: 600; max-width: 13em; margin: 0 0 1.25rem; }
.hero__text { max-width: 38rem; font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 1.75rem; }
.hero-search { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 1rem; align-items: end; background: #fff; color: var(--text); border-radius: var(--r); padding: 1.25rem; margin-top: 3rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--tint { background: var(--off); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.lead-light { color: rgba(255, 255, 255, .8); font-size: 1.05rem; max-width: 30rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .5rem; }
.section-head p { color: var(--muted); max-width: 40rem; margin: 0; }
.section-head--row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: space-between; }

.page-hero { background: var(--navy); color: #fff; padding: 2.5rem 0 3.25rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .75rem; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 44rem; margin: 0; font-size: 1.05rem; }
.page-hero__icon { color: var(--gold); font-size: .75em; margin-right: .35rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.page-hero .crumbs a, .page-hero .crumbs li { color: rgba(255, 255, 255, .8); }
.page-hero .crumbs a:hover { color: #fff; }
.detail-head .crumbs a { color: var(--muted); }
.detail-head .crumbs li { color: var(--muted); }

.prose { max-width: 42rem; font-size: 1.04rem; line-height: 1.8; }
.prose--narrow { max-width: 46rem; }
.prose h2 { font-size: 1.7rem; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-d); color: rgba(255, 255, 255, .78); padding: 4.5rem 0 1.5rem; font-size: .93rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-logo img { width: 120px; height: auto; margin-bottom: 1.25rem; }
.footer-about { max-width: 22rem; }
.footer-title { font-family: var(--ff-head); font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact i { color: var(--gold); margin-top: .35rem; width: 1rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-d); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }

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