/* HAWA COOL — STYLES
 * Structure follows the "EcoBreeze" reference (design/Image (5).jpg): the site sits in one white
 * rounded page on a soft backdrop; centred logo with the menu below; a big AC hero with airflow
 * (here a live 3D scene, see js/hero3d.js) closed by a wave; three graduated cards; split cards
 * (text panel + photo); a row of feature chips; a dark footer in three zones.
 */
:root {
  --backdrop-1: #E6F0F7;
  --backdrop-2: #D2E4F0;
  --page: #FFFFFF;
  --ink: #0B1830;
  --text: #25324A;
  --muted: #5E6B80;
  --line: #E3EBF3;
  --navy: #0B2F5B;
  --blue: #145DA0;
  --sky: #2E9BD6;
  --aqua: #7CCBEA;
  --mist: #EEF7FC;
  --mist-2: #DCEFF9;
  --wa: #25D366;
  --wa-ink: #06361B;
  --footer: #0D1626;
  --footer-muted: #93A1B5;

  --card-1: linear-gradient(155deg, #0E3A6E 0%, #145DA0 100%);
  --card-2: linear-gradient(155deg, #1467A6 0%, #1A78B6 100%);
  --card-3: linear-gradient(155deg, #F1F9FE 0%, #D3ECF8 100%);
  --card-3-ink: #0B2F5B;
  --btn: linear-gradient(135deg, #1B72C4 0%, #0F4E91 100%);

  --shadow-page: 0 50px 100px -50px rgba(11, 47, 91, .45), 0 2px 6px rgba(11, 47, 91, .04);
  --shadow-card: 0 24px 48px -28px rgba(11, 47, 91, .55);
  --shadow-soft: 0 14px 34px -22px rgba(11, 47, 91, .45);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .95);

  --font-display: 'Alexandria', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --backdrop-1: #060C16; --backdrop-2: #0A1422; --page: #0E1A2B; --ink: #EEF3F9; --text: #D4DEEA; --muted: #9DABBE; --line: #1F3048;
    --navy: #CFE3F7; --blue: #4B94DD; --sky: #52B3E6; --mist: #12233A; --mist-2: #16304D;
    --card-3: linear-gradient(155deg, #173150 0%, #1C3C62 100%); --card-3-ink: #DCEEFB;
    --footer: #070D17; --glass: rgba(18, 35, 58, .75); --glass-line: rgba(255, 255, 255, .12);
    --shadow-page: 0 50px 100px -50px rgba(0, 0, 0, .9); --shadow-card: 0 24px 48px -28px rgba(0, 0, 0, .9); --shadow-soft: 0 14px 34px -22px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --backdrop-1: #060C16; --backdrop-2: #0A1422; --page: #0E1A2B; --ink: #EEF3F9; --text: #D4DEEA; --muted: #9DABBE; --line: #1F3048;
  --navy: #CFE3F7; --blue: #4B94DD; --sky: #52B3E6; --mist: #12233A; --mist-2: #16304D;
  --card-3: linear-gradient(155deg, #173150 0%, #1C3C62 100%); --card-3-ink: #DCEEFB;
  --footer: #070D17; --glass: rgba(18, 35, 58, .75); --glass-line: rgba(255, 255, 255, .12);
  --shadow-page: 0 50px 100px -50px rgba(0, 0, 0, .9); --shadow-card: 0 24px 48px -28px rgba(0, 0, 0, .9); --shadow-soft: 0 14px 34px -22px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
html:lang(en), html:lang(fr) { --font-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  background: var(--page);
  background-color: var(--backdrop-1);
  padding: 0; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0; text-wrap: balance; }
html:lang(en) h1, html:lang(en) h2, html:lang(fr) h1, html:lang(fr) h2 { letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 10px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Accessibility: skip link, anchor offset */
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--blue); color: #FFFFFF; padding: 10px 18px; border-radius: 12px; font: 600 .95rem var(--font-display); text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 16px; }
[id] { scroll-margin-top: 24px; }
main:focus { outline: none; }

/* Full-width page: backgrounds run edge to edge, content sits in a centred column */
.page { background: var(--page); overflow: hidden; position: relative; }
.inner { width: min(100%, 1280px); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem var(--font-display); text-decoration: none; white-space: nowrap;
  border-radius: 999px; padding: var(--pad); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 30px -14px rgba(20, 93, 160, .85); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 22px 38px -14px rgba(20, 93, 160, .95); }
.btn-ghost { background: var(--page); color: var(--blue); border-color: color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 16px 30px -14px rgba(6, 54, 27, .6); }
.btn-sm { --pad: 9px 18px; font-size: .88rem; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow, .action-bar, .skip-link { transition: none; } .btn:hover { transform: none; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 5; padding-block: 24px 0; }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header-tagline { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.header-tagline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa) 22%, transparent); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; justify-self: center; }
.brand svg { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-ar { font: 700 1.45rem var(--font-display); color: var(--ink); }
.brand-en { font: 600 .62rem var(--font-display); letter-spacing: .36em; color: var(--blue); margin-top: 4px; }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.lang-switch { display: inline-flex; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { font: 600 .78rem var(--font-display); border: 0; background: transparent; color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer; min-width: 40px; transition: background-color .2s ease, color .2s ease; }
.lang-switch button[aria-pressed="true"] { background: var(--page); color: var(--blue); box-shadow: 0 4px 12px -6px rgba(11, 47, 91, .5); }
.nav { display: flex; justify-content: center; gap: 6px; padding-block: 14px 16px; }
.nav a { text-decoration: none; font: 500 .95rem var(--font-display); color: var(--text); padding: 8px 16px; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.nav a:hover { background: var(--mist); color: var(--blue); }
.nav a.active { color: var(--blue); background: var(--mist); }

/* ---------- Hero (3D) ---------- */
.hero {
  position: relative; height: clamp(640px, 48vw, 880px); overflow: hidden; isolation: isolate; --pw: clamp(960px, 88vw, 1500px);
  background: radial-gradient(80% 65% at 50% 16%, #FFFFFF 0%, #F1F8FD 42%, #DDEFF9 100%);
}
:root[data-theme="dark"] .hero { background: radial-gradient(80% 65% at 50% 16%, #1B3350 0%, #122540 45%, #0E1A2B 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: radial-gradient(80% 65% at 50% 16%, #1B3350 0%, #122540 45%, #0E1A2B 100%); } }
/* Photo mode */
.hero[data-mode="photo"] { background: #E9EDF0; }
.hero[data-mode="photo"] #hero-canvas, .hero[data-mode="photo"] .hero-poster { display: none !important; }
.hero[data-mode="3d"] .hero-photo { display: none; }
.hero-photo { position: absolute; top: 0; left: 50%; width: var(--pw); aspect-ratio: 2000 / 1333; transform: translate(-50%, -12%); z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
/* the hero is as tall as the photo down to just below the louver, plus room for the headline and buttons */
.hero[data-mode="photo"] { height: calc(var(--pw) * 0.667 * 0.38 + 400px); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rays { position: absolute; left: 34.5%; top: 49.5%; width: 40%; height: 52%; overflow: visible; transform: rotate(-9deg) skewX(-6deg); transform-origin: top center; filter: blur(2.5px) drop-shadow(0 0 10px rgba(120, 200, 245, .55)); }
.ray { animation: ray 4.8s ease-in-out infinite; transform-box: fill-box; transform-origin: top; }
.r2 { animation-delay: -.6s; } .r3 { animation-delay: -1.2s; } .r4 { animation-delay: -1.8s; } .r5 { animation-delay: -2.4s; }
.r6 { animation-delay: -3s; } .r7 { animation-delay: -3.6s; } .r8 { animation-delay: -4.2s; } .r9 { animation-delay: -.3s; }
@keyframes ray { 0%, 100% { opacity: .35; transform: scaleY(.92); } 50% { opacity: 1; transform: scaleY(1.04); } }
.airflow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: blur(1.2px); }
.mist { position: absolute; left: 30%; top: 54%; width: 48%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(170, 220, 248, .45), transparent); filter: blur(22px); animation: mist 6s ease-in-out infinite; }
@keyframes mist { 0%, 100% { opacity: .5; transform: translateY(0); } 50% { opacity: .9; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .ray, .mist { animation: none; } }
.hero[data-mode="photo"]::after {
  inset: 0; height: auto;
  background: linear-gradient(to bottom, transparent 46%, color-mix(in srgb, var(--page) 70%, transparent) 64%, var(--page) 88%);
}

#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity 1s ease; }
.hero.is-3d #hero-canvas { opacity: 1; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 0; display: none; }
.hero.no-webgl .hero-poster { display: block; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: 1; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 70%, color-mix(in srgb, var(--page) 80%, transparent), transparent 75%);
}
.hero-content { position: absolute; inset-inline: 0; bottom: 104px; z-index: 2; display: grid; justify-items: center; gap: 16px; text-align: center; padding-inline: 24px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
.hero h1 .accent { background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-soft); animation: bob 9s ease-in-out infinite;
}
[dir="rtl"] .float-chip { padding: 12px 12px 12px 18px; }
.float-chip.one { top: 13%; inset-inline-start: 5%; }
.float-chip.two { top: 36%; inset-inline-end: 5%; animation-delay: -3s; }
.fc-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #FFFFFF; background: var(--btn); flex: none; }
.fc-icon svg { width: 22px; height: 22px; }
.fc-icon.green { background: linear-gradient(135deg, #34D57A, #1FA85C); }
.fc-label { display: block; font: 600 .7rem var(--font-display); color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
[dir="rtl"] .fc-label { letter-spacing: 0; font-size: .78rem; }
.fc-value { display: block; font: 700 1.3rem var(--font-display); color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums; }
.fc-note { display: block; font-size: .78rem; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; z-index: 3; display: block; }
.wave path { fill: var(--page); }

/* ---------- Section intro ---------- */
section { padding-block: 56px; }
#services { padding-top: 24px; }
.intro { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 0 44px; }
.intro h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; }
.intro p { color: var(--muted); font-size: 1.12rem; max-width: 56ch; }
.intro-label { font: 600 .9rem var(--font-display); color: var(--ink); margin-top: 14px; }
.intro-label::after { content: ""; display: block; width: 72px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--aqua)); margin: 12px auto 0; }

/* ---------- Graduated cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 24px; padding: 38px 30px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0;
  box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(11, 47, 91, .7); }
.card.c1 { background: var(--card-1); color: #FFFFFF; }
.card.c2 { background: var(--card-2); color: #FFFFFF; }
.card.c3 { background: var(--card-3); color: var(--card-3-ink); }
.card h3 { color: inherit; font-size: 1.3rem; font-weight: 600; }
.card p { font-size: .97rem; opacity: .86; flex: 1; }
.card-mark { position: absolute; width: 190px; height: 190px; inset-inline-end: -52px; top: -52px; opacity: .1; z-index: -1; color: currentColor; }
.card-icon { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.card.c3 .card-icon { background: rgba(255, 255, 255, .8); border-color: rgba(20, 93, 160, .25); color: var(--blue); }
.card-icon svg { width: 30px; height: 30px; }
.card .btn { background: rgba(255, 255, 255, .12); color: inherit; border-color: rgba(255, 255, 255, .55); margin-top: 6px; }
.card .btn:hover { background: rgba(255, 255, 255, .22); }
.card.c3 .btn { background: var(--page); border-color: rgba(20, 93, 160, .3); color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* ---------- Split cards ---------- */
.split { display: grid; grid-template-columns: 1.02fr 1fr; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--page); }
.split + .split { margin-top: 28px; }
.split > * { min-width: 0; }
.split-panel { position: relative; padding: clamp(28px, 4vw, 52px); display: grid; gap: 16px; align-content: center; background: linear-gradient(140deg, var(--mist) 0%, var(--mist-2) 100%); }
.split-panel h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.split-panel > p { color: var(--muted); font-size: 1.02rem; }
.split-panel .btn { justify-self: start; margin-top: 6px; }
.split-media { position: relative; overflow: hidden; min-height: 340px; }
.split-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.split.reverse .split-media { order: -1; }
.media-tag {
  position: absolute; bottom: 18px; inset-inline-start: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font: 600 .85rem var(--font-display); color: var(--ink);
}
.media-tag .icon { color: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 600 .78rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: color-mix(in srgb, var(--page) 70%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent); padding: 6px 12px; border-radius: 999px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .85rem; }

.signs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signs li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink); background: color-mix(in srgb, var(--page) 78%, transparent); border: 1px solid color-mix(in srgb, var(--page) 60%, var(--line)); border-radius: 14px; padding: 10px 12px; }
.signs .si { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); flex: none; }
.signs .si svg { width: 17px; height: 17px; }

.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding-bottom: 18px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 42px; height: 42px; border-radius: 50%; background: var(--btn); color: #FFFFFF;
  display: grid; place-items: center; font: 700 1rem var(--font-display); position: relative; z-index: 1;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--page) 70%, transparent);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; bottom: 0; inset-inline-start: 20px; width: 2px; background: linear-gradient(var(--blue), transparent); opacity: .35; }
.steps h3 { font-size: 1.06rem; font-weight: 600; margin-top: 2px; }
.steps p { color: var(--muted); font-size: .93rem; }

/* ---------- Why us chips ---------- */
.why { text-align: center; }
.why h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 28px; }
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: start; }
.chip {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; min-width: 0;
  background: var(--page); border: 1px solid var(--line); box-shadow: 0 12px 26px -22px rgba(11, 47, 91, .6);
  transition: transform .4s var(--ease), border-color .3s ease;
}
.chip:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.chip-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--blue); background: var(--mist); border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent); flex: none; }
.chip-icon svg { width: 28px; height: 28px; }
.chip b { display: block; font: 600 1rem var(--font-display); color: var(--ink); line-height: 1.3; }
.chip b + span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } .chip:hover { transform: none; } }

