/* =============================================================
   ALGARMANI INTERNATIONAL — new design system
   English / LTR only.

   Typography verified from the live algarmani.com Elementor kit:
     primary   (headings + navigation) : Raleway 600, uppercase, ls 0.9px
     secondary (sub-headings)          : Raleway 600, uppercase, ls 0.6–0.8px, lh 1.7em
     text      (body)                  : Arial 500, 16px, ls 0.5px, lh 35px
     accent    (buttons / UI)          : Roboto 500
   Brand colours from the same kit: #000 primary, #363636 secondary,
   #484848 text, #FF6600 accent (used sparingly).
   ============================================================= */

/* Fonts are enqueued by functions.php */

:root {
  --orange: #ff6600;
  --orange-deep: #d95400;
  --ink: #0a0c0f;
  --ink-2: #14171c;
  --ink-3: #1e232a;
  --steel: #363636;
  --text: #484848;
  --line: #e4e3e0;
  --line-dark: rgba(255, 255, 255, 0.11);
  --paper: #ffffff;
  --sand: #f4f3f0;

  --maxw: 1340px;
  --gut: clamp(18px, 4.4vw, 56px);
  --sec: clamp(56px, 6.6vw, 104px);

  --f-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --f-body: Arial, Helvetica, sans-serif;
  --f-ui: "Roboto", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: .5px;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- type scale ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: var(--ink);
  margin: 0 0 .55em;
  line-height: 1.14;
}
h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; }
h2 { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.12; }
h3 { font-size: clamp(17px, 1.35vw, 21px); letter-spacing: .8px; line-height: 1.3; }
h4 { font-size: 15px; letter-spacing: .8px; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--steel); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-weight: 600; font-size: 12px;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.kicker--plain::before { display: none; }

