/* =========================================================================
   EIRADAH INTERNATIONAL — Main Stylesheet (v2.1)
   Navy + Gold premium B2B theme. RTL-first (Arabic default), LTR for English.
   v2.1: photo-rich layout, SVG icons, app-like mobile UI (bottom tab bar,
   drawer menu, swipe carousels) and a root-cause fix for sideways scrolling.
   ========================================================================= */

/* ---- Fonts ------------------------------------------------------------ */
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/arabic/Cairo-Light.ttf') format('truetype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/arabic/Cairo-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/arabic/Cairo-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/arabic/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/arabic/Cairo-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/arabic/Cairo-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/english/Roboto-Light.ttf') format('truetype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/english/Roboto-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/english/Roboto-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/english/Roboto-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Celine Peach Sans';
  src: url('../fonts/english/CelinePeachSans.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}


/* ---- Tokens ------------------------------------------------------------ */
:root {
  --navy-950: #081521;
  --navy-900: #0c2136;
  --navy-800: #12304c;
  --navy-700: #1a4166;
  --navy-600: #24567f;
  --gold-700: #8a6a2f;
  --gold-600: #a5813a;
  --gold-500: #c9a24b;
  --gold-400: #d9bb72;
  --gold-300: #ecdcae;
  --gold-100: #f8f1de;
  --cream: #faf8f4;
  --white: #ffffff;
  --ink: #1c2733;
  --gray-600: #5b6673;
  --gray-400: #8c96a1;
  --gray-200: #e6e9ec;
  --gray-100: #f2f3f5;
  --success: #2e7d5b;
  --danger: #b3402f;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(12, 33, 54, 0.06);
  --shadow: 0 10px 30px rgba(12, 33, 54, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 33, 54, 0.20);
  --container: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 76px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---- Reset --------------------------------------------------------------
   v2.1: horizontal overflow is clipped on BOTH html and body ("clip" where
   supported — it doesn't create a scroll container, so position:sticky keeps
   working), and nothing is ever parked off-screen to the side any more
   (the old mobile menu and skip-link were, which caused the side gap). */
* , *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html.no-scroll, html.no-scroll body { overflow: hidden; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: 'Roboto', 'Cairo', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
body.lang-ar { font-family: 'Cairo', 'Roboto', system-ui, sans-serif; }
/* v2.3: height:auto is essential — every photo carries its real size in width/height
   attributes, and without this a phone shrank the width but kept the full height
   (a 1400x2099 photo became 343px wide and 2099px tall). */
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.3; color: var(--navy-900); }
p { margin: 0 0 1em; color: var(--gray-600); }
button { font-family: inherit; cursor: pointer; color: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -80px; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; }
/* v2.3: invisible anti-spam field — clipped in place, never parked off-screen (that widens the page) */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* ---- Icons ---------------------------------------------------------------- */
.ico-svg { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--gold-400);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(12,33,54,.18);
}
.icon-badge .ico-svg { width: 26px; height: 26px; }
.icon-badge.gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
.icon-badge.sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-badge.sm .ico-svg { width: 20px; height: 20px; }
.icon-badge.lg { width: 76px; height: 76px; border-radius: 22px; }
.icon-badge.lg .ico-svg { width: 36px; height: 36px; }

/* ---- Utility ------------------------------------------------------------ */
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.75); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-600); font-weight: 700; letter-spacing: .04em;
  font-size: 13px; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold-500); display: inline-block; }
