/* =========================================================
   Mazaya Center — Liquid Glass Design System (LIGHT theme)
   Brand identity: Al Adheed Group (green / red / silver)
   RTL / Arabic-first. Standalone (no build step required).
   ========================================================= */

:root {
    /* Brand core (sampled from logos) */
    --green-700: #005f30;
    --green-600: #007a3e;
    --green-500: #00984d;   /* Mazaya / Al Adheed green */
    --green-400: #14b062;
    --green-300: #33cf7d;
    --red-700:   #8f1614;
    --red-600:   #a71a18;
    --red-500:   #ce2520;   /* Mazaya / Al Adheed red */
    --red-400:   #e5433d;
    --silver:    #cfd5dd;
    --silver-2:  #9aa2ad;

    /* Light canvas */
    --page-0: #f3f7f4;
    --page-1: #e9f1ec;
    --dark-900: #06110c;   /* used for hero overlay & photo captions */
    --dark-700: #103021;

    --ink: #0d1f16;
    --ink-soft: #47564e;
    --ink-mute: #7c8b82;

    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(13, 31, 22, 0.08);
    --glass-border-soft: rgba(13, 31, 22, 0.06);
    --glass-hi: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 20px 45px -20px rgba(10, 40, 26, 0.22);
    --glass-blur: 20px;

    --radius: 26px;
    --radius-sm: 16px;
    --maxw: 1200px;

    --grad-brand: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 50%, var(--green-400) 100%);
    --grad-green: linear-gradient(135deg, var(--green-400), var(--green-600));
    --grad-red: linear-gradient(135deg, var(--red-500), var(--red-700));
    --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;

    --nav-bg: rgba(255, 255, 255, 0.72);
    --surface-hover: #fff;
    --badge-border: #fff;
}

html[data-theme="dark"] {
    --page-0: #06110c;
    --page-1: #0a1812;
    --ink: #e8f3ec;
    --ink-soft: #a8bdb2;
    --ink-mute: #7a9288;

    --glass-bg: rgba(12, 28, 22, 0.62);
    --glass-bg-strong: rgba(16, 36, 28, 0.84);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-border-soft: rgba(255, 255, 255, 0.06);
    --glass-hi: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.55);

    --nav-bg: rgba(10, 24, 18, 0.82);
    --surface-hover: rgba(28, 48, 38, 0.96);
    --badge-border: rgba(16, 36, 28, 0.95);
}

html[data-theme="dark"] .bg-field {
    background:
        radial-gradient(1200px 800px at 85% -10%, rgba(0, 152, 77, 0.18), transparent 60%),
        radial-gradient(1000px 700px at 5% 8%, rgba(206, 37, 32, 0.12), transparent 55%),
        radial-gradient(900px 900px at 50% 120%, rgba(0, 152, 77, 0.14), transparent 60%),
        linear-gradient(180deg, var(--page-0), var(--page-1) 45%, var(--page-0));
}
html[data-theme="dark"] .glass::after {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 45%);
    opacity: 0.35;
}
html[data-theme="dark"] .btn-ghost:hover,
html[data-theme="dark"] .lang-switch:hover,
html[data-theme="dark"] .theme-switch:hover {
    background: var(--surface-hover);
}
html[data-theme="dark"] .tl-item:hover {
    background: rgba(22, 42, 34, 0.95);
}
html[data-theme="dark"] .service-related-card:hover {
    background: rgba(22, 42, 34, 0.95);
}
html[data-theme="dark"] .prose.ck-content table {
    background: var(--glass-bg-strong);
}
html[data-theme="dark"] .service-search,
html[data-theme="dark"] .service-search-input,
html[data-theme="dark"] .service-filter-select {
    background: var(--glass-bg-strong) !important;
    color: var(--ink) !important;
}
html[data-theme="dark"] .service-filter-select option {
    background: var(--page-1);
    color: var(--ink);
}
html[data-theme="dark"] .service-search-field:focus-within,
html[data-theme="dark"] .service-filter-select:focus {
    background-color: var(--surface-hover) !important;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--page-0);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Ambient liquid background ---------- */
