/* Efada website — built on the Efada Design System (tokens mirror project/tokens.json).
   Logical properties only: one stylesheet for LTR (en) and RTL (ar). */

@font-face { font-family: "Saira"; src: url("../assets/fonts/Saira-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Saira"; src: url("../assets/fonts/Saira-Variable-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../assets/fonts/IBMPlexSansArabic-400-arabic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../assets/fonts/IBMPlexSansArabic-600-arabic.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../assets/fonts/IBMPlexSansArabic-700-arabic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root, [data-theme="light"] {
  --brand-orange: #E66E14; --brand-navy: #0D1D36; --brand-cream: #FDE6D2; --brand-slate: #5A6478;
  --surface-page: #FFFFFF; --surface-alt: #F7F5F2; --surface-card: #FFFFFF; --surface-inverse: #0D1D36;
  --ink: #0D1D36; --ink-muted: #5A6478; --ink-on-brand: #0D1D36; --ink-on-inverse: #F5F1EC;
  --link: #A84B08; --border-subtle: #E3DED7; --border-control: #6E7890; --focus-ring: #E66E14;
  --water: #0E7490; --status-leak: #B91C1C; --status-no-leak: #15803D; --status-na: #5A6478;
  --shadow-card: 0 1px 2px rgba(13,29,54,0.08), 0 8px 24px rgba(13,29,54,0.06);
  --shadow-pop: 0 12px 40px rgba(13,29,54,0.18);
  --map-land: #F2EEE8; --map-block: #E8E2D9; --map-minor: #FFFFFF; --map-major: #FFFFFF; --map-hwy: #0D1D36; --map-lrt: #5A6478;
  color-scheme: light;
}
[data-theme="dark"] {
  --brand-slate: #9AA6BA;
  --surface-page: #0D1D36; --surface-alt: #0A1729; --surface-card: #13284A; --surface-inverse: #FDE6D2;
  --ink: #F5F1EC; --ink-muted: #9AA6BA; --ink-on-inverse: #0D1D36;
  --link: #F08A3C; --border-subtle: #24395C; --border-control: #7387A8; --focus-ring: #F08A3C;
  --water: #22D3EE; --status-leak: #F87171; --status-no-leak: #4ADE80; --status-na: #9AA6BA;
  --shadow-card: none; --shadow-pop: 0 12px 40px rgba(0,0,0,0.45);
  --map-land: #0A1729; --map-block: #10223F; --map-minor: #1A3156; --map-major: #24395C; --map-hwy: #4A6189; --map-lrt: #9AA6BA;
  color-scheme: dark;
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-none: 0; --radius-sm: 2px; --radius-md: 4px; --radius-pill: 999px;
  --fold-size: 28px; --container: 1200px; --touch-target: 48px;
  --font-display: "Saira", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-sans: "Saira", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --header-h: 72px;
}
html[lang="ar"] {
  --font-display: "IBM Plex Sans Arabic", "Saira", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans Arabic", "Saira", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-page); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 17px; line-height: 30px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.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: var(--space-4); inset-block-start: -100px; z-index: 100; background: var(--brand-orange); color: var(--ink-on-brand); padding: var(--space-2) var(--space-4); font-weight: 600; }
.skip-link:focus { inset-block-start: var(--space-2); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 768px) { .container { padding-inline: var(--space-6); } }
.section { padding-block: var(--space-12); }
@media (min-width: 768px) { .section { padding-block: var(--space-16); } }
@media (min-width: 1100px) { .section { padding-block: var(--space-24); } }
.section--alt { background: var(--surface-alt); }

/* Type */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--ink); }
.h1 { font-size: 36px; line-height: 44px; font-weight: 650; letter-spacing: 0.01em; }
.h2 { font-size: 28px; line-height: 36px; font-weight: 650; }
.h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
@media (min-width: 768px) { .h1 { font-size: 52px; line-height: 60px; } .h2 { font-size: 36px; line-height: 44px; } .h3 { font-size: 22px; line-height: 30px; } }
@media (min-width: 1100px) { .h1 { font-size: 60px; line-height: 66px; } }
html[lang="ar"] .h1 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] .h2 { font-weight: 700; line-height: 1.45; }
html[lang="ar"] .h3 { font-weight: 600; line-height: 1.55; }
.lead { font-size: 18px; line-height: 30px; color: var(--ink-muted); max-width: 60ch; margin: 0; }
html[lang="ar"] .lead { line-height: 32px; }
.muted { color: var(--ink-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-4); }
html[lang="ar"] .eyebrow { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.eyebrow::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--brand-orange); }
.section-head { display: grid; gap: var(--space-4); margin-block-end: var(--space-8); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--touch-target); padding: var(--space-3) var(--space-6); border: 2px solid transparent; border-radius: var(--radius-sm); font: 600 16px/24px var(--font-sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background-color .2s ease-out, border-color .2s ease-out, color .2s ease-out, transform .2s ease-out; }
html[lang="ar"] .btn { letter-spacing: 0; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--brand-orange); color: var(--ink-on-brand); }
.btn--primary:hover { background: #F08A3C; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--surface-page); }
.btn--whatsapp { background: #25D366; color: #0D1D36; }
.btn--whatsapp:hover { background: #3EE07A; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.on-inverse .btn--secondary { color: var(--ink-on-inverse); border-color: var(--ink-on-inverse); }
.on-inverse .btn--secondary:hover { background: var(--ink-on-inverse); color: var(--surface-inverse); }

/* Header */
.header { position: sticky; inset-block-start: 0; z-index: 50; background: color-mix(in srgb, var(--surface-page) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-block-end: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-block-end-color: var(--border-subtle); }
.header__bar { display: flex; align-items: center; gap: var(--space-6); height: var(--header-h); }
.brand-link { display: inline-flex; flex: none; }
.brand-link img { height: 40px; width: auto; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding-block: var(--space-2); border-block-end: 2px solid transparent; }
.nav a:hover { border-block-end-color: var(--brand-orange); }
.header__tools { display: flex; align-items: center; gap: var(--space-2); margin-inline-start: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-subtle); background: transparent; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; font: 600 14px/1 var(--font-sans); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-link { width: auto; padding-inline: var(--space-3); }
.lang-link[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-link[lang="en"] { font-family: "Saira", sans-serif; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.header__cta { display: none; }
.menu-btn { display: inline-grid; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header__tools { margin-inline-start: 0; }
  .header__cta { display: inline-flex; min-height: 44px; padding-block: var(--space-2); }
  .menu-btn { display: none; }
}
.mobile-nav { display: none; border-block-start: 1px solid var(--border-subtle); background: var(--surface-page); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--space-2) 0 var(--space-6); }
.mobile-nav a:not(.btn) { display: block; padding: var(--space-3) 0; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 500; border-block-end: 1px solid var(--border-subtle); }
.mobile-nav .btn { margin-block-start: var(--space-4); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: var(--space-12) var(--space-16); }
.hero__grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } .hero { padding-block: var(--space-16) var(--space-24); } }
.hero__text { display: grid; gap: var(--space-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__note { font-size: 14px; line-height: 22px; color: var(--ink-muted); margin: 0; }
/* Hero: the logo icon on its own, large and quiet (no drawings, no text) */
.hero__logo { display: flex; justify-content: center; align-items: center; }
/* The icon is drawn with two layers: the house (already cut at the corner) and the corner flap.
   The flap starts flat (full house), then folds 180° over the fold line and shows its back:
   that is exactly the logo's peel (the peel tip is the mirror of the corner across the fold). */
.hero__mark { --peel-back: var(--brand-cream); position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; perspective: 1600px; }
[data-theme="dark"] .hero__mark { --peel-back: #FFFFFF; }
.hm-body, .hm-flap { position: absolute; inset: 0; }
.hm-body { background: var(--brand-orange); clip-path: polygon(50% 0, 100% 35.7%, 100% 66.7%, 61.9% 100%, 0 100%, 0 35.7%); }
.hm-flap { background: var(--peel-back); clip-path: polygon(100% 66.2%, 100% 100%, 61.3% 100%);
  transform-origin: 100% 66.7%; transform: rotate3d(-38.1, 33.3, 0, 180deg); }
/* Hero intro (wide screens): text appears centred and slides to its place (site.js),
   then the icon drops in and unrolls from the roof tip down like fabric, then the corner folds. */
.hero__logo { perspective: 1400px; }
.intro .hero__text, .intro .hero__mark { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .intro-run .hero__mark { transform-origin: 50% 0; animation: hm-unfurl 1.1s cubic-bezier(.22, .8, .25, 1) 1.8s both; }
  .intro-run .hm-flap { animation: hm-fold 1.3s cubic-bezier(.65, 0, .25, 1) 2.95s both; }
}
@keyframes hm-unfurl {
  0%   { opacity: 0; transform: translateY(-70px) rotateX(-80deg); clip-path: inset(-20% -20% 100% -20%); }
  12%  { opacity: 1; }
  62%  { transform: translateY(0) rotateX(9deg); clip-path: inset(-20% -20% -20% -20%); }
  82%  { transform: rotateX(-3deg); }
  100% { opacity: 1; transform: none; clip-path: inset(-20% -20% -20% -20%); }
}
@keyframes hm-fold {
  0%     { transform: rotate3d(-38.1, 33.3, 0, 0deg);   background: var(--brand-orange); filter: brightness(1); }
  49.9%  { background: var(--brand-orange); filter: brightness(.82); }
  50%    { background: var(--peel-back); filter: brightness(.9); }
  100%   { transform: rotate3d(-38.1, 33.3, 0, 180deg); background: var(--peel-back); filter: brightness(1); }
}
@media (max-width: 1023px) { .hero__logo { display: none; } }

/* Key facts band, directly under the hero */
.facts { background: var(--surface-inverse); color: var(--ink-on-inverse); padding-block: var(--space-12); }
.facts__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .facts__grid { grid-template-columns: 3fr 1fr; gap: var(--space-12); } }
.facts__list { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; flex-direction: column-reverse; gap: var(--space-1); padding-inline: var(--space-6); border-inline-start: 1px solid color-mix(in srgb, var(--ink-on-inverse) 18%, transparent); }
.fact:first-child { padding-inline-start: 0; border-inline-start: 0; }
.fact dd { margin: 0; font: 650 56px/60px "Saira", sans-serif; color: var(--ink-on-inverse); font-variant-numeric: tabular-nums; }
.fact dt { font-size: 16px; line-height: 24px; color: var(--ink-on-inverse); opacity: .8; }
.facts__note { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink-on-inverse); opacity: .8; }
@media (max-width: 640px) {
  .facts { padding-block: var(--space-8); }
  .fact { padding-inline: var(--space-3); }
  .fact dd { font-size: 30px; line-height: 36px; }
  .fact dt { font-size: 13px; line-height: 18px; }
  .facts__note { font-size: 14px; line-height: 22px; }
}

h1, h2, .h1, .h2 { text-wrap: balance; }

/* Split sections (facility management, fit-out) */
.split { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); } }
.split__text { display: grid; gap: var(--space-6); justify-items: start; }
.scope { background: var(--surface-card); border: 1px solid var(--border-subtle); padding: var(--space-8); box-shadow: var(--shadow-card); display: grid; gap: var(--space-4); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.checks li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checks svg { flex: none; width: 20px; height: 20px; margin-block-start: 3px; color: var(--brand-orange); }
.steps-title { margin-block: var(--space-16) var(--space-6); }
@keyframes sa-draw { to { stroke-dashoffset: 0; } }
@keyframes sa-fade { to { opacity: 1; } }
@keyframes sa-ping { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block-start: 1px solid var(--border-subtle); margin-block-start: var(--space-4); }
.stat { padding: var(--space-4) var(--space-2) 0; }
.stat + .stat { border-inline-start: 1px solid var(--border-subtle); padding-inline-start: var(--space-4); }
.stat b { display: block; font: 650 30px/36px "Saira", sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* Services */
.services { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.card { position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-6); box-shadow: var(--shadow-card); display: grid; gap: var(--space-3); align-content: start; }
[data-theme="dark"] .card { box-shadow: none; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand-cream); color: var(--brand-navy); }
.card__icon svg { width: 24px; height: 24px; }
.card p { margin: 0; color: var(--ink-muted); }
.card--feature { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--ink-on-inverse); }
.card--feature h3, .card--feature p { color: var(--ink-on-inverse); }
.card--feature .card__icon { background: var(--brand-orange); color: var(--ink-on-brand); }
.card--feature a { color: var(--ink-on-inverse); font-weight: 600; }
.card__tag { justify-self: start; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--brand-orange); color: var(--ink-on-brand); }
html[lang="ar"] .card__tag { letter-spacing: 0; font-size: 13px; }
@media (min-width: 1024px) { .card--feature { grid-row: span 2; } }

/* Leak detection */
.leak__grid { display: grid; gap: var(--space-12); }
@media (min-width: 1024px) { .leak__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.leak__intro { display: grid; gap: var(--space-6); }
.water-tag { color: var(--water); }
.water-tag::before { background: var(--water); }
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
.signs li { display: flex; gap: var(--space-3); align-items: flex-start; }
.signs svg { width: 20px; height: 20px; flex: none; margin-block-start: 3px; color: var(--water); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; background: var(--surface-card); border: 1px solid var(--border-subtle); padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font: 650 28px/1 "Saira", sans-serif; color: var(--brand-orange); }
.step p { margin: 0; color: var(--ink-muted); }

.report { background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-pop); }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); background: var(--brand-navy); color: #F5F1EC; }
.report__head img { height: 28px; width: auto; }
.report__meta { font-size: 13px; line-height: 18px; text-align: end; color: #C8D0DC; font-variant-numeric: tabular-nums; }
.report__verdict { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4) var(--space-6); border-block-end: 1px solid var(--border-subtle); color: var(--status-leak); font-weight: 600; }
.report__verdict svg { width: 24px; height: 24px; flex: none; }
.report__group { padding: var(--space-4) var(--space-6) 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
html[lang="ar"] .report__group { letter-spacing: 0; font-size: 14px; }
.report ul { list-style: none; margin: 0; padding: var(--space-2) var(--space-6) var(--space-4); }
.report li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: var(--space-2); border-block-end: 1px dashed var(--border-subtle); font-size: 15px; }
.report li:last-child { border-block-end: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.pill svg { width: 14px; height: 14px; }
.pill--leak { color: var(--status-leak); }
.pill--ok { color: var(--status-no-leak); }
.pill--na { color: var(--status-na); }
.report__foot { padding: var(--space-3) var(--space-6); font-size: 13px; color: var(--ink-muted); background: var(--surface-alt); }

.tests { display: grid; gap: var(--space-6); margin-block-start: var(--space-12); }
@media (min-width: 768px) { .tests { grid-template-columns: 1fr 1fr; } }
.tests ol { margin: var(--space-3) 0 0; padding-inline-start: var(--space-6); color: var(--ink-muted); }
.tests li { padding-block: 2px; }
.leak-cta { margin-block-start: var(--space-12); display: grid; gap: var(--space-6); padding: var(--space-8); background: var(--surface-inverse); color: var(--ink-on-inverse); }
@media (min-width: 900px) { .leak-cta { grid-template-columns: 1fr auto; align-items: center; } }
.leak-cta h3 { color: var(--ink-on-inverse); }
.leak-cta p { margin: var(--space-2) 0 0; color: var(--ink-on-inverse); opacity: .85; }
.leak-cta .btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* About */
.about__grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-16); } }
.about__text p { margin: 0 0 var(--space-4); color: var(--ink-muted); }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.why li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; padding-block-end: var(--space-4); border-block-end: 1px solid var(--border-subtle); }
.why li:last-child { border-block-end: 0; }
.why svg { width: 24px; height: 24px; color: var(--brand-orange); margin-block-start: 2px; }
.why b { display: block; color: var(--ink); }
.why span { color: var(--ink-muted); font-size: 15px; }