.section-navy .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 40px); }
.section-head p { font-size: 16.5px; }
.text-gold { color: var(--gold-600); }
.grid { display: grid; gap: 28px; min-width: 0; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-6 { grid-template-columns: repeat(2, 1fr); } .grid { gap: 16px; } }
.footer-grid, .footer-col, .hero-grid, .two-col, .stat-inline, .tag-list, .badge-strip,
.filter-bar, .pain-card, .compare-table, .timeline, .card, .card-body, .icon-card, .photo-tile, .split {
  min-width: 0;
}
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; min-height: 50px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn .ico-svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(201,162,75,.35); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-outline-navy { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn.added { background: var(--success); border-color: var(--success); color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Announcement bar (v2.2) ---------------------------------------------- */
.announce { font-size: 14px; font-weight: 700; position: relative; z-index: 501; }
.announce[hidden] { display: none; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding-block: 8px; padding-inline-end: 52px; text-align: center; }
.announce-text { display: inline-flex; align-items: center; gap: 8px; line-height: 1.5; }
a.announce-text:hover { text-decoration: underline; }
.announce-ico { width: 18px; height: 18px; flex: none; }
.announce-close { position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(0,0,0,.08); color: inherit; display: inline-flex; align-items: center; justify-content: center; }
.announce-close .ico-svg { width: 16px; height: 16px; }
.announce-gold { background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
.announce-navy { background: var(--navy-800); color: #fff; }
.announce-navy .announce-close, .announce-red .announce-close, .announce-green .announce-close { background: rgba(255,255,255,.14); }
.announce-red { background: #b3402f; color: #fff; }
.announce-green { background: #2e7d5b; color: #fff; }
@media (max-width: 760px) { .announce { font-size: 13px; } .announce-inner { justify-content: flex-start; text-align: start; } }

/* ---- Topbar / Header ----------------------------------------------------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 8px; gap: 16px; }
.topbar-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico-svg { color: var(--gold-400); width: 15px; height: 15px; }
.topbar a:hover { color: var(--gold-400); }

.site-header {
  position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--gray-200); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-icon { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 20px; color: var(--navy-900); letter-spacing: .02em; }
.brand-text small { font-size: 10px; letter-spacing: .18em; color: var(--gold-600); font-weight: 700; }

.main-nav ul { display: flex; gap: 2px; }
.main-nav a { display: block; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--navy-800); transition: background .2s, color .2s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: var(--navy-900); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-pill { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--gray-100); color: var(--navy-900); font-weight: 800; font-size: 14px; align-items: center; justify-content: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: #fff; border: none; align-items: center; justify-content: center; }
.nav-toggle .ico-svg { width: 22px; height: 22px; }

@media (max-width: 1180px) { .main-nav a { padding: 9px 9px; font-size: 13.5px; } }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle, .lang-pill { display: inline-flex; }
}

/* ---- Mobile drawer ---------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 1000; overflow: hidden; visibility: hidden; pointer-events: none; }
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8,21,33,.55); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(360px, 88%);
  background: var(--navy-950); color: #fff; display: flex; flex-direction: column;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px calc(18px + var(--safe-b));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.3);
}
body.lang-ar .drawer-panel { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0,0,0,.3); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
.drawer-head .brand-text strong { color: #fff; }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); border: 0; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.drawer-close .ico-svg { width: 22px; height: 22px; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a { display: flex; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 12px; font-weight: 600; font-size: 15.5px; color: rgba(255,255,255,.88); }
.drawer-nav a:active, .drawer-nav a:hover { background: rgba(255,255,255,.06); }
.drawer-nav a.active { background: rgba(201,162,75,.14); color: var(--gold-400); }
.dn-ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--gold-400); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dn-ico .ico-svg { width: 18px; height: 18px; }
.drawer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.dc-btn { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 13px; font-weight: 700; min-width: 0; }
.dc-btn .ico-svg { color: var(--gold-400); }
.dc-btn span { display: flex; flex-direction: column; min-width: 0; }
.dc-btn small { font-weight: 400; color: rgba(255,255,255,.65); font-size: 11.5px; white-space: nowrap; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ---- Home hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff; padding: 120px 0 110px; min-height: min(760px, 88vh); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,21,33,.94) 0%, rgba(8,21,33,.80) 45%, rgba(8,21,33,.45) 100%);
}
body.lang-ar .hero::before { background: linear-gradient(260deg, rgba(8,21,33,.94) 0%, rgba(8,21,33,.80) 45%, rgba(8,21,33,.45) 100%); }
.hero::after {
  content: ''; position: absolute; inset-inline-end: 0; bottom: 0; width: 45%; height: 70%; z-index: -1;
  background: url('../images/pattern-skyline.svg') no-repeat bottom right / contain; opacity: .10; pointer-events: none;
}
.hero > .container { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.2; margin-bottom: 20px; }
.hero .lede { color: rgba(255,255,255,.85); font-size: 18px; max-width: 580px; margin-bottom: 32px; }
.hero-slogan { color: var(--gold-400); font-weight: 700; font-size: 15px; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.hero-slogan::before { content: ''; width: 28px; height: 2px; background: var(--gold-400); }
.hero-card {
  background: rgba(8,21,33,.55); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 26px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
}
.hero-card ul { display: flex; flex-direction: column; gap: 16px; }
.hero-card li { display: flex; gap: 14px; align-items: center; color: #fff; font-weight: 600; font-size: 15px; }
.hero-card .icon-badge { width: 44px; height: 44px; border-radius: 12px; box-shadow: none; }
.hero-card .icon-badge .ico-svg { width: 20px; height: 20px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Inner page banner -------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; padding: 84px 0 72px; }
.page-hero.has-photo { background: var(--navy-950) var(--bg-img) center / cover no-repeat; }
.page-hero.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,21,33,.94), rgba(8,21,33,.72) 60%, rgba(8,21,33,.5)); }
body.lang-ar .page-hero.has-photo::before { background: linear-gradient(260deg, rgba(8,21,33,.94), rgba(8,21,33,.72) 60%, rgba(8,21,33,.5)); }
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(28px, 4vw, 46px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 660px; font-size: 16.5px; margin-bottom: 0; }
.page-hero .notice-box { margin-top: 16px; max-width: 620px; }
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--gold-400); }

/* ---- Trust bar ------------------------------------------------------------ */
.trust-bar { background: var(--navy-900); padding: 0; margin-top: -1px; }
.trust-bar .grid-4 { gap: 0; }
.trust-item { text-align: center; padding: 30px 16px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.trust-item:first-child { border-inline-start: none; }
.trust-num { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--gold-400); font-variant-numeric: tabular-nums; line-height: 1.3; }
.trust-label { color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 4px; }
@media (max-width: 980px) { .trust-bar .grid-4 { grid-template-columns: repeat(2,1fr); } .trust-item:nth-child(3) { border-inline-start: none; } .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); } }

/* ---- Cards ---------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
a.card:hover, .card.hoverable:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .card-media img, .card.hoverable:hover .card-media img { transform: scale(1.06); }
.card-media .icon-badge { position: absolute; bottom: -24px; inset-inline-start: 20px; z-index: 2; border: 3px solid #fff; }
.card-media.wide { aspect-ratio: 16/10; }
.card-media-wrap { position: relative; }
.card-media-wrap .icon-badge { position: absolute; bottom: -26px; inset-inline-start: 20px; z-index: 2; border: 3px solid #fff; }
.card-media-wrap + .card-body { padding-top: 38px; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 18px; margin-bottom: 2px; }
.card-body p { font-size: 14.5px; margin-bottom: 6px; }
.card-tag { display: inline-block; background: var(--gold-100); color: var(--gold-700); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; align-self: flex-start; }
.card-link { margin-top: auto; font-weight: 700; color: var(--navy-900); display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.card-link .ico-svg { transition: transform .2s; color: var(--gold-600); }
a.card:hover .card-link .ico-svg { transform: translateX(4px); }
body.lang-ar a.card:hover .card-link .ico-svg { transform: translateX(-4px); }
body.lang-ar .flip-rtl { transform: scaleX(-1); }
body.lang-ar a.card:hover .card-link .flip-rtl { transform: scaleX(-1) translateX(4px); }

.icon-card { padding: 30px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; transition: box-shadow .3s, transform .3s; }
.icon-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.icon-card .icon-badge { margin-bottom: 18px; }
.icon-card h3 { font-size: 18px; }
.icon-card.row { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.icon-card.row .icon-badge { margin: 0; }
.icon-card.row p { margin: 0; color: var(--ink); font-weight: 600; }

/* Photo tile: full-bleed photo with a caption over a gradient (materials, sectors) */
.photo-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); isolation: isolate; box-shadow: var(--shadow-sm); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.photo-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,21,33,0) 35%, rgba(8,21,33,.88) 100%); transition: background .3s; }
.photo-tile:hover img { transform: scale(1.07); }
.photo-tile .pt-body { position: absolute; inset-inline: 0; bottom: 0; padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.photo-tile .pt-body strong { font-size: 16px; line-height: 1.35; }
.photo-tile .pt-body small { color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.5; }
.photo-tile .icon-badge { width: 40px; height: 40px; border-radius: 11px; box-shadow: none; }
.photo-tile .icon-badge .ico-svg { width: 19px; height: 19px; }
.photo-tile.wide { aspect-ratio: 16/10; }
.photo-tile.square { aspect-ratio: 1/1; }

/* Photo with a gold accent frame (split sections) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media > img, .split-media .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-media::before { content: ''; position: absolute; inset-inline-end: -18px; bottom: -18px; width: 60%; height: 60%; border: 3px solid var(--gold-400); border-radius: var(--radius-lg); z-index: -1; }
.split-media .float-badge { position: absolute; inset-inline-start: -20px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy-900); font-size: 14px; max-width: 260px; }
.split-media .float-badge .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.split-media .float-badge .icon-badge .ico-svg { width: 20px; height: 20px; }
.split-body .checklist { margin: 18px 0 26px; }
.split { isolation: isolate; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split-media::before { inset-inline-end: -10px; bottom: -10px; } .split-media .float-badge { inset-inline-start: 12px; bottom: 12px; } }

.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist li .ico-svg { color: var(--success); margin-top: 4px; }
.checklist.gold li .ico-svg { color: var(--gold-600); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--gray-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }

/* Placeholder block (used only where a slot has no photo) */
.ph-photo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px), linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: rgba(255,255,255,.6); width: 100%; height: 100%; font-size: 13px; text-align: center; padding: 12px;
}
.ph-photo .ico-svg { width: 30px; height: 30px; color: var(--gold-400); opacity: .8; }

