/* Public website (landing, pricing, quote, trial) — the Tadbirna style "Sous un même toit".
   Everything comes from the logo: the roof (two strokes, coral and blue), the dot under it, the rounded tile.
   Logical properties keep it right-to-left friendly for Arabic. The small roof drawings are inline SVG images. */
:root {
    --ink: #0B0B12;
    --ink-2: #2B2C3B;
    --slate: #5B5D72;
    --faint: #8A8CA0;
    --line: #E3E4EC;
    --line-2: #DCDEE8;
    --mist: #F4F5FA;
    --blue: #1E40FF;
    --blue-700: #1530C9;
    --blue-soft: #EEF1FF;
    --blue-on-dark: #5C78FF;
    --coral: #FF5A36;
    --coral-700: #C93A1B;
    --coral-soft: #FFEDE7;
    --radius: 22px;
    --roof: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13'%3E%3Cpath d='M2.5 10.5 L10 3' stroke='%23FF5A36' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M10 3 L17.5 10.5' stroke='%231E40FF' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
    --roof-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13'%3E%3Cpath d='M2.5 10.5 L10 3' stroke='%23FF5A36' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M10 3 L17.5 10.5' stroke='%235C78FF' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M4 4 L13 12 L22 4' stroke='%238A8CA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    /* Kept for older pages that still use them. */
    --navy: var(--ink);
    --teal: var(--coral-700);
    --text: var(--ink-2);
    --muted: var(--slate);
    --soft: var(--mist);
}

