:root {
    --navy: #2c4a78;
    --navy-dark: #24416b;
    --blue-soft: #4f74ad;
    --gold: #cdae57;
    --gold-dark: #b3923a;
    --light: #f7f9fc;
    --gray: #6b7280;
    --border: #e7eaf0;
    --radius: 14px;
    --shadow: 0 10px 40px rgba(44, 74, 120, .08);
    --shadow-lg: 0 20px 60px rgba(44, 74, 120, .13);
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #2b3344;
    font-size: 1rem;
    line-height: 1.7;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }
.text-gold { color: var(--gold) !important; }
.bg-light-soft { background: var(--light); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy-dark);
    color: #cdd6e6;
    font-size: .86rem;
    padding: .5rem 0;
}
.topbar a { color: #cdd6e6; margin-left: .6rem; font-size: 1rem; }
.topbar a:hover { color: var(--gold); }
.topbar-map { margin-left: 0 !important; font-size: .86rem !important; }
.topbar-map i { color: var(--gold); margin-right: .25rem; }
.topbar-mail { margin-left: 1.5rem !important; font-size: .86rem !important; }
.topbar-mail i { color: var(--gold); margin-right: .25rem; }
.nzok-badge { color: var(--gold); font-weight: 600; }

/* ---------- Navbar ---------- */
.main-nav {
    background: #fff;
    box-shadow: 0 4px 20px rgba(26, 43, 74, .06);
    padding: .55rem 0;
    z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: .65rem; }
.brand-logo { height: 54px; width: auto; max-width: 240px; object-fit: contain; }
.brand-logo-footer { height: auto; width: 120px; max-width: 100%; padding: .6rem .9rem; border-radius: 10px; }
@media (max-width: 575px) { .brand-logo { height: 44px; max-width: 200px; } }
.brand-mark {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    color: var(--gold);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--navy); font-size: 1.15rem; }
.brand-text small { color: var(--gray); font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; }
.main-nav .nav-link {
    color: var(--navy); font-weight: 500; padding: .5rem .9rem; position: relative;
}
.main-nav .nav-link:hover { color: var(--gold-dark); }
.main-nav .nav-link::after {
    content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .3rem;
    height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav .nav-link:hover::after { transform: scaleX(1); }
.btn-phone {
    background: var(--gold); color: #fff; font-weight: 600; border-radius: 50px;
    padding: .55rem 1.3rem; white-space: nowrap;
}
.btn-phone:hover { background: var(--gold-dark); color: #fff; }

/* Mobile navigation menu */
.navbar-toggler { border-color: var(--border); padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
    .main-nav .navbar-collapse {
        background: #fff;
        margin-top: .6rem;
        padding: .25rem .25rem 1rem;
        border-top: 1px solid var(--border);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .main-nav .navbar-nav { align-items: stretch !important; }
    .main-nav .nav-item { width: 100%; }
    .main-nav .nav-link { padding: .85rem .4rem; border-bottom: 1px solid var(--border); }
    .main-nav .nav-link::after { display: none; }
    .btn-phone { display: block; text-align: center; margin: 1rem 0 0; padding: .75rem 1.3rem; }
    .navbar-nav .nav-item.ms-lg-3 { margin-left: 0 !important; }
}

/* ---------- Buttons ---------- */
.btn-primary-cta {
    background: var(--gold); border: none; color: #fff; font-weight: 600;
    padding: .85rem 2rem; border-radius: 50px; font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(201, 168, 76, .35); transition: all .25s ease;
}
.btn-primary-cta:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-navy {
    border: 2px solid var(--navy); color: var(--navy); font-weight: 600;
    padding: .8rem 1.8rem; border-radius: 50px; background: transparent; transition: all .25s ease;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light-cta {
    border: 2px solid rgba(255,255,255,.7); color: #fff; font-weight: 600;
    padding: .8rem 1.8rem; border-radius: 50px; background: transparent;
}
.btn-outline-light-cta:hover { background: #fff; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title .eyebrow {
    color: var(--gold-dark); font-weight: 600; text-transform: uppercase;
    letter-spacing: .12em; font-size: .8rem; display: block; margin-bottom: .6rem;
}
.section-title h2 { font-size: 2.3rem; margin-bottom: 1rem; }
.section-title p { color: var(--gray); font-size: 1.08rem; }
.divider-gold { width: 70px; height: 3px; background: var(--gold); margin: 1rem auto; border: none; opacity: 1; border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(120deg, rgba(44,74,120,.90), rgba(79,116,173,.70)),
                url('/img/hero.jpg') center/cover no-repeat, var(--blue-soft);
    padding: 4rem 0;
}
.hero h1 { color: #fff; font-size: 3.1rem; font-weight: 800; line-height: 1.12; margin-bottom: 1.3rem; }
.hero .lead { color: #dde4f0; font-size: 1.25rem; max-width: 600px; margin-bottom: 2rem; }
.hero .badge-founded {
    display: inline-flex; align-items: center; gap: .5rem; background: rgba(201,168,76,.18);
    color: var(--gold); border: 1px solid rgba(201,168,76,.4); padding: .4rem 1rem;
    border-radius: 50px; font-weight: 600; font-size: .85rem; margin-bottom: 1.5rem;
}
.hero-photo {
    position: relative; max-width: 400px; margin: 0 auto; aspect-ratio: 4/5;
    border-radius: 22px; overflow: hidden; border: 5px solid rgba(255,255,255,.18);
    box-shadow: 0 24px 60px rgba(17,32,58,.35);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; display: block; }
.hero-photo-fallback {
    position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .7rem; text-align: center; padding: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
}
.hero-photo-fallback i { font-size: 4.5rem; color: var(--gold); }
.hero-photo-fallback span { color: #fff; font-weight: 600; }
.hero-photo-tag {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; flex-direction: column; padding: 1.4rem 1.2rem .9rem;
    background: linear-gradient(to top, rgba(20,36,64,.92), rgba(20,36,64,0));
}
.hero-photo-tag strong { color: #fff; font-size: 1.05rem; line-height: 1.2; }
.hero-photo-tag small { color: var(--gold); font-size: .8rem; }
@media (max-width: 991px) { .hero-photo { max-width: 320px; margin-top: 2rem; } }
@media (max-width: 768px) { .hero h1 { font-size: 2.1rem; } .hero { padding: 3rem 0; } }

/* ---------- Page banner ---------- */
.page-banner {
    background: linear-gradient(120deg, rgba(44,74,120,.93), rgba(79,116,173,.80)), var(--blue-soft);
    color: #fff; padding: 3.5rem 0; text-align: center;
}
.page-banner h1 { color: #fff; font-size: 2.5rem; margin-bottom: .5rem; }
.breadcrumb-nav { display: flex; justify-content: center; gap: .5rem; font-size: .9rem; color: #b9c3d6; }
.breadcrumb-nav a { color: var(--gold); }

/* ---------- Cards ---------- */
.feature-grid { display: grid; gap: 1.5rem; }
.service-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; height: 100%; transition: all .3s ease; display: block;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: var(--gold);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.service-card p { color: var(--gray); font-size: .95rem; margin-bottom: 0; }
.service-card .more { color: var(--gold-dark); font-weight: 600; font-size: .9rem; margin-top: 1rem; display: inline-block; }

.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item .check {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(201,168,76,.15); color: var(--gold-dark);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.why-item h4 { font-size: 1.05rem; margin-bottom: .25rem; }
.why-item p { color: var(--gray); font-size: .9rem; margin: 0; }

/* ---------- Team ---------- */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .3s ease; }
.team-card:hover { transform: translateY(-6px); }
.team-photo { aspect-ratio: 4/5; background: var(--light); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 3rem; background: linear-gradient(135deg, #eef1f7, #e2e7f0); }
.team-card .body { padding: 1.3rem; }
.team-card h4 { font-size: 1.15rem; margin-bottom: .2rem; }
.team-card .role { color: var(--gold-dark); font-weight: 600; font-size: .85rem; }
.team-card .bio { color: var(--gray); font-size: .85rem; margin-top: .6rem; }
.team-card .more { color: var(--gold-dark); font-weight: 600; font-size: .85rem; margin-top: .6rem; display: inline-block; }
.team-card:hover .more { color: var(--gold); }
.team-card-static { height: auto; }
.team-card-static:hover { transform: none; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); text-align: center; margin: 1rem; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 1rem; }
.testimonial-card .quote { font-style: italic; color: #44506a; font-size: 1.05rem; }
.testimonial-card .name { font-weight: 700; color: var(--navy); margin-top: 1rem; }

/* ---------- FAQ ---------- */
.accordion-button { font-weight: 600; color: var(--navy); }
.accordion-button:not(.collapsed) { background: var(--light); color: var(--navy); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--gold); }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius) !important; margin-bottom: .8rem; overflow: hidden; }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--light); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb .placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 2.5rem; }
.blog-card .body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .cat { color: var(--gold-dark); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.blog-card h3 { font-size: 1.2rem; margin: .4rem 0 .6rem; }
.blog-card .excerpt { color: var(--gray); font-size: .92rem; flex: 1; }
.blog-card .date { color: var(--gray); font-size: .82rem; margin-top: .8rem; }

/* ---------- Gallery (before/after) ---------- */
.ba-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images figure { margin: 0; position: relative; }
.ba-images img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ba-images figcaption { position: absolute; top: .6rem; left: .6rem; background: rgba(26,43,74,.85); color: #fff; padding: .15rem .7rem; border-radius: 50px; font-size: .72rem; font-weight: 600; }
.ba-images figcaption.after { background: var(--gold); }
.ba-card .caption { padding: 1rem 1.2rem; font-size: .9rem; color: var(--gray); }

/* ---------- Service detail ---------- */
.content-body { font-size: 1.03rem; }
.content-body h3 { font-size: 1.4rem; margin: 1.8rem 0 .8rem; }
.content-body ul { padding-left: 1.2rem; }
.content-body li { margin-bottom: .4rem; }
.sidebar-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; }
.sidebar-cta h4 { color: #fff; }
.sidebar-cta .phone { color: var(--gold); font-size: 1.5rem; font-weight: 700; }
.sidebar-list .list-group-item { border: none; border-bottom: 1px solid var(--border); padding: .7rem 0; background: transparent; }
.sidebar-list .list-group-item.active { color: var(--gold-dark); font-weight: 600; }

/* ---------- Price list ---------- */
.price-cat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; overflow: hidden; }
.price-cat .head { background: var(--navy); color: #fff; padding: 1rem 1.5rem; font-weight: 600; font-size: 1.1rem; }
.price-cat ul { list-style: none; margin: 0; padding: 0; }
.price-cat li { padding: .8rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; }
.price-cat li:last-child { border-bottom: none; }
.price-cat li .note { color: var(--gray); font-size: .85rem; }

/* ---------- Contact ---------- */
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2.5rem; height: 100%; }
.contact-info-card h3 { color: #fff; }
.contact-info-card .item { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.contact-info-card .item i { color: var(--gold); font-size: 1.2rem; margin-top: .2rem; }
.contact-info-card a { color: #dde4f0; }
.form-control, .form-select { border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(201,168,76,.15); }
.map-embed iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* ---------- Video ---------- */
.video-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background:#000; }
.video-card .ratio iframe, .video-card .ratio video { border: 0; }

/* ---------- Floating call ---------- */
.floating-call {
    position: fixed; right: 18px; bottom: 18px; z-index: 1050;
    width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(201,168,76,.5); animation: pulse 2s infinite;
}
.floating-call:hover { color: #fff; background: var(--gold-dark); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,168,76,.5);} 70% { box-shadow: 0 0 0 16px rgba(201,168,76,0);} 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0);} }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #cdd6e6; padding: 4rem 0 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand .brand-text strong { color: #fff; font-size: 1.2rem; }
.text-muted-light { color: #9aa6bd; font-size: .92rem; }
.footer-title { color: #fff; font-size: 1.1rem; margin-bottom: 1.2rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: .7rem; }
.footer-links a, .footer-contact a { color: #cdd6e6; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li i { color: var(--gold); width: 20px; }
.footer-social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center; margin-right: .5rem; transition: background .2s; }
.footer-social a:hover { background: var(--gold); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2.5rem 0 1.2rem; }
.copyright { color: #8593ad; font-size: .85rem; }

/* ---------- Stats ---------- */
.stat-box { text-align: center; padding: 1rem; }
.stat-box .num { font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-box .label { color: #dde4f0; font-size: .92rem; margin-top: .4rem; }

/* ---------- Welcome ---------- */
.welcome-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.welcome-img-placeholder { border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-dark)); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 5rem; box-shadow: var(--shadow-lg); }

.alert-soft { border-radius: 10px; border: none; }

/* ---------- Buttons (shared) ---------- */
.btn-gold { background: var(--gold); border: none; color: #fff; font-weight: 600; border-radius: 50px; padding: .7rem 1.6rem; transition: all .25s ease; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }

/* Compact nav buttons (admin controls) */
.btn-nav-sm { padding: .22rem .6rem !important; font-size: .72rem; border-width: 1px; }
.btn-nav-sm i { font-size: .7rem; }

/* ---------- Login ---------- */
.login-section { padding: 4rem 0; }
.login-card { border: none; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.login-logo { max-height: 64px; width: auto; }
.login-card .input-group-text { background: var(--navy); color: var(--gold); border: none; }
.login-card .form-control { border-left: none; }