/* ---- Pain points / comparison ---------------------------------------------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; transition: box-shadow .3s; }
.pain-card:hover { box-shadow: var(--shadow); }
.pain-x { width: 40px; height: 40px; border-radius: 12px; background: #fdecea; color: var(--danger); display: flex; align-items: center; justify-content: center; }
.pain-card strong { color: var(--navy-900); font-size: 15.5px; display: block; line-height: 1.5; }
.pain-fix { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--gray-200); color: var(--success); font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.pain-fix .ico-svg { margin-top: 3px; }
@media (max-width: 780px) { .pain-grid { grid-template-columns: 1fr; gap: 12px; } .pain-card { padding: 18px; } }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--gray-200); font-size: 14.5px; vertical-align: middle; }
.compare-table thead th { background: var(--navy-900); color: #fff; font-size: 14px; }
.compare-table thead th.highlight { background: var(--gold-600); color: var(--navy-950); }
.compare-table td.highlight, .compare-table th.highlight { background: rgba(201,162,75,.08); }
.compare-table td:first-child { font-weight: 700; color: var(--navy-900); }
.compare-table .yes, .compare-table .no { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; margin-inline-end: 8px; vertical-align: middle; }
.compare-table .yes { background: #e9f7f0; color: var(--success); }
.compare-table .no { background: #fdecea; color: var(--danger); }
.compare-table .yes .ico-svg, .compare-table .no .ico-svg { width: 14px; height: 14px; }
.compare-table tr:last-child td { border-bottom: none; }
@media (max-width: 760px) {
  /* Stacked "cards" on phones instead of a sideways-scrolling table */
  .compare-table { background: transparent; box-shadow: none; border-radius: 0; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--gray-200); }
  .compare-table td { border: 0; padding: 12px 16px; font-size: 14px; }
  .compare-table td:first-child { background: var(--navy-900); color: #fff; font-size: 14.5px; }
  .compare-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-400); margin-bottom: 4px; }
  .compare-table td.highlight { background: rgba(201,162,75,.10); }
  .compare-table td.highlight::before { color: var(--gold-700); }
}