/* Location */
.location { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1.6fr; align-items: center; } }
.map-link { position: relative; display: block; border: 1px solid var(--border-subtle); overflow: hidden; }
.map-svg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; direction: ltr; }
@media (max-width: 600px) { .map-svg { aspect-ratio: 4 / 3; } }
.map-link:hover .m-pin-halo { opacity: .35; }
.m-land { fill: var(--map-land); }
.m-block { fill: var(--map-block); }
.m-site { fill: var(--brand-cream); stroke: var(--brand-orange); stroke-width: 1.5; stroke-dasharray: 4 3; }
[data-theme="dark"] .m-site { fill: #3A2A1C; }
.m-minor path { fill: none; stroke: var(--map-minor); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.m-major path { fill: none; stroke: var(--map-major); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.m-round { fill: var(--map-land); stroke: var(--map-major); stroke-width: 7; }
.m-hwy path { fill: none; stroke: var(--map-hwy); stroke-width: 16; stroke-linecap: round; }
.m-lrt { fill: none; stroke: var(--map-lrt); stroke-width: 3; stroke-dasharray: 10 6; }
.m-station { fill: var(--surface-card); stroke: var(--map-lrt); stroke-width: 3; }
.m-lbl text { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: var(--ink-muted); letter-spacing: .06em; paint-order: stroke; stroke: var(--map-land); stroke-width: 4px; stroke-linejoin: round; }
.m-lbl .m-lbl-area { font-size: 15px; letter-spacing: .3em; opacity: .8; }
html[lang="ar"] .m-lbl text { letter-spacing: 0; font-size: 14px; }
.m-pin-halo { fill: var(--brand-orange); opacity: .18; transition: opacity .3s; }
.m-pin-body { fill: var(--brand-orange); }
.m-pin-core { fill: var(--surface-card); }
.m-pin-dot { fill: var(--brand-orange); stroke: var(--surface-card); stroke-width: 3; }
.m-pin-lbl { font-family: var(--font-display); font-size: 30px; font-weight: 650; fill: var(--ink); paint-order: stroke; stroke: var(--map-land); stroke-width: 6px; stroke-linejoin: round; }
.m-pin-sub { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--map-land); stroke-width: 5px; stroke-linejoin: round; }
html[lang="ar"] .m-pin-lbl, html[lang="ar"] .m-pin-sub { font-weight: 700; }
.map-link span { position: absolute; inset-block-end: var(--space-4); inset-inline-start: var(--space-4); background: var(--surface-card); color: var(--ink); padding: var(--space-2) var(--space-4); font-weight: 600; box-shadow: var(--shadow-pop); }
.address { display: grid; gap: var(--space-2); font-style: normal; }

/* Contact */
.contact__ways { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .contact__ways { grid-template-columns: 1fr 1fr; } }
.contact__way { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon label" "icon value" "icon action"; column-gap: var(--space-4); row-gap: var(--space-1); align-items: center; align-content: start;
  color: var(--ink); text-decoration: none; padding: var(--space-8); background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card); transition: border-color .2s; }
.contact__way { position: relative; }
.contact__way:hover { border-color: var(--brand-orange); }
/* email card: the address link covers the whole card (opens the mail app); the copy button sits above it */
.contact__link { text-decoration: none; }
.contact__link::after { content: ""; position: absolute; inset: 0; }
.contact__link:focus-visible { outline: none; }
.contact__way:has(.contact__link:focus-visible) { outline: 3px solid var(--brand-orange); outline-offset: 2px; }
.contact__copy { position: relative; z-index: 1; justify-self: start; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.contact__copy:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; }
.contact__copy.is-done { color: var(--status-no-leak); text-decoration: none; }
.contact__way:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }
.contact__way svg { grid-area: icon; align-self: start; width: 32px; height: 32px; margin-block-start: 2px; color: var(--brand-orange); }
.contact__label { grid-area: label; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.contact__value { grid-area: value; font: 650 24px/32px "Saira", sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; justify-self: start; }
.contact__action { grid-area: action; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .contact__way { padding: var(--space-6); } .contact__value { font-size: 19px; line-height: 26px; } }
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); } }