.bg-field {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1200px 800px at 85% -10%, rgba(0, 152, 77, 0.14), transparent 60%),
        radial-gradient(1000px 700px at 5% 8%, rgba(206, 37, 32, 0.08), transparent 55%),
        radial-gradient(900px 900px at 50% 120%, rgba(0, 152, 77, 0.13), transparent 60%),
        linear-gradient(180deg, var(--page-0), var(--page-1) 45%, var(--page-0));
}
.bg-field::before,
.bg-field::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 22s ease-in-out infinite;
}
.bg-field::before {
    width: 46vw; height: 46vw;
    top: -8vw; left: -6vw;
    background: radial-gradient(circle at 30% 30%, rgba(51, 207, 125, 0.6), transparent 65%);
}
.bg-field::after {
    width: 40vw; height: 40vw;
    bottom: -10vw; right: -8vw;
    background: radial-gradient(circle at 60% 40%, rgba(229, 67, 61, 0.35), transparent 65%);
    animation-delay: -8s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(3vw, 4vh) scale(1.08); }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 70%; margin-inline: auto; padding-inline: 22px; }
.section { padding: 92px 0; position: relative; }
.section-tight { padding: 60px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 22px; }
@media (min-width: 640px)  { .cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }

@media (max-width: 767px) {
    .container {
        width: 100%;
        max-width: 99%;
        margin-inline: auto;
        padding-inline: 22px;
    }
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px;
    color: var(--green-600);
    padding: 7px 16px; border-radius: 999px;
    background: rgba(0, 152, 77, 0.10);
    border: 1px solid rgba(0, 152, 77, 0.24);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 12px var(--red-400); }

.section-title {
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    font-weight: 800; line-height: 1.25; margin: 18px 0 12px;
    letter-spacing: -0.5px;
    color: var(--ink);
}
.section-sub { color: var(--ink-soft); max-width: 640px; margin: 0 auto; font-size: 1.02rem; }
.section-head { margin-bottom: 48px; }
.text-grad {
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Glass primitives ---------- */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-hi);
    position: relative;
    overflow: hidden;
}
.glass::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), transparent 45%);
    pointer-events: none; opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px;
    font-weight: 700; font-size: 0.98rem; font-family: inherit;
    cursor: pointer; text-decoration: none; border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
    color: #fff;
    background: var(--grad-green);
    box-shadow: 0 12px 28px -10px rgba(0, 152, 77, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -12px rgba(0, 152, 77, 0.7); }
.btn-red {
    color: #fff;
    background: var(--grad-red);
    box-shadow: 0 12px 28px -10px rgba(206, 37, 32, 0.5);
}
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -12px rgba(206, 37, 32, 0.65); }
.btn-ghost {
    color: var(--ink);
    background: var(--glass-bg-strong);
    border-color: var(--glass-border);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-hover); }
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(37, 211, 102, 0.5); }

/* ---------- Navbar ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 60; padding: 14px 0; transition: padding 0.3s ease; }
.nav-wrap.scrolled { padding: 8px 0; }
.navbar {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 10px 18px;
    background: var(--nav-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0 14px 40px -20px rgba(10, 40, 26, 0.35);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logos { display: flex; align-items: center; gap: 14px; flex-shrink: 0; min-width: 0; }
.brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 46px; width: auto; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.brand-txt span { font-size: 0.68rem; color: var(--ink-mute); letter-spacing: 0.3px; }
.brand-txt .grp { color: var(--green-600); font-weight: 700; }
.brand-txt--partner span { letter-spacing: 0.6px; font-weight: 700; color: var(--ink-soft); }

.nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 1000px) { .nav-links { display: flex; } }
.nav-links a {
    color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.94rem;
    padding: 9px 15px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(0, 152, 77, 0.10); }
.nav-links a.active { color: #fff; background: var(--grad-green); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch,
.theme-switch {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: 50%;
    text-decoration: none;
    color: var(--green-600); background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lang-switch svg,
.theme-switch svg { width: 20px; height: 20px; }
.lang-switch-badge {
    position: absolute; bottom: -3px; inset-inline-end: -3px;
    font-size: 0.58rem; font-weight: 800; line-height: 1;
    padding: 2px 4px; border-radius: 6px;
    background: var(--green-600); color: #fff;
    border: 1.5px solid var(--badge-border); letter-spacing: 0.3px;
}
.lang-switch:hover,
.theme-switch:hover {
    background: var(--surface-hover); color: var(--green-700);
    transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(0, 152, 77, 0.45);
}
.theme-switch {
    cursor: pointer; font-family: inherit; padding: 0;
}
.theme-switch-icon { display: none; align-items: center; justify-content: center; }
html:not([data-theme="dark"]) .theme-switch-icon--moon { display: inline-flex; }
html[data-theme="dark"] .theme-switch-icon--sun { display: inline-flex; }
.lang-switch--mobile,
.theme-switch--mobile {
    align-self: flex-start; margin: 4px 0 2px;
}
.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--glass-bg-strong); border: 1px solid var(--glass-border); color: var(--ink);
    cursor: pointer;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
    display: none; margin-top: 12px; padding: 16px;
    flex-direction: column; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--ink-soft); text-decoration: none; font-weight: 600;
    padding: 12px 16px; border-radius: 14px;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--ink); background: rgba(0, 152, 77, 0.10); }
.mobile-menu .mobile-cta { justify-content: center; margin-top: 8px; color: #fff; }
.mobile-menu .mobile-cta:hover { background: var(--grad-green); color: #fff; }

/* Nav CTA sizing (in top bar) */
.nav-cta { padding: 11px 22px; }

