/* ============================================================
   Amber Utilities — photo-led engineering-firm build
   Navy + amber · Barlow headings · Inter body · subtle motion
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-700: #103252;
  --navy-900: #061a30;
  --ink: #1c2733;
  --slate: #56657a;
  --slate-light: #8593a6;
  --line: #e4e8ee;
  --grey: #f3f6fa;
  --white: #ffffff;

  --amber: #f5a623;
  --amber-deep: #e08c00;
  --amber-soft: rgba(245, 166, 35, 0.12);

  --r: 10px;
  --r-sm: 7px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.07);
  --shadow: 0 18px 40px -18px rgba(10, 37, 64, 0.25);
  --shadow-lg: 0 34px 64px -26px rgba(10, 37, 64, 0.4);
  --container: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --head: "Barlow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; letter-spacing: -0.01em; color: var(--navy); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

.kicker { font-family: var(--head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.kicker--light { color: #fff; }
.kicker--light::before { background: var(--amber); }
.kicker--amber { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 0.97rem; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy); border-color: var(--amber); box-shadow: 0 10px 22px -10px rgba(245, 166, 35, 0.7); }
.btn--amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-900); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.35s, box-shadow 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; transition: min-height 0.35s; }
.header.is-scrolled { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(12px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.header.is-scrolled .header__inner { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; transition: color 0.35s; }
.header.is-scrolled .brand { color: var(--navy); }
.brand__mark { width: 38px; height: 38px; color: var(--amber); flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--head); }
.brand__text strong { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.04em; }
.brand__text em { font-style: normal; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.3em; opacity: 0.7; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn):not(.nav__phone) { font-family: var(--head); font-weight: 600; font-size: 0.96rem; color: rgba(255, 255, 255, 0.92); position: relative; padding: 3px 0; transition: color 0.25s; }
.header.is-scrolled .nav > a:not(.btn):not(.nav__phone) { color: var(--ink); }
.nav > a:not(.btn):not(.nav__phone)::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--amber); transition: width 0.3s var(--ease); }
.nav > a:not(.btn):not(.nav__phone):hover { color: var(--amber); }
.header.is-scrolled .nav > a:not(.btn):not(.nav__phone):hover { color: var(--amber-deep); }
.nav > a:not(.btn):not(.nav__phone):hover::after { width: 100%; }
.nav__phone { font-family: var(--head); font-weight: 700; color: #fff; font-size: 0.96rem; }
.header.is-scrolled .nav__phone { color: var(--navy); }
.nav__phone:hover { color: var(--amber); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, background 0.35s; }
.header.is-scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; padding-top: 78px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(6, 22, 44, 0.92) 0%, rgba(8, 30, 56, 0.78) 42%, rgba(10, 37, 64, 0.34) 100%); }
.hero__inner { padding: 70px 28px 40px; max-width: 880px; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero__title .amber { color: var(--amber); }
.hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, 0.86); max-width: 620px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats { border-top: 1px solid rgba(255, 255, 255, 0.16); background: rgba(6, 22, 44, 0.42); backdrop-filter: blur(4px); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 28px; }
.stat strong { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; line-height: 1; }
.stat span { display: block; margin-top: 7px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { background: var(--navy); color: #fff; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 20px 28px; }
.trust__lead { font-family: var(--head); font-weight: 600; font-size: 0.96rem; color: rgba(255, 255, 255, 0.8); }
.trust__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { font-family: var(--head); font-weight: 600; font-size: 0.84rem; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(245, 166, 35, 0.4); background: var(--amber-soft); color: #fff; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 104px 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #fff; }
.section__head { margin: 0 0 60px; text-align: left; }
.section__title { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; }
.section__head--light .section__title { color: #fff; }
.section__sub { margin-top: 18px; color: var(--slate); font-size: 1.1rem; max-width: 460px; }
/* Editorial split head: title left, intro bottom-right */
.section__head--split { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section--navy .section__head--split, .section--navy .section__head { border-color: rgba(255, 255, 255, 0.16); }
.section__head--split .section__sub { margin: 0 0 4px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.svc { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), z-index 0s; display: flex; flex-direction: column; }
.svc:hover { transform: scale(1.025); z-index: 2; box-shadow: var(--shadow-lg); }
.svc__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__no { position: absolute; top: 0; left: 0; z-index: 2; font-family: var(--head); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.05em; color: var(--navy); background: var(--amber); padding: 8px 13px; }
.svc__no--accent { background: var(--amber); }
.svc__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: 1.45rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.svc__body p { color: var(--slate); font-size: 0.96rem; }

.svc--accent { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc--accent .svc__body { justify-content: center; }
.svc--accent h3 { color: #fff; font-size: 2.4rem; }
.svc--accent p { color: rgba(255, 255, 255, 0.78); }
.svc__tag { font-family: var(--head); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; }
.about__badge { position: absolute; right: -18px; bottom: -22px; background: var(--amber); color: var(--navy); padding: 22px 26px; border-radius: var(--r); box-shadow: var(--shadow); max-width: 210px; }
.about__badge strong { font-family: var(--head); font-weight: 800; font-size: 2.6rem; line-height: 1; display: block; }
.about__badge span { font-family: var(--head); font-weight: 600; font-size: 0.92rem; line-height: 1.3; display: block; margin-top: 6px; }
.about__body h2 { margin-bottom: 20px; }
.about__body p { color: var(--slate); margin-bottom: 16px; font-size: 1.05rem; }
.ticks { list-style: none; margin: 24px 0 32px; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e08c00'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ============================================================
   WHY US
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why__item { padding: 30px 26px; border-radius: var(--r); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.why__item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); border-color: rgba(245, 166, 35, 0.4); }
.why__num { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--amber); display: block; margin-bottom: 14px; }
.why__item h3 { color: #fff; font-size: 1.2rem; margin-bottom: 9px; }
.why__item p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

/* ============================================================
   ACCREDITATIONS
   ============================================================ */
.accred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.accred__card { text-align: center; padding: 40px 30px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.accred__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--amber); }
.accred__logo { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; background: var(--navy); color: var(--amber); font-family: var(--head); font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; }
.accred__card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.accred__card p { color: var(--slate); font-size: 0.95rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(0.2); }
.cta__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 22, 44, 0.88), rgba(10, 37, 64, 0.92)); }
.cta__inner { padding: 96px 28px; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.cta p { color: rgba(255, 255, 255, 0.82); font-size: 1.12rem; margin: 14px 0 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__intro h2 { margin-bottom: 16px; }
.contact__note { color: var(--slate); font-size: 1.05rem; margin-bottom: 32px; }
.contact__details { list-style: none; display: grid; gap: 22px; }
.contact__details li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--amber-soft); display: inline-flex; align-items: center; justify-content: center; }
.contact__ico svg { width: 22px; height: 22px; fill: var(--amber-deep); }
.contact__label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-light); font-weight: 600; font-family: var(--head); }
.contact__details a { font-family: var(--head); font-weight: 700; font-size: 1.15rem; transition: color 0.2s; }
.contact__details a:hover { color: var(--amber-deep); }
.contact__details address { font-style: normal; color: var(--ink); font-weight: 500; line-height: 1.5; }