/* ---- Process timeline ------------------------------------------------------ */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.timeline-step { position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px 18px; text-align: center; z-index: 1; }
.timeline-step .num { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 0 0 6px #fff; }
.timeline-step h3 { font-size: 15.5px; }
.timeline-step p { font-size: 13.5px; margin-bottom: 0; }
@media (min-width: 981px) {
  .timeline { position: relative; }
  .timeline::before { content: ''; position: absolute; top: 49px; inset-inline: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 14px); z-index: 0; }
}
@media (max-width: 980px) {
  /* Vertical app-style stepper */
  .timeline { grid-template-columns: 1fr; gap: 0; position: relative; }
  .timeline::before { content: ''; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 22px; width: 2px; background: repeating-linear-gradient(180deg, var(--gold-400) 0 8px, transparent 8px 14px); }
  .timeline .timeline-step { text-align: start; border: 0; background: transparent; padding: 0 0 22px; padding-inline-start: 64px; }
  .timeline .timeline-step .num { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
  .timeline .timeline-step h3 { margin-bottom: 4px; padding-top: 10px; }
  .qc-steps .timeline-step { display: flex; align-items: center; gap: 14px; text-align: start; padding: 16px; }
  .qc-steps .timeline-step .num { margin: 0; flex: none; }
}

/* Detailed steps (How We Work page) */
.step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.step-row:last-child { margin-bottom: 0; }
.step-row .step-media { position: relative; }
.step-row .step-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.step-row .step-num { position: absolute; top: -22px; inset-inline-start: -22px; width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); font-weight: 800; font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.step-row.reverse .step-media { order: 2; }
.step-row.no-photo { grid-template-columns: auto 1fr; gap: 28px; }
.step-row.no-photo .step-num { position: static; }
.step-row.no-photo.reverse .step-media { order: 0; }
@media (max-width: 900px) { .step-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; } .step-row.reverse .step-media { order: 0; } .step-row .step-num { top: -14px; inset-inline-start: 12px; width: 58px; height: 58px; font-size: 22px; border-radius: 16px; } }