/* ---------- Navbar responsive (clear identity layers on small screens) ---------- */
.navbar { flex-wrap: nowrap; min-width: 0; }
.brand { min-width: 0; flex: 1 1 auto; }
.brand-txt { min-width: 0; }
.brand-txt b, .brand-txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 768px) {
    .navbar {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 0;
        padding: 0;
        border-radius: 22px;
        overflow: hidden;
    }

    .nav-cta { display: none; }
    .nav-links { display: none !important; }

    .brand,
    .brand-logos,
    .nav-actions {
        display: contents;
    }

    .brand-lockup {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        padding: 12px 14px;
        box-sizing: border-box;
    }

    .brand-lockup--group {
        grid-column: 1;
        grid-row: 1;
    }

    .brand-lockup--site {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        border-top: 1px solid var(--glass-border);
        background: rgba(0, 152, 77, 0.04);
    }

    .nav-actions-tools {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    .nav-toggle {
        grid-column: 3;
        grid-row: 1;
        margin-inline-end: 10px;
    }

    .brand img {
        height: 40px;
        flex-shrink: 0;
    }

    .brand-txt {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand-txt b { font-size: 0.95rem; }
    .brand-txt span { font-size: 0.62rem; }

    html[data-theme="dark"] .brand-lockup--site {
        background: rgba(255, 255, 255, 0.03);
    }

    .lang-switch,
    .theme-switch,
    .nav-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

@media (max-width: 420px) {
    .brand-lockup { padding: 10px 12px; gap: 8px; }
    .brand img { height: 36px; }
    .brand-txt b { font-size: 0.88rem; }
    .brand-txt span { font-size: 0.58rem; }
    .nav-toggle { margin-inline-end: 8px; }
}

/* iPad / tablet: full-width navbar */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-wrap,
    .nav-wrap.scrolled {
        padding: 0;
    }

    .nav-wrap > .container {
        width: 100%;
        max-width: 100%;
        padding-inline: 0;
    }

    .navbar {
        border-radius: 0;
    }

    .mobile-menu {
        margin-inline: 0;
        border-radius: 0;
    }
}

/* ---------- Hero (dark image panel on light page) ---------- */
.hero { position: relative; padding: 70px 0 40px; }
.hero-inner {
    position: relative; padding: clamp(28px, 5vw, 64px);
    border-radius: 34px; overflow: hidden;
    color: #fff;
    box-shadow: var(--glass-shadow);
}
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-inner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 17, 12, 0.92) 8%, rgba(6, 17, 12, 0.55) 55%, rgba(6, 17, 12, 0.3));
}
.hero-content { max-width: 640px; }
.hero .eyebrow { color: #7ff0b0; background: rgba(0,152,77,0.22); border-color: rgba(127,240,176,0.4); }
.hero h1 {
    font-size: clamp(2rem, 5.4vw, 3.7rem); font-weight: 800; line-height: 1.18;
    margin: 18px 0; letter-spacing: -1px; color: #fff;
}
.hero p { font-size: 1.12rem; color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
    color: #eaf3ee;
    background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255,255,255,0.2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-badge svg { width: 16px; height: 16px; color: #33cf7d; }

.hero-float {
    margin-top: 28px;
    padding: 18px 22px;
    display: none;
    width: fit-content;
    background: rgba(255,255,255,0.85);
}
@media (min-width: 1000px) { .hero-float { display: block; } }
.hero-float .n { font-size: 2rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-float .l { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Stat strip ---------- */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px 22px; text-align: center; }
.stat .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--ink-soft); margin-top: 8px; font-size: 0.95rem; }

/* ---------- Cards ---------- */
.card { padding: 28px; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); border-color: rgba(0, 152, 77, 0.35); box-shadow: 0 26px 50px -22px rgba(0,122,62,0.35); }
.card-ico {
    width: 58px; height: 58px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 152, 77, 0.16), rgba(206, 37, 32, 0.12));
    border: 1px solid var(--glass-border); margin-bottom: 18px; color: var(--green-600);
}
.card-ico svg { width: 28px; height: 28px; }
.card-top {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 18px;
}
.card-top .card-ico { margin-bottom: 0; flex-shrink: 0; }
.card-top .count-pill { margin-bottom: 0; flex-shrink: 0; }
.card h3 { font-size: 1.22rem; font-weight: 800; margin: 0 0 10px; color: var(--ink); }
.card p { color: var(--ink-soft); margin: 0 0 18px; font-size: 0.96rem; flex: 1; }
.card-link {
    color: var(--green-600); text-decoration: none; font-weight: 700; font-size: 0.92rem;
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(-4px); }
.card .count-pill {
    align-self: flex-start; font-size: 0.75rem; font-weight: 700; color: var(--green-600);
    background: rgba(0, 152, 77, 0.12); border: 1px solid rgba(0, 152, 77, 0.26);
    padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Value cards (about) ---------- */
.value { padding: 26px; }
.value h3 { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; margin: 0 0 8px; color: var(--ink); }
.value h3 svg { width: 24px; height: 24px; color: var(--green-600); }
.value p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- Split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); }
.split-img img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ---------- Timeline / journey ---------- */
.timeline { display: grid; gap: 18px; overflow: visible; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.tl-item {
    padding: 24px; position: relative; z-index: 1;
    transform-origin: center center;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}
.tl-item:hover {
    transform: translateY(-14px) scale(1.3);
    z-index: 5;
    border-color: rgba(0, 152, 77, 0.4);
    box-shadow: 0 28px 56px -18px rgba(0, 122, 62, 0.42);
    background: rgba(255, 255, 255, 0.95);
}
.tl-year {
    font-size: 1.6rem; font-weight: 800;
    background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent;
    transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
    display: inline-block;
}
.tl-item:hover .tl-year { transform: scale(1.15); }
.tl-item h4 {
    margin: 6px 0 8px; font-size: 1.05rem; color: var(--ink);
    transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
}
.tl-item:hover h4 { transform: scale(1.03); }
.tl-item p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Director quote ---------- */
.quote { padding: 44px; position: relative; }
.quote .mark { font-size: 4rem; line-height: 0.6; color: var(--red-500); opacity: 0.5; font-family: Georgia, serif; }
.quote blockquote { margin: 0; font-size: 1.24rem; font-weight: 500; line-height: 1.85; color: var(--ink); }
.quote .by { margin-top: 20px; color: var(--green-600); font-weight: 700; }
.quote .by small { display: block; color: var(--ink-mute); font-weight: 500; }

/* ---------- News cards ---------- */
.news-card { overflow: hidden; padding: 0; }
.news-card .thumb { height: 176px; position: relative; overflow: hidden; background: var(--grad-brand); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .thumb .ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-600), var(--dark-700));
}
.news-card .thumb .ph svg { width: 54px; height: 54px; color: rgba(255,255,255,0.7); }
.news-card .body { padding: 24px; display: flex; flex-direction: column; }
.chip-date {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    font-size: 0.78rem; color: var(--ink-mute); margin-bottom: 12px;
}
.chip-date svg { width: 14px; height: 14px; }
.news-card h3 { font-size: 1.12rem; margin: 0 0 10px; line-height: 1.4; color: var(--ink); }
.news-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 16px; }