.site { font-family: Alexandria, "Segoe UI", Cairo, sans-serif; color: var(--ink-2); background: #fff; line-height: 1.65; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site a { color: inherit; text-decoration: none; }
.site h1, .site h2, .site h3 { color: var(--ink); margin: 0 0 .5em; }
.site h1, .site h2 { font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.site h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
.site h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.site h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
[dir="rtl"] .site h1, [dir="rtl"] .site h2, [dir="rtl"] .site h3 { letter-spacing: 0; line-height: 1.35; }
.site p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 104px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--ink); color: #B4B6C8; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 640px; }
.section-dark .lead { color: #B4B6C8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.note { color: var(--slate); font-size: .85rem; }
.ltr { direction: ltr; unicode-bidi: embed; }
@media (max-width: 760px) { .section { padding: 72px 0; } }

/* The dot of the logo closes the main titles. */
.dotted::after { content: "."; color: var(--coral); }

/* Section label: the roof, then the words. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 13px; background: var(--roof) no-repeat center / contain; flex: none; }
.section-dark .eyebrow { color: #fff; }
.section-dark .eyebrow::before { background-image: var(--roof-dark); }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.center .eyebrow { justify-content: center; }

.section-head { margin-bottom: 56px; }
.section-head h2, .section-head h1 { margin-bottom: 14px; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; }
.section-head.split > div { flex: 1 1 520px; min-width: 0; }
.section-head.split > .lead { flex: 0 1 400px; margin: 0; font-size: 1.05rem; }

/* Lists with a small roof instead of a tick. */
.roof-list, .checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.roof-list li, .checklist li { display: flex; gap: 12px; align-items: baseline; }
.roof-list li::before, .checklist li::before, .hero-points span::before { content: ""; flex: none; width: 16px; height: 11px; background: var(--roof) no-repeat center / contain; }
.section-dark .checklist li, .section-dark .roof-list li { color: #E7E8F0; }
.section-dark .checklist li::before, .section-dark .roof-list li::before { background-image: var(--roof-dark); }

/* Buttons: round ends like the strokes of the logo. Coral once per screen for the action that matters; ink for the rest. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff !important; }
.btn-primary:hover { background: var(--blue); }
.btn-accent, .btn-teal { background: var(--coral); color: var(--ink) !important; font-weight: 700; }
.btn-accent:hover, .btn-teal:hover { background: #FF7352; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink) !important; }
.btn-ghost:hover { background: var(--ink); color: #fff !important; }
.btn-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff !important; }
.btn-light:hover { background: #fff; color: var(--ink) !important; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.link-u { color: var(--ink); font-weight: 600; text-decoration: underline !important; text-decoration-color: var(--coral) !important; text-decoration-thickness: 2px !important; text-underline-offset: 6px; }
.site :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.site-nav { display: flex; gap: 20px; margin-inline-start: 4px; }
.site-nav a { position: relative; color: var(--ink-2); font-weight: 500; white-space: nowrap; padding: 6px 0; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 600; }
.site-nav a.active::before { content: ""; position: absolute; top: -10px; inset-inline-start: 50%; width: 18px; height: 12px; margin-inline-start: -9px; background: var(--roof) no-repeat center / contain; }
.header-actions { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.header-actions .btn { min-height: 44px; padding: 0 20px; }
.lang-switch { color: var(--slate); font-weight: 600; padding: 8px; }
.lang-switch:hover { color: var(--ink); }
.menu-toggle { display: none; }
.site-header .btn { white-space: nowrap; }
.site-nav .mobile-only { display: none; }
@media (max-width: 1240px) and (min-width: 1101px) { .site-header .wrap { gap: 16px; } .site-nav { gap: 14px; font-size: .9rem; margin-inline-start: 0; } .header-actions .btn { padding: 0 16px; } }
@media (max-width: 1100px) {
    .site-nav { display: none; }
    .site-nav.open { display: flex; position: absolute; top: 76px; inset-inline: 0; flex-direction: column; gap: 4px; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
    .site-nav.open a.active::before { top: 50%; inset-inline-start: auto; inset-inline-end: 0; margin: -6px 0 0; }
    .site-nav.open .mobile-only { display: block; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
    .header-actions .btn-ghost { display: none; }
}
@media (max-width: 560px) { .header-actions .btn-primary { display: none; } .site-header .wrap { gap: 12px; } }

/* Hero */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { font-size: 1.2rem; margin-bottom: 30px; max-width: 560px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--ink-2); font-size: .95rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 9px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 80px; } }

/* The house: the roof of the logo over the lots of a residence (blue: up to date, coral: to pay). */
.house { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.house-roof { position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: auto; z-index: 2; overflow: visible; pointer-events: none; }
.house-body { position: relative; z-index: 1; margin: 42% 14% 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 70px rgba(11,11,18,.12); padding: 44px 24px 40px; display: flex; flex-direction: column; gap: 16px; }
.house-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.house-head small { display: block; font-size: .75rem; color: var(--slate); }
.house-head b { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.house-rate { text-align: end; }
.house-rate strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.split-bar { display: flex; gap: 4px; height: 10px; }
.split-bar span { border-radius: 999px; min-width: 6px; }
.split-bar span:first-child { background: var(--blue); }
.split-bar span:last-child { background: var(--coral); }
.lots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.lot { aspect-ratio: 1; border-radius: 28%; border: 1px solid #E0E6FF; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 39 L32 22' stroke='%231E40FF' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M32 22 L48 39' stroke='%231E40FF' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='46' r='4.5' fill='%230B0B12'/%3E%3C/svg%3E") no-repeat center / 100%; }
.lot.due { border-color: #FFDCD1; background-color: var(--coral-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 39 L32 22' stroke='%23FF5A36' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M32 22 L48 39' stroke='%23FF5A36' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='46' r='4.5' fill='%230B0B12'/%3E%3C/svg%3E"); }
.lot.vacant { border-color: var(--line); background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 39 L32 22' stroke='%23C9CBD8' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M32 22 L48 39' stroke='%23C9CBD8' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .75rem; color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }
.legend .due::before { background: var(--coral); }
.legend .vacant::before { background: #C9CBD8; }
.house-note { position: relative; z-index: 3; margin: -18px 4% 0 auto; width: fit-content; max-width: 92%; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 12px; box-shadow: 0 14px 30px rgba(11,11,18,.12); font-size: .875rem; line-height: 1.35; }
[dir="rtl"] .house-note { margin: -18px auto 0 4%; padding: 10px 12px 10px 18px; }
.house-note::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, var(--coral) 0 5px, var(--coral-soft) 5.5px); }
.house-note b { display: block; color: var(--ink); }
.house-note small { color: var(--slate); font-size: .75rem; }
@media (max-width: 960px) { .house { max-width: 460px; } }
@media (max-width: 420px) { .house-body { margin-inline: 8%; padding: 36px 16px 40px; } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* Features: a list, each line with its tile. */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 0 56px; }
.feature { display: flex; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.feature .icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.feature:nth-child(4n+2) .icon, .feature:nth-child(4n+3) .icon { background: var(--coral-soft); color: var(--coral-700); }
.feature h3 { margin: 0 0 6px; font-size: 1.15rem; }
.feature p { color: var(--slate); font-size: .95rem; margin: 0; }

/* Residents: dark section, big roof in the background, the phone. */
.bg-roof { position: absolute; top: 40px; inset-inline-end: -220px; width: 900px; height: 600px; pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; position: relative; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .bg-roof { display: none; } }
.phone { width: 300px; max-width: 100%; margin-inline: auto; border-radius: 44px; background: #1C1C29; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.phone-screen { background: #fff; border-radius: 34px; padding: 22px 18px 16px; color: var(--ink-2); min-height: 540px; display: flex; flex-direction: column; gap: 12px; }
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--slate); }
.phone-top img { width: 30px; height: 30px; }
.phone-screen .hello { font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.pill-card { border-radius: 16px; padding: 12px 14px; background: var(--mist); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill-card small { color: var(--slate); font-size: .8rem; white-space: nowrap; }
.pill-card strong { color: var(--ink); font-size: .875rem; text-align: end; }
.pill-card.alert { display: block; border-radius: 20px; padding: 16px; background: var(--coral-soft); }
.pill-card.alert small { display: block; color: #8F2B14; }
.pill-card.alert strong { display: block; text-align: start; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.pill-card .tag { white-space: nowrap; font-size: .75rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 3px 10px; }
.phone-tabs { margin-top: auto; display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; padding-top: 12px; border-top: 1px solid var(--line); font-size: .7rem; color: var(--slate); }
.phone-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.phone-tabs span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.phone-tabs .on { color: var(--ink); font-weight: 700; }
.phone-tabs .on::before { background: var(--coral); }

/* Steps: big numbers under a roof. */
.steps { counter-reset: step; gap: 40px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; padding-top: 30px; margin-bottom: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 26'%3E%3Cpath d='M6 22 L32 5' stroke='%23FF5A36' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M32 5 L58 22' stroke='%231E40FF' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat top left / 64px 26px; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
[dir="rtl"] .step::before { background-position: top right; letter-spacing: 0; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--slate); }

/* Pricing: a roof over each plan. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: end; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan-col { display: flex; flex-direction: column; align-items: center; }
.plan-col::before { content: ""; width: 150px; height: 62px; margin-bottom: -6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 62'%3E%3Cpath d='M12 54 L75 9' stroke='%23C9CBD8' stroke-width='13' stroke-linecap='round'/%3E%3Cpath d='M75 9 L138 54' stroke='%23C9CBD8' stroke-width='13' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.plan-col.featured::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 62'%3E%3Cpath d='M12 54 L75 9' stroke='%23FF5A36' stroke-width='13' stroke-linecap='round'/%3E%3Cpath d='M75 9 L138 54' stroke='%231E40FF' stroke-width='13' stroke-linecap='round'/%3E%3C/svg%3E"); }
.plan { align-self: stretch; display: flex; flex-direction: column; gap: 16px; border-radius: 26px; padding: 30px 28px; }
.plan h3 { margin: 0; font-size: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .ribbon { font-size: .75rem; font-weight: 700; color: var(--ink); background: var(--coral); border-radius: 999px; padding: 4px 12px; letter-spacing: 0; }
.plan .price { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan .price small { font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--slate); }
.plan .unit { color: var(--slate); font-size: .875rem; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .95rem; flex: 1; color: var(--ink); }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 14px; height: 10px; background: var(--roof) no-repeat center / contain; }
.plan li.off { color: var(--faint); }
.plan li.off::before { background: none; content: "–"; width: 14px; height: auto; text-align: center; }
.plan.featured { background: var(--ink); border-color: var(--ink); color: #B4B6C8; padding-bottom: 34px; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .price small, .plan.featured .unit { color: #B4B6C8; }
.plan.featured ul { border-top-color: #2A2B3A; color: #fff; }
.plan.featured li::before { background-image: var(--roof-dark); }
.plan.featured li.off { color: #6E7086; }
.plan.featured li.off::before { background: none; }

/* Calculator and forms */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
.plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.plan-picker label { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 12px; cursor: pointer; text-align: center; font-weight: 600; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.plan-picker label:hover { border-color: var(--ink); }
.plan-picker input { position: absolute; opacity: 0; pointer-events: none; }
.plan-picker label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.plan-picker label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.field .hint { color: var(--slate); font-size: .82rem; }
.field input, .field select, .field textarea { font: inherit; min-height: 50px; padding: 12px 16px; border: 1.5px solid #D5D7E2; border-radius: 14px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9BBCB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px #E3E8FF; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fields-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 640px) { .fields-2, .fields-3 { grid-template-columns: 1fr; } }
.toggle { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.toggle label { padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--slate); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,11,18,.12); }
.save-tag { color: var(--coral-700); background: var(--coral-soft); font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px; }
.summary { position: sticky; top: 96px; }
.summary-lines { display: grid; gap: 8px; margin: 12px 0 16px; font-size: .95rem; }
.summary-lines div, .totals div { display: flex; justify-content: space-between; gap: 12px; }
.summary-lines span:last-child, .totals span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.totals { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.totals .grand { margin-top: 8px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 1.2rem; font-weight: 800; }
.big-price { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -0.03em; }
.big-price small { letter-spacing: 0; font-weight: 400; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: start; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare .yes { font-size: 0; background: var(--roof) no-repeat center / 18px 12px; }
.compare .no { color: var(--faint); }

/* Contact / quote */
.contact-card { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 12px; align-items: center; }
.contact-item .icon { width: 44px; height: 44px; border-radius: 28%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.contact-item small { display: block; color: var(--slate); }
.contact-item strong { color: var(--ink); direction: ltr; unicode-bidi: embed; }
.alert-box { border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.alert-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.success-box { text-align: center; padding: 48px 28px; }
.success-box .check { width: 72px; height: 72px; border-radius: 28%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 39 L32 22' stroke='%231E40FF' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M32 22 L48 39' stroke='%231E40FF' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='46' r='4.5' fill='%230B0B12'/%3E%3C/svg%3E") no-repeat center / 100%; color: transparent; display: grid; place-items: center; margin: 0 auto 18px; font-size: 0; }
.ref { display: inline-block; font-family: ui-monospace, monospace; background: var(--mist); padding: 6px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ: the chevron is the roof — down when closed, up (in colour) when open. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 80px; align-items: start; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq details[open] { border-top: 1.5px solid var(--ink); }
.faq summary { text-wrap: pretty; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 16px; background: var(--chevron) no-repeat center / contain; }
.faq details[open] summary { font-weight: 700; }
.faq details[open] summary::after { background-image: var(--roof); }
.faq details p { margin: 12px 0 0; color: var(--slate); max-width: 640px; }
.faq { max-width: 820px; margin-inline: auto; }
.faq-grid .faq { max-width: none; margin: 0; }

/* Call to action: electric blue with a big roof. */
.cta-band { position: relative; overflow: hidden; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 420'%3E%3Cpath d='M50 400 L350 80' stroke='%23FFFFFF' stroke-width='80' stroke-linecap='round' stroke-opacity='0.12'/%3E%3Cpath d='M350 80 L650 400' stroke='%23FFFFFF' stroke-width='80' stroke-linecap='round' stroke-opacity='0.12'/%3E%3C/svg%3E") no-repeat right -120px bottom -190px / 700px 420px; color: #fff; border-radius: 34px; padding: 64px 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
[dir="rtl"] .cta-band { background-position: left -120px bottom -190px; }
.cta-band > div:first-child { flex: 1 1 440px; min-width: 0; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-band p { margin: 0; color: #DCE2FF; font-size: 1.1rem; }
@media (max-width: 640px) { .cta-band { padding: 40px 24px; border-radius: 26px; } }

/* Footer: a row of roofs, ours in colour. */
.site-footer { background: var(--ink); color: #A3A5B8; font-size: .95rem; }
.skyline { height: 72px; border-bottom: 1px solid #23243A; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 72'%3E%3Cpath d='M7 70 L24.0 54' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M24.0 54 L41 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M69 70 L98.0 42' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M98.0 42 L127 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M155 70 L176.0 50' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M176.0 50 L197 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M225 70 L262.0 34' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M262.0 34 L299 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M327 70 L342.0 56' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M342.0 56 L357 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M385 70 L410.0 46' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M410.0 46 L435 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M463 70 L508.0 26' stroke='%23FF5A36' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M508.0 26 L553 70' stroke='%235C78FF' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M581 70 L600.0 52' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M600.0 52 L619 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M647 70 L680.0 38' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M680.0 38 L713 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M741 70 L764.0 48' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M764.0 48 L787 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M815 70 L832.0 54' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M832.0 54 L849 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M877 70 L918.0 30' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M918.0 30 L959 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M987 70 L1014.0 44' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1014.0 44 L1041 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1069 70 L1088.0 52' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1088.0 52 L1107 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1135 70 L1170.0 36' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1170.0 36 L1205 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1233 70 L1254.0 50' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1254.0 50 L1275 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1303 70 L1320.0 54' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1320.0 54 L1337 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1365 70 L1394.0 42' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1394.0 42 L1423 70' stroke='%232C2D40' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 1400px 72px; }
[dir="rtl"] .skyline { background-position: right bottom; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 48px 0 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #23243A; padding: 20px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* Headings receive focus after navigation (for screen readers); no visible box needed. */
.site h1:focus, .site h1:focus-visible { outline: none; }

/* Trial page: manager or co-owner choice */
.trial-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.trial-choice label { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; cursor: pointer; }
.trial-choice label:has(input:checked) { border-color: var(--ink); background: var(--mist); }
.trial-choice input { margin-top: 4px; accent-color: var(--ink); }
.trial-choice b { display: block; margin-bottom: 4px; color: var(--ink); }
.trial-choice small { color: var(--slate); line-height: 1.45; display: block; }
.trial-terms { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 8px 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.trial-terms p { margin: 0; }
.trial-terms label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.trial-terms input { margin-top: 4px; accent-color: var(--ink); }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; font-size: 2rem; }
.stars input { display: none; }
.stars label { cursor: pointer; color: #CBD5E1; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--coral); }
.field .stars label { font-size: 2rem; font-weight: 400; margin: 0; line-height: 1; }