/* ---------- Call to action panel ---------- */
.cta-wrap { padding-block: 8px 64px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px); text-align: center; color: #FFFFFF;
  background: radial-gradient(90% 120% at 100% 0%, #2E9BD6 0%, transparent 55%), linear-gradient(135deg, #0B2F5B 0%, #145DA0 100%);
  display: grid; justify-items: center; gap: 12px;
}
.cta h2 { color: #FFFFFF; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta p { color: #CFE1F4; font-size: 1.08rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.cta .btn-ghost { background: rgba(255, 255, 255, .1); color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.cta .num { direction: ltr; unicode-bidi: isolate; }
.cta-lines { position: absolute; inset: 0; z-index: -1; opacity: .22; width: 100%; height: 100%; }
.cta-lines path { fill: none; stroke: #9ED8F5; stroke-width: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #E6ECF3; padding-block: 44px 28px; }
.footer-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.footer-row > * { min-width: 0; }
.site-footer .brand { justify-self: start; }
.site-footer .brand-ar { color: #FFFFFF; }
.site-footer .brand-en { color: var(--aqua); }
.footer-about { color: var(--footer-muted); font-size: .88rem; margin-top: 12px; max-width: 34ch; }
.footer-center { text-align: center; display: grid; justify-items: center; gap: 10px; }
.footer-center h3 { font-size: 1.2rem; color: #FFFFFF; font-weight: 500; }
.footer-center p { color: var(--footer-muted); font-size: .88rem; max-width: 34ch; }
.contact-pill { display: inline-flex; gap: 4px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px; background: rgba(255, 255, 255, .03); }
.contact-pill a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; text-decoration: none; transition: background-color .2s ease; }
.contact-pill a:hover { background: rgba(255, 255, 255, .12); }
.contact-pill .icon { width: 18px; height: 18px; }
.footer-end { justify-self: end; display: grid; justify-items: end; gap: 8px; }
.footer-end small { color: var(--footer-muted); font-size: .84rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--footer-muted); font-size: .8rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #FFFFFF; }

/* Mobile action bar (WhatsApp + Call), shown after the hero buttons scroll away */
.action-bar { display: none; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--wa-ink);
  display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(6, 54, 27, .65);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
  .footer-row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer .brand, .footer-end { justify-self: center; justify-items: center; }
  .float-chip.two { display: none; }
}
@media (max-width: 780px) {
  .action-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(11, 47, 91, .5);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .action-bar.is-visible { transform: translateY(0); }
  .action-bar .btn { --pad: 13px 14px; min-height: 48px; }
  .wa-float { display: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .lang-switch button { min-height: 38px; min-width: 44px; }
  .header-top { grid-template-columns: auto 1fr; }
  .header-tagline { display: none; }
  .brand { justify-self: start; }
  .header-cta { display: none; }
  .nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-inline: 12px; margin-inline: -12px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 7px 13px; }
  .hero { height: 640px; }
  .float-chip.one { top: auto; bottom: 330px; inset-inline-start: 16px; }
  .cards, .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 240px; }
}
@media (max-width: 520px) {
  .hero-photo { width: 640px; left: 50%; transform: translate(-59%, 0); }
  .brand svg { width: 40px; height: 40px; }
  .brand-ar { font-size: 1.22rem; }
  .hero, .hero[data-mode="photo"] { height: 660px; }
  .hero-content { bottom: 84px; gap: 12px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-chip.one { display: none; }
  .signs, .chips { grid-template-columns: 1fr; }
  section { padding-block: 44px; }
}
