/* Call Fahim — front-end identity
   Charcoal + copper, taken from the logo. Uses logical properties so the
   same rules work for Arabic (rtl) and English (ltr). */

:root {
    --ink: #1d1d1f;
    --ink-2: #2a2a2d;
    --ink-3: #3a3a3e;
    --copper: #b97a56;
    --copper-2: #d3a283;
    --copper-3: #f1dfd3;
    --copper-deep: #8c5536;
    --sand: #f8f4f1;
    --paper: #ffffff;
    --line: #ebe3dd;
    --muted: #6d6660;
    --success: #2f8f5b;
    --wa: #25d366;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 50px -24px rgba(29, 29, 31, .35);
    --shadow-sm: 0 6px 20px -12px rgba(29, 29, 31, .3);
    --container: 1200px;
    --header-h: 76px;
    --font: "IBM Plex Sans Arabic", "Montserrat", system-ui, sans-serif;
}

html[lang="en"] { --font: "Montserrat", "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #f3eeea; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--copper-deep);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--copper-2); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--dark .section-head p { color: #b9b1ab; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .98rem; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 10px 24px -12px var(--copper); }
.btn-primary:hover { background: var(--copper-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: var(--copper-2); color: var(--copper-2); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--copper); color: var(--copper-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn i { font-size: 1.05em; }
html[dir="rtl"] .icon-flip { transform: scaleX(-1); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    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 8px 30px -22px rgba(0, 0, 0, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; max-width: 1280px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-name b { font-weight: 800; }
.brand-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-deep); font-family: "Montserrat", sans-serif; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav a {
    padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .94rem; color: var(--ink-3); white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--sand); }
.main-nav a.is-active { color: var(--copper-deep); background: var(--copper-3); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
    font-weight: 600; font-size: .88rem; color: var(--ink-3);
}
.lang-switch:hover { background: var(--sand); }
.menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--paper); cursor: pointer; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 22, .5); opacity: 0; transition: opacity .25s ease; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(86vw, 360px);
    background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(24px); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}
