/* =========================================================
   Yaqin Almiayar — Main Stylesheet
   ========================================================= */

:root{
  --navy: #10568A;
  --navy-deep: #0B3E63;
  --navy-darker: #082C48;
  --green: #098B69;
  --green-light: #0CAE85;
  --ink: #142433;
  --slate: #4B5F70;
  --slate-light: #7C8DA0;
  --bg-light: #F7F9FB;
  --bg-tint: #EFF4F7;
  --white: #FFFFFF;
  --border: #E1E8ED;
  --divider: rgba(20,36,51,0.12);
  --heading: #0B3E63;
  --accent: #10568A;
  --danger: #C83C3C;
  --danger-text: #8a2323;
  --shadow-sm: 0 1px 3px rgba(11,62,99,0.08), 0 1px 2px rgba(11,62,99,0.06);
  --shadow-md: 0 8px 24px rgba(11,62,99,0.10), 0 2px 6px rgba(11,62,99,0.06);
  --shadow-lg: 0 20px 48px rgba(8,44,72,0.16);
  --header-bg: rgba(255,255,255,0.92);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --font: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x:hidden;
  width:100%;
}
img{ max-width:100%; display:block; }
svg{ width:20px; height:20px; flex-shrink:0; }
a{ color: inherit; text-decoration: none; }
body.nav-open{ overflow:hidden; }
ul{ margin:0; padding:0; list-style:none; }
li{ list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
input, select, textarea{ font-family: inherit; font-size: 1rem; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

@media (min-width: 900px){
  .container{ padding: 0 40px; }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{ color: var(--heading); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h1{ font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2{ font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3{ font-size: 1.25rem; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--green); display:inline-block; }
.lead{ font-size: 1.1rem; color: var(--slate); }
.section-head{ max-width: 720px; margin: 0 0 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ margin-top:14px; }
.text-block p + p{ margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--green-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover{ border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-navy{ border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-navy:hover{ background: var(--navy); color:#fff; transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled{ box-shadow: 0 6px 20px rgba(11,62,99,0.08); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:84px; gap:24px; }
.brand{ display:flex; align-items:center; }
.brand img{ height:42px; width:auto; }

.primary-nav{ display:none; }
.primary-nav ul{ display:flex; align-items:center; gap:6px; }
.primary-nav a{
  display:block; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; color: var(--slate);
  transition: background .18s ease, color .18s ease;
}
.primary-nav a:hover, .primary-nav a.is-active{ background: var(--bg-tint); color: var(--accent); }

/* Desktop dropdown — "خدماتنا" and any future parent nav item */
.primary-nav li{ position:relative; }
.primary-nav .menu-item-has-children > a::after{
  content:""; display:inline-block; width:7px; height:7px; margin-inline-start:6px;
  border-inline-end:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after{ transform: rotate(225deg) translateY(2px); }
.primary-nav .sub-menu{
  position:absolute; top:calc(100% + 8px); left:50%; transform: translateX(-50%) translateY(-6px);
  min-width:260px; border:1px solid var(--border); border-radius:14px;
  box-shadow: var(--shadow-md); padding:10px; z-index:150; list-style:none; margin:0;
  opacity:0; visibility:hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  display:flex; flex-direction:column; align-items:stretch; gap:4px;
  background: var(--white);
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu{
  opacity:1; visibility:visible; transform: translateX(-50%) translateY(0);
}
.primary-nav .sub-menu a{
  display:block; padding:13px 16px; border-radius:9px; font-weight:600; font-size:0.92rem; color: var(--ink);
  white-space:nowrap; border-bottom:1px solid var(--divider);
}
.primary-nav .sub-menu li:last-child a{ border-bottom:none; }
.primary-nav .sub-menu a:hover{ background: var(--bg-tint); color: var(--accent); }

.header-cta{ display:none; }
.header-actions{ display:flex; align-items:center; gap:14px; }

.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius: 10px; border:1px solid var(--border);
  background: var(--white);
}
.nav-toggle svg{ width:22px; height:22px; color: var(--heading); }
.nav-toggle .icon-close{ display:none; }
.nav-toggle.is-open .icon-open{ display:none; }
.nav-toggle.is-open .icon-close{ display:block; }

/* Off-canvas drawer — anchored to the left, matching the toggle button's position */
.nav-overlay{
  position:fixed; inset:0; z-index:190; background: rgba(8,44,72,0.5);
  opacity:0; visibility:hidden; transition: opacity .3s ease, visibility .3s ease;
  will-change: opacity;
}
.nav-overlay.is-open{ opacity:1; visibility:visible; }

.mobile-nav{
  position:fixed; top:0; left:0; z-index:200;
  width: min(320px, 84vw); height:100vh; height:100dvh;
  background: var(--white); box-shadow: var(--shadow-lg);
  display:flex; flex-direction:column;
  transform: translate3d(-100%,0,0); transition: transform .32s ease;
  will-change: transform;
}
.mobile-nav.is-open{ transform: translate3d(0,0,0); }

.mobile-nav-head{
  flex:none; display:flex; align-items:center; justify-content:space-between;
  padding: 20px 20px 18px; border-bottom:1px solid var(--border);
}
.mobile-nav-head img{ height:38px; width:auto; }
.mobile-nav-close{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:10px; border:1px solid var(--border); background: var(--bg-light);
  color: var(--heading);
}
.mobile-nav-close svg{ width:18px; height:18px; }

.mobile-nav-body{
  flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:6px;
  padding: 18px 20px 24px;
}
.mobile-nav-body a{
  padding: 15px 6px; font-weight:600; color: var(--ink); border-bottom: 1px solid var(--divider);
}
.mobile-nav-body .btn{ margin-top:14px; }

/* Collapsible submenu (e.g. "خدماتنا") — .submenu-toggle is injected by JS */
.mobile-nav-body .menu-item-has-children{ display:flex; flex-wrap:wrap; align-items:center; border-bottom: 1px solid var(--divider); }
.mobile-nav-body .menu-item-has-children > a{ flex:1; border-bottom:none; }
.mobile-nav-body .submenu-toggle{
  flex:none; width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  background:transparent; border:none; color: var(--slate-light);
}
.mobile-nav-body .submenu-toggle .chevron-icon{
  width:8px; height:8px; border-inline-end:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease; margin-top:-4px;
}
.mobile-nav-body .submenu-toggle.is-open .chevron-icon{ transform: rotate(225deg); margin-top:4px; }
.mobile-nav-body .sub-menu{
  display:none; flex-basis:100%; list-style:none; margin:0; padding-inline-start:18px; padding-block:4px 10px;
}
.mobile-nav-body .sub-menu.is-open{ display:flex; flex-direction:column; gap:2px; }
.mobile-nav-body .sub-menu a{ padding:10px 6px; font-size:0.9rem; font-weight:500; color: var(--slate); border-bottom:none; }

@media (min-width: 1080px){
  .primary-nav{ display:block; }
  .header-cta{ display:inline-flex; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none !important; }
  .nav-overlay{ display:none !important; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; z-index:0; color: var(--white); overflow:hidden;
  padding: 76px 0 88px;
  background: var(--navy-deep);
}
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(0deg, rgba(8,44,72,0.55) 0%, rgba(8,44,72,0.18) 40%, rgba(8,44,72,0.1) 100%);
}
.hero-inner{ max-width: 760px; }
.hero h1{ color:#fff; margin-top:16px; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero .eyebrow{ color: #6EE7C7; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.hero .eyebrow::before{ background: #6EE7C7; }
.hero-lead{ margin-top:20px; font-size:1.15rem; color: rgba(255,255,255,0.92); max-width: 620px; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.hero .btn-outline{ background: rgba(8,44,72,0.45); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-strip{
  margin-top:56px; padding-top:34px; border-top: 1px solid rgba(255,255,255,0.22);
  display:grid; grid-template-columns: repeat(2,1fr); gap:22px;
}
@media (min-width: 720px){ .hero-strip{ grid-template-columns: repeat(4,1fr); } }
.hero-strip .stat-label{ font-size:0.8rem; text-transform:uppercase; letter-spacing:.06em; color: rgba(255,255,255,0.75); margin-top:4px; text-shadow: 0 1px 8px rgba(0,0,0,0.55);}
.hero-strip .stat-value{ font-size:1.05rem; font-weight:700; color:#fff; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.hero-strip .stat-value svg{ width:28px; height:28px; }

/* page header (interior pages) */
.page-hero{
  position:relative; color:#fff; padding: 64px 0 68px; overflow:hidden;
  background: linear-gradient(150deg, rgba(8,44,72,0.94), rgba(16,86,138,0.90)), var(--navy-deep) center/cover no-repeat;
}
.page-hero img.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.page-hero::after{ content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(150deg, rgba(8,44,72,0.92), rgba(16,86,138,0.86)); }
.page-hero .eyebrow{ color:#6EE7C7; }
.page-hero .eyebrow::before{ background:#6EE7C7; }
.page-hero h1{ color:#fff; margin-top:14px; }
.page-hero p{ color: rgba(255,255,255,0.85); margin-top:16px; max-width:640px; font-size:1.05rem; }

/* ---------- Sections ---------- */
section{ padding: 68px 0; }
.section-alt{ background: var(--bg-light); }
.section-navy{ background: linear-gradient(160deg, var(--navy-darker), var(--navy)); color:#fff; }
.section-navy h2{ color:#fff; }
.section-navy .eyebrow{ color:#6EE7C7; }
.section-navy .eyebrow::before{ background:#6EE7C7; }

/* ---------- Grids & Cards ---------- */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
.grid-6{ grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px){
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-6{ grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 980px){
  .grid-3{ grid-template-columns: repeat(3,1fr); }
  .grid-4{ grid-template-columns: repeat(4,1fr); }
  .grid-6{ grid-template-columns: repeat(6,1fr); }
}

.card{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height:100%;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(150deg, rgba(9,139,105,0.14), rgba(16,86,138,0.12)); color: var(--accent);
  margin-bottom:18px;
}
.card-icon svg{ width:26px; height:26px; }
.card h3{ margin-bottom:10px; font-size:1.12rem; }
.card p{ color: var(--slate); font-size:0.95rem; }
.card .card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:700; color: var(--green); font-size:0.9rem; }
.card .card-link svg{ width:16px; height:16px; }

/* sector cards with photo */
.sector-card{
  position:relative; border-radius: var(--radius-md); overflow:hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
}
.sector-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.sector-card:hover img{ transform: scale(1.06); }
.sector-card::after{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(8,44,72,0.9) 0%, rgba(8,44,72,0.15) 55%, rgba(8,44,72,0.05) 100%); }
.sector-card-label{ position:absolute; left:0; right:0; bottom:0; padding: 18px; z-index:2; color:#fff; }
.sector-card-label .icon-chip{ width:34px; height:34px; border-radius:9px; background: rgba(255,255,255,0.16); display:flex; align-items:center; justify-content:center; margin-bottom:10px; backdrop-filter: blur(4px);}
.sector-card-label .icon-chip svg{ width:18px; height:18px; }
.sector-card-label h3{ color:#fff; font-size:1.02rem; margin-bottom:4px; }
.sector-card-label p{ color: rgba(255,255,255,0.78); font-size:0.82rem; }

/* Sectors without a photo yet — branded placeholder instead of a broken image */
.sector-card.no-photo{ background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--green) 100%); }
.sector-card.no-photo .icon-chip{ width:44px; height:44px; background: rgba(255,255,255,0.16); }
.sector-card.no-photo .icon-chip svg{ width:22px; height:22px; }

/* stat / feature list */
.feature-list{ display:grid; gap:16px; }
.feature-item{ display:flex; gap:14px; align-items:flex-start; }
.feature-item .dot{
  flex:none; width:30px; height:30px; border-radius:9px; background: rgba(9,139,105,0.14); color: var(--green);
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.feature-item .dot svg{ width:16px; height:16px; }
.feature-item p{ color: var(--slate); font-size:0.98rem; }
.feature-item strong{ color: var(--ink); }

/* two column layout */
.split{ display:grid; gap:40px; align-items:center; }
@media (min-width: 900px){ .split{ grid-template-columns: 1fr 1fr; gap:64px; } }
.split.reverse .split-media{ order:2; }
.split-media img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3.2; }
.split-media{ position:relative; }
.split-media::before{
  content:""; position:absolute; inset:-14px; z-index:-1; border-radius: calc(var(--radius-lg) + 10px);
  background: linear-gradient(150deg, var(--green), var(--navy)); opacity:0.14;
}

/* timeline */
.timeline{ display:grid; gap:28px; margin-top:12px; }
@media (min-width: 760px){ .timeline{ grid-template-columns: repeat(2,1fr); gap:36px; } }
.timeline-item{
  position:relative; background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:28px 26px; box-shadow: var(--shadow-sm);
}
.timeline-year{
  display:inline-flex; align-items:center; justify-content:center; padding:6px 16px; border-radius:999px;
  background: var(--navy); color:#fff; font-weight:700; font-size:0.92rem; margin-bottom:14px;
}
.timeline-item h3{ margin-bottom:10px; }
.timeline-item p{ color: var(--slate); font-size:0.96rem; }
.timeline-close{ text-align:center; margin-top:36px; font-weight:700; color: var(--accent); font-size:1.15rem; }

/* bullet list (individual service pages) */
.check-list{ display:grid; gap:11px; }
.check-list li{ display:flex; gap:10px; align-items:flex-start; color: var(--slate); font-size:0.96rem; }
.check-list li svg{ flex:none; width:18px; height:18px; color: var(--green); margin-top:3px; }
.service-subgrid{ display:grid; gap:18px; margin-top:6px; }
@media (min-width:700px){ .service-subgrid{ grid-template-columns: repeat(2,1fr); } }
.service-subgrid .sub-card{ background: var(--bg-light); border-radius: 12px; padding:18px 20px; }
.service-subgrid .sub-card h4{ margin:0 0 8px; }
.service-subgrid .sub-card p{ color: var(--slate); font-size:0.92rem; margin:0; }

/* titled item list — service pages with a heading + description per item */
.spec-list{ display:grid; gap:22px; }
.spec-item h4{ font-size:1rem; color: var(--heading); margin-bottom:6px; }
.spec-item p{ color: var(--slate); font-size:0.95rem; margin:0; }

/* banner image break */
.photo-banner{ position:relative; height: 320px; overflow:hidden; }
.photo-banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.photo-banner::after{ content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(8,44,72,0.82), rgba(8,44,72,0.30)); }
.photo-banner-inner{ position:relative; z-index:1; height:100%; display:flex; align-items:center; }
.photo-banner h3{ color:#fff; font-size:1.5rem; max-width:520px; }
.photo-banner p{ color: rgba(255,255,255,0.85); margin-top:10px; max-width:480px; }

/* CTA band */
.cta-band{
  border-radius: var(--radius-lg); padding: 48px 36px; text-align:center;
  background: linear-gradient(150deg, var(--navy-darker), var(--navy) 55%, var(--green) 140%);
  color:#fff;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color: rgba(255,255,255,0.85); margin-top:12px; max-width: 560px; margin-left:auto; margin-right:auto; }
.cta-band .hero-actions{ justify-content:center; margin-top:28px; }

/* quality policy list */
.policy-grid{ display:grid; gap:16px; margin-top:22px; }
@media (min-width:760px){ .policy-grid{ grid-template-columns: repeat(2,1fr); } }

/* client logos strip */
.clients-band{ padding: 44px 0; }
.clients-carousel{
  margin-top:30px; width:100%; overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch; scroll-behavior:auto; cursor:grab;
  scrollbar-width:none; -ms-overflow-style:none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.clients-carousel::-webkit-scrollbar{ display:none; }
.clients-carousel.is-dragging{ cursor:grabbing; }
.clients-track{
  display:flex; align-items:flex-start; gap:52px; width:max-content;
}
.client-logo-item{ display:flex; flex-direction:column; align-items:center; gap:12px; flex:none; }
.client-logo-item img{ height:38px; width:auto; object-fit:contain; }
@media (min-width:640px){ .client-logo-item img{ height:50px; } }
.client-badge{
  display:inline-flex; align-items:center; gap:6px; padding:5px 13px; border-radius:999px;
  background: rgba(9,139,105,0.12); color: var(--green); font-size:0.72rem; font-weight:700;
  border:1px solid rgba(9,139,105,0.3); white-space:nowrap;
}
.client-badge svg{ width:13px; height:13px; }

/* regulatory alignment note (distinct from client logos — see about page) */
.regulatory-note{
  display:flex; flex-wrap:wrap; align-items:center; gap:22px; margin-top:28px;
  padding: 22px 24px; border-radius: var(--radius-md); background: var(--bg-tint); border:1px solid var(--border);
}
.regulatory-note img{ height:46px; width:auto; flex:none; }
.regulatory-note p{ color: var(--slate); font-size:0.92rem; margin:0; }

/* badges row */
.badge-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.badge{
  display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border-radius:999px;
  background: var(--bg-tint); color: var(--heading); font-weight:600; font-size:0.85rem; border:1px solid var(--border);
}
.badge svg{ width:16px; height:16px; color: var(--green); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; gap:32px; }
@media (min-width: 940px){ .contact-grid{ grid-template-columns: 0.85fr 1.15fr; gap:48px; } }
.contact-card{ background: var(--white); border:1px solid var(--border); border-radius: var(--radius-lg); padding:34px; box-shadow: var(--shadow-sm); }
.contact-info-item{ display:flex; gap:16px; padding: 18px 0; border-bottom:1px solid var(--border); }
.contact-info-item:last-child{ border-bottom:none; }
.contact-info-item .dot{ flex:none; width:42px; height:42px; border-radius:12px; background: var(--bg-tint); color: var(--accent); display:flex; align-items:center; justify-content:center; }
.contact-info-item .dot svg{ width:20px; height:20px; }
.contact-info-item h4{ font-size:0.98rem; color: var(--ink); margin-bottom:4px; }
.contact-info-item p, .contact-info-item a{ color: var(--slate); font-size:0.95rem; }
.contact-info-item a:hover{ color: var(--green); }

.form-grid{ display:grid; gap:18px; }
@media (min-width:620px){ .form-row-2{ grid-template-columns: 1fr 1fr; display:grid; gap:18px; } }
.field label{ display:block; font-size:0.88rem; font-weight:600; color: var(--ink); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 15px; border-radius:10px; border:1.5px solid var(--border); background: var(--bg-light);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--green); background: var(--white); }
.field textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:0.82rem; color: var(--slate-light); margin-top:14px; }
.form-success{ background: rgba(9,139,105,0.1); border:1.5px solid var(--green); color: var(--heading); padding:16px 18px; border-radius:12px; margin-bottom:20px; font-size:0.95rem; }
.form-error{ background: rgba(200,60,60,0.08); border:1.5px solid var(--danger); color: var(--danger-text); padding:16px 18px; border-radius:12px; margin-bottom:20px; font-size:0.95rem; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-darker); color: rgba(255,255,255,0.78); }
.footer-top{ padding: 64px 0 44px; }
.footer-grid{ display:grid; gap:40px; grid-template-columns: 1fr; }
@media (min-width: 760px){ .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap:32px; } }
.footer-brand img{ height:38px; margin-bottom:16px; }
.footer-brand p{ font-size:0.92rem; line-height:1.7; max-width:320px; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social .social-link{
  width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,0.85);
  transition: background .18s ease, color .18s ease;
}
.footer-social .social-link:hover{ background: var(--green); color:#fff; }
.footer-social .social-link svg{ width:18px; height:18px; }
.footer-col h4{ color:#fff; font-size:0.9rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
.footer-col ul{ display:grid; gap:11px; }
.footer-col a{ font-size:0.93rem; transition: color .16s ease; }
.footer-col a:hover{ color: var(--green-light); }
.footer-col .fc-item{ font-size:0.93rem; display:flex; gap:9px; align-items:flex-start; }
.footer-col .fc-item svg{ width:16px; height:16px; margin-top:3px; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; }
.footer-bottom .container{ display:flex; flex-direction:column; gap:10px; font-size:0.83rem; color: rgba(255,255,255,0.55); }
@media (min-width:760px){ .footer-bottom .container{ flex-direction:row; justify-content:space-between; } }
.footer-bottom a:hover{ color:#fff; }

/* ---------- Misc ---------- */
.visually-hidden{ position:absolute !important; width:1px;height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- Request-a-Quote popup (multi-step) ---------- */
body.modal-open{ overflow:hidden; }
.quote-modal-overlay{
  position:fixed; inset:0; z-index:290; background: rgba(8,44,72,0.55);
  opacity:0; visibility:hidden; transition: opacity .25s ease, visibility .25s ease;
}
.quote-modal-overlay.is-open{ opacity:1; visibility:visible; }

.quote-modal{
  position:fixed; top:50%; left:50%; z-index:300;
  width: min(560px, 92vw); max-height:88vh; overflow-y:auto;
  background: var(--bg-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px 24px;
  transform: translate(-50%,-50%) scale(.95); opacity:0; visibility:hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}
.quote-modal.is-open{ transform: translate(-50%,-50%) scale(1); opacity:1; visibility:visible; }
@media (min-width:640px){ .quote-modal{ padding:38px; } }

.qm-close{
  position:absolute; top:16px; left:16px; z-index:2;
  width:36px; height:36px; border-radius:10px; border:1px solid var(--border); background: var(--white);
  display:flex; align-items:center; justify-content:center; color: var(--heading);
}
.qm-close svg{ width:16px; height:16px; }

.quote-modal h3{ padding-inline-end:40px; font-size:1.25rem; color: var(--heading); }
.qm-lead{ margin-top:12px; color: var(--slate); font-size:0.94rem; }

.qm-progress{ margin-top:22px; height:12px; border-radius:999px; background: var(--border); overflow:hidden; }
.qm-progress-fill{
  height:100%; background: var(--navy); border-radius:999px; min-width:38px;
  display:flex; align-items:center; justify-content:flex-end;
  transition: width .3s ease;
}
.qm-progress-fill span{ color:#fff; font-size:0.68rem; font-weight:700; padding-inline-end:8px; }

.qm-step{ display:none; margin-top:22px; }
.qm-step.is-active{ display:block; }
.qm-step .field + .field{ margin-top:16px; }
.qm-actions{ display:flex; gap:12px; margin-top:24px; }
.qm-actions > *{ flex:1; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: var(--danger); }

.qm-result{ text-align:center; padding: 18px 0 4px; }
.qm-result-icon{
  width:56px; height:56px; border-radius:50%; margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center;
}
.qm-result-icon svg{ width:26px; height:26px; }
.qm-icon-success, .qm-icon-error{ display:none; }
.qm-result.is-success .qm-result-icon{ background: rgba(9,139,105,0.14); color: var(--green); }
.qm-result.is-success .qm-icon-success{ display:block; }
.qm-result.is-error .qm-result-icon{ background: rgba(200,60,60,0.12); color: var(--danger); }
.qm-result.is-error .qm-icon-error{ display:block; }
.qm-result-title{ color: var(--heading); font-size:1.2rem; }
.qm-result-message{ color: var(--slate); font-size:0.95rem; margin-top:10px; }
.qm-result .btn{ margin-top:22px; }
.btn.is-loading{ opacity:.65; pointer-events:none; }
.mt-0{ margin-top:0; }
::selection{ background: var(--green); color:#fff; }

/* Skip link */
.skip-link{
  position:absolute; inset-inline-start:-9999px; top:auto; background:var(--navy); color:#fff; padding:12px 18px; z-index:1000; border-radius: 0 0 8px 0;
}
.skip-link:focus{ inset-inline-start:0; top:0; }

/* scroll offset for anchored sections under sticky header */
.anchor-offset{ scroll-margin-top: 100px; }

/* =========================================================
   RTL (Arabic) adjustments — the whole site is RTL (html has
   dir="rtl"), so layout itself (flex/grid direction, text
   alignment) mirrors automatically. These rules only correct the
   handful of things that don't: Latin-style letter tracking
   (breaks Arabic letter joining) and directional arrow glyphs
   that need to point the opposite way for right-to-left reading.
   ========================================================= */
h1, h2, h3, h4, .eyebrow, .btn{ letter-spacing: normal; }
.eyebrow{ text-transform: none; }
.icon-fwd{ transform: scaleX(-1); }
