:root {
    --font-body: "Cairo", "Tajawal", Tahoma, Arial, sans-serif;
    --font-display: "Alexandria", "Cairo", Tahoma, Arial, sans-serif;
    --bg: #f6f1e8;
    --surface: #fffdfa;
    --soft: #efe4d2;
    --ink: #17171b;
    --muted: #6f675b;
    --line: rgba(144, 112, 53, .16);
    --dark: #11161d;
    --dark-2: #1d2631;
    --gold: #b99654;
    --gold-2: #e0c58d;
    --danger: #a33b3b;
    --success: #23704d;
    --shadow: 0 24px 70px rgba(25, 22, 18, .10);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 14px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.8;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, .site-nav a, .btn, .eyebrow { font-family: var(--font-display); }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 850px; }
.center { text-align: center; }
.top-gap { margin-top: 34px; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: 12px; right: 12px; transform: translateY(-180%); background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 999; }
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 247, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 255px; }
.brand-lockup { position: relative; }
.brand-emblem { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, #172334, #0d1118); border: 1px solid rgba(215, 180, 109, .28); box-shadow: 0 12px 30px rgba(14, 20, 31, .12); }
.brand-emblem svg { width: 40px; height: 40px; overflow: visible; }
.brand-emblem svg path { fill: none; stroke: var(--gold-2); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-wordmark, .brand-text { display: grid; line-height: 1.25; }
.brand-wordmark strong, .brand-text strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 900; letter-spacing: -.055em; color: var(--ink); }
.brand-wordmark small, .brand-text small { color: var(--gold); font-size: .73rem; font-weight: 800; letter-spacing: -.015em; }
.brand-name-logo { min-width: 0; gap: 0; }
.brand-name-logo .brand-wordmark { gap: 5px; }
.brand-name-logo .brand-wordmark strong { display: inline-flex; align-items: baseline; gap: 8px; font-size: clamp(1.35rem, 1.6vw, 1.72rem); font-weight: 900; letter-spacing: -.045em; }
.brand-name-logo .brand-wordmark .name-first { color: var(--gold); font-size: .94em; }
.brand-name-logo .brand-wordmark .name-last { color: var(--ink); }
.brand-name-logo .brand-wordmark small { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .01em; }
.brand-name-logo .brand-wordmark small:before { content: ""; width: 44px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(183,139,62,.18), rgba(215,180,109,.95), rgba(183,139,62,.18)); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 14px; border-radius: 999px; color: #2b3038; font-weight: 700; font-size: .95rem; }
.site-nav a:hover, .site-nav a.active { background: var(--soft); color: var(--ink); }
.site-nav .nav-cta { background: var(--dark); color: #fff; margin-inline-start: 8px; }
.site-nav .nav-cta:hover { background: #000; color: #fff; }
.nav-toggle { display: none; background: var(--dark); color: #fff; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; }

.section { padding: 92px 0; }
.section-dark { background:
    radial-gradient(circle at 15% 20%, rgba(183, 139, 62, .20), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(215, 180, 109, .12), transparent 25%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
    color: #fff;
}
.hero { min-height: 680px; display: flex; align-items: center; overflow: hidden; position: relative; padding: 92px 0 76px; }
.hero:after { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 220px; background: rgba(255,255,255,.06); transform: rotate(-3deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 54px; align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 800; letter-spacing: .06em; font-size: .82rem; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .8; }
.hero h1, .page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 5.25rem); line-height: 1.25; margin: 18px 0 20px; letter-spacing: -.07em; max-width: 920px; }
.lead, .page-hero p { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.78); max-width: 740px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #17130a; box-shadow: 0 14px 35px rgba(183,139,62,.28); }
.btn-outline { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.07); }
.btn-secondary { background: var(--dark); color: #fff; }
.btn-link { color: var(--gold); padding-inline: 0; }
.btn-small { min-height: 34px; padding: 7px 12px; font-size: .86rem; background: var(--soft); color: var(--ink); }
.danger-btn { background: rgba(163, 59, 59, .12); color: var(--danger); }
.trust-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; color: rgba(255,255,255,.78); }
.trust-row span { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.06); }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-xl); padding: 34px; box-shadow: 0 28px 90px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.card-wordmark { display: grid; gap: 8px; margin-bottom: 26px; line-height: 1.06; }
.card-wordmark strong { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 900; letter-spacing: -.05em; }
.card-wordmark .name-first { color: var(--gold-2); font-size: .92em; }
.card-wordmark .name-last { color: #fff; }
.card-wordmark small { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 800; }
.card-wordmark small:before { content: ""; width: 48px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(215,180,109,.95), rgba(255,255,255,.1)); }
.hero-card p { color: rgba(255,255,255,.76); }
.quick-info { display: grid; gap: 14px; margin: 26px 0 0; }
.quick-info div { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.quick-info dt { color: var(--gold-2); font-weight: 800; font-size: .83rem; }
.quick-info dd { margin: 4px 0 0; color: rgba(255,255,255,.88); }

.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.32; letter-spacing: -.06em; margin: 14px 0 0; }
.section-head p, .section-copy { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature-card, .service-card, .info-panel, .side-cta, .contact-form, .contact-side .info-panel, .admin-card, .message-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.feature-card { padding: 28px; }
.feature-number { display: inline-flex; color: var(--gold); font-weight: 900; margin-bottom: 26px; }
.feature-card h3, .service-card h3, .service-card h2 { margin: 0 0 10px; font-size: 1.35rem; }
.feature-card p, .service-card p { color: var(--muted); margin: 0; }
.soft-bg { background: var(--soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.services-grid.wide { margin-top: 0; }
.service-card { padding: 28px; min-height: 290px; display: flex; flex-direction: column; }
.icon-badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(183,139,62,.16), rgba(215,180,109,.28)); color: #76551d; font-weight: 900; margin-bottom: 22px; font-size: .9rem; }
.service-card a { color: var(--gold); font-weight: 900; margin-top: auto; padding-top: 22px; }
.stats-section { padding: 56px 0; background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats-grid div { border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 24px; background: rgba(255,255,255,.05); }
.stats-grid strong { display: block; color: var(--gold-2); font-size: 2rem; }
.stats-grid span { color: rgba(255,255,255,.78); }
.cta-section { padding-top: 72px; }
.cta-card { border-radius: var(--radius-xl); background: linear-gradient(135deg, #171f2c, #0d1118); color: #fff; padding: 42px; display: flex; justify-content: space-between; align-items: center; gap: 28px; box-shadow: var(--shadow); }
.cta-card h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.32; letter-spacing: -.05em; margin: 12px 0; }
.cta-card p { color: rgba(255,255,255,.72); margin: 0; }
.page-hero { padding: 120px 0 94px; }
.two-col, .contact-grid, .content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 34px; align-items: start; }
.two-col h2, .prose h2 { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.32; letter-spacing: -.045em; margin-top: 0; }
.two-col p, .prose p { color: #444c58; font-size: 1.06rem; }
.info-panel, .side-cta { padding: 28px; }
.info-panel h3, .info-panel h2, .side-cta h3 { margin-top: 0; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.side-cta { position: sticky; top: 110px; display: grid; gap: 10px; }
.contact-form { padding: 32px; display: grid; gap: 18px; }
.contact-form label, .admin-form label { display: grid; gap: 8px; font-weight: 800; color: #2b3038; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); padding: 13px 14px; outline: 0; transition: border .2s ease, box-shadow .2s ease; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(183,139,62,.75); box-shadow: 0 0 0 4px rgba(183,139,62,.14); }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.alert { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 12px; }
.alert p { margin: 0; }
.alert.success { background: rgba(35,112,77,.09); color: var(--success); border-color: rgba(35,112,77,.2); }
.alert.danger { background: rgba(163,59,59,.09); color: var(--danger); border-color: rgba(163,59,59,.2); }
.hp { position: absolute; right: -9999px; opacity: 0; }
.map-box iframe { width: 100%; min-height: 260px; border: 0; border-radius: var(--radius-lg); margin-top: 20px; }
.site-footer { background: #0d1118; color: #fff; padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 40px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid h3 { margin-top: 0; color: #fff; }
.footer-grid section:nth-child(2) { display: grid; align-content: start; gap: 10px; }
.footer-brand { margin-bottom: 18px; }
.site-footer .brand-wordmark strong, .site-footer .brand-text strong { color: #fff; }
.site-footer .brand-wordmark small, .site-footer .brand-text small { color: var(--gold-2); }
.site-footer .brand-name-logo .brand-wordmark .name-last { color: #fff; }
.site-footer .brand-name-logo .brand-wordmark small:before { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(215,180,109,.95), rgba(255,255,255,.06)); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.62); }
.floating-whatsapp { position: fixed; right: 20px; left: auto; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 9px; background: #1f8f55; color: #fff; border-radius: 999px; padding: 12px 17px; font-weight: 900; box-shadow: 0 12px 34px rgba(0,0,0,.2); }
.floating-whatsapp svg { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.login-body, .admin-body { background: #f4f1ea; min-height: 100vh; }
.login-card { width: min(430px, calc(100% - 36px)); margin: 70px auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); text-align: center; }
.login-logo { width: 86px; height: 86px; margin: 0 auto 14px; }
.login-card h1 { margin-bottom: 4px; }
.login-card p { color: var(--muted); margin-top: 0; }
.admin-header { position: sticky; top: 0; z-index: 60; background: #111827; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; }
.admin-brand img { width: 44px; height: 44px; }
.admin-brand div { display: grid; line-height: 1.25; }
.admin-brand span { color: rgba(255,255,255,.62); font-size: .82rem; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-nav a { padding: 8px 11px; border-radius: 999px; color: rgba(255,255,255,.75); font-weight: 800; font-size: .88rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 34px 0 70px; }
.admin-shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.admin-page-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.admin-page-head h1 { margin: 0 0 4px; font-size: 2.2rem; }
.admin-page-head p { margin: 0; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.admin-stats article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.admin-stats span { color: var(--muted); }
.admin-stats strong { display: block; font-size: 2.5rem; line-height: 1.1; }
.admin-card { padding: 24px; margin-bottom: 20px; }
.admin-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 14px; }
.admin-card h2 { margin-top: 0; }
.admin-checklist { padding-inline-start: 22px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th, .admin-table td { text-align: right; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { color: var(--muted); font-size: .88rem; }
.status-pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: #6b5b37; font-weight: 900; font-size: .78rem; }
.status-pill.ok { background: rgba(35,112,77,.1); color: var(--success); }
.actions-cell { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.actions-cell form { display: inline-flex; }
.admin-form { display: grid; gap: 18px; }
.admin-grid-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-grid-form .full { grid-column: 1 / -1; }
.admin-form small { color: var(--muted); font-weight: 500; }
.checkbox-label { align-content: center; grid-template-columns: auto 1fr; display: flex !important; flex-direction: row !important; align-items: center; gap: 10px !important; }
.checkbox-label input { width: auto; }
.narrow-form { max-width: 560px; }
.message-list { display: grid; gap: 16px; }
.message-item { padding: 22px; box-shadow: none; }
.message-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.message-top h2 { margin: 0; font-size: 1.25rem; }
.message-top p { margin: 4px 0 0; }
.message-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0; }
.message-body p { margin: 0 0 8px; }
.message-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.message-actions form { display: flex; gap: 8px; align-items: center; }
.message-actions select { min-width: 140px; padding: 8px 10px; }

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; inset-inline: 20px; top: 74px; display: none; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .site-nav .nav-cta { margin: 0; }
    .hero { min-height: auto; padding: 78px 0 66px; }
    .hero-grid, .intro-grid, .two-col, .contact-grid, .content-layout { grid-template-columns: 1fr; }
    .feature-grid, .services-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .side-cta { position: static; }
    .cta-card { flex-direction: column; align-items: flex-start; }
    .admin-header { align-items: flex-start; flex-direction: column; }
    .admin-stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 28px, var(--container)); }
    .nav-wrap { min-height: 74px; }
    .brand { min-width: 0; }
    .brand-wordmark small, .brand-text small { display: none; }
    .brand-name-logo .brand-wordmark strong { gap: 6px; font-size: 1.18rem; }
    .hero h1, .page-hero h1 { font-size: 2.2rem; }
    .section { padding: 68px 0; }
    .page-hero { padding: 82px 0 60px; }
    .feature-grid, .services-grid, .stats-grid, .footer-grid, .admin-grid-form { grid-template-columns: 1fr; }
    .hero-card, .contact-form, .prose, .info-panel, .side-cta, .admin-card { padding: 22px; }
    .footer-bottom, .admin-page-head { flex-direction: column; align-items: flex-start; }
    .floating-whatsapp { right: 14px; left: auto; bottom: 14px; padding: 12px 15px; }
}


/* custom generated logo v13 */
.brand-image-logo { min-width: 0 !important; display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 250px !important; max-width: 33vw; max-height: 74px; height: auto !important; object-fit: contain; }
.site-header .nav-wrap { min-height: 92px; overflow: visible; }
.footer-logo { width: 290px !important; max-width: 100%; max-height: none; }
.card-logo-wrap { width: 100%; min-height: 150px; padding: 12px 14px; border-radius: 24px; background: rgba(250,248,243,.97); border: 1px solid rgba(215,180,109,.18); display: grid; place-items: center; margin-bottom: 24px; overflow: hidden; }
.card-logo { display: block; width: min(100%, 390px) !important; height: auto !important; }
.footer-brand { background: transparent; padding: 0; border: 0; }
@media (max-width: 980px) { .brand-logo { width: 205px !important; max-width: 50vw; max-height: 64px; } .footer-logo { width: 235px !important; } .site-header .nav-wrap { min-height: 82px; } }
@media (max-width: 640px) { .brand-logo { width: 165px !important; max-width: 56vw; max-height: 56px; } .card-logo-wrap { min-height: 126px; } .card-logo { width: min(100%, 300px) !important; } .footer-logo { width: 210px !important; } }


/* palette refresh v14 */
body {
    background: radial-gradient(circle at top right, rgba(185,150,84,.10), transparent 18%), var(--bg);
}
.site-header {
    background: rgba(248, 244, 237, .90);
    border-bottom-color: rgba(144,112,53,.14);
}
.site-nav a { color: #282722; }
.site-nav a:hover, .site-nav a.active {
    background: rgba(185,150,84,.14);
    color: #151515;
}
.site-nav .nav-cta {
    background: linear-gradient(135deg, #0f1620, #1a2430);
    box-shadow: 0 10px 28px rgba(13,18,26,.12);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    box-shadow: 0 14px 35px rgba(185,150,84,.24);
}
.btn-outline {
    border-color: rgba(224,197,141,.26);
    background: rgba(255,255,255,.06);
}
.section-dark {
    background:
        radial-gradient(circle at 12% 18%, rgba(185, 150, 84, .20), transparent 26%),
        radial-gradient(circle at 86% 20%, rgba(224, 197, 141, .10), transparent 24%),
        linear-gradient(135deg, #121821, #1b2430 55%, #202937);
}
.hero:after { background: rgba(255,255,255,.05); }
.hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.06));
    border-color: rgba(224,197,141,.16);
}
.quick-info div {
    background: rgba(255,255,255,.08);
    border-color: rgba(224,197,141,.12);
}
.feature-card, .service-card, .info-panel, .side-cta, .contact-form, .contact-side .info-panel, .admin-card, .message-item {
    background: linear-gradient(180deg, #fffdfa, #fff9f0);
    border-color: rgba(160,128,70,.16);
}
.icon-badge {
    background: linear-gradient(135deg, rgba(185,150,84,.14), rgba(224,197,141,.30));
    color: #7a5a26;
}
.stats-grid div {
    border-color: rgba(224,197,141,.14);
    background: rgba(255,255,255,.045);
}
.cta-card {
    background: linear-gradient(135deg, #171d26, #222c39);
}
.site-footer {
    background: #171d26;
}
.footer-bottom {
    border-top-color: rgba(224,197,141,.12);
}
.floating-whatsapp {
    box-shadow: 0 14px 34px rgba(8,50,28,.26);
}


/* final visible palette + logo fix v15 */
:root {
    --bg: #f2e9db;
    --surface: #fffaf2;
    --soft: #eadbc1;
    --ink: #181715;
    --muted: #74695a;
    --line: rgba(162, 126, 62, .20);
    --dark: #11161b;
    --dark-2: #243040;
    --gold: #bc9754;
    --gold-2: #e5c992;
    --shadow: 0 26px 70px rgba(31, 26, 17, .10);
}
body {
    background:
      radial-gradient(circle at top right, rgba(229,201,146,.18), transparent 18%),
      radial-gradient(circle at left 20%, rgba(188,151,84,.10), transparent 20%),
      var(--bg);
}
.site-header {
    background: rgba(246, 238, 224, .96);
    border-bottom: 1px solid rgba(162,126,62,.16);
}
.nav-wrap { min-height: 96px; }
.site-nav a { color: #201d18; }
.site-nav a:hover, .site-nav a.active {
    background: rgba(188,151,84,.18);
    color: #16130f;
}
.site-nav .nav-cta {
    background: linear-gradient(135deg, #111925, #1f2b39);
    color: #fff;
}
.section-dark {
    background:
      radial-gradient(circle at 10% 18%, rgba(229, 201, 146, .18), transparent 24%),
      radial-gradient(circle at 88% 16%, rgba(188, 151, 84, .14), transparent 24%),
      linear-gradient(135deg, #171d25, #1e2835 58%, #243040);
}
.hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
    border-color: rgba(229,201,146,.18);
}
.card-logo-wrap {
    min-height: 124px;
    padding: 8px 10px;
    border-radius: 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.card-logo {
    width: min(100%, 370px) !important;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.14));
}
.brand-logo {
    width: 252px !important;
    max-width: 33vw;
    max-height: 72px;
}
.footer-logo {
    width: 285px !important;
}
.feature-card, .service-card, .info-panel, .side-cta, .contact-form, .contact-side .info-panel, .admin-card, .message-item {
    background: linear-gradient(180deg, #fffdf8, #fbf4e7);
    border-color: rgba(162,126,62,.18);
}
.soft-bg { background: #efe2cc; }
.icon-badge {
    background: linear-gradient(135deg, rgba(188,151,84,.18), rgba(229,201,146,.30));
    color: #7d5a22;
}
.cta-card {
    background: linear-gradient(135deg, #18202a, #293547);
}
.site-footer {
    background: linear-gradient(135deg, #18202a, #11161c);
}
@media (max-width: 980px) {
  .brand-logo { width: 205px !important; max-width: 50vw; max-height: 60px; }
  .nav-wrap { min-height: 84px; }
}
@media (max-width: 640px) {
  .brand-logo { width: 162px !important; max-width: 55vw; max-height: 54px; }
  .card-logo { width: min(100%, 295px) !important; }
  .card-logo-wrap { min-height: 110px; }
}


/* final contrast correction v16: clearer beige/gold titles */
:root {
    --gold: #a9792f;
    --gold-2: #f0c982;
    --soft: #e8d7b8;
    --line: rgba(169, 121, 47, .24);
}

/* Beige/gold text on dark sections */
.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-card .eyebrow {
    color: #f0c982;
    text-shadow: 0 2px 18px rgba(0,0,0,.30);
}

.section-dark .eyebrow:before,
.hero .eyebrow:before,
.page-hero .eyebrow:before,
.cta-card .eyebrow:before {
    background: #f0c982;
    opacity: 1;
}

.quick-info dt,
.stats-grid strong,
.card-wordmark .name-first {
    color: #f0c982 !important;
}

/* Beige/gold text on light sections */
.section:not(.section-dark) .eyebrow,
.feature-number,
.service-card a,
.btn-link,
.info-panel strong,
.side-cta strong {
    color: #8f6425;
}

.section:not(.section-dark) .eyebrow:before {
    background: #8f6425;
    opacity: 1;
}

.icon-badge {
    color: #6f4818;
    background: linear-gradient(135deg, rgba(169,121,47,.18), rgba(240,201,130,.36));
}

.btn-primary {
    background: linear-gradient(135deg, #b58537, #f0c982);
    color: #17110a;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(169,121,47,.18);
}

.brand-logo {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}

.card-logo {
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}


/* v20 logo + dynamic sections */
.brand-image-logo { min-width: 0 !important; display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 228px !important; max-width: 34vw; max-height: 84px; height: auto !important; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.10)); }
.site-header .nav-wrap { min-height: 96px; overflow: visible; }
.footer-brand { display: inline-flex; align-items: center; background: transparent; border: 0; padding: 0; }
.footer-logo { width: 275px !important; max-width: 100%; max-height: none; }
.card-logo-wrap { width: 100%; min-height: 168px; padding: 10px; border-radius: 24px; background: transparent; border: 0; display: grid; place-items: center; margin-bottom: 22px; overflow: visible; }
.card-logo { width: min(100%, 350px) !important; height: auto !important; display: block; filter: drop-shadow(0 15px 28px rgba(0,0,0,.24)); }

.reputation-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(185,150,84,.10), transparent 26%),
        linear-gradient(180deg, #f4ead8, #fbf6ed);
}
.law-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 18px;
    align-items: center;
    margin-top: 38px;
}
.carousel-viewport {
    position: relative;
    min-height: 290px;
    overflow: hidden;
}
.carousel-item {
    display: none;
    min-height: 290px;
    animation: carouselFade .35s ease both;
}
.carousel-item.active { display: grid; }
@keyframes carouselFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.carousel-arrow {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(169,121,47,.26);
    background: rgba(255,255,255,.62);
    color: #8f6425;
    font-size: 2rem;
    font-weight: 900;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(31,26,17,.08);
    transition: transform .2s ease, background .2s ease;
}
.carousel-arrow:hover {
    transform: translateY(-2px);
    background: #fffaf2;
}
.testimonial-card,
.case-card {
    background: linear-gradient(180deg, #fffdfa, #fff7ea);
    border: 1px solid rgba(169,121,47,.18);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}
.testimonial-card {
    place-content: center;
    text-align: center;
}
.stars {
    color: #a9792f;
    letter-spacing: 5px;
    font-size: 1.25rem;
    margin-bottom: 20px;
}
.testimonial-card blockquote {
    margin: 0 auto 24px;
    max-width: 860px;
    color: #2b2822;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 2;
    font-weight: 700;
}
.client-meta {
    display: grid;
    gap: 4px;
    justify-items: center;
}
.client-meta strong {
    color: var(--ink);
    font-size: 1.1rem;
}
.client-meta span {
    color: var(--muted);
}
.case-wins-section {
    background:
        radial-gradient(circle at 85% 10%, rgba(185,150,84,.12), transparent 25%),
        #efe2cc;
}
.case-card {
    gap: 16px;
    align-content: center;
}
.case-category {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(169,121,47,.12);
    color: #7a531e;
    font-weight: 900;
    font-size: .9rem;
}
.case-card h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    color: #171715;
}
.case-card p {
    margin: 0;
    color: #4f4639;
    font-size: 1.08rem;
}
.case-result {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(17,22,27,.06);
    border: 1px solid rgba(169,121,47,.12);
}
.case-result strong {
    color: #8f6425;
}
.case-result span {
    color: #302c25;
    line-height: 1.9;
}
.numbers-section {
    background:
        radial-gradient(circle at 10% 25%, rgba(229,201,146,.18), transparent 22%),
        linear-gradient(135deg, #171d25, #202b38);
    color: #fff;
}
.numbers-section .section-head p {
    color: rgba(255,255,255,.72);
}
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 38px;
}
.number-card {
    min-height: 170px;
    border: 1px solid rgba(229,201,146,.18);
    border-radius: 28px;
    background: rgba(255,255,255,.06);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 24px;
    box-shadow: 0 28px 70px rgba(0,0,0,.18);
}
.number-card strong {
    color: #f0c982;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-family: var(--font-display);
    font-weight: 900;
}
.number-card span {
    color: rgba(255,255,255,.80);
    margin-top: 10px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .brand-logo { width: 200px !important; max-width: 50vw; max-height: 72px; }
    .site-header .nav-wrap { min-height: 84px; }
    .law-carousel { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 10px; }
    .carousel-arrow { width: 48px; height: 48px; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .brand-logo { width: 158px !important; max-width: 56vw; max-height: 58px; }
    .card-logo { width: min(100%, 280px) !important; }
    .card-logo-wrap { min-height: 130px; }
    .law-carousel { grid-template-columns: 1fr; }
    .carousel-arrow { position: static; width: 100%; }
    .carousel-viewport { min-height: 340px; }
    .carousel-item { min-height: 340px; }
    .numbers-grid { grid-template-columns: 1fr; }
}


/* logo layout fix v21 */
.brand-logo {
    width: 265px !important;
    max-width: 35vw;
    max-height: 82px;
    height: auto !important;
    object-fit: contain;
}
.footer-logo {
    width: 300px !important;
    max-width: 100%;
}
.card-logo-wrap {
    min-height: 122px;
    padding: 0;
}
.card-logo {
    width: min(100%, 330px) !important;
    height: auto !important;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

@media (max-width: 980px) {
    .brand-logo {
        width: 220px !important;
        max-width: 54vw;
        max-height: 68px;
    }
}
@media (max-width: 640px) {
    .brand-logo {
        width: 182px !important;
        max-width: 60vw;
        max-height: 56px;
    }
    .card-logo {
        width: min(100%, 270px) !important;
    }
}


/* preferred logo integration v22 */
.brand-logo {
    width: 248px !important;
    max-width: 33vw;
    max-height: 88px;
    height: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.12));
}
.footer-logo {
    width: 285px !important;
    max-width: 100%;
    max-height: none;
}
.card-logo-wrap {
    min-height: 220px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.card-logo {
    width: min(100%, 430px) !important;
    height: auto !important;
    filter: drop-shadow(0 14px 24px rgba(0,0,0,.22));
}
.hero-card { overflow: visible; }
@media (max-width: 980px) {
    .brand-logo { width: 205px !important; max-width: 50vw; max-height: 72px; }
    .footer-logo { width: 240px !important; }
    .card-logo { width: min(100%, 340px) !important; }
    .card-logo-wrap { min-height: 180px; }
}
@media (max-width: 640px) {
    .brand-logo { width: 165px !important; max-width: 55vw; max-height: 58px; }
    .footer-logo { width: 200px !important; }
    .card-logo { width: min(100%, 280px) !important; }
    .card-logo-wrap { min-height: 150px; }
}


/* v24 testimonial image backgrounds + swipe/drag carousels */
.reputation-section {
    padding-top: 86px;
    background:
        radial-gradient(circle at 82% 12%, rgba(169,121,47,.14), transparent 28%),
        linear-gradient(180deg, #f2e9db, #f8f1e6);
}
.drag-carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 22px;
    padding: 12px 8px 22px;
    margin-top: 36px;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.drag-carousel::-webkit-scrollbar { display: none; }
.drag-carousel.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
.drag-slide {
    flex: 0 0 min(100%, 980px);
    scroll-snap-align: center;
}
.testimonial-card-photo {
    position: relative;
    min-height: 390px;
    border-radius: 34px;
    overflow: hidden;
    background-image:
        linear-gradient(135deg, rgba(13, 18, 24, .78), rgba(13, 18, 24, .50)),
        var(--testimonial-bg, linear-gradient(135deg, #17202a, #2b3642));
    background-size: cover;
    background-position: center;
    box-shadow: 0 34px 90px rgba(31,26,17,.18);
    border: 1px solid rgba(229,201,146,.22);
    display: grid;
    place-items: center;
}
.testimonial-card-photo:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(240,201,130,.24), transparent 34%),
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.16));
    pointer-events: none;
}
.testimonial-content {
    position: relative;
    z-index: 1;
    width: min(86%, 760px);
    margin: auto;
    text-align: center;
    color: #fff;
    padding: clamp(24px, 5vw, 44px);
    border-radius: 28px;
    background: rgba(17, 22, 27, .45);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
}
.testimonial-content .stars {
    color: #f0c982;
    text-shadow: 0 4px 18px rgba(0,0,0,.28);
}
.testimonial-content blockquote {
    margin: 0 auto 24px;
    color: #fff;
    font-size: clamp(1.1rem, 2.1vw, 1.55rem);
    line-height: 2;
    font-weight: 800;
    text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.testimonial-content .client-meta strong {
    color: #fff;
}
.testimonial-content .client-meta span {
    color: rgba(255,255,255,.74);
}
.case-drag .case-card {
    min-height: 330px;
}
.case-drag .drag-slide {
    flex-basis: min(100%, 880px);
}
.admin-image-preview {
    display: block;
    width: min(100%, 360px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin: 10px 0;
    background: var(--soft);
}
.admin-image-preview img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.admin-thumb {
    width: 88px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line);
}

@media (max-width: 980px) {
    .drag-slide {
        flex-basis: calc(100% - 18px);
    }
    .testimonial-card-photo {
        min-height: 370px;
        border-radius: 28px;
    }
}
@media (max-width: 640px) {
    .reputation-section {
        padding-top: 68px;
    }
    .drag-carousel {
        gap: 14px;
        padding-inline: 0;
        margin-top: 26px;
    }
    .drag-slide {
        flex-basis: 100%;
    }
    .testimonial-card-photo {
        min-height: 430px;
        border-radius: 26px;
        background-position: center;
    }
    .testimonial-content {
        width: calc(100% - 28px);
        padding: 24px 18px;
        border-radius: 22px;
    }
    .testimonial-content blockquote {
        font-size: 1.08rem;
        line-height: 1.9;
    }
    .case-drag .case-card {
        min-height: 390px;
    }
}


/* v25: make testimonial backgrounds visibly photographic */
.testimonial-card-photo {
    min-height: 430px;
    background-image:
        linear-gradient(135deg, rgba(13, 18, 24, .45), rgba(13, 18, 24, .22)),
        var(--testimonial-bg, linear-gradient(135deg, #17202a, #2b3642));
    background-size: cover;
    background-position: center center;
}
.testimonial-card-photo:before {
    background:
        radial-gradient(circle at 18% 8%, rgba(240,201,130,.22), transparent 32%),
        linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.20));
}
.testimonial-content {
    background: rgba(18, 23, 28, .62);
    border-color: rgba(255,255,255,.18);
}
.testimonial-drag .drag-slide {
    flex-basis: min(100%, 1040px);
}
@media (max-width: 640px) {
    .testimonial-card-photo {
        min-height: 480px;
        background-position: center;
    }
}


/* v26 real KAFD photo visibility */
.testimonial-card-photo {
    background-image:
        linear-gradient(135deg, rgba(8, 12, 16, .28), rgba(8, 12, 16, .12)),
        var(--testimonial-bg, linear-gradient(135deg, #17202a, #2b3642));
    background-size: cover;
    background-position: center center;
}
.testimonial-card-photo:before {
    background:
        radial-gradient(circle at 22% 9%, rgba(240,201,130,.16), transparent 28%),
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.10));
}
.testimonial-content {
    background: rgba(18, 23, 28, .46);
    border-color: rgba(255,255,255,.22);
}


/* v27: reliable testimonial background images */
.testimonial-card-photo {
    isolation: isolate;
    background: #202730;
}
.testimonial-bg-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    pointer-events: none;
}
.testimonial-card-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(8,12,16,.30), rgba(8,12,16,.10)),
        radial-gradient(circle at 18% 10%, rgba(240,201,130,.16), transparent 30%);
    pointer-events: none;
}
.testimonial-card-photo:before {
    z-index: -1;
}
.testimonial-content {
    z-index: 2;
}


/* v28: case story background images + admin previews */
.case-card-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 390px;
    padding: 0;
    background: #202730;
    border-color: rgba(229,201,146,.22);
    box-shadow: 0 32px 82px rgba(31,26,17,.16);
}
.case-bg-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    pointer-events: none;
}
.case-card-photo:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(8,12,16,.48), rgba(8,12,16,.24)),
        radial-gradient(circle at 18% 10%, rgba(240,201,130,.18), transparent 30%);
    pointer-events: none;
}
.case-card-content {
    position: relative;
    z-index: 1;
    width: min(88%, 760px);
    margin: auto;
    padding: clamp(24px, 5vw, 42px);
    border-radius: 28px;
    background: rgba(18,23,28,.58);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    display: grid;
    gap: 16px;
}
.case-card-photo .case-category {
    background: rgba(240,201,130,.18);
    color: #f0c982;
    border: 1px solid rgba(240,201,130,.18);
}
.case-card-photo h3,
.case-card-photo p,
.case-card-photo .case-result span {
    color: #fff;
}
.case-card-photo .case-result {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
}
.case-card-photo .case-result strong {
    color: #f0c982;
}

@media (max-width: 640px) {
    .case-card-photo {
        min-height: 470px;
    }
    .case-card-content {
        width: calc(100% - 28px);
        padding: 24px 18px;
        border-radius: 22px;
    }
    .case-card-photo h3 {
        font-size: 1.55rem;
    }
}
