/* ============================================================
   ADITECH TECHNICAL SERVICES — design system
   Palette anchored to the teal logo + amber CTA accent.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --surface: #F4F7F7;
  --surface-2: #EAF1F1;
  --text: #16201F;
  --muted: #5C6B6C;
  --primary: #1F8A8A;
  --primary-600: #1A7878;
  --secondary: #0F4C4C;
  --secondary-900: #0A3838;
  --accent: #F2A007;
  --accent-600: #D98C00;
  --border: #DDE6E6;
  --border-dark: rgba(255,255,255,0.12);
  --focus: #1F8A8A;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(16,32,31,0.04), 0 1px 3px rgba(16,32,31,0.06);
  --shadow-md: 0 6px 16px rgba(16,32,31,0.06), 0 2px 6px rgba(16,32,31,0.05);
  --shadow-lg: 0 24px 60px -20px rgba(15,76,76,0.28), 0 8px 24px rgba(16,32,31,0.08);
  --shadow-teal: 0 18px 40px -16px rgba(31,138,138,0.45);
  --shadow-amber: 0 12px 26px -10px rgba(242,160,7,0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--primary); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--light { color: #7fd6d2; }
.eyebrow--center { justify-content: center; }

.h-display { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
.h-1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.h-2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }

.section-head { max-width: 640px; }
.section-head .h-1 { margin-top: 18px; }
.section-head p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: #1f1500; box-shadow: var(--shadow-amber); }
.btn--accent:hover { background: var(--accent-600); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--primary-600); }
.btn--dark { background: var(--secondary); color: #fff; }
.btn--dark:hover { background: var(--secondary-900); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn--wa { background: #25D366; color: #08361b; }
.btn--wa:hover { background: #1fbb59; }
.btn--lg { --pad-y: 18px; --pad-x: 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--sm { --pad-y: 11px; --pad-x: 18px; font-size: 0.86rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.nav--scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav--scrolled .nav__inner { height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; transition: height .3s; }
.nav--scrolled .brand img { height: 46px; }
.nav--solid { background: #fff; border-bottom-color: var(--border); }

/* transparent nav over the dark hero — light text for contrast */
.nav--over .nav__link { color: rgba(255,255,255,0.88); }
.nav--over .nav__link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav--over .nav__link--active { color: #fff; }
.nav--over .nav__phone { color: #fff; }
.nav--over .nav__phone svg { color: var(--accent); }
.nav--over .nav__burger { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.nav--over .nav__burger span { background: #fff; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  position: relative;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--primary); background: var(--surface); }
.nav__link--active { color: var(--primary); }
.nav__link--active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  color: var(--secondary);
}
.nav__phone svg { width: 16px; height: 16px; color: var(--primary); }

.nav__burger {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 95; visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(10,30,30,0.5);
  opacity: 0; transition: opacity .3s;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .36s var(--ease);
  display: flex; flex-direction: column; padding: 22px;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--border); background:#fff; display:flex; align-items:center; justify-content:center; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__links { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.drawer__link {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  padding: 14px 12px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between;
  color: var(--text);
}
.drawer__link:hover, .drawer__link--active { background: var(--surface); color: var(--primary); }
.drawer__link svg { width: 18px; height: 18px; opacity: .5; }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.drawer__contact { font-size: 0.92rem; color: var(--muted); display:flex; flex-direction:column; gap:6px; }
.drawer__contact a { font-weight: 600; color: var(--secondary); font-family: var(--font-head); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 84px; background: var(--secondary); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  transition: opacity 1.2s ease, transform 7s ease;
  transform: scale(1.06);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,30,30,0.55) 0%, rgba(10,40,40,0.35) 35%, rgba(8,30,30,0.78) 100%),
    linear-gradient(100deg, rgba(10,40,40,0.9) 0%, rgba(15,60,60,0.45) 55%, rgba(15,60,60,0.15) 100%);
}
.hero__grid-overlay {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(80px, 13vw, 150px); }
.hero__content { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--accent); }
.hero__tagline {
  color: #bfe6e3; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: 0.01em; margin-top: 22px;
}
.hero__sub { color: rgba(255,255,255,0.86); font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-top: 18px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__dots { display: flex; gap: 8px; margin-top: 44px; }
.hero__dot { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.28); border:0; padding:0; transition: background .3s, width .3s; }
.hero__dot.is-active { background: var(--accent); width: 48px; }