.contact__form { background: #fff; border-top: 3px solid var(--amber); padding: 40px 38px 36px; box-shadow: var(--shadow-sm); display: grid; gap: 26px; }
.field { display: grid; gap: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field label { font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; transition: color 0.2s; }
.field input, .field select, .field textarea { font-family: var(--head); font-weight: 500; font-size: 1.08rem; color: var(--navy); padding: 8px 0; border: none; border-bottom: 2px solid var(--line); border-radius: 0; background: transparent; transition: border-color 0.25s; width: 100%; }
.field textarea { font-family: var(--body); font-weight: 400; font-size: 1rem; padding: 10px 0; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-light); font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--amber); }
.field:focus-within label { color: var(--amber-deep); }
.contact__form .btn { margin-top: 6px; }
.form__note { font-size: 0.82rem; color: var(--slate-light); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.68); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 28px 50px; }
.brand--footer { color: #fff; margin-bottom: 16px; }
.footer__brand p { font-size: 0.95rem; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255, 255, 255, 0.68); font-size: 0.95rem; padding: 5px 0; transition: color 0.2s, padding-left 0.2s; }
.footer__col a:hover { color: var(--amber); padding-left: 4px; }
.footer__col address { font-style: normal; font-size: 0.95rem; margin-top: 8px; line-height: 1.6; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 28px; font-size: 0.85rem; color: var(--slate-light); }

/* ============================================================
   SCROLL REVEAL (subtle)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .why .reveal:nth-child(2), .accred .reveal:nth-child(2) { transition-delay: 0.08s; }
.services .reveal:nth-child(3), .why .reveal:nth-child(3), .accred .reveal:nth-child(3) { transition-delay: 0.16s; }
.services .reveal:nth-child(4), .why .reveal:nth-child(4) { transition-delay: 0.08s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about__media img { aspect-ratio: 16 / 9; }
  .contact { grid-template-columns: 1fr; gap: 44px; }
  .accred { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 330px); background: var(--navy); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 100px 30px 32px; transform: translateX(100%); transition: transform 0.4s var(--ease); box-shadow: -20px 0 60px -20px rgba(0,0,0,0.5); }
  .nav.is-open { transform: translateX(0); }
  .nav > a:not(.btn) { color: #fff !important; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 22px; }
  body.nav-open { overflow: hidden; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .section { padding: 70px 0; }
  .trust__inner { justify-content: center; text-align: center; }
  .section__head--split { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section__head--split .section__sub { margin: 0; }
  .contact__form { padding: 30px 22px 28px; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .about__badge { right: 12px; bottom: -16px; padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