/* ---------- Service related cards ---------- */
.service-related-section { padding-top: 0; }
.service-related-grid { gap: 18px; }
@media (min-width: 900px) { .service-related-grid { gap: 22px; } }
.service-related-card {
    overflow: hidden; padding: 0; text-decoration: none; color: inherit;
    display: flex; flex-direction: column; height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 152, 77, 0.35);
    box-shadow: 0 26px 50px -22px rgba(0, 122, 62, 0.35);
}
.service-related-card .thumb {
    height: 148px; position: relative; overflow: hidden; background: var(--grad-brand);
}
.service-related-card .thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.45s ease;
}
.service-related-card:hover .thumb img { transform: scale(1.06); }
.service-related-card .thumb .ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-600), var(--dark-700));
}
.service-related-card .thumb .ph .card-ico {
    margin-bottom: 0; background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.92);
}
.service-related-card .body {
    padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1;
}
.service-related-card h3 {
    font-size: 1.05rem; margin: 0 0 8px; line-height: 1.45; color: var(--ink);
}
.service-related-card p {
    color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 14px; line-height: 1.65; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.service-related-card .card-link { margin-top: auto; }
.service-related-card .chip-date svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Announcements list ---------- */
.ann { display: flex; align-items: stretch; gap: 18px; padding: 20px 22px; }
.ann-thumb {
    flex-shrink: 0; width: 104px; height: 78px; border-radius: 14px;
    overflow: hidden; border: 1px solid var(--glass-border); align-self: center;
    box-shadow: var(--glass-shadow);
}
.ann-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ann-date {
    flex-shrink: 0; align-self: flex-start;
    width: 74px; border-radius: 16px; text-align: center; padding: 12px 6px;
    background: linear-gradient(160deg, rgba(0,152,77,0.16), rgba(206,37,32,0.12));
    border: 1px solid var(--glass-border);
}
.ann-date .d { font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--ink); }
.ann-date .m { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; }
.ann-body { flex: 1; }
.ann-body h3 { margin: 0 0 6px; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink); }
.ann-body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.tag {
    font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
    background: rgba(206,37,32,0.14); color: var(--red-600); border: 1px solid rgba(206,37,32,0.3);
}
.tag.pin { background: rgba(0,152,77,0.14); color: var(--green-600); border-color: rgba(0,152,77,0.3); }