.hero__badges {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding-block: 26px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__badge { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.92); font-weight: 500; font-size: 0.95rem; }
.hero__badge svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   DIVISION SPLIT
   ============================================================ */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.division {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px; color: #fff; isolation: isolate;
}
.division__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .7s var(--ease); }
.division:hover .division__bg { transform: scale(1.07); }
.division__tint { position: absolute; inset: 0; z-index: -1; }
.division--tech .division__tint { background: linear-gradient(180deg, rgba(15,76,76,0.25) 0%, rgba(10,40,40,0.92) 88%); }
.division--mat .division__tint { background: linear-gradient(180deg, rgba(20,30,30,0.25) 0%, rgba(15,40,40,0.92) 88%), linear-gradient(0deg, rgba(242,160,7,0.16), transparent 60%); }
.division__num { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.2em; opacity: .8; }
.division h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 12px; }
.division p { color: rgba(255,255,255,0.85); margin-top: 12px; max-width: 42ch; }
.division__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 0.78rem; font-weight: 600; font-family: var(--font-head);
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2); color: #fff;
}
.division__link { margin-top: 24px; color: #fff; }
.division__link svg { color: var(--accent); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.grid-cards { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 28px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; min-height: 230px;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { width: 100%; }
.svc-card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--primary); margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.svc-card:hover .svc-card__icon { background: var(--primary); color: #fff; }
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; color: var(--border); letter-spacing: .1em; }
.svc-card h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
.svc-card p { color: var(--muted); font-size: 0.96rem; margin-top: 10px; flex-grow: 1; }
.svc-card__more { margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.svc-card:hover .svc-card__more { opacity: 1; transform: translateX(0); }

/* image-topped service card (services page) */
.svc-feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-feature__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--surface-2); }
.svc-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-feature:hover .svc-feature__media img { transform: scale(1.06); }
.svc-feature__badge {
  position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(4px); display:flex; align-items:center; justify-content:center; color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.svc-feature__badge svg { width: 24px; height: 24px; }
.svc-feature__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.svc-feature__body h3 { font-size: 1.24rem; }
.svc-feature__body p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; flex-grow: 1; }
.svc-feature__list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.svc-feature__list li { font-size: 0.8rem; font-weight: 600; font-family: var(--font-head); color: var(--secondary); background: var(--surface); padding: 5px 11px; border-radius: 999px; }

/* ============================================================
   MATERIALS
   ============================================================ */
.mat-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; gap: 14px;
}
.mat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.mat-card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--surface); color: var(--secondary); display: flex; align-items:center; justify-content:center; }
.mat-card__icon svg { width: 26px; height: 26px; }
.mat-card h3 { font-size: 1.12rem; }
.mat-card p { color: var(--muted); font-size: 0.92rem; flex-grow: 1; }
.mat-card__enquire {
  font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.mat-card__enquire svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.mat-card:hover .mat-card__enquire svg { transform: translateX(3px); }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--muted); font-size: 0.96rem;
}
.notice svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.notice strong { color: var(--text); }

/* ============================================================
   PROJECTS / GALLERY
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; color: var(--muted); transition: all .2s;
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter--active { background: var(--secondary); border-color: var(--secondary); color: #fff; }

.gallery { columns: 4; column-gap: 18px; }
.gallery__item {
  break-inside: avoid; margin-bottom: 18px; position: relative; border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; background: var(--surface-2); display: block; width: 100%; border: 0; padding: 0;
  box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; height: auto; transition: transform .5s var(--ease); display: block; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(0deg, rgba(10,40,40,0.85), transparent 70%);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__cat { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gallery__cap { color: #fff; font-weight: 600; font-family: var(--font-head); margin-top: 4px; }
.gallery__zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: all .3s; }
.gallery__item:hover .gallery__zoom { opacity: 1; transform: scale(1); }
.gallery__zoom svg { width: 18px; height: 18px; color: var(--secondary); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; }
.lightbox.is-open { display: block; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(8,22,22,0.92); backdrop-filter: blur(6px); animation: fade .3s; }
.lightbox__stage { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 5vw, 64px); }
.lightbox__img { max-width: min(92vw, 1000px); max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); background:#fff; }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 600; }
.lightbox__cap span { display:block; color: var(--accent); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.2); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__prev { left: clamp(10px, 3vw, 36px); }
.lightbox__next { right: clamp(10px, 3vw, 36px); }
.lightbox__close { position: absolute; top: 22px; right: 22px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: #fff; display:flex; align-items:center; justify-content:center; }
.lightbox__close svg { width: 22px; height: 22px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   WHY / FEATURE STRIP
   ============================================================ */
.why { background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.why__grid-bg {
  position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000, transparent 70%);
}
.why .eyebrow { color: #6fd0cc; }
.why h2 { color: #fff; }
.why__lead { color: rgba(255,255,255,0.82); }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__item {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md); padding: 26px; transition: background .3s, transform .3s var(--ease);
}
.why__item:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.why__item-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(31,138,138,0.25); color: var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom: 16px; }
.why__item-icon svg { width: 26px; height: 26px; }
.why__item h3 { color: #fff; font-size: 1.12rem; }
.why__item p { color: rgba(255,255,255,0.74); font-size: 0.94rem; margin-top: 8px; }

/* ============================================================
   PROJECTS TEASER (home)
   ============================================================ */
.teaser-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 200px; gap: 16px; }
.teaser-tile { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.teaser-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.teaser-tile:hover img { transform: scale(1.06); }
.teaser-tile--big { grid-row: span 2; grid-column: span 1; }
.teaser-tile--wide { grid-column: span 2; }
.teaser-tile__cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.teaser-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,40,40,.6), transparent 55%); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); color: #fff; }
.cta-band__mark {
  position: absolute; right: -40px; bottom: -60px; width: 360px; height: 360px; opacity: .12;
  background-image: url("../media/logo.webp"); background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(0) invert(1);
}
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin-top: 14px; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { background: var(--secondary); color: #fff; padding-top: 84px; position: relative; overflow: hidden; }
.page-hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 90% at 90% 30%, #000, transparent 72%);
}
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(54px, 8vw, 92px); }
.page-hero .crumbs { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.6); font-size: .86rem; font-family: var(--font-head); font-weight: 500; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs svg { width: 14px; height: 14px; opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 18px; max-width: 16ch; }
.page-hero p { color: rgba(255,255,255,0.84); margin-top: 18px; max-width: 56ch; font-size: 1.08rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 38px; position: relative; }
.mv-card__tag { font-family: var(--font-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; color: var(--primary); }
.mv-card blockquote { margin: 18px 0 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--text); }
.mv-card__quote-mark { position: absolute; top: 26px; right: 32px; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--surface-2); font-weight: 800; }