html[dir="rtl"] .drawer-panel { transform: translateX(-24px); }
.drawer.is-open .drawer-panel { transform: none; opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-panel > a:not(.btn) { padding: 13px 14px; border-radius: 12px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.drawer-panel > a:not(.btn) i { width: 22px; color: var(--copper); }
.drawer-panel > a:not(.btn):hover, .drawer-panel > a.is-active { background: var(--sand); }
.drawer-panel .btn { margin-top: 8px; }
.drawer-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* Hero */
.hero {
    position: relative; overflow: hidden; color: #f3eeea;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(185, 122, 86, .28), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(185, 122, 86, .12), transparent 60%),
        var(--ink);
    padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--copper-2); display: block; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.15rem); color: #c9c1bb; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: #a79f99; font-size: .92rem; }
.hero-trust i { color: var(--copper-2); }
.hero-dial { position: absolute; inset-inline-end: -180px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.hero-dial .dial-spin { transform-origin: 50% 50%; animation: dial 60s linear infinite; }
@keyframes dial { to { transform: rotate(360deg); } }

/* Quick estimate card */
.quick-card {
    background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 28px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); position: relative;
}
.quick-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
    background: linear-gradient(140deg, var(--copper-2), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.quick-card h3 { font-size: 1.2rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.quick-card h3 i { color: var(--copper); }
.quick-card .hint { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
    border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; cursor: pointer;
    font-weight: 600; font-size: .9rem; transition: all .2s ease; line-height: 1.3;
}
.seg label:hover { border-color: var(--copper-2); }
.seg input:checked + label { border-color: var(--copper); background: var(--copper-3); color: var(--copper-deep); }
.seg input:focus-visible + label { outline: 2px solid var(--copper); outline-offset: 2px; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-block: 1px dashed var(--line); margin-bottom: 18px; }
.stepper-row span { font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--sand); border-radius: 999px; padding: 4px; }
.stepper button {
    width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer;
    box-shadow: var(--shadow-sm); font-size: .9rem; transition: background .2s ease;
}
.stepper button:hover { background: var(--copper-3); }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.price-line small { color: var(--muted); }
.price { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 2rem; color: var(--ink); letter-spacing: -.02em; }
.price { display: inline-flex; align-items: baseline; gap: 6px; direction: ltr; }
.price .cur { font-size: .9rem; color: var(--copper-deep); font-weight: 700; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { display: block; font-family: "Montserrat", sans-serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat b span { color: var(--copper); }
.stat small { color: var(--muted); font-size: .92rem; }

/* Trusted marquee */
.trusted { padding-block: 64px 24px; }
.trusted h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); text-align: center; color: var(--ink-3); font-weight: 600; margin-bottom: 30px; }
.marquee { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.partner {
    display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 16px;
    border: 1px solid var(--line); background: var(--paper); white-space: nowrap; min-height: 72px;
}
.partner img { height: 42px; width: auto; filter: grayscale(1); opacity: .8; transition: all .2s ease; }
.partner:hover img { filter: none; opacity: 1; }
.partner-mark {
    width: 40px; height: 40px; border-radius: 12px; background: var(--copper-3); color: var(--copper-deep);
    display: grid; place-items: center; font-weight: 800; font-family: "Montserrat", sans-serif; font-size: .85rem;
}
.partner-name { display: flex; flex-direction: column; line-height: 1.25; }
.partner-name b { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .95rem; }
.partner-name small { color: var(--muted); font-size: .78rem; }

/* Jurisdiction options */
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.option {
    position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--paper);
    border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.option:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--copper-2); }
.option.is-featured { background: var(--ink); color: #f3eeea; border-color: var(--ink); }
.option-badge { position: absolute; top: 20px; inset-inline-end: 20px; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--copper); color: #fff; }
.option-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--copper-3); color: var(--copper-deep); font-size: 1.4rem; margin-bottom: 20px; }
.option.is-featured .option-icon { background: rgba(211, 162, 131, .16); color: var(--copper-2); }
.option h3 { font-size: 1.35rem; margin-bottom: 6px; }
.option p { color: var(--muted); margin-bottom: 20px; }
.option.is-featured p { color: #b9b1ab; }
.option .from { font-size: .85rem; color: var(--muted); }
.option.is-featured .from { color: #b9b1ab; }
.option .price { margin-bottom: 22px; }
.option.is-featured .price { color: #fff; }
.option .btn { margin-top: auto; }

/* End-to-end checklist */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.check {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--paper);
    border: 1px solid var(--line); font-weight: 500; line-height: 1.4; transition: border-color .2s ease, transform .2s ease;
}
.check:hover { border-color: var(--copper-2); transform: translateY(-2px); }
.check i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--copper-3); color: var(--copper-deep); font-size: .8rem; }

/* Services */
/* One line always; on narrow screens the strip scrolls sideways instead of wrapping. */
.tabs {
    display: inline-flex; gap: 6px; padding: 6px; background: var(--sand); border-radius: 999px; margin-bottom: 34px;
    max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); white-space: nowrap; scroll-snap-align: start; }
.tab.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    position: relative; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after {
    content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
    border: 18px solid var(--copper-3); opacity: 0; transition: opacity .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--copper-2); display: grid; place-items: center; font-size: 1.25rem; }