/* ---------- Offices gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .shot { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--glass-border); position: relative; box-shadow: var(--glass-shadow); }
.gallery .shot img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery .shot:hover img { transform: scale(1.06); }
.gallery .shot .cap {
    position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px 12px;
    font-size: 0.85rem; font-weight: 700; color: #fff;
    background: linear-gradient(0deg, rgba(6,17,12,0.85), transparent);
}
.gallery .shot.tall img { height: 100%; min-height: 220px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 26px; }
@media (min-width: 950px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.form-card { padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.input, .textarea, .select {
    width: 100%; padding: 13px 16px; border-radius: 14px; font-family: inherit; font-size: 0.96rem;
    color: var(--ink); background: rgba(255,255,255,0.7);
    border: 1px solid var(--glass-border); transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-mute); }
.input:focus, .textarea:focus, .select:focus {
    outline: none; border-color: var(--green-400); background: #fff;
    box-shadow: 0 0 0 4px rgba(0,152,77,0.14);
}
.textarea { resize: vertical; min-height: 130px; }
.select option { background: #fff; color: var(--ink); }

.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--glass-border-soft); }
.info-item:last-child { border-bottom: none; }
.info-ico {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: rgba(0,152,77,0.14); border: 1px solid var(--glass-border); color: var(--green-600);
}
.info-ico svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 4px; font-size: 0.98rem; color: var(--ink); }
.info-item p, .info-item a { margin: 0; color: var(--ink-soft); font-size: 0.92rem; text-decoration: none; }
.info-item a:hover { color: var(--green-600); }

.map-frame { border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glass-shadow); }
.map-frame iframe { width: 100%; height: 320px; display: block; border: 0; }

/* ---------- Alert ---------- */
.alert {
    padding: 16px 20px; border-radius: 16px; margin-bottom: 22px; font-weight: 600;
    display: flex; align-items: center; gap: 12px;
}
.alert svg { width: 22px; height: 22px; flex-shrink: 0; }
.alert-success { background: rgba(0, 152, 77, 0.12); border: 1px solid rgba(0,152,77,0.32); color: var(--green-700); }
.alert-error { background: rgba(206, 37, 32, 0.10); border: 1px solid rgba(206,37,32,0.32); color: var(--red-700); }
.field-error { color: var(--red-600); font-size: 0.82rem; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta { padding: clamp(34px, 5vw, 60px); text-align: center; overflow: hidden; position: relative; }
.cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(600px 300px at 50% 0%, rgba(0,152,77,0.16), transparent 60%);
}
.cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin: 0 0 12px; color: var(--ink); }
.cta p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 26px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Page header ---------- */
.page-head { padding: 60px 0 20px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin: 16px 0 10px; color: var(--ink); }
.page-head p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; }
.crumbs { font-size: 0.85rem; color: var(--ink-mute); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--green-600); }

