/* ==========================================================================
   FBC — Future Building Distinguished Contracting Company
   Main stylesheet
   ========================================================================== */

:root {
  --blue: #2074b6;
  --blue-700: #185c92;
  --blue-50: #eaf3fa;
  --navy: #0e2236;
  --navy-800: #142d45;
  --steel: #6d6e70;
  --ink: #1b232b;
  --muted: #56626d;
  --paper: #f3f5f7;
  --line: #dde2e7;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(14, 34, 54, 0.08);
  --container: 1200px;
  --gutter: 20px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --arabic: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--navy);
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.ar { font-family: var(--arabic); direction: rtl; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--paper); }
.section--navy { background: var(--navy); color: #d4dde6; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Eyebrow / section headings ------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: 2px; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--blue); }
.section--navy .eyebrow { color: #7fb8e6; }
.section--navy .eyebrow::before { background: #7fb8e6; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #aab9c7; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 13px 26px; border: 2px solid var(--blue); border-radius: var(--radius);
  background: var(--blue); color: #fff; cursor: pointer; transition: .2s;
  line-height: 1.2;
}
.btn:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--navy); color: #b9c6d3; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar a { color: #dfe7ee; }
.topbar a:hover { color: #fff; }
.topbar__items { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: #7fb8e6; }
.topbar .ar { font-size: 1rem; color: #dfe7ee; }

/* Header / nav ----------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(14,34,54,.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--head); font-weight: 600; font-size: 1.08rem; letter-spacing: .6px; text-transform: uppercase;
  color: var(--navy); padding: 30px 14px; position: relative; background: none; border: 0; cursor: pointer;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; }
.nav__cta { margin-left: 12px; }
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 20px 40px rgba(14,34,54,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .container { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding-top: 30px; padding-bottom: 34px; min-height: 0; align-items: start; }
.mega__intro h4 { font-size: 1.5rem; }
.mega__intro p { color: var(--muted); font-size: .95rem; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 24px; list-style: none; margin: 0; padding: 0; }
.mega__grid a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--radius); color: var(--ink); font-weight: 500; }
.mega__grid a:hover { background: var(--blue-50); color: var(--blue); }
.mega__grid .num { font-family: var(--head); font-weight: 700; color: var(--blue); font-size: .95rem; min-width: 22px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Hero (home) ------------------------------------------------------------ */
.hero { background: var(--paper); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 40px; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.hero__tag b { color: var(--blue); }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--blue); }
.hero p.lead { max-width: 560px; margin-bottom: 30px; }
.hero__call { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__call .icon-box { width: 52px; height: 52px; }
.hero__call small { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.hero__call a { font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.hero__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px; gap: 14px; }
.hero__mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.hero__mosaic figure:first-child { grid-row: span 2; }
.hero__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero__mosaic figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(14,34,54,.85); color: #fff; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; padding: 4px 10px; border-radius: 2px; }

.icon-box { width: 46px; height: 46px; border-radius: var(--radius); background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-box svg { width: 22px; height: 22px; }

/* Facts strip ------------------------------------------------------------ */
.facts { background: var(--navy); color: #fff; }
.facts .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 34px 22px; border-left: 1px solid rgba(255,255,255,.1); }
.fact:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.fact strong { display: block; font-family: var(--head); font-size: 2.4rem; line-height: 1; color: #fff; margin-bottom: 8px; }
.fact strong small { font-size: 1.2rem; color: #7fb8e6; margin-left: 3px; }
.fact span { color: #aab9c7; font-size: .95rem; line-height: 1.4; display: block; }

/* Split / about blocks --------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split__media .badge {
  position: absolute; right: -18px; bottom: -22px; background: var(--blue); color: #fff; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 240px;
}
.split__media .badge strong { font-family: var(--head); font-size: 1.6rem; display: block; line-height: 1.1; }
.split__media .badge span { font-size: .9rem; opacity: .9; }
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-stack img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.media-stack img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist--3 { grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }

/* Service cards ---------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--paper); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__num { position: absolute; left: 0; top: 0; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.05rem; padding: 6px 14px; }
.service-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body h3 a { color: var(--navy); }
.service-card__body h3 a:hover { color: var(--blue); }
.service-card__body p { color: var(--muted); font-size: .98rem; flex: 1; }
.section--alt .service-card { background: #fff; }

/* Index list of services (services page) */
.service-index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-index a { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); font-family: var(--head); font-weight: 600; font-size: 1.15rem; background: #fff; }
.service-index a:hover { background: var(--blue); color: #fff; }
.service-index a:hover .num { color: #fff; }
.service-index .num { color: var(--blue); min-width: 28px; }

/* Band (manpower etc.) -------------------------------------------------- */
.band { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.band .container { position: relative; }
.band h2 { color: #fff; }
.band p { color: #c6d2dd; }
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.cat-card h3 { color: #fff; font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.cat-card ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 18px; }
.cat-card li { color: #c6d2dd; font-size: .95rem; padding: 3px 0; break-inside: avoid; }
.cat-card li::before { content: "— "; color: #7fb8e6; }

/* Vision / mission / values ---------------------------------------------- */
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv__item { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 34px 30px; border-radius: var(--radius); }
.vmv__num { font-family: var(--head); font-size: 3rem; font-weight: 700; color: var(--line); line-height: 1; margin-bottom: 14px; }
.vmv__item p { color: var(--muted); margin: 0; }
.vmv__item blockquote { margin: 0; color: var(--muted); font-style: italic; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 26px 0 0; }
.step__num { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step__num b { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--head); font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step__num::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); opacity: .5; }
.step:last-child .step__num::after { display: none; }
.step p { color: var(--muted); font-size: .98rem; }

/* Projects / gallery ----------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn { font-family: var(--head); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .8px; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 16px; cursor: pointer; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(14,34,54,.88)); color: #fff; font-size: .92rem; line-height: 1.3; }
.gallery__item figcaption b { display: block; font-family: var(--head); font-size: 1.1rem; font-weight: 600; letter-spacing: .4px; }
.gallery__item figcaption span { color: #9fc7e8; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.gallery__item.is-hidden { display: none; }
.gallery__item button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.gallery__item button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,18,28,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #dfe7ee; font-family: var(--head); font-size: 1.15rem; letter-spacing: .5px; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__btn:hover { background: var(--blue); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Profile CTA ------------------------------------------------------------ */
.profile-cta { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.doc-cover {
  aspect-ratio: 1 / 1.414; background: #fff; border-radius: 3px; box-shadow: 0 25px 50px rgba(0,0,0,.35);
  padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transform: rotate(-3deg);
}
.doc-cover::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: var(--blue); clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%); }
.doc-cover img { width: 78%; position: relative; }
.doc-cover__title { position: relative; color: #fff; font-family: var(--head); text-transform: uppercase; }
.doc-cover__title b { display: block; font-size: 1.7rem; line-height: 1; }
.doc-cover__title span { font-size: .9rem; letter-spacing: 2px; opacity: .9; }
.doc-cover__mid { position: relative; font-family: var(--head); color: var(--navy); font-weight: 700; font-size: 1.15rem; line-height: 1.15; text-transform: uppercase; }
.doc-cover__mid small { display: block; color: var(--steel); font-weight: 600; font-size: .8rem; letter-spacing: 1px; margin-top: 4px; }

/* Page hero (inner) ------------------------------------------------------ */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,34,54,.95) 0%, rgba(14,34,54,.55) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #c6d2dd; max-width: 680px; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; color: #9fb2c4; }
.crumbs a { color: #dfe7ee; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6f8396; }

/* Service detail --------------------------------------------------------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.detail__main > img.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 34px; }
.detail__main h2 { font-size: 2.1rem; margin-top: .4em; }
.detail__main h2:first-child { margin-top: 0; }
.detail__main .lead { color: var(--ink); }
.detail__main p { color: #3d4852; }
.detail__block { margin-top: 50px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.feature img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature__body { padding: 18px 20px 20px; }
.feature__body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feature__body p { color: var(--muted); font-size: .96rem; margin: 0; }
.feature--text { border-left: 4px solid var(--blue); }
.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scope li { list-style: none; padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; background: #fff; }
.scope li:nth-child(odd) { border-right: 1px solid var(--line); }
.scope svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.scope { padding: 0; margin: 0; }
.keyfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 10px; }
.keyfacts div { background: var(--paper); border-left: 4px solid var(--blue); padding: 16px 18px; border-radius: 2px; }
.keyfacts strong { display: block; font-family: var(--head); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.keyfacts span { color: var(--muted); font-size: .92rem; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; background: #fff; }
.spec-table caption { text-align: left; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--navy); padding-bottom: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .95rem; }
.spec-table tr:nth-child(even) td { background: var(--paper); }
.spec-table td:first-child { font-weight: 600; color: var(--navy); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.sidebar { display: grid; gap: 24px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-box h3 { font-size: 1.3rem; padding: 18px 22px; margin: 0; border-bottom: 1px solid var(--line); }
.side-nav { list-style: none; margin: 0; padding: 8px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; color: var(--ink); border-radius: var(--radius); font-weight: 500; font-size: .98rem; }
.side-nav a svg { width: 14px; height: 14px; opacity: .5; }
.side-nav a:hover { background: var(--blue-50); color: var(--blue); }
.side-nav a.is-active { background: var(--blue); color: #fff; }
.side-nav a.is-active svg { opacity: 1; }
.side-call { background: var(--navy); color: #c6d2dd; padding: 28px 24px; border-radius: var(--radius); position: relative; overflow: hidden; }
.side-call h3 { color: #fff; font-size: 1.45rem; }
.side-call a.phone { display: block; font-family: var(--head); font-size: 1.7rem; font-weight: 700; color: #fff; margin: 6px 0 16px; }
.side-call .btn { width: 100%; justify-content: center; }
.side-profile { background: var(--blue-50); border: 1px solid #cfe2f1; border-radius: var(--radius); padding: 24px; }
.side-profile h3 { font-size: 1.35rem; }
.side-profile p { font-size: .95rem; color: var(--muted); }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.prev-next a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); }
.prev-next a:hover { border-color: var(--blue); }
.prev-next small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; }
.prev-next b { font-family: var(--head); font-size: 1.3rem; }
.prev-next .next { text-align: right; }

/* Cards (why us etc.) ---------------------------------------------------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.icard .icon-box { margin-bottom: 18px; }
.icard h3 { font-size: 1.35rem; }
.icard p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--navy .icard { background: var(--navy-800); border-color: rgba(255,255,255,.1); }
.section--navy .icard p { color: #aab9c7; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 8px 18px; font-weight: 500; color: var(--navy); }

/* Offices / contact ------------------------------------------------------ */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.office { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.office iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.3); }
.office__body { padding: 22px 24px; }
.office__body h3 { margin-bottom: 4px; }
.office__body p { color: var(--muted); margin: 0; }
.office__tag { font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; color: var(--blue); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item small { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; color: var(--muted); }
.contact-item strong, .contact-item a.big { font-family: var(--head); font-size: 1.25rem; color: var(--navy); font-weight: 600; line-height: 1.3; display: block; }
.contact-item a.big:hover { color: var(--blue); }

.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 36px; }
.form h2 { font-size: 2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9d1d9; border-radius: var(--radius); background: #fbfcfd; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,116,182,.15); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; display: none; }
.form-note.is-ok { display: block; background: #e7f6ec; color: #1d6b37; border: 1px solid #bfe5cb; }
.form-note.is-err { display: block; background: #fdeceb; color: #9a2b23; border: 1px solid #f3c6c2; }

/* Profile viewer --------------------------------------------------------- */
.viewer { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--navy); color: #fff; flex-wrap: wrap; }
.viewer__bar b { font-family: var(--head); font-size: 1.2rem; letter-spacing: .5px; }
.viewer__bar .btn { padding: 9px 16px; font-size: .95rem; }
.viewer iframe { display: block; width: 100%; height: 82vh; min-height: 520px; border: 0; background: #2a2a2e; }
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.toc li span:last-child { font-family: var(--head); color: var(--blue); font-weight: 600; white-space: nowrap; }

/* CTA band --------------------------------------------------------------- */
.cta { background: var(--blue); color: #fff; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 50px; padding-bottom: 50px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { margin: 0; color: #dcebf7; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--navy); color: #aab9c7; font-size: .97rem; }
.footer__top { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 44px; padding: 70px 0 50px; }
.footer__logo { width: 200px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--blue); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #cdd8e2; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: #7fb8e6; flex: none; margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; }
.footer .ar { font-size: 1.05rem; color: #dfe7ee; }

/* Floating buttons ------------------------------------------------------- */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.float-wa:hover { color: #fff; transform: scale(1.06); }
.float-wa svg { width: 30px; height: 30px; }
.to-top { position: fixed; right: 26px; bottom: 88px; z-index: 90; width: 44px; height: 44px; border-radius: var(--radius); background: var(--navy); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound strong { font-family: var(--head); font-size: 8rem; color: var(--blue); line-height: 1; display: block; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__link { padding: 30px 10px; font-size: 1rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .facts .container { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); }
  .detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .topbar .ar, .topbar__item--hours { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 126px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 30px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; border-top: 1px solid var(--line); }
  .header.is-open .nav { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav__link::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega, .has-mega.is-open:hover .mega { display: block; }
  .mega .container { grid-template-columns: 1fr; padding: 8px 0 12px; gap: 0; }
  .mega__intro { display: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .nav__cta { margin: 20px 0 0; justify-content: center; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 50px; padding-bottom: 60px; }
  .split, .profile-cta, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split__media .badge { right: 12px; bottom: 12px; }
  .service-grid, .vmv, .cat-cards, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .service-index { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .step:nth-child(2) .step__num::after { display: none; }
  .detail { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .profile-cta .doc-cover { max-width: 260px; margin: 0 auto; }
  .offices { grid-template-columns: 1fr; }
  .keyfacts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .topbar__item--mail { display: none; }
  .brand img { height: 50px; }
  .header .container { min-height: 72px; }
  .nav { inset: 114px 0 0 0; }
  .hero__mosaic { grid-template-rows: 150px 150px; gap: 10px; }
  .facts .container { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 14px; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .fact strong { font-size: 1.9rem; }
  .service-grid, .vmv, .cat-cards, .cards-3, .cards-4, .feature-grid, .feature-grid--3, .service-index, .steps, .scope, .checklist--2, .checklist--3, .form__row, .prev-next, .footer__top { grid-template-columns: 1fr; }
  .scope li:nth-child(odd) { border-right: 0; }
  .gallery, .gallery--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item figcaption { padding: 24px 10px 8px; }
  .gallery__item figcaption b { font-size: .95rem; }
  .step__num::after { display: none; }
  .form { padding: 24px 18px; }
  .lightbox { padding: 60px 10px; }
  .prev-next .next { text-align: left; }
  .keyfacts { grid-template-columns: 1fr; }
  .split__media .badge { position: static; max-width: none; margin-top: 12px; }
  .cat-card ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Fixes */
.cat-card h3 svg { width: 28px; height: 28px; color: #7fb8e6; flex: none; }
p.ar { text-align: left; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.mega__all { display: none; }
@media (max-width: 960px) {
  .mega__all { display: block; }
  .steps--5 { grid-template-columns: repeat(2, 1fr); }
  .steps--5 .step__num::after { display: none; }
}
@media (max-width: 640px) { .steps--5 { grid-template-columns: 1fr; } }

/* Home hero slider ------------------------------------------------------- */
.hero--slider .container { display: block; padding-top: 56px; padding-bottom: 50px; }
.slider { position: relative; display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 20px; }
.slide__title span { color: var(--blue); }
.slide .lead { max-width: 560px; margin-bottom: 30px; }
.slide__media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--line); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 3.4s ease-out; }
.slide.is-active .slide__media img { transform: scale(1); }
.slide__media figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(14,34,54,.85); color: #fff; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; padding: 5px 12px; border-radius: 2px; }
.slider__controls { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.slider__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slider__arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider__arrow svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); background: transparent; padding: 0; cursor: pointer; }
.slider__dot.is-active { background: var(--blue); width: 30px; border-radius: 6px; }
.slider__bar { flex: 1; min-width: 80px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.slider__bar span { display: block; height: 100%; width: 0; background: var(--blue); }
.slider__bar span.run { width: 100%; transition: width linear; }
.hero--slider .hero__call { margin-top: 26px; }
@media (max-width: 960px) {
  .slide { grid-template-columns: 1fr; gap: 28px; align-content: start; }
  .slide__media { order: -1; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .slide__media img { transform: none !important; } }
