:root {
    --brown-950: #25130c;
    --brown-900: #321a10;
    --brown-800: #452617;
    --brown-700: #5a3421;
    --gold-500: #b9893f;
    --gold-400: #cda45f;
    --gold-300: #dec48e;
    --copper: #b85e2f;
    --cream: #f7f0e4;
    --sand: #eadbc3;
    --paper: #fffaf2;
    --ink: #26170f;
    --muted: #765f50;
    --line: rgba(91, 53, 32, .16);
    --shadow: 0 24px 70px rgba(49, 27, 16, .12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1000;
    padding: 10px 16px; background: #fff; color: var(--brown-950); border-radius: 8px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }

.site-header {
    position: sticky; inset-block-start: 0; z-index: 100;
    color: #fff; background: rgba(44, 23, 14, .95);
    border-bottom: 1px solid rgba(222, 196, 142, .28);
    backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 1.22rem; }
.brand small { color: var(--gold-300); font-size: .72rem; margin-top: 4px; }
.primary-nav { display: flex; align-items: center; gap: 5px; }
.primary-nav a { padding: 11px 13px; border-radius: 12px; font-size: .9rem; transition: .2s ease; }
.primary-nav a:hover { color: var(--gold-300); background: rgba(255, 255, 255, .06); }
.primary-nav .nav-cta { margin-inline-start: 8px; color: var(--brown-950); background: var(--gold-400); font-weight: 700; }
.primary-nav .nav-cta:hover { color: var(--brown-950); background: #e2ba73; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: transparent; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; border-radius: 3px; }

.hero {
    position: relative; min-height: 750px; overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 75% 25%, rgba(196, 145, 67, .19), transparent 34%),
        linear-gradient(135deg, var(--brown-950), var(--brown-800));
}
.hero::before {
    content: ''; position: absolute; inset: 0; opacity: .13;
    background-image: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.22) 50%, transparent 51%);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero-glow { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(205,164,95,.25); border-radius: 50%; inset: 13% auto auto 8%; }
.hero-glow::before, .hero-glow::after { content: ''; position: absolute; border: 1px solid rgba(205,164,95,.13); border-radius: 50%; }
.hero-glow::before { inset: 35px; }
.hero-glow::after { inset: 85px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; min-height: 590px; gap: 48px; padding-block: 75px 120px; }
.eyebrow { color: var(--gold-500); font-size: .83rem; font-weight: 700; letter-spacing: .08em; margin: 0 0 9px; }
.hero .eyebrow, .light .eyebrow, .contact-card .eyebrow { color: var(--gold-300); }
.hero h1 { margin: 0; font-size: clamp(2.7rem, 5.3vw, 5.8rem); line-height: 1.16; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold-400); }
.hero-copy > p:not(.eyebrow) { max-width: 610px; color: #eadfce; font-size: 1.12rem; margin: 24px 0 32px; }
.hero-actions, .branch-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 21px; border: 1px solid transparent; border-radius: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--brown-700); }
.hero .button.primary { color: var(--brown-950); background: var(--gold-400); }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); }
.button.outline { color: var(--brown-800); border-color: var(--line); background: #fff; }
.button.accent { color: #fff; background: var(--copper); }
.button.gold { color: var(--brown-950); background: var(--gold-400); }
.hero-mark { position: relative; display: grid; place-items: center; min-height: 440px; }
.hero-mark img { position: relative; z-index: 2; width: min(100%, 410px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 35px 50px rgba(0,0,0,.36)); }
.logo-ring { position: absolute; width: 430px; max-width: 90%; aspect-ratio: 1; border: 1px solid rgba(205,164,95,.32); border-radius: 50%; box-shadow: 0 0 0 24px rgba(205,164,95,.035), 0 0 0 55px rgba(205,164,95,.025); }
.heritage-scene {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    opacity: .26;
    filter: sepia(.2) saturate(.85);
    pointer-events: none;
}

.section { padding-block: 100px; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading h2, .about-copy h2, .contact-card h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.25; letter-spacing: -.03em; }
.section-heading > p:last-child, .about-copy > p:last-child { color: var(--muted); margin: 15px 0 0; }
.section-heading.light { color: #fff; }
.section-heading.light > p:last-child { color: #dac9bb; }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activity-card { position: relative; min-height: 310px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,250,242,.72); box-shadow: 0 10px 40px rgba(52,28,17,.055); }
.activity-card::after { content: ''; position: absolute; inset: auto -80px -90px auto; width: 210px; height: 210px; border: 1px solid rgba(185,137,63,.25); border-radius: 50%; }
.activity-card .activity-number { position: absolute; inset: 20px auto auto 24px; color: var(--gold-500); font-size: .8rem; font-weight: 700; }
.activity-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 42px; color: var(--gold-500); background: #f2e4ce; border-radius: 20px; font-size: 2rem; }
.activity-card h3 { margin: 0 0 10px; font-size: 1.45rem; }
.activity-card p { color: var(--muted); margin: 0 0 24px; }
.activity-card a { font-weight: 700; color: var(--brown-700); }
.activity-card a span { display: inline-block; margin-inline-start: 6px; transition: transform .2s ease; }
.activity-card a:hover span { transform: translateX(-5px); }
.activity-card.future { border-style: dashed; }
.coming-soon { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: var(--brown-700); background: var(--sand); font-size: .8rem; font-weight: 700; }

.branches-section { color: #fff; background: var(--brown-900); }
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.branch-card { overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid rgba(222,196,142,.18); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.branch-visual { position: relative; display: grid; place-items: center; min-height: 245px; overflow: hidden; background: radial-gradient(circle at center, #efd9b5 0, #d4aa69 45%, #6c3d24 120%); }
.branch-visual::before { content: ''; position: absolute; inset: 0; opacity: .34; background-image: url('/assets/images/dijla-heritage.webp'); background-size: 120%; background-position: center 72%; }
.branch-visual img { position: relative; z-index: 2; width: 158px; height: 158px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(36,18,9,.25)); }
.branch-visual > span { position: absolute; z-index: 3; inset: 18px 18px auto auto; padding: 6px 12px; color: #fff; background: rgba(46,24,14,.76); border-radius: 999px; font-size: .76rem; }
.branch-body { padding: 30px; }
.branch-code { margin: 0; color: var(--gold-500); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.branch-body h3 { margin: 4px 0 10px; font-size: 1.55rem; line-height: 1.35; }
.branch-body > p:not(.branch-code) { color: var(--muted); }
.branch-details { display: grid; gap: 0; margin: 24px 0; }
.branch-details div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding-block: 12px; border-top: 1px solid var(--line); }
.branch-details dt { color: var(--muted); font-size: .82rem; }
.branch-details dd { margin: 0; font-weight: 700; }
.branch-actions .button { flex: 1 1 135px; font-size: .84rem; }
.service-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0 0 20px; }
.service-list li { padding: 5px 10px; background: #f1e3ce; border-radius: 999px; font-size: .78rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.social-links a { color: var(--brown-700); font-size: .84rem; font-weight: 700; }
.empty-state { padding: 30px; color: #eadfce; border: 1px dashed rgba(222,196,142,.3); border-radius: 20px; text-align: center; }

.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.about-copy { position: sticky; top: 130px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,250,242,.7); }
.value-card span { color: var(--gold-500); font-size: .75rem; font-weight: 700; }
.value-card h3 { margin: 18px 0 7px; font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.gallery-section { padding-top: 40px; }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.gallery-placeholder { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, #d3ad72, #6b3c25); }
.gallery-placeholder::before { content: ''; position: absolute; inset: 0; opacity: .45; background-image: url('/assets/images/dijla-heritage.webp'); background-size: cover; background-position: center bottom; }
.gallery-placeholder:nth-child(2) { background: linear-gradient(145deg, #e7cfaa, #9b673b); }
.gallery-placeholder:nth-child(3) { background: linear-gradient(145deg, #a86b3b, #392015); }
.gallery-placeholder span { position: absolute; z-index: 2; inset: auto 24px 22px auto; color: #fff; font-size: 1.05rem; font-weight: 700; }

.contact-section { padding: 30px 0 100px; }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 48px; color: #fff; background: linear-gradient(120deg, var(--brown-900), var(--brown-700)); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-card p:last-child { margin-bottom: 0; color: #dccdbf; }
.contact-card .button { flex: 0 0 auto; min-width: 145px; }

.site-footer { position: relative; overflow: hidden; padding-top: 150px; color: #fff; background: var(--brown-950); }
.footer-heritage { position: absolute; inset: -300px 0 auto; width: 100%; height: 500px; object-fit: cover; object-position: bottom; opacity: .18; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 55px; padding-block: 60px; border-top: 1px solid rgba(222,196,142,.18); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 78px; height: 78px; object-fit: contain; }
.footer-brand strong { font-size: 1.4rem; }
.footer-brand p { margin: 3px 0 0; color: #cdbdae; }
.footer-grid h2 { margin: 0 0 14px; color: var(--gold-300); font-size: .92rem; }
.footer-grid nav, .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid a { color: #d7c8ba; font-size: .88rem; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; color: #ab998d; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.employee-link { opacity: .7; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: absolute; inset: calc(100% + 1px) 16px auto; display: none; flex-direction: column; align-items: stretch;
        padding: 14px; background: var(--brown-900); border: 1px solid rgba(222,196,142,.22); border-radius: 0 0 18px 18px; box-shadow: 0 22px 40px rgba(0,0,0,.22);
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 12px 14px; }
    .primary-nav .nav-cta { margin: 5px 0 0; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 60px; }
    .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-mark { min-height: 310px; }
    .hero-mark img { width: 300px; }
    .logo-ring { width: 320px; }
    .activity-grid { grid-template-columns: 1fr 1fr; }
    .activity-card.future { grid-column: 1 / -1; min-height: 230px; }
    .about-grid { grid-template-columns: 1fr; gap: 38px; }
    .about-copy { position: static; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-placeholder.wide { grid-column: 1 / -1; min-height: 320px; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .nav-wrap { min-height: 74px; }
    .brand img { width: 48px; height: 48px; }
    .brand strong { font-size: 1.05rem; }
    .brand small { display: none; }
    .hero { min-height: auto; }
    .hero-grid { min-height: auto; gap: 10px; padding: 52px 0 175px; }
    .hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
    .hero-copy > p:not(.eyebrow) { font-size: 1rem; margin-block: 18px 26px; }
    .hero-actions .button { flex: 1 1 140px; }
    .hero-mark { min-height: 265px; }
    .hero-mark img { width: 250px; }
    .logo-ring { width: 260px; }
    .heritage-scene {
        inset: auto 0 0;
        width: 100%;
        max-width: 100%;
        max-height: none;
        object-fit: contain;
        object-position: center bottom;
        opacity: .3;
    }
    .section { padding-block: 72px; }
    .section-heading { margin-bottom: 30px; }
    .activity-grid, .branch-grid, .values-grid, .gallery-grid { grid-template-columns: 1fr; }
    .activity-card.future, .gallery-placeholder.wide { grid-column: auto; }
    .activity-card { min-height: 270px; padding: 27px; }
    .branch-visual { min-height: 220px; }
    .branch-body { padding: 24px; }
    .branch-details div { grid-template-columns: 82px 1fr; gap: 10px; }
    .gallery-placeholder, .gallery-placeholder.wide { min-height: 245px; }
    .contact-section { padding-bottom: 72px; }
    .contact-card { align-items: stretch; flex-direction: column; padding: 30px 24px; }
    .site-footer { padding-top: 100px; }
    .footer-heritage { inset-block-start: -230px; width: 180%; max-width: none; inset-inline-start: -40%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 42px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .hero-actions, .contact-section, .employee-link { display: none !important; }
    body { color: #000; background: #fff; }
    .hero, .branches-section, .site-footer { color: #000; background: #fff; }
    .section { padding-block: 28px; }
}