/* Footer */
.footer { background: var(--brand-navy); color: #C8D0DC; padding-block: var(--space-16) var(--space-8); }
.footer a { color: #F5F1EC; }
.footer__grid { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { width: 260px; height: auto; }
.footer h2 { font-size: 13px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: #F5F1EC; margin-block-end: var(--space-4); font-weight: 600; }
html[lang="ar"] .footer h2 { letter-spacing: 0; font-size: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer ul a { text-decoration: none; }
.footer ul a:hover { text-decoration: underline; }
.socials { display: flex; gap: var(--space-2); margin-block-start: var(--space-4); }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #24395C; }
.socials a:hover { border-color: #F5F1EC; }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { margin-block-start: var(--space-12); padding-block-start: var(--space-6); border-block-start: 1px solid #24395C; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: 14px; }

/* Floating WhatsApp */
/* Floating WhatsApp: orange circle; on hover/focus it opens into a rounded pill —
   the icon turns once and settles on the left, "WhatsApp" appears on the right, soft orange glow. */
.wa-float { position: fixed; bottom: var(--space-4); right: var(--space-4); z-index: 60; direction: ltr;
  display: inline-flex; align-items: center; height: 56px; padding-inline: 14px; border-radius: 28px;
  background: var(--brand-orange); color: var(--ink-on-brand); text-decoration: none; box-shadow: var(--shadow-pop);
  transition: border-radius .35s ease, padding .35s ease, box-shadow .35s ease; }
[dir="rtl"] .wa-float { right: auto; left: var(--space-4); }
.wa-float__icon { width: 28px; height: 28px; flex: none; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-weight: 650; font-size: 16px; line-height: 1;
  transition: max-width .35s ease, opacity .25s ease .05s, margin .35s ease; }
.wa-float:hover, .wa-float:focus-visible { border-radius: 16px; padding-inline: 16px 20px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-orange) 22%, transparent), 0 10px 32px color-mix(in srgb, var(--brand-orange) 55%, transparent); }
.wa-float:hover .wa-float__icon, .wa-float:focus-visible .wa-float__icon { transform: rotate(-360deg); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 160px; opacity: 1; margin-inline-start: 10px; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float__icon, .wa-float__label { transition: none; } .wa-float:hover .wa-float__icon { transform: none; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