/* ---- FAQ accordion --------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--gold-300); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; padding: 18px 20px; text-align: start; font-weight: 700; font-size: 16px; color: var(--navy-900); line-height: 1.5; }
.faq-q .plus { transition: transform .25s, background .25s; color: var(--gold-600); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-100); display: flex; align-items: center; justify-content: center; }
.faq-q .plus .ico-svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--gold-500); color: var(--navy-950); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 20px 20px; color: var(--gray-600); }

/* ---- Forms ------------------------------------------------------------------ */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--gray-200); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.form-row > * { min-width: 0; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 14px; color: var(--navy-900); }
.form-group .hint { font-size: 12.5px; color: var(--gray-400); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  padding: 13px 16px; min-height: 50px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-size: 16px; font-family: inherit;
  background: var(--gray-100); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6673' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px; }
body.lang-ar select { background-position: left 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); background-color: #fff; box-shadow: 0 0 0 4px rgba(201,162,75,.15); }
textarea { min-height: 120px; resize: vertical; }
.file-drop { border: 2px dashed var(--gray-200); border-radius: var(--radius); padding: 26px; text-align: center; background: var(--gray-100); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop .ico-svg { width: 30px; height: 30px; color: var(--gold-600); margin: 0 auto 8px; }
.file-drop:hover, .file-drop.dragover { border-color: var(--gold-500); background: var(--gold-100); }
.file-drop .file-list { margin-top: 10px; font-size: 13px; color: var(--navy-800); font-weight: 700; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--gray-600); }
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold-600); }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: 14px; }
.form-alert.error { background: #fdecea; color: var(--danger); }
.form-alert.success { background: #e9f7f0; color: var(--success); }
@media (max-width: 680px) { .form-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; } .form-card { padding: 22px 18px; border-radius: var(--radius); } }

/* ---- CTA band ---------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.35), transparent 70%); z-index: -1; }
.cta-band.has-photo { background: var(--navy-950) var(--bg-img) center / cover no-repeat; }
.cta-band.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(8,21,33,.95), rgba(8,21,33,.7)); }
.cta-band > div:first-child { flex: 1 1 360px; min-width: 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }
.section-navy .cta-band { border: 1px solid rgba(255,255,255,.08); }

/* ---- Stats strip on inner pages ---------------------------------------------- */
.stat-inline { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.stat-inline > div { background: var(--cream); border-radius: var(--radius); padding: 16px 22px; flex: 1 1 160px; }
.stat-inline .stat-num { font-size: 22px; font-weight: 800; color: var(--navy-900); }
.stat-inline .stat-lbl { font-size: 12.5px; color: var(--gray-400); }

/* ---- Filters (materials catalog) ---------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip { padding: 10px 18px; min-height: 42px; border-radius: 999px; border: 1.5px solid var(--gray-200); font-weight: 700; font-size: 13.5px; background: #fff; color: var(--navy-800); transition: all .2s; white-space: nowrap; }
.filter-chip.active, .filter-chip:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---- Estimator ------------------------------------------------------------------ */
.estimator { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; border: 1px solid var(--gray-200); }
.estimator-steps { display: flex; gap: 8px; margin-bottom: 30px; }
.estimator-steps .dot { flex: 1; height: 6px; border-radius: 4px; background: var(--gray-200); transition: background .3s; }
.estimator-steps .dot.active { background: var(--gold-500); }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.option-card { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 18px; min-height: 64px; text-align: center; font-weight: 700; color: var(--navy-800); background: #fff; transition: all .2s; }
.option-card:hover { border-color: var(--gold-400); }
.option-card.selected { border-color: var(--gold-500); background: rgba(201,162,75,.08); color: var(--navy-950); }
.estimator-result { background: var(--navy-950); color: #fff; border-radius: var(--radius); padding: 30px; text-align: center; margin-top: 24px; }
.estimator-result .range { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--gold-400); margin: 8px 0; }
@media (max-width: 700px) { .option-grid { grid-template-columns: 1fr; gap: 10px; } .estimator { padding: 22px 18px; border-radius: var(--radius); } }

/* ---- Floating widgets ------------------------------------------------------------ */
.whatsapp-float {
  position: fixed; inset-inline-end: 24px; bottom: calc(24px + var(--safe-b)); z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  animation: pulse 2.4s infinite;
}
.whatsapp-float .ico-svg { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
.back-to-top {
  position: fixed; inset-inline-start: 24px; bottom: calc(24px + var(--safe-b)); z-index: 900; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-400); border: none; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---- App-style bottom tab bar (phones & tablets) ---------------------------------- */
.tabbar { display: none; }
@media (max-width: 1080px) {
  .tabbar {
    display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 800;
    height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 24px rgba(12,33,54,.08);
  }
  .tabbar > a, .tabbar > button { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; color: var(--gray-400); font-size: 10.5px; font-weight: 700; position: relative; padding: 0 2px; white-space: nowrap; }
  .tabbar .ico-svg { width: 22px; height: 22px; }
  .tabbar > a.active { color: var(--navy-900); }
  .tabbar > a.active::before { content: ''; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-500); }
  .tabbar .tab-cta { color: var(--navy-900); }
  .tab-cta-circle { width: 50px; height: 50px; margin-top: -26px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(201,162,75,.45), 0 0 0 5px #fff; }
  .tab-cta-circle .ico-svg { width: 22px; height: 22px; }
  body.lang-ar .tab-cta-circle .ico-svg { transform: scaleX(-1); }
  body { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
  .whatsapp-float { bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); inset-inline-end: 16px; width: 52px; height: 52px; }
  .whatsapp-float .ico-svg { width: 27px; height: 27px; }
  .back-to-top { display: none; }
  .topbar { display: none; }
}

/* ---- Reveal-on-scroll animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---- Testimonials ------------------------------------------------------------------ */
.testimonial { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; position: relative; }
.testimonial .q-mark { color: var(--gold-400); width: 32px; height: 32px; margin-bottom: 10px; }
.testimonial p { font-style: italic; color: var(--navy-800); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.testimonial .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--navy-800); flex: none; }
.testimonial .name { font-weight: 800; color: var(--navy-900); font-size: 14px; }
.testimonial .role { font-size: 12.5px; color: var(--gray-400); }

/* ---- Badges / trust strip in-content ------------------------------------------------ */
.badge-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--navy-800); background: var(--gray-100); padding: 8px 14px; border-radius: 999px; }
.badge .ico-svg { color: var(--gold-600); }

/* ---- Footer -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: 14.5px; }
.footer-slogan { color: var(--gold-400) !important; font-weight: 700; font-size: 13.5px; }
.footer-profile-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-400); font-weight: 700; margin-top: 6px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; align-items: flex-start; }
.footer-contact li > .ico-svg { color: var(--gold-400); margin-top: 3px; }
.footer-contact li span { display: flex; flex-direction: column; min-width: 0; }
.footer-contact small { color: rgba(255,255,255,.45); font-size: 11.5px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; }
.footer-legal-grid { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 18px 30px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: rgba(255,255,255,.5); margin: 0; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.footer-social .ico-svg { width: 19px; height: 19px; }
/* v2.3: footer adapts when columns are switched off */
.footer-cols-3 { grid-template-columns: 1.6fr 1fr 1.4fr; }
.footer-cols-2 { grid-template-columns: 1fr 1fr; }
.footer-cols-1 { grid-template-columns: 1fr; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } .footer-cols-1 { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

/* ---- Misc page bits -------------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col > * { min-width: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--gray-100); color: var(--navy-800); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.quote-basket-badge { position: relative; }
.quote-basket-badge .count { position: absolute; top: -8px; inset-inline-end: -8px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; min-width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.city-map-note { font-size: 13px; color: var(--gray-400); }
.notice-box { background: var(--gold-100); border-inline-start: 4px solid var(--gold-600); padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; color: var(--navy-900); display: flex; gap: 10px; align-items: flex-start; }
.notice-box > .ico-svg { color: var(--gold-700); margin-top: 3px; }
.notice-box.info { background: #eaf2fb; border-color: var(--navy-700); }
.notice-box.info > .ico-svg { color: var(--navy-700); }
.rounded-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { margin: 0 0 2px; }
.contact-card a { color: var(--navy-900); font-weight: 700; }
.status-page { padding: 120px 0; text-align: center; }
.status-page .icon-badge { margin: 0 auto 24px; }
.upcoming-list { columns: 2; gap: 32px; }
.upcoming-list li { margin-bottom: 12px; color: var(--gray-600); font-size: 14.5px; display: flex; gap: 10px; break-inside: avoid; }
.upcoming-list .ico-svg { color: var(--gold-600); margin-top: 5px; }
@media (max-width: 620px) { .upcoming-list { columns: 1; } }

/* =================================================================================
   Phones: app-like layout
   ================================================================================= */
@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .brand-icon { width: 40px; height: 40px; }
  .brand-text strong { font-size: 18px; }
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 15px; }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }

  .hero { padding: 64px 0 56px; min-height: 0; }
  .hero .lede { font-size: 16px; margin-bottom: 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,21,33,.78) 0%, rgba(8,21,33,.88) 60%, rgba(8,21,33,.96) 100%) !important; }
  .hero::after { display: none; }
  .hero-card { padding: 18px; }
  .hero-card ul { gap: 12px; }
  .hero-card li { font-size: 14px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-ctas .btn { width: 100%; white-space: normal; }

  .page-hero { padding: 44px 0 40px; }
  .page-hero p { font-size: 15px; }
  .page-hero h1 .icon-badge { width: 46px; height: 46px; border-radius: 13px; }
  .page-hero h1 .icon-badge .ico-svg { width: 22px; height: 22px; }

  .cta-band { padding: 30px 22px; border-radius: var(--radius); gap: 20px; }
  .cta-band > div:first-child { flex-basis: 100%; }
  .cta-band > .btn, .cta-band .hero-ctas { width: 100%; }
  .trust-item { padding: 20px 10px; }
  .trust-label { font-size: 12.5px; }

  .card-body { padding: 18px; }
  .card-body h3 { font-size: 17px; }
  .icon-card { padding: 22px; }
  .step-row { margin-bottom: 44px; }

  /* v2.3: feature photos stay short on phones so text and the next photo are visible together */
  .rounded-photo, .split-media > img, .split-media .frame img, .step-row .step-media img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
  .split-media::before { display: none; }
  .split-media .float-badge { padding: 10px 12px; font-size: 13px; bottom: 10px; inset-inline-start: 10px; max-width: 75%; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure { aspect-ratio: 1 / 1; }
  .gallery figure:first-child:nth-last-child(odd) { aspect-ratio: 16 / 10; }

  /* Horizontal swipe carousels — feel like a native app, never widen the page */
  .scroller {
    display: flex !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
  }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { flex: 0 0 80%; max-width: 320px; scroll-snap-align: start; }
  .scroller.narrow > * { flex-basis: 64%; max-width: 250px; }
  .scroller .reveal { opacity: 1; transform: none; }

  .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; margin-bottom: 20px; }
  .filter-bar::-webkit-scrollbar { display: none; }

  .photo-tile { aspect-ratio: 3/4; }
  .photo-tile .pt-body { padding: 14px; }
  .photo-tile .pt-body strong { font-size: 14.5px; }
  .photo-tile .pt-body small { display: none; }

  .catalog-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .catalog-grid .card-body { padding: 12px; gap: 6px; }
  .catalog-grid .card-body h3 { font-size: 14px; }
  .catalog-grid .card-tag { font-size: 10px; padding: 3px 8px; }
  .catalog-grid .btn-sm { padding: 8px 10px; font-size: 12px; min-height: 36px; width: 100%; white-space: normal; }
  .catalog-grid .card-media { aspect-ratio: 1/1; }
  .faq-q { font-size: 15px; padding: 16px; }
  .faq-a-inner { padding: 0 16px 16px; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .drawer-contact { grid-template-columns: 1fr; }
}
@media (hover: none) {
  a.card:hover, .icon-card:hover { transform: none; }
  a.card:active, .photo-tile:active, .icon-card:active { transform: scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