.service-card h3 { font-size: 1.12rem; margin: 8px 0 0; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.service-card .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--copper-deep); display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.service-card[hidden] { display: none; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step::before {
    counter-increment: step; content: "0" counter(step);
    font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 3rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--copper-2); display: block; margin-bottom: 16px;
}
.step::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, var(--copper), transparent); }
html[dir="rtl"] .step::after { background: linear-gradient(-90deg, var(--copper), transparent); }
.step h3 { font-size: 1.15rem; color: #fff; }
.step p { color: #b9b1ab; margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
    background: linear-gradient(120deg, var(--copper-deep), var(--copper));
    color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset-inline-end: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-band .btn-dark { background: var(--ink); }

/* Testimonials & posts */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.quote i.fa-quote-right, .quote i.fa-quote-left { color: var(--copper-2); font-size: 1.6rem; }
.quote-body { color: var(--ink-3); flex: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who img, .quote-who .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--copper-3); display: grid; place-items: center; font-weight: 700; color: var(--copper-deep); }
.post { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .post-img img { transform: scale(1.04); }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body time { font-size: .82rem; color: var(--copper-deep); font-weight: 600; }
.post-body h3 { font-size: 1.08rem; margin: 0; }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #f3eeea; padding-block: 56px 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 50px solid rgba(185, 122, 86, .12); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { color: #b9b1ab; max-width: 640px; margin: 0; position: relative; z-index: 1; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: #a79f99; margin-bottom: 14px; position: relative; z-index: 1; }
.crumbs a:hover { color: var(--copper-2); }

/* Article */
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.prose { font-size: 1.05rem; color: var(--ink-3); }
.prose img { border-radius: var(--radius); margin-block: 20px; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-inline-start: 1.2em; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.15rem; }
.aside-card p { color: var(--muted); font-size: .95rem; }
.aside-card .btn + .btn { margin-top: 10px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.calc > *, .article-grid > *, .contact-grid > *, .hero-grid > * { min-width: 0; }
.calc-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.progress-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper-2), var(--copper)); border-radius: inherit; transition: width .35s ease; }
.progress small { color: var(--muted); font-weight: 600; white-space: nowrap; }
.calc-step { display: none; animation: fade .3s ease; }
.calc-step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.calc-step h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 22px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
    display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border-radius: 16px; cursor: pointer;
    border: 1.5px solid var(--line); transition: all .2s ease; padding-inline-end: 44px;
}
.choice label::after {
    content: ""; position: absolute; top: 18px; inset-inline-end: 16px; width: 20px; height: 20px; border-radius: 50%;
    border: 1.5px solid var(--line); transition: all .2s ease;
}
.choice input[type="checkbox"] + label::after { border-radius: 6px; }
.choice label:hover { border-color: var(--copper-2); }
.choice input:checked + label { border-color: var(--copper); background: #fdf8f5; }
.choice input:checked + label::after { border-color: var(--copper); background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible + label { outline: 2px solid var(--copper); outline-offset: 2px; }
.choice b { font-size: 1rem; }
.choice small { color: var(--muted); }
.choice .p { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--copper-deep); font-size: .9rem; margin-top: 4px; }
.people { display: grid; gap: 14px; }
.people .stepper-row { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0; }
.people .stepper-row small { display: block; color: var(--muted); font-weight: 400; }
.calc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.calc-nav .btn[disabled] { opacity: .45; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.input {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(185, 122, 86, .14); }
textarea.input { min-height: 140px; resize: vertical; }
.field-error { color: #b4372b; font-size: .85rem; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink); color: #f3eeea; border-radius: var(--radius-lg); padding: 28px; overflow: hidden; }
.summary::before { content: ""; position: absolute; inset-inline-end: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(185, 122, 86, .14); }
.summary h3 { font-size: 1rem; color: #b9b1ab; font-weight: 600; margin-bottom: 4px; }
.summary .price { color: #fff; font-size: 2.4rem; display: block; margin-bottom: 18px; }
.summary .price .cur { color: var(--copper-2); }
.summary ul { list-style: none; margin: 0 0 18px; padding: 0; position: relative; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-size: .92rem; }
.summary li span:first-child { color: #b9b1ab; }
.summary li span:last-child { text-align: end; font-weight: 600; }
.summary .note { font-size: .8rem; color: #8f8781; margin: 0; position: relative; }
.result { text-align: center; padding-block: 10px; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--copper-3); color: var(--copper-deep); font-size: 2rem; }
.result .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s ease; }
a.contact-item:hover { border-color: var(--copper); }
.contact-item i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--copper-2); flex-shrink: 0; }
.contact-item small { display: block; color: var(--muted); }
.contact-item b { direction: ltr; unicode-bidi: embed; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 14px; aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row img { border-radius: 10px; height: 46px; width: auto; }
.captcha-row button { border: 1px solid var(--line); background: var(--paper); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #e9f6ef; color: var(--success); }

/* Footer */
.site-footer { background: #151516; color: #b9b1ab; padding-block: 72px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 190px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--copper-2); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background .2s ease; }
.socials a:hover { background: var(--copper); color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* Floating WhatsApp (desktop) */
.wa-float {
    position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
    transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* Mobile bottom bar */
.mobile-bar { display: none; }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .checklist { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    :root { --header-h: 66px; }
    .main-nav, .header-actions .btn, .header-actions .lang-switch { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-actions { margin-inline-start: auto; }
    .brand img { width: 40px; height: 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-dial { width: 520px; height: 520px; inset-inline-end: -220px; top: 30%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-inline-start: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .options-grid, .services-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .cta-band { grid-template-columns: 1fr; }
    .article-grid, .calc, .contact-grid { grid-template-columns: 1fr; }
    .summary, .aside-card { position: relative; top: auto; }
    #calcForm .summary { order: -1; }
    .summary ul, .summary .note { display: none; }
    .summary { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .summary .price { margin: 0; font-size: 1.7rem; }
    .summary h3 { margin: 0; }
    .wa-float { display: none; }

    /* Bottom app-style bar with WhatsApp in the middle */
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .mobile-bar {
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
        height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .3);
    }
    /* Every label sits on the same baseline, one line, under its icon. */
    .mobile-bar a {
        display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px;
        height: 68px; padding: 0 2px 11px; min-width: 0;
        font-size: .72rem; line-height: 1.2; font-weight: 600; color: var(--muted);
        white-space: nowrap;
    }
    .mobile-bar a span.label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .mobile-bar a i { font-size: 1.2rem; line-height: 1; }
    .mobile-bar a.is-active { color: var(--copper-deep); }
    .mobile-bar .wa-center { position: relative; color: var(--ink); }
    .mobile-bar .wa-center span.bubble {
        position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
        width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
        background: var(--wa); color: #fff; font-size: 1.85rem;
        border: 5px solid var(--paper); box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .8);
    }
    .mobile-bar .wa-center span.bubble::after {
        content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--wa);
        animation: pulse 2.2s ease-out infinite;
    }
    @keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
}

@media (max-width: 640px) {
    .container { padding-inline: 16px; }
    .brand-tag { display: none; }
    .hero h1 { font-size: 2rem; }
    .hero-cta .btn { flex: 1 1 100%; }
    .quick-card { padding: 22px; }
    .seg label { font-size: .82rem; padding: 10px 4px; }
    .stats { margin-top: -30px; }
    .stat { padding: 20px 12px; }
    .options-grid, .services-grid, .cards-3 { grid-template-columns: 1fr; }
    .checklist { grid-template-columns: 1fr 1fr; gap: 10px; }
    .check { padding: 14px; gap: 10px; font-size: .9rem; }
    .check i { width: 26px; height: 26px; }
    .process { grid-template-columns: 1fr; }
    .fields-2 { grid-template-columns: 1fr; }
    .choices { grid-template-columns: 1fr; }
    .calc-nav .btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    /* Phones: two tabs per row; with an odd count "View all" takes the first row. */
    .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; border-radius: 18px; overflow: visible; }
    .tab { padding: 11px 10px; font-size: .9rem; line-height: 1.3; border-radius: 12px; white-space: normal; text-align: center; }
    .tab:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
    .checklist { grid-template-columns: 1fr; }
}

/* Government services block */
.gov { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.gov-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.gov-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.gov-intro > p { color: var(--muted); font-size: 1.05rem; }
.why { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 16px; }
.why li { display: flex; gap: 14px; align-items: flex-start; }
.why i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--copper-3); color: var(--copper-deep); }
.why b { display: block; }
.why span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.why span b { color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gov-tile {
    display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px;
    background: var(--paper); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gov-tile:hover { border-color: var(--copper-2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.gov-tile > i { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--copper-2); font-size: 1.1rem; }
.gov-tile b { display: block; line-height: 1.35; font-size: .98rem; }
.gov-tile small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 4px; }

@media (max-width: 1199px) {
    .main-nav, .header-actions .lang-switch { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-actions { margin-inline-start: auto; }
}
@media (max-width: 991px) {
    .gov { grid-template-columns: 1fr; gap: 32px; }
    .gov-intro { position: static; }
}
@media (max-width: 520px) {
    .gov-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .mobile-bar a { font-size: .66rem; }
    .mobile-bar .wa-center span.bubble { width: 56px; height: 56px; font-size: 1.65rem; top: -22px; }
}
