/* House Steel — design tokens */
:root {
  --navy: #10253F;
  --navy-2: #183B5B;
  --orange: #F28C28;
  --orange-dark: #D9741A;
  --white: #FFFFFF;
  --gray: #F4F6F8;
  --text: #202B36;
  --text-2: #64748B;
  --wa: #1FA855;
  --danger: #C62828;
  --font: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(16, 37, 63, .25);
  --shadow-lg: 0 24px 50px -20px rgba(16, 37, 63, .45);
  --header-h: 72px;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s6: 3rem; --s8: 4.5rem;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 var(--s2); color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
p { margin: 0 0 var(--s2); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { --container: 820px; }
.center { text-align: center; margin-top: var(--s6); }
.skip-link { position: absolute; top: -50px; right: 1rem; background: var(--orange); color: var(--navy); padding: .5rem 1rem; z-index: 200; font-weight: 700; }
.skip-link:focus { top: 1rem; }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.config-warning { background: #FFF4E5; color: #7A3E00; border-bottom: 2px solid var(--orange); padding: .6rem 1rem; text-align: center; font-size: .9rem; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 999px; font: 700 1rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; min-height: 48px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .5rem 1.1rem; min-height: 42px; font-size: .95rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(242, 140, 40, .7); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--whatsapp { background: var(--wa); color: var(--white); box-shadow: 0 8px 20px -10px rgba(31, 168, 85, .8); }
.btn--whatsapp:hover { background: #178A45; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: auto; }
.is-disabled:hover { transform: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #E3E8EE; }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); }
.logo__icon { width: 38px; height: 38px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1.25rem; font-weight: 800; }
.logo__text small { font-size: .68rem; letter-spacing: .2em; color: var(--text-2); font-weight: 700; }
.logo--light { color: var(--white); }
.logo--light small { color: #AFC0D2; }
.nav__list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 600; color: var(--text); padding: .4rem 0; position: relative; }
.nav__list a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav__list a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: .9rem; }
.header__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--navy); direction: ltr; }
.header__phone svg { color: var(--orange); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--gray); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(16,37,63,.95) 0%, rgba(16,37,63,.82) 45%, rgba(16,37,63,.25) 100%); }
.hero__content { position: relative; padding-block: var(--s8); max-width: var(--container); }
.hero__content > * { max-width: 640px; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 700; letter-spacing: .02em; border: 1px solid rgba(242,140,40,.5); padding: .25rem .9rem; border-radius: 999px; font-size: .9rem; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
.hero__lead { font-size: 1.15rem; color: #D7E1EC; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-block: var(--s3); }
.hero__benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.hero__benefits li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hero__benefits li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 800; font-size: .8rem; }

/* Strip */
.strip { background: var(--navy-2); color: var(--white); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); padding-block: var(--s3); }
.strip__item { display: flex; align-items: center; justify-content: center; gap: .7rem; font-weight: 700; }
.strip__item svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(242,140,40,.15); fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }

