:root {
    --charcoal: #0e1014;
    --charcoal-2: #171a21;
    --ink: #252a33;
    --muted: #6b7280;
    --line: rgba(20, 20, 20, .1);
    --soft: #f7f7f5;
    --white: #ffffff;
    --gold: #d7a83f;
    --gold-dark: #9e6f1f;
    --gold-light: #ffe29a;
    --gold-gradient: linear-gradient(135deg, #8d611b 0%, #d5a33a 42%, #fff0a8 72%, #b37a25 100%);
    --shadow: 0 24px 70px rgba(14, 16, 20, .14);
    --radius: 8px;
    --container: min(100% - 32px, 1200px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--charcoal); color: var(--white); }
.eyebrow {
    color: var(--gold-dark);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.12; color: var(--charcoal); }
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4 { color: #ffffff !important; }
.section-dark h1, .section-dark h2, .section-dark h3, .hero h1 { color: var(--white); }
h1 { font-size: clamp(2.6rem, 7vw, 5.7rem); letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { color: var(--muted); }
.section-dark p, .hero p, .footer p { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.btn-gold { color: #19130a; background: var(--gold-gradient); }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(14,16,20,.78); backdrop-filter: blur(18px); box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.navbar {
    margin-top: 14px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(14, 16, 20, .48);
    backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); }
.brand-mark {
    width: 44px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--gold-gradient);
    color: #17100a;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: "Poppins", sans-serif; letter-spacing: .05em; }
.brand-copy small { color: rgba(255,255,255,.68); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    color: rgba(255,255,255,.78);
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .94rem;
    transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); background: rgba(255,255,255,.08); }
.nav-links > li { position: relative; }
.nav-link-with-dropdown { display: flex; align-items: center; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(14, 16, 20, .98);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 1001;
}
.nav-links > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { padding: 0; }
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,.78);
    border-radius: 0;
    font-weight: 700;
    font-size: .9rem;
}
.dropdown-menu a:hover, .dropdown-menu a.active { color: var(--gold-light); background: rgba(255,255,255,.08); }
.dropdown-menu.open { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--white); margin: 5px auto; transition: .25s ease; }
.hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
    position: relative;
    isolation: isolate;
    padding: 140px 0 70px;
    background: linear-gradient(90deg, rgba(14,16,20,.86), rgba(14,16,20,.52)), var(--hero-image, url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80')) center/cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(transparent, rgba(14,16,20,.78));
    z-index: -1;
}
.hero-content { max-width: 840px; color: var(--white); }
.hero-content h1, .hero-content p { text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.hero-content p { max-width: 690px; margin: 22px 0 30px; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 14px;
}
.stat-card, .glass-card {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.stat-card strong { display: block; color: var(--gold-light); font: 800 2rem "Poppins"; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 34px rgba(14,16,20,.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(215,168,63,.55); box-shadow: var(--shadow); }
.icon {
    width: 52px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #1c1407;
    background: var(--gold-gradient);
    margin-bottom: 20px;
    font-size: 1.25rem;
}
.read-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gold-dark); font-weight: 800; }
.feature-list { display: grid; gap: 16px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row i { color: var(--gold); margin-top: 5px; }
.image-panel {
    min-height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
    background: center/cover;
    box-shadow: var(--shadow);
}
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}
.timeline-item { position: relative; }
.timeline-item::before {
    counter-increment: step;
    content: "0" counter(step);
    display: inline-grid;
    place-items: center;
    width: 46px;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 18px;
    background: var(--gold-gradient);
    color: #1b1204;
    font-weight: 900;
}
.stars { color: var(--gold); margin-bottom: 14px; }
.faq-list { max-width: 900px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 20px;
    text-align: left;
    font-weight: 800;
    cursor: pointer;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { padding: 0 20px 20px; }
.faq-item.open .faq-answer { max-height: 220px; }
.faq-item.open i { transform: rotate(45deg); }
.blog-card { overflow: hidden; padding: 0; }
.blog-card img { width: 100%; height: 230px; object-fit: cover; }
.blog-card .card-body { padding: 24px; }
.cta-band {
    border-radius: var(--radius);
    padding: clamp(36px, 6vw, 68px);
    background: linear-gradient(135deg, rgba(14,16,20,.92), rgba(14,16,20,.76)), url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
}
.page-hero {
    min-height: 300px;
    display: grid;
    align-items: center;
    padding: 80px 0 60px;
    color: var(--white);
    background: linear-gradient(90deg, rgba(14,16,20,.88), rgba(14,16,20,.48)), var(--page-image, url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1700&q=80')) center/cover;
}
.page-hero .container { margin-top: 40px; }
.page-hero .container h1, .page-hero .container h2, .page-hero .container h3, .page-hero .container h4, .page-hero .container p, .page-hero .container { color: #ffffff !important; }
.page-hero .container .eyebrow { color: #ffe29a !important; }
.split-copy p + p { margin-top: 14px; }
.values-grid .card { min-height: 235px; }
.counter-grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.counter { font: 800 2.6rem "Poppins"; color: var(--gold-dark); }
.team-card { text-align: center; }
.team-card img { width: 128px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; }
.service-detail { display: grid; gap: 18px; }
.legal-layout {
    max-width: 930px;
    margin-inline: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 5vw, 58px);
    box-shadow: var(--shadow);
}
.legal-layout h2 { margin-top: 32px; font-size: clamp(1.35rem, 3vw, 2rem); }
.legal-layout ol { padding-left: 22px; color: var(--muted); }
.contact-shell {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: start;
}
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; color: var(--charcoal); }
.field input, .field textarea, .field select, .newsletter-form input, .search-bar input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 14px;
    outline: 0;
    background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(215,168,63,.14); }
.field.error input, .field.error textarea, .field.error select { border-color: #b42318; }
.form-message { display: none; padding: 12px; border-radius: var(--radius); font-weight: 700; }
.form-message.success { display: block; color: #05603a; background: #ecfdf3; }
.map-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ece9e0, #f8f8f6);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}
.sidebar { display: grid; gap: 18px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.pagination a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); font-weight: 800; }
.pagination a.active { background: var(--charcoal); color: var(--white); }
.footer {
    background: #090b0f;
    color: var(--white);
    padding-top: 72px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .8fr 1fr 1.15fr 1.1fr;
    gap: 34px;
}
.footer h3 { color: var(--white); margin-bottom: 18px; font-size: 1.05rem; }
.footer-links, .contact-list { display: grid; gap: 10px; color: rgba(255,255,255,.68); }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--gold-light); }
.contact-list i { color: var(--gold); width: 20px; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a {
    width: 38px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
}
.newsletter-form { display: flex; margin-top: 16px; }
.newsletter-form input { border-radius: 8px 0 0 8px; }
.newsletter-form button { width: 48px; border: 0; border-radius: 0 8px 8px 0; background: var(--gold-gradient); cursor: pointer; }
.footer-bottom {
    margin-top: 50px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom div { display: flex; gap: 18px; }
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    aspect-ratio: 1;
    border: 0;
    border-radius: 8px;
    background: var(--gold-gradient);
    color: #17100a;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s ease;
    z-index: 999;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 80px;
    }
}
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.hero .fade-up {
    opacity: 1;
    transform: none;
    animation: riseIn .8s ease both;
}
@keyframes riseIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 980px) {
    .grid-2, .grid-3, .grid-4, .counter-grid, .timeline, .contact-shell, .cta-band { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute;
        inset: calc(100% + 10px) 0 auto;
        width: var(--container);
        margin-inline: auto;
        left: 50%;
        transform: translate(-50%, -10px);
        opacity: 0;
        pointer-events: none;
        display: grid;
        gap: 16px;
        padding: 18px;
        border-radius: var(--radius);
        border: 1px solid rgba(255,255,255,.16);
        background: rgba(14,16,20,.94);
        backdrop-filter: blur(18px);
        transition: .25s ease;
    }
    .nav-menu.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
    .nav-links { display: grid; gap: 4px; }
    .nav-cta { width: 100%; }
}
@media (max-width: 640px) {
    :root { --container: min(100% - 24px, 1200px); }
    .navbar { margin-top: 8px; min-height: 64px; }
    .brand-mark { width: 38px; }
    .brand-copy strong { font-size: .92rem; }
    .brand-copy small { font-size: .62rem; }
    .grid-2, .grid-3, .grid-4, .counter-grid, .timeline, .contact-shell, .cta-band, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 118px; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .image-panel { min-height: 320px; }
    .blog-card img { height: 190px; }
    .footer-bottom { display: grid; }
}
