/* Drug Center — public site styles. Logical properties keep RTL and LTR in sync. */

:root {
    --blue: #1592c9;
    --blue-700: #0e6f9c;
    --teal: #1fb1a6;
    --green: #74c06b;
    --ink: #0f2f45;
    --ink-2: #284a61;
    --muted: #5b7488;
    --line: #dcebf2;
    --bg: #ffffff;
    --tint: #f2f9fc;
    --white: #ffffff;
    --grad: linear-gradient(120deg, var(--green) 0%, var(--teal) 42%, var(--blue) 100%);
    --grad-deep: linear-gradient(135deg, #0f7fb3 0%, #149fb0 55%, #1fb1a6 100%);
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 10px 30px rgba(15, 47, 69, .08);
    --shadow-lg: 0 24px 60px rgba(15, 47, 69, .14);
    --container: 1200px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

.locale-en { line-height: 1.65; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }

svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.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: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid rgba(21, 146, 201, .45); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(21, 146, 201, .25); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(21, 146, 201, .32); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--blue-700); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { color: var(--blue-700); box-shadow: var(--shadow); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { color: #fff; background: #1fbe5b; }

[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: translate .2s ease; }
.link-arrow:hover svg { translate: 3px 0; }
[dir="rtl"] .link-arrow:hover svg { translate: -3px 0; }

.link-back { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--muted); margin-bottom: 1.5rem; }
.link-back svg { transform: scaleX(-1); width: 1.05em; height: 1.05em; }
[dir="rtl"] .link-back svg { transform: none; }

.chip {
    display: inline-block; padding: .25em .85em; border-radius: 999px;
    background: var(--tint); color: var(--blue-700); border: 1px solid var(--line);
    font-size: .85rem; font-weight: 700;
}
a.chip:hover { border-color: var(--teal); }
.chip-active { background: var(--grad); color: #fff; border-color: transparent; }
a.chip-active:hover { color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    color: var(--teal); font-weight: 800; font-size: .95rem; margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 47, 69, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light small { color: rgba(255, 255, 255, .7); }

.site-nav { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
    display: block; padding: .45em .8em; border-radius: 10px;
    color: var(--ink-2); font-weight: 700; font-size: .98rem; position: relative;
}
.site-nav ul a:hover { color: var(--blue-700); background: var(--tint); }
.site-nav ul a.active { color: var(--blue-700); }
.site-nav ul a.active::after {
    content: ""; position: absolute; inset-inline: .8em; bottom: .1em; height: 3px; border-radius: 3px; background: var(--grad);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--ink-2);
    padding: .45em .8em; border-radius: 999px; border: 1px solid var(--line);
}
.lang-switch:hover { border-color: var(--teal); }
.lang-switch svg { width: 1.1em; height: 1.1em; }

.nav-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin-inline: auto; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(31, 177, 166, .12), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(21, 146, 201, .10), transparent 60%),
        linear-gradient(180deg, #f6fbfd 0%, #eef7fb 100%);
    padding-block: 56px 150px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
.locale-ar .hero h1 { letter-spacing: 0; }
.hero h1 { background: linear-gradient(90deg, var(--ink) 30%, var(--blue-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-media { position: relative; }
.hero-media > img {
    width: 100%; aspect-ratio: 16 / 12; object-fit: cover;
    border-radius: 48% 52% 38% 62% / 42% 38% 62% 58%;
    box-shadow: var(--shadow-lg);
    border: 8px solid #fff;
}
.hero-badge {
    position: absolute; inset-inline-start: -10px; bottom: 6%;
    display: flex; align-items: center; gap: 12px;
    background: #fff; padding: 12px 18px 12px 14px; border-radius: 16px; box-shadow: var(--shadow-lg);
    max-width: 290px; line-height: 1.35;
}
.hero-badge strong { display: block; font-size: .98rem; }
.hero-badge small { color: var(--muted); font-size: .82rem; }

.hero-wave { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 120px; stroke: none; }
.hero-wave .wave-back { fill: rgba(31, 177, 166, .35); }
.hero-wave .wave-front { fill: #fff; }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -84px; z-index: 2; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--grad-deep); color: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 26px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .25); }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.2; }
.stat span { font-size: .95rem; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding-block: 84px; position: relative; }
.section-tint { background: var(--tint); }
.section-gradient { background: var(--grad-deep); color: #fff; }
.section-dark { background: linear-gradient(135deg, #0d3550 0%, #0f5577 60%, #127b86 100%); color: #e6f3f8; }
.section-dark h2, .section-dark h3, .section-gradient h2, .section-gradient h3 { color: #fff; }
.section-dark p, .section-gradient p { color: rgba(255, 255, 255, .86); }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; text-align: start; gap: 16px; }
.section-head-row .section-title { margin: 0; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; position: relative; }
.section-head .section-title::after, .split-text .section-title::after {
    content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 14px;
}
.section-head .section-title::after { margin-inline: auto; }
.section-title-sm { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 1.2em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 16 / 10; }
.split-text p { color: var(--ink-2); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.check-list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(31, 177, 166, .14); color: var(--teal); stroke-width: 2.4; }

/* Icon ring — echoes the circular icons from the company profile */
.icon-ring {
    --size: 64px;
    display: inline-grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
    background: #fff; color: var(--blue); position: relative; flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(21, 146, 201, .14);
}
.icon-ring::before {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    background: conic-gradient(from 200deg, var(--blue), var(--teal), var(--green), transparent 70%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}
.icon-ring svg { width: 46%; height: 46%; }
.icon-ring-sm { --size: 48px; }
.icon-ring-light { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.icon-ring-light::before { background: conic-gradient(from 200deg, #fff, rgba(255, 255, 255, .5), transparent 70%); }

/* Feature cards */
.feature-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid-5 { grid-template-columns: repeat(5, 1fr); }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .icon-ring { margin-bottom: 18px; }
.feature-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .45em; }
.feature-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Vision / mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-lg); padding: 36px; }
.vm-card .icon-ring { margin-bottom: 16px; }
.vm-card h2 { font-size: 1.7rem; font-weight: 800; }

/* Facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; }
.facts div { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 0; font-weight: 800; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-grid article { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px; }
.mini-grid h3 { font-size: 1.05rem; font-weight: 800; }
.mini-grid p { margin: 0; font-size: .96rem; }
.section-dark .icon-ring { margin-bottom: 16px; }

/* GM message */
.gm-card {
    display: grid; grid-template-columns: 260px 1fr; gap: 44px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow);
}
.gm-person { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gm-photo { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--teal), var(--shadow); margin-bottom: 14px; }
.gm-photo-empty { display: grid; place-items: center; background: var(--grad); color: #fff; }
.gm-photo-empty svg { width: 46%; height: 46%; }
.gm-person strong { font-size: 1.25rem; font-weight: 800; }
.gm-person small { color: var(--teal); font-weight: 700; }
.gm-message { position: relative; }
.gm-quote { position: absolute; inset-inline-end: 0; top: -8px; width: 64px; height: 64px; color: var(--line); stroke-width: 1.2; }

.prose { color: var(--ink-2); }
.prose p { margin-bottom: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose blockquote { margin: 1.2em 0; padding: .4em 1.2em; border-inline-start: 4px solid var(--teal); background: var(--tint); border-radius: 8px; }

/* Cards: products & news */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card, .news-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover, .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media, .news-media { display: block; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.product-media img, .news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-media img { object-fit: contain; padding: 14px; background: #fff; }
.product-card:hover .product-media img, .news-card:hover .news-media img { transform: scale(1.04); }
.product-placeholder, .news-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--teal); background: linear-gradient(135deg, #eef8fb, #e6f6f3); }
.product-placeholder svg { width: 72px; height: 72px; stroke-width: 1.2; }
.news-placeholder img { width: 40% !important; height: auto !important; object-fit: contain !important; opacity: .55; }
.product-placeholder-lg svg { width: 120px; height: 120px; }
.product-body, .news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3, .news-body h3 { font-size: 1.12rem; font-weight: 800; margin: 0; }
.product-body h3 a, .news-body h3 a { color: var(--ink); }
.product-body h3 a:hover, .news-body h3 a:hover { color: var(--blue-700); }
.product-body p, .news-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.product-body .chip { align-self: flex-start; }
.news-body time { color: var(--teal); font-weight: 700; font-size: .88rem; }
.news-body .link-arrow { margin-top: auto; padding-top: 8px; }

/* Logos */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 24px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 16px; }
.logo-tile img { max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.logo-tile:hover img { filter: none; opacity: 1; }

.partner-group + .partner-group { margin-top: 56px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.partner-logo { width: 100%; aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--tint); border-radius: 12px; padding: 16px; margin-bottom: 8px; }
.partner-logo img { max-height: 100%; object-fit: contain; }
.partner-initial { font-size: 2.4rem; font-weight: 800; color: var(--teal); }
.partner-card h3 { font-size: 1.05rem; margin: 0; }
.partner-card small { color: var(--muted); }

/* Page hero */
.page-hero { position: relative; background: var(--grad-deep); color: #fff; padding-block: 64px 110px; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .16), transparent 70%),
                radial-gradient(500px 300px at 0% 100%, rgba(116, 192, 107, .35), transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.page-hero p { max-width: 760px; font-size: 1.1rem; color: rgba(255, 255, 255, .9); margin: 0; }
.page-hero .hero-wave { height: 90px; fill: #fff; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { padding: .45em 1.05em; font-size: .92rem; }
.search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; min-width: 280px; }
.search input { border: 0; padding: .7em 1.1em; font: inherit; flex: 1; min-width: 0; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 177, 166, .15); }
.search button { border: 0; background: var(--grad); color: #fff; padding-inline: 18px; cursor: pointer; }

.empty-state { text-align: center; padding: 56px 20px; background: var(--tint); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.empty-state .icon-ring { margin-bottom: 16px; }
.empty-state p { font-weight: 700; margin-bottom: .4em; }
.empty-state .btn { margin-top: 12px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.page-link { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; padding-inline: 10px; }
.page-link.active { background: var(--grad); color: #fff; border-color: transparent; }
.page-link.disabled { opacity: .45; }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.detail-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.detail-body h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-top: .4em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.meta { color: var(--muted); }
.detail-body .btn { margin-top: 12px; }

.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.article-date { display: block; color: var(--teal); font-weight: 700; margin-bottom: .4em; }
.article-image { width: 100%; border-radius: var(--radius-lg); margin: 12px 0 32px; box-shadow: var(--shadow); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
a.contact-item:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.contact-item > span:last-child { display: flex; flex-direction: column; line-height: 1.45; }
.contact-item small { color: var(--muted); }
.contact-item strong { font-weight: 800; }
.contact-item .link-arrow { font-size: .9rem; margin-top: 4px; }
.contact-item-wa .icon-ring { color: #1fae55; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 700; font-size: .95rem; }
.form-row label span { color: #d64545; }
.form input, .form textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fbfdfe;
    border: 1px solid var(--line); border-radius: 12px; padding: .7em .95em;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 177, 166, .15); background: #fff; }
.form [aria-invalid="true"] { border-color: #d64545; }
.locale-ar .form input[dir="ltr"] { text-align: right; }
.field-error { color: #c23434; font-size: .88rem; margin: 0; }
.form-hint { color: var(--muted); font-size: .88rem; margin: -6px 0 0; }
.form .btn { justify-self: start; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 700; }
.alert-success { background: #e8f8f1; color: #137a52; border: 1px solid #bfe9d6; }
.alert-error { background: #fdeeee; color: #a42828; border: 1px solid #f5c9c9; }

/* Services icon list */
.icon-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.icon-list li { display: flex; gap: 16px; align-items: flex-start; }
.icon-list h3 { font-size: 1.08rem; margin-bottom: .25em; }
.icon-list p { margin: 0; font-size: .96rem; }

/* CTA band */
.cta-band { padding-block: 0 84px; }
.cta-inner {
    background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 44px 48px;
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
    position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-inner::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; inset-inline-end: -120px; top: -160px; background: rgba(255, 255, 255, .12); }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: .3em; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .92); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; padding-top: 70px; margin-top: 40px; }
.footer-wave { position: absolute; top: -60px; inset-inline: 0; width: 100%; height: 62px; fill: var(--ink); stroke: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; }
.footer-about p { margin-top: 18px; max-width: 30em; }
.footer-title { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 1em; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { color: var(--teal); margin-top: .3em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

.wa-float {
    position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
    transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; stroke-width: 1.6; }

/* Errors */
.error-page { min-height: 60vh; display: grid; place-items: center; }
.error-page img { margin: 0 auto 12px; }
.error-code { font-size: 5rem; font-weight: 800; line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .feature-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .logo-wall { grid-template-columns: repeat(4, 1fr); }
    .site-nav ul a { padding-inline: .55em; }
}

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 100%; inset-inline: 0; margin: 0;
        flex-direction: column; align-items: stretch; gap: 12px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15, 47, 69, .1);
        padding: 12px 20px 20px; display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { padding: .7em .6em; }
    .site-nav ul a.active::after { display: none; }
    .site-nav ul a.active { background: var(--tint); }
    .nav-actions { justify-content: space-between; }

    .hero { padding-block: 32px 130px; }
    .hero-grid, .split, .detail-grid, .contact-grid, .vm-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-media { order: -1; max-width: 560px; margin-inline: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .feature-grid-3, .feature-grid-4, .feature-grid-5, .card-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .gm-card { grid-template-columns: 1fr; padding: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .section { padding-block: 64px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .brand img { width: 52px; }
    .brand-text small { display: none; }
    .feature-grid-3, .feature-grid-4, .feature-grid-5, .card-grid, .partner-grid, .mini-grid, .facts, .form-cols, .footer-grid { grid-template-columns: 1fr; }
    .logo-wall { grid-template-columns: repeat(3, 1fr); }
    .hero-badge { inset-inline-start: 8px; bottom: -10px; }
    .stat { padding: 20px 12px; }
    .stat strong { font-size: 1.5rem; }
    .form-card { padding: 24px 18px; }
    .cta-inner { padding: 32px 24px; }
    .search { min-width: 0; width: 100%; }
    .section-head-row { flex-direction: column; align-items: start; }
    .gm-quote { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .wa-float, .cta-band { display: none; }
}