/* Sections */
.section { padding-block: var(--s8); }
.section--gray { background: var(--gray); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto var(--s6); }
.section__head h2::after { content: ""; display: block; width: 60px; height: 4px; background: var(--orange); margin: .8rem auto 0; border-radius: 2px; }
.section__head p { color: var(--text-2); font-size: 1.08rem; }
.note { font-size: .92rem !important; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s6); align-items: center; }
.about__text p { color: var(--text-2); font-size: 1.08rem; }
.about__text h2::after { content: ""; display: block; width: 60px; height: 4px; background: var(--orange); margin-top: .8rem; border-radius: 2px; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 520px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid #E7ECF1; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: var(--s3); display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--orange); }
.card__body h3 { font-size: 1.25rem; }
.card__body p { color: var(--text-2); }
.card__more { font-size: .93rem; border-top: 1px dashed #DCE3EA; padding-top: .8rem; flex: 1; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.why__media::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 3px solid var(--orange); border-radius: var(--radius); z-index: -1; }
.why__media { z-index: 0; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.why__list li { display: flex; align-items: center; gap: var(--s2); background: var(--white); padding: 1rem 1.2rem; border-radius: var(--radius-sm); box-shadow: 0 4px 14px -8px rgba(16,37,63,.25); font-weight: 600; border-inline-start: 4px solid var(--orange); }
.num { font-weight: 800; color: var(--orange); font-size: 1.2rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; inset-inline: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 var(--s1); }
.step__n { width: 64px; height: 64px; margin: 0 auto var(--s2); display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1.5rem; font-weight: 800; border: 4px solid var(--orange); position: relative; }
.step p { font-weight: 600; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--s2); }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery { grid-auto-flow: dense; }
.gallery__item:nth-child(4), .gallery__item:nth-child(6), .gallery__item:nth-child(8) { grid-row: span 2; }
.gallery__item:nth-child(9) { grid-column: span 2; }
@media (max-width: 960px) { .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; } .gallery__item:nth-child(1) { grid-column: span 2; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem 1rem .8rem; background: linear-gradient(transparent, rgba(16,37,63,.9)); color: var(--white); font-weight: 700; }

/* Quote */
.quote { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); }
.quote__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s6); align-items: start; }
.quote h2 { color: var(--white); }
.quote__intro p { color: #D7E1EC; font-size: 1.08rem; }
.privacy { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); padding: 1rem; border-radius: var(--radius-sm); font-size: .95rem !important; }
.form { background: var(--white); color: var(--text); padding: var(--s4); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.field { margin: 0 0 var(--s2); border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--navy); }
.field label span { color: var(--danger); }
input[type="text"], input[type="tel"], select, textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm); background: var(--white); color: var(--text); min-height: 48px; transition: border-color .2s, box-shadow .2s; }
input[type="tel"] { text-align: right; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,40,.25); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.error { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; min-height: 0; font-weight: 600; }
.error:empty { display: none; }
.radios { display: flex; gap: var(--s3); }
.radios label { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--text); cursor: pointer; min-height: 44px; }
.radios input { width: 20px; height: 20px; accent-color: var(--orange); }
.form__status { margin: var(--s2) 0 0; font-weight: 600; }
.form__status.is-error { color: var(--danger); }
.form__status.is-ok { color: #157A3E; }

/* FAQ */
.faq { display: grid; gap: var(--s1); }
.faq__item { background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 4px 14px -10px rgba(16,37,63,.3); border: 1px solid #E3E8EE; }
.faq__item h3 { margin: 0; font-size: 1.05rem; }
.faq__q { width: 100%; text-align: right; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: none; border: 0; font: 700 1.05rem var(--font); color: var(--navy); cursor: pointer; min-height: 56px; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.1rem; color: var(--text-2); }
.faq__a p { margin: 0; }

/* Final */
.final { background: var(--navy) url("../assets/images/containers.jpg") center / cover; position: relative; color: var(--white); text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background: rgba(16,37,63,.9); }
.final__inner { position: relative; padding-block: var(--s8); max-width: 760px; }
.final h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.final p { color: #D7E1EC; font-size: 1.12rem; }
.final .hero__ctas { justify-content: center; }

/* Footer */
.footer { background: #0B1A2D; color: #B8C6D6; padding-top: var(--s6); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--s4); }
.footer h3 { color: var(--white); font-size: 1.05rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer .logo { margin-bottom: var(--s2); }
.footer__copy { text-align: center; border-top: 1px solid rgba(255,255,255,.08); margin: var(--s4) 0 0; padding: var(--s3) 1rem; font-size: .9rem; }

/* Floating buttons (desktop) */
.float { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.float__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: var(--shadow-lg); transition: transform .2s; }
.float__btn:hover { transform: scale(1.08); }
.float__btn svg { width: 28px; height: 28px; }
.float__btn--wa { background: var(--wa); }
.float__btn--ph { background: var(--orange); color: var(--navy); }

/* Mobile bar */
.mbar { display: none; }

@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: var(--header-h); inset-inline: 0; background: var(--white); border-bottom: 1px solid #E3E8EE; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--gray); }
  .why, .quote__inner, .about { grid-template-columns: 1fr; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--s4); }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --s8: 3.25rem; --header-h: 64px; }
  .header .btn--sm { display: none; }
  .hero__overlay { background: linear-gradient(180deg, rgba(16,37,63,.75), rgba(16,37,63,.95)); }
  .hero__ctas .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .strip__item { justify-content: flex-start; font-size: .92rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .form { padding: var(--s3); }
  .footer__grid { grid-template-columns: 1fr; }
  .float { display: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; inset-inline: 0; bottom: 0; z-index: 95; background: var(--white); padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -8px rgba(16,37,63,.35); }
  .mbar__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
  .mbar__btn--wa { background: var(--wa); color: var(--white); }
  .mbar__btn--ph { background: var(--orange); color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Stats counter */
.stats { background: var(--navy); color: #fff; padding: 2.2rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats__item strong { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--orange); }
.stats__item > span { font-weight: 600; color: #D6E0EA; }
@media (max-width: 700px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; } }
.logo__icon { width: 44px; height: 44px; object-fit: contain; }
.logo--light .logo__icon { background: #fff; border-radius: 8px; padding: 2px; }