.lead {
  font-size: 17px; line-height: 1.95; color: var(--steel);
}
.sub {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .7px; line-height: 1.7; font-size: 16px; color: var(--steel);
}
.muted { color: #8a8a8a; }
.small { font-size: 14px; line-height: 1.8; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 1000px; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(40px, 4.6vw, 68px); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #a9afb8; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lead { color: #c3c8ce; }
.section--ink .sub { color: #c3c8ce; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  font-family: var(--f-ui); font-weight: 500; font-size: 13px;
  letter-spacing: 1.3px; text-transform: uppercase; text-decoration: none;
  padding: 16px 30px; background: var(--orange); color: #fff;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn::after { content: "→"; font-size: 14px; transform: translateY(-1px); }
.btn:hover { background: var(--orange-deep); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: var(--ink-3); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 12px 22px; font-size: 12px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- utility bar ---------- */
.util {
  background: var(--ink); color: #8b929b; font-family: var(--f-ui);
  font-size: 12.5px; letter-spacing: .3px; line-height: 1.6;
}
.util .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 9px; }
.util a { text-decoration: none; color: #c8cdd3; }
.util a:hover { color: var(--orange); }
.util__sep { color: #3c434b; margin-inline: 10px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand__txt { display: none; }
@media (min-width: 1500px) {
  .brand__txt { display: block; border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
  .brand__txt b {
    display: block; white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: 14px;
    letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); line-height: 1.3;
  }
  .brand__txt span { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #9a9a9a; }
}
.menu { display: none; align-items: center; gap: clamp(12px, 1.35vw, 24px); }
@media (min-width: 1280px) { .menu { display: flex; } }
@media (min-width: 1280px) and (max-width: 1439px) {
  .menu { gap: 15px; }
  .menu > a, .menu .has-sub > a { font-size: 13px; letter-spacing: .7px; }
}
.menu > a, .menu .has-sub > a {
  position: relative; white-space: nowrap; text-decoration: none; color: var(--ink); padding-block: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
  letter-spacing: .9px; text-transform: uppercase; white-space: nowrap;
}
.menu > a::after, .menu .has-sub > a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0;
  background: var(--orange); transition: width .22s ease;
}
.menu > a:hover::after, .menu > a[aria-current]::after,
.menu .has-sub:hover > a::after, .menu .has-sub > a[aria-current]::after { width: 100%; }
.menu > a[aria-current], .menu .has-sub > a[aria-current] { color: var(--orange); }
.hdr__cta { display: none; }
@media (min-width: 1440px) { .hdr__cta { display: inline-flex; } }
.burger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; padding: 12px 16px; background: var(--ink); color: #fff; border: 0; cursor: pointer;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
}
@media (min-width: 1280px) { .burger { display: none; } }
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--ink); color: #fff;
  display: none; flex-direction: column; padding: 20px var(--gut) 40px; overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer__top img { height: 52px; background: #fff; padding: 6px; }
.drawer__close { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.drawer a.drawer__link {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none;
  font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .9px; text-transform: uppercase;
}
.drawer a.drawer__link:hover { color: var(--orange); }
.drawer__foot { margin-top: 28px; font-family: var(--f-ui); font-size: 13.5px; color: #979ea7; line-height: 2; }
.drawer__foot a { color: var(--orange); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(6,8,10,.95) 0%, rgba(6,8,10,.86) 38%, rgba(6,8,10,.42) 72%, rgba(6,8,10,.28) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(64px, 8.5vw, 128px) clamp(56px, 7vw, 104px); }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 22px; }
.hero__intro { max-width: 60ch; color: #cfd4da; font-size: 17px; line-height: 1.95; }
.hero--home .wrap { min-height: clamp(500px, 70vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero--page .wrap { min-height: clamp(280px, 34vw, 400px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero--page h1 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 14px; }
.hero__bar { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 3; }
.crumb {
  font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: #98a0a9; margin-bottom: 16px;
}
.crumb a { text-decoration: none; }
.crumb i { color: var(--orange); font-style: normal; margin-inline: 8px; }

/* ---------- stats strip ---------- */
.stats { background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px clamp(16px, 2vw, 32px); border-inline-end: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat b {
  display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px);
  color: #fff; letter-spacing: .5px; line-height: 1;
}
.stat span {
  display: block; margin-top: 10px; font-family: var(--f-ui); font-size: 11.5px;
  letter-spacing: 1.6px; text-transform: uppercase; color: #8b929b; line-height: 1.6;
}
.stat i { font-style: normal; color: var(--orange); }

/* ---------- editorial split ---------- */
.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--wide-img { grid-template-columns: .85fr 1.15fr; }
  .split--rev > *:first-child { order: 2; }
}
.split figure { margin: 0; position: relative; }
.split figure > img { width: 100%; height: clamp(300px, 38vw, 560px); object-fit: cover; }
.split figure.is-contain > img { object-fit: contain; background: var(--sand); padding: clamp(20px, 3vw, 44px); }
.figcap {
  font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: #9a9a9a; margin-top: 12px;
}
.badge {
  position: absolute; bottom: 0; left: 0; background: var(--orange); color: #fff;
  padding: 16px 24px; font-family: var(--f-head); font-weight: 600; letter-spacing: .9px;
}
.badge b { display: block; font-size: 30px; line-height: 1; }
.badge span { display: block; font-family: var(--f-ui); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; margin-top: 6px; opacity: .92; }
.stack-img { position: relative; }
.stack-img img:last-child {
  position: absolute; right: -8%; bottom: -12%; width: 46%; height: auto;
  border: 8px solid #fff; box-shadow: 0 22px 48px -26px rgba(0,0,0,.6);
}
@media (max-width: 939px) { .stack-img img:last-child { position: static; width: 100%; border: 0; box-shadow: none; margin-top: 14px; } }

/* ---------- numbered group index ---------- */
.grp { border-top: 1px solid var(--line); }
.grp__row {
  display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 16px 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: .2s;
}
@media (min-width: 940px) {
  .grp__row { grid-template-columns: 120px minmax(0,1.05fr) minmax(0,1.35fr) 120px; gap: 30px; padding: 0; }
  .grp__row > img { height: 132px; width: 120px; object-fit: cover; }
}
.grp__row > img { width: 100%; height: 150px; object-fit: cover; }
.grp__row:hover { background: #fff; }
.grp__row:hover .grp__name { color: var(--orange); }
.grp__meta { display: flex; align-items: baseline; gap: 12px; }
.grp__no { font-family: var(--f-ui); font-size: 12px; letter-spacing: 1.6px; color: var(--orange); }
.grp__name {
  font-family: var(--f-head); font-weight: 600; font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: .9px; text-transform: uppercase; color: var(--ink); line-height: 1.25; transition: .2s;
}
.grp__desc { font-size: 15px; line-height: 1.85; }
.grp__go { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.grp__go::after { content: " →"; color: var(--orange); }

/* ---------- capability grid ---------- */
.caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.caps > a { background: #fff; padding: 26px 24px; text-decoration: none; display: block; transition: .2s; }
.caps > a:hover { background: var(--ink); }
.caps > a:hover h3, .caps > a:hover p { color: #fff; }
.caps img { height: 40px; width: auto; margin-bottom: 16px; object-fit: contain; }
.caps h3 { font-size: 15px; margin-bottom: 6px; transition: .2s; }
.caps p { font-size: 13.5px; line-height: 1.7; margin: 0; color: #8d8d8d; transition: .2s; letter-spacing: .3px; }
.caps--dark { background: var(--line-dark); border-color: var(--line-dark); }
.caps--dark > a { background: var(--ink); }
.caps--dark > a:hover { background: var(--ink-3); }
.caps--dark h3 { color: #fff; }
.caps--dark p { color: #8b929b; }

/* ---------- full-bleed visual band ---------- */
.band { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 940px) { .band--4 { grid-template-columns: repeat(4, 1fr); } .band--3 { grid-template-columns: repeat(3, 1fr); } }
.band figure { margin: 0; position: relative; overflow: hidden; }
.band img { width: 100%; height: clamp(180px, 20vw, 300px); object-fit: cover; transition: transform .6s ease; }
.band figure:hover img { transform: scale(1.04); }
.band figcaption {
  position: absolute; left: 0; bottom: 0; width: 100%; padding: 16px 18px;
  background: linear-gradient(transparent, rgba(6,8,10,.88));
  color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
}

/* ---------- quote / statement ---------- */
.statement { position: relative; color: #fff; overflow: hidden; }
.statement img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; background: rgba(6,8,10,.8); }
.statement .wrap { position: relative; z-index: 2; padding-block: clamp(60px, 7vw, 108px); }
.statement p {
  font-family: var(--f-head); font-weight: 500; text-transform: none; letter-spacing: .3px;
  font-size: clamp(20px, 2.2vw, 30px); line-height: 1.5; color: #fff; max-width: 26ch;
}
.statement .kicker { color: var(--orange); }

/* ---------- timeline ---------- */
.tl { position: relative; }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; left: 7px; width: 1px; background: var(--line-dark); }
@media (min-width: 940px) { .tl::before { left: 50%; } }
.tl__item { position: relative; padding-left: 38px; padding-block: 14px; }
.tl__item::before {
  content: ""; position: absolute; left: 0; top: 24px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 2px var(--orange);
}
@media (min-width: 940px) {
  .tl__item { width: 50%; padding: 18px 54px 18px 0; text-align: right; }
  .tl__item::before { left: auto; right: -7px; }
  .tl__item:nth-child(even) { margin-left: 50%; padding: 18px 0 18px 54px; text-align: left; }
  .tl__item:nth-child(even)::before { left: -7px; right: auto; }
}
.tl__year { font-family: var(--f-head); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); color: var(--orange); line-height: 1; letter-spacing: .5px; }
.tl__txt {
  font-family: var(--f-head); font-weight: 600; font-size: 14.5px; letter-spacing: .8px;
  text-transform: uppercase; line-height: 1.7; color: #fff; margin-top: 8px;
}

/* ---------- spec table ---------- */
.spec { width: 100%; border-collapse: collapse; }
.spec td { padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; line-height: 1.7; vertical-align: top; }
.spec tr:first-child td { border-top: 1px solid var(--line-dark); }
.spec td:first-child {
  font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: 1.2px;
  text-transform: uppercase; color: #fff; width: 40%; padding-inline-end: 20px;
}
.spec--light td { border-color: var(--line); }
.spec--light td:first-child { color: var(--ink); }

/* ---------- feature list ---------- */
.flist { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 780px) { .flist { grid-template-columns: 1fr 1fr; } }
.flist > div { background: #fff; padding: 24px 26px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.flist span.n { font-family: var(--f-ui); font-size: 12px; letter-spacing: 1.4px; color: var(--orange); padding-top: 3px; }
.flist h3 { font-size: 15px; margin-bottom: 4px; }
.flist p { font-size: 14px; line-height: 1.8; margin: 0; }

/* ---------- storage / type cards ---------- */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.type { background: #fff; padding: 28px 24px; position: relative; transition: .2s; }
.type::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--orange); transition: width .25s; }
.type:hover::before { width: 100%; }
.type img { height: 46px; width: auto; margin-bottom: 16px; }
.type h3 { font-size: 14px; margin: 0; }

/* ---------- gallery ---------- */
.gal { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 940px) { .gal { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } .gal a.big { grid-column: span 2; grid-row: span 2; } }
.gal a { display: block; overflow: hidden; position: relative; }
.gal img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; transition: transform .6s ease; }
.gal a:hover img { transform: scale(1.05); }

/* ---------- certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.cert { border: 1px solid var(--line); background: #fff; text-decoration: none; display: block; transition: .25s; }
.cert:hover { box-shadow: 0 20px 42px -26px rgba(0,0,0,.5); transform: translateY(-3px); border-color: #d5d3cf; }
.cert__img { height: 230px; display: grid; place-items: center; background: var(--sand); padding: 14px; }
.cert__img img { max-height: 100%; width: auto; object-fit: contain; }
.cert__cap {
  padding: 14px 16px; font-family: var(--f-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .8px; text-transform: uppercase; color: var(--ink); border-top: 1px solid var(--line);
}

/* ---------- documents ---------- */
.docs { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.doc { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 18px; align-items: center; background: var(--ink); padding: 20px 22px; text-decoration: none; transition: .2s; }
.doc:hover { background: var(--ink-3); }
.doc__ext { font-family: var(--f-ui); font-weight: 700; font-size: 11.5px; letter-spacing: 1px; color: #fff; background: var(--orange); padding: 8px 0; text-align: center; }
.doc__name { color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 14.5px; letter-spacing: .7px; }
.doc__dl { font-family: var(--f-ui); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--orange); white-space: nowrap; }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  cursor: pointer; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--f-head); font-weight: 600; font-size: 14.5px; letter-spacing: .8px;
  text-transform: uppercase; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--orange); font-size: 20px; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc__body { padding-bottom: 22px; font-size: 15px; line-height: 1.95; }

/* ---------- contact ---------- */
.offices { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.office { border-left: 2px solid var(--orange); padding-left: 20px; }
.office h3 { font-size: 14px; margin-bottom: 10px; }
.office p { font-size: 15px; line-height: 1.9; margin: 0 0 4px; }
.office a { color: var(--orange); text-decoration: none; }
.office a:hover { text-decoration: underline; }
.form { display: grid; gap: 14px; }
.form input, .form textarea {
  width: 100%; padding: 15px 17px; border: 1px solid var(--line); background: #fff;
  font-family: var(--f-body); font-weight: 500; font-size: 15px; letter-spacing: .4px; color: var(--ink);
}
.form input::placeholder, .form textarea::placeholder { color: #a4a4a4; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: -2px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 700px) { .form .row { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--ink-2); color: #a9afb8; border-top: 3px solid var(--orange); }
.cta .wrap { display: grid; gap: 22px; align-items: center; padding-block: clamp(44px, 5vw, 72px); }
@media (min-width: 940px) { .cta .wrap { grid-template-columns: minmax(0,1fr) auto; } }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; font-size: 15.5px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #838a93; font-size: 14.5px; line-height: 1.95; }
.foot .wrap { padding-block: clamp(44px, 5.4vw, 72px) 0; }
.foot__grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot__brand img { height: 70px; background: #fff; padding: 8px; margin-bottom: 16px; }
.foot h4 { color: #fff; font-size: 12px; letter-spacing: 1.8px; margin-bottom: 16px; }
.foot a { text-decoration: none; }
.foot nav a { display: block; padding-block: 4px; font-size: 14px; }
.foot a:hover { color: var(--orange); }
.foot__bar {
  margin-top: 40px; border-top: 1px solid var(--line-dark); padding-block: 18px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: .6px; color: #6c737c;
}

/* ---------- preview-only bar ---------- */
.pv {
  background: #000; color: #fff; font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 9px var(--gut); display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.pv a { color: #9aa1a9; text-decoration: none; }
.pv a:hover { color: var(--orange); }
.pv b { color: var(--orange); }
.pv span { color: #5a6069; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- dropdown navigation (real Algarmani menu structure) ---------- */
.menu .has-sub { position: relative; }
.menu .has-sub > a { display: inline-flex; align-items: center; gap: 7px; }
.menu .has-sub > a::before { content: ""; }
.menu .caret { font-size: 9px; color: var(--orange); transform: translateY(1px); }
.subm {
  position: absolute; top: 100%; left: -18px; min-width: 306px; background: #fff;
  border-top: 3px solid var(--orange); box-shadow: 0 26px 50px -22px rgba(0,0,0,.45);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease; z-index: 70;
}
.menu .has-sub:hover .subm, .menu .has-sub:focus-within .subm { opacity: 1; visibility: visible; transform: translateY(0); }
.subm a {
  display: block; padding: 12px 22px; text-decoration: none; color: var(--steel);
  font-family: var(--f-head); font-weight: 600; font-size: 13px; letter-spacing: .8px;
  text-transform: uppercase; line-height: 1.5; border-left: 2px solid transparent;
}
.subm a:hover { background: var(--sand); color: var(--ink); border-left-color: var(--orange); }
.drawer__sub { padding: 4px 0 12px; }
.drawer__sub a {
  display: block; padding: 10px 0 10px 18px; text-decoration: none; color: #9aa1a9;
  font-family: var(--f-head); font-weight: 600; font-size: 13.5px; letter-spacing: .8px; text-transform: uppercase;
  border-left: 1px solid var(--line-dark);
}
.drawer__sub a:hover { color: var(--orange); }

/* responsive checks: 320 / 375 / 414 / 768 / 1024 / 1366 / 1920 */
@media (max-width: 360px) {
  .stats__grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
@media (min-width: 1600px) { :root { --maxw: 1460px; } }

/* =============================================================
   WordPress integration layer
   ============================================================= */
.pv { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: #fff; padding: 12px 18px; z-index: 999; }
.skip:focus { left: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.hdr { position: sticky; top: 0; z-index: 60; }
.hdr.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.hdr__tools { display: flex; align-items: center; gap: 12px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 70; border: 0; }
.drawer { z-index: 80; }
.drawer__cta { margin-top: 26px; }
.drawer__sub { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 14px 16px; border-left: 2px solid var(--line); margin-bottom: 10px; }
.drawer__sub a { font-family: var(--f-ui); font-size: 14px; color: #555; text-decoration: none; }

.menu .has-sub.is-open .subm { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

/* sections built from real page content */
.sec__text > *:first-child { margin-top: 0; }
.sec__sub { font-size: 17px; margin: 26px 0 10px; }
.sec__fig { margin: 0; }
.sec__fig img { width: 100%; height: clamp(280px, 34vw, 520px); object-fit: cover; }
.sec__fig.is-contain img { height: auto; object-fit: contain; background: var(--sand); padding: 22px; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; line-height: 1.8; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--orange); }
.tablewrap { overflow-x: auto; margin: 20px 0; }
.tablewrap table { width: 100%; border-collapse: collapse; }
.tablewrap th, .tablewrap td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.embed { position: relative; padding-top: 56.25%; margin: 24px 0; background: var(--sand); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.iconrow { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.iconrow__i img { width: 56px; height: 56px; object-fit: contain; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 34px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.10); }
.card__img img { width: 100%; height: 210px; object-fit: cover; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.card__title { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; font-size: 15px; color: #000; line-height: 1.5; }
.card__text { font-size: 15px; line-height: 1.8; }
.card__go { font-family: var(--f-ui); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange); margin-top: auto; }

/* documents */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 30px; }
.doc { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 18px 20px; text-decoration: none; transition: .2s; }
.doc:hover { border-color: var(--orange); }
.doc__ext { font-family: var(--f-ui); font-size: 11px; letter-spacing: 1px; background: var(--ink); color: #fff; padding: 6px 9px; }
.doc__label { flex: 1; font-size: 14px; line-height: 1.6; color: #222; }
.doc__go { font-family: var(--f-ui); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--orange); }

/* gallery + lightbox */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.gal__i img { width: 100%; height: 220px; object-fit: cover; transition: .3s; }
.gal__i:hover img { opacity: .88; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 5vh 5vw; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox__x { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* prose (classic/Gutenberg content) */
.prose { max-width: 78ch; }
.prose img { height: auto; margin: 26px 0; }
.prose h2, .prose h3 { margin-top: 40px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose blockquote { border-left: 3px solid var(--orange); margin: 28px 0; padding: 4px 0 4px 22px; font-size: 18px; }
.page-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 48px; }
@media (min-width: 1024px) { .page-layout:has(.sidebar) { grid-template-columns: minmax(0,1fr) 320px; } }
.sidebar .widget { margin-bottom: 34px; }

/* forms */
.formwrap input[type=text], .formwrap input[type=email], .formwrap input[type=tel],
.formwrap textarea, .formwrap select, .sform__in, .woo input, .woo textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); font-family: var(--f-body); font-size: 15px; background: #fff;
}
.formwrap textarea { min-height: 150px; }
.formwrap { display: grid; gap: 14px; max-width: 640px; }
.sform { display: flex; gap: 10px; max-width: 560px; margin: 20px 0; }

/* timeline */
.tl__i { display: grid; grid-template-columns: 110px 1fr; gap: 20px; }

/* footer additions */
.foot__mail { color: var(--orange); }
.foot__inline { display: flex; gap: 18px; flex-wrap: wrap; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 0; background: var(--orange); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.to-top.is-on { opacity: 1; pointer-events: auto; }

/* WooCommerce */
.woo ul.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 26px; list-style: none; padding: 0; }
.woo ul.products li.product a img { width: 100%; height: 260px; object-fit: cover; }
.woo .price { font-family: var(--f-ui); color: #000; }
.woo .button, .woo button.button { background: var(--orange); color: #fff; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: 1.2px; border: 0; padding: 13px 22px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* pagination + post nav */
.pagination, .post-nav { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--f-ui); font-size: 14px; margin-top: 34px; }
.post-nav { justify-content: space-between; }

@media (max-width: 640px) {
  .tl__i { grid-template-columns: 1fr; gap: 6px; }
  .card__img img, .gal__i img { height: 190px; }
}

/* fixes verified in the browser */
[hidden] { display: none !important; }
.brand__tag { display: none; }
@media (min-width: 1600px) {
  .brand__tag { display: block; max-width: 220px; font-size: 11px; line-height: 1.5; letter-spacing: .6px; text-transform: uppercase; color: #8a8a8a;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Contact and search forms coming from existing plugins */
.sec input[type="text"], .sec input[type="email"], .sec input[type="tel"], .sec input[type="url"],
.sec input[type="search"], .sec textarea, .sec select {
  width: 100%; max-width: 640px; padding: 14px 16px; border: 1px solid var(--line);
  background: #fff; font-family: var(--f-body); font-size: 15px; color: var(--ink); border-radius: 0;
}
.sec textarea { min-height: 160px; }
.sec input:focus, .sec textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.sec input[type="submit"], .sec button[type="submit"] {
  width: auto; padding: 15px 30px; background: var(--accent); color: #fff; border: 0; cursor: pointer;
  font-family: var(--f-ui); font-weight: 500; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase;
}
.sec input[type="submit"]:hover, .sec button[type="submit"]:hover { background: var(--ink); }
.sec table td, .sec table th { border: 0; padding: 0 0 12px; }