/* ---------- Article detail ---------- */
.page-head--compact { padding: 48px 0 8px; text-align: start; }
.page-head--compact .crumbs span { color: var(--ink-mute); }
.detail-container { max-width: 860px; }
.article-detail-section { padding-top: 16px; }
.article-detail { padding: 0; overflow: hidden; }
.article-hero {
    position: relative; max-height: 420px; overflow: hidden;
    border-bottom: 1px solid var(--glass-border-soft);
}
.article-hero img {
    width: 100%; height: 100%; max-height: 420px;
    display: block; object-fit: cover;
}
.article-body { padding: clamp(28px, 4vw, 40px); }
.article-meta {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 14px;
}
.chip-date--muted { color: var(--ink-mute); }
.article-title {
    font-size: clamp(1.6rem, 4vw, 2.35rem); line-height: 1.35;
    margin: 0 0 16px; color: var(--ink); font-weight: 800;
}
.article-lead {
    font-size: 1.12rem; line-height: 1.85; color: var(--ink-soft);
    margin: 0 0 28px; padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border-soft);
}
.article-actions { margin-top: 28px; text-align: center; }

/* ---------- Rich content (CKEditor 5) ---------- */
.prose.ck-content {
    color: var(--ink); font-size: 1.04rem; line-height: 1.85;
    word-wrap: break-word; overflow-wrap: break-word;
}
.prose.ck-content > :first-child { margin-top: 0; }
.prose.ck-content > :last-child { margin-bottom: 0; }
.prose.ck-content p { margin: 0 0 16px; color: var(--ink-soft); }
.prose.ck-content h1, .prose.ck-content h2, .prose.ck-content h3,
.prose.ck-content h4, .prose.ck-content h5, .prose.ck-content h6 {
    color: var(--ink); line-height: 1.35; font-weight: 800;
}
.prose.ck-content h1 { font-size: 1.8rem; margin: 32px 0 14px; }
.prose.ck-content h2 { font-size: 1.5rem; margin: 28px 0 12px; }
.prose.ck-content h3 { font-size: 1.28rem; margin: 24px 0 10px; }
.prose.ck-content h4 { font-size: 1.12rem; margin: 20px 0 8px; }
.prose.ck-content h5, .prose.ck-content h6 { font-size: 1rem; margin: 18px 0 8px; }
.prose.ck-content ul, .prose.ck-content ol {
    color: var(--ink-soft); padding-inline-start: 1.5em; margin: 0 0 16px;
}
.prose.ck-content li { margin-bottom: 8px; }
.prose.ck-content li::marker { color: var(--green-600); }
.prose.ck-content a {
    color: var(--green-600); text-decoration: underline;
    text-underline-offset: 3px; transition: color 0.2s ease;
}
.prose.ck-content a:hover { color: var(--green-700); }
.prose.ck-content strong, .prose.ck-content b { color: var(--ink); font-weight: 700; }
.prose.ck-content em, .prose.ck-content i { font-style: italic; }
.prose.ck-content u { text-underline-offset: 3px; }
.prose.ck-content s, .prose.ck-content del { opacity: 0.75; }
.prose.ck-content sub, .prose.ck-content sup { font-size: 0.75em; }
.prose.ck-content hr {
    border: 0; height: 1px; margin: 28px 0;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}