.group-card { background: var(--secondary); color: #fff; border-radius: var(--r-lg); padding: clamp(30px, 4vw, 48px); position: relative; overflow: hidden; }
.group-card .eyebrow { color: #6fd0cc; }
.group-card h3 { color: #fff; }
.group-card p { color: rgba(255,255,255,0.82); }
.group-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.group-chip { display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 16px 20px; min-width: 180px; }
.group-chip strong { font-family: var(--font-head); font-size: 1.02rem; }
.group-chip span { font-size: .82rem; color: rgba(255,255,255,0.6); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.stat-cell { padding: 28px; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: 0; }
.stat-cell strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--secondary); }
.stat-cell span { color: var(--muted); font-size: .92rem; margin-top: 4px; display: block; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); color: var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink: 0; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.04rem; }
.contact-card__lines { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.contact-card__lines a, .contact-card__lines span { color: var(--muted); font-size: .96rem; }
.contact-card__lines a:hover { color: var(--primary); }

.map-placeholder {
  margin-top: 16px; border: 1.5px dashed var(--border); border-radius: var(--r-md); background:
    repeating-linear-gradient(45deg, var(--surface), var(--surface) 14px, #fff 14px, #fff 28px);
  min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--muted);
}
.map-placeholder svg { width: 34px; height: 34px; color: var(--primary); }
.map-placeholder strong { font-family: var(--font-head); color: var(--secondary); }
.map-placeholder code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82rem; background: #fff; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border); }

/* form */
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--secondary); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(31,138,138,0.12); }
.field input::placeholder, .field textarea::placeholder { color: #9aabab; }
.form__hint { font-size: .84rem; color: var(--muted); margin-top: 6px; display: flex; gap: 8px; align-items: flex-start; }
.form__success { text-align: center; padding: 30px 10px; }
.form__success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(37,211,102,0.14); color: #1fbb59; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form__success-icon svg { width: 32px; height: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--secondary-900); color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.footer__grid-bg { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 100% at 15% 0%, #000, transparent 70%); }
.footer__top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: clamp(48px, 6vw, 76px); }
.footer__brand img { height: 56px; filter: brightness(0) invert(1); opacity: .96; }
.footer__brand p { margin-top: 18px; max-width: 32ch; font-size: .95rem; line-height: 1.65; }
.footer__tagline { color: var(--accent) !important; font-family: var(--font-head); font-weight: 600; margin-top: 16px !important; font-size: .92rem; }
.footer__col h4 { color: #fff; font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-bottom: 12px; }
.footer__contact-line svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer__contact-line a:hover { color: #fff; }
.footer__bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.1); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   FLOATING ACTIONS / MOBILE BAR
   ============================================================ */
.fab { position: fixed; right: 22px; bottom: 26px; z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.fab__btn { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); border: 0; transition: transform .25s var(--ease); position: relative; }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 28px; height: 28px; }
.fab__wa { background: #25D366; color: #fff; }
.fab__wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: none; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(16,32,31,0.08); padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); }
.mbar__inner { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.mbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 9px 6px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: .74rem; border: 0; min-height: 52px; }
.mbar__btn svg { width: 21px; height: 21px; }
.mbar__call { background: var(--surface); color: var(--secondary); }
.mbar__wa { background: #25D366; color: #fff; }
.mbar__quote { background: var(--accent); color: #1f1500; }

/* ============================================================
   ANIMATIONS / reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__slide { transition: opacity .4s; transform: none; }
  * { scroll-behavior: auto !important; }
}

body.no-scroll { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 3; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .divisions { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .teaser-tile--wide { grid-column: span 2; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 0; }
  .mbar { display: block; }
  .fab { bottom: 90px; right: 16px; }
  .fab__btn { width: 52px; height: 52px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { flex: 1 1 auto; }
  .group-chip { min-width: 140px; flex: 1; }
  .teaser-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .gallery { columns: 1; }
  .mv-card { padding: 26px; }
}

/* desktop: hide mobile-only spacer */
@media (min-width: 721px) {
  .mbar-spacer { display: none; }
}
.mbar-spacer { height: 74px; }