.prose.ck-content blockquote {
    margin: 22px 0; padding: 16px 22px; border-inline-start: 3px solid var(--green-500);
    background: rgba(0,152,77,0.06); border-radius: 12px; color: var(--ink-soft);
}
.prose.ck-content blockquote p:last-child { margin-bottom: 0; }
.prose.ck-content code {
    font-family: ui-monospace, "Cascadia Code", monospace; font-size: 0.9em;
    padding: 2px 7px; border-radius: 6px;
    background: rgba(0,152,77,0.08); color: var(--green-700);
}
.prose.ck-content pre {
    margin: 20px 0; padding: 18px 20px; border-radius: 14px; overflow-x: auto;
    background: var(--dark-900); color: #e8f5ee; font-size: 0.88rem; line-height: 1.6;
}
.prose.ck-content pre code {
    padding: 0; background: none; color: inherit; font-size: inherit;
}
.prose.ck-content img {
    max-width: 100%; height: auto; border-radius: var(--radius-sm);
}
.prose.ck-content figure {
    margin: 24px 0; clear: both;
}
.prose.ck-content figure.image {
    display: table; margin-inline: auto; max-width: 100%;
}
.prose.ck-content figure.image img {
    display: block; margin: 0 auto;
    border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
}
.prose.ck-content figure.image figcaption {
    display: table-caption; caption-side: bottom;
    padding: 10px 8px 0; font-size: 0.88rem; color: var(--ink-mute); text-align: center;
}
.prose.ck-content .image-style-side,
.prose.ck-content figure.image-style-align-left,
.prose.ck-content figure.image-style-block-align-left {
    float: inline-start; max-width: 50%; margin-inline-end: 24px; margin-bottom: 12px;
}
.prose.ck-content .image-style-align-right,
.prose.ck-content figure.image-style-block-align-right {
    float: inline-end; max-width: 50%; margin-inline-start: 24px; margin-bottom: 12px;
}
.prose.ck-content .image-style-align-center,
.prose.ck-content figure.image-style-block-align-center {
    margin-inline: auto;
}
.prose.ck-content figure.table {
    display: block; overflow-x: auto; margin: 24px 0;
    border-radius: var(--radius-sm); border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.prose.ck-content table {
    width: 100%; border-collapse: collapse; font-size: 0.94rem;
    background: rgba(255,255,255,0.72);
}
.prose.ck-content th, .prose.ck-content td {
    padding: 12px 16px; border: 1px solid var(--glass-border-soft);
    text-align: inherit; vertical-align: top;
}
.prose.ck-content th {
    background: rgba(0,152,77,0.08); color: var(--ink); font-weight: 700;
}
.prose.ck-content tr:nth-child(even) td { background: rgba(0,152,77,0.03); }
.prose.ck-content figure.media {
    margin: 24px 0; border-radius: var(--radius-sm); overflow: hidden;
    border: 1px solid var(--glass-border);
}
.prose.ck-content figure.media > div,
.prose.ck-content .media oembed,
.prose.ck-content .media iframe {
    display: block; width: 100%; aspect-ratio: 16 / 9;
}
.prose.ck-content .text-tiny { font-size: 0.7em; }
.prose.ck-content .text-small { font-size: 0.85em; }
.prose.ck-content .text-big { font-size: 1.25em; }
.prose.ck-content .text-huge { font-size: 1.5em; }
.prose.ck-content .marker-yellow { background: rgba(255, 214, 0, 0.45); padding: 0 2px; }
.prose.ck-content .marker-green { background: rgba(0, 152, 77, 0.22); padding: 0 2px; }
.prose.ck-content .marker-pink { background: rgba(255, 105, 180, 0.28); padding: 0 2px; }
.prose.ck-content .marker-blue { background: rgba(59, 130, 246, 0.25); padding: 0 2px; }
.prose.ck-content .pen-red { background: rgba(206, 37, 32, 0.18); padding: 0 2px; }
.prose.ck-content .pen-green { background: rgba(0, 152, 77, 0.18); padding: 0 2px; }
.prose.ck-content span[style*="background-color"] { border-radius: 3px; padding: 0 2px; }
.prose.ck-content::after { content: ""; display: table; clear: both; }
@media (max-width: 640px) {
    .article-body { padding: 22px 20px; }
    .prose.ck-content .image-style-side,
    .prose.ck-content figure.image-style-align-left,
    .prose.ck-content figure.image-style-block-align-left,
    .prose.ck-content .image-style-align-right,
    .prose.ck-content figure.image-style-block-align-right {
        float: none; max-width: 100%; margin-inline: 0;
    }
}

/* ---------- Footer ---------- */
.footer { margin-top: 70px; padding-top: 60px; position: relative; }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h5 { font-size: 1rem; font-weight: 800; margin: 0 0 18px; color: var(--ink); }
.footer .f-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer .f-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.footer .f-links a:hover { color: var(--green-600); }
.footer .f-about { color: var(--ink-soft); font-size: 0.92rem; }
.group-lockup { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(0,152,77,0.06); border: 1px solid var(--glass-border-soft); }
.group-lockup img { height: 46px; width: auto; }
.group-lockup .t { font-size: 0.8rem; color: var(--ink-mute); }
.group-lockup .t b { display: block; color: var(--ink); font-size: 0.95rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
    width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--glass-bg-strong); border: 1px solid var(--glass-border); color: var(--ink-soft);
    transition: transform 0.2s ease, color 0.2s ease;
}
.socials a:hover { transform: translateY(-3px); color: var(--green-600); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
    border-top: 1px solid var(--glass-border-soft); padding: 22px 0; margin-top: 10px;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center;
    color: var(--ink-mute); font-size: 0.85rem;
}
.footer-bottom-start { justify-self: start; }
.footer-bottom-center { justify-self: center; text-align: center; }
.footer-bottom-end { justify-self: end; text-align: end; }
@media (max-width: 760px) {
    .footer-bottom { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom-start, .footer-bottom-center, .footer-bottom-end { justify-self: center; text-align: center; }
}
.footer-bottom a { color: var(--ink-mute); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink-soft); }

/* ---------- Floating action buttons ---------- */
.fab {
    position: fixed; bottom: 24px; z-index: 70;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 14px 30px -8px rgba(10, 40, 26, 0.35);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }

.fab-whatsapp {
    right: 24px; left: auto;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.5);
}

.fab-top {
    left: 24px; right: auto;
    background: var(--grad-green);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(12px) scale(0.92);
}
.fab-top.is-visible {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none;
}
.fab-top:hover { transform: scale(1.08); }

@media (max-width: 480px) {
    .fab { width: 52px; height: 52px; bottom: 18px; }
    .fab svg { width: 24px; height: 24px; }
    .fab-whatsapp { right: 16px; }
    .fab-top { left: 16px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--page-1); }
::-webkit-scrollbar-thumb { background: var(--green-500); border-radius: 999px; border: 3px solid var(--page-1); }
::-webkit-scrollbar-thumb:hover { background: var(--green-600); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-mute); }
.empty-state svg { width: 48px; height: 48px; opacity: 0.5; margin-bottom: 14px; }

/* ---------- Auth / Login ---------- */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 22px;
    position: relative;
}
.auth-brand {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: var(--ink); margin-bottom: 28px;
}
.auth-brand img { height: 52px; width: auto; }
.auth-brand .brand-txt b { font-size: 1.1rem; }
.auth-card { width: 100%; max-width: 440px; padding: 36px; }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head h1 { margin: 0 0 8px; font-size: 1.45rem; font-weight: 800; color: var(--ink); }
.auth-head p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.auth-remember {
    display: flex; align-items: center; gap: 10px;
    margin: 4px 0 22px; font-size: 0.92rem; color: var(--ink-soft);
}
.auth-remember input { width: 18px; height: 18px; accent-color: var(--green-500); }
.auth-back {
    margin-top: 22px; color: var(--ink-mute); text-decoration: none;
    font-size: 0.9rem; font-weight: 600; transition: color 0.2s ease;
}
.auth-back:hover { color: var(--green-600); }
