/* =========================================================
   ATIS&S — Base + Topbar/Nav + Mobile Overlay Menu
   ========================================================= */

:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #4b5563;

  --text: rgb(38, 37, 37);

  /* Brand from logo */
  --navy: #122a46;
  --navy-2: #0e2036;
  --navy-3: #647d9a;

  --gold: #e4a13c;
  --gold-2: #d7a048;

  /* CTA accent (slightly more “clickable” than gold) */
  --cta: #f59e0b;
  --cta-dark: #d97706;

  --border: rgba(15, 23, 42, 0.12);
  --border-2: rgba(15, 23, 42, 0.08);

  --shadow: 0 18px 40px rgba(12, 22, 36, 0.14);
  --shadow-soft: 0 10px 26px rgba(12, 22, 36, 0.1);

  --radius: 16px;
  --container: 1160px;

  --font:
    "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --display: "Bebas Neue", var(--font);
  --text-normal: "Quicksand", sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Topbar height used for overlay positioning */
  --topbar-h: 100px;

  --about-side-h: 60vh; /* left + right height (same) */
  --about-center-h: 60vh; /* center height (taller) */
  --about-step: 0px; /* how far sides sit lower */
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  /* font-family: var(--text-normal); */

  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

/* Container */
.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* =========================================================
   TOPBAR / HEADER
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--topbar-h);
  background: var(--bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  gap: 15px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: clamp(150px, 16.3vw, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-title {
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: 1px;
  color: var(--text);
}

.brand-sub {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 12px;
  font-weight: 500;
  font-family: var(--text-normal);
  color: var(--text);
  transition:
    background 0.18s var(--ease),
    transform 0.18s var(--ease),
    color 0.18s var(--ease);
}

.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 6px;
  background: #dca551;
  color: #101820;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.24);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #d97706, var(--cta-dark));
  border-radius: 0px;
}

/* =========================================================
   BURGER (premium animated)
   ========================================================= */
.burger {
  display: none;
  width: 52px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
  transition:
    transform 0.18s var(--ease),
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(50, 49, 49, 0.92);
  border-radius: 99px;
  transition:
    transform 0.22s var(--ease),
    top 0.22s var(--ease),
    opacity 0.2s var(--ease);
}

.burger span:nth-child(1) {
  top: 14px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 30px;
}

/* Open state => X */
.burger.open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(8px);
}
.burger.open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* =========================================================
   MOBILE OVERLAY MENU (fullscreen under topbar)
   ========================================================= */
.mobile-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbar-h);
  bottom: 0;
  z-index: 40;

  /* hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);

  background: rgba(14, 32, 54, 0.88);
  backdrop-filter: blur(10px);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-panel {
  height: 100dvh;
  display: grid;
  padding: 0px 16px;
  place-items: center;
  align-content: center;
}

.mobile-nav {
  width: min(560px, 92vw);
  display: grid;
  gap: 18px; /* more spacing looks premium */
}

.mobile-link {
  justify-content: center;
  text-align: center;
}

.mobile-link {
  display: flex;

  border-radius: 16px;

  color: rgba(255, 255, 255, 0.94);
  font-size: 35px;
  font-weight: 200;
  letter-spacing: 0.2px;

  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

/* CTA inside mobile menu */
.mobile-cta {
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: #101820;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.26);
}

.mobile-cta:hover {
  background: linear-gradient(135deg, #ffb224, var(--cta-dark));
}

/* Lock scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* =========================================================
   Responsive behavior
   ========================================================= */
@media (max-width: 920px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-block;
  }
}

/* small tweaks */
@media (max-width: 520px) {
  :root {
    --topbar-h: 74px;
  }
  .brand {
    min-width: 0;
  }
  .brand-sub {
    display: none;
  }
  .brand-title {
    font-size: 2rem;
  }
}
/* =========================================================
   HERO (50vh) + SLANTED BASE — LEFT ALIGNED
   ========================================================= */
.link-hidden {
  display: none;
}
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* fallback color if images aren't loaded */
  background: #1d1d1d;
}

@media (max-width: 920px) {
  .hero {
    min-height: 100dvh;
  }
}

.hero-inspection__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.7) 0%,
    rgba(2, 6, 23, 0.189) 45%,
    rgba(2, 6, 23, 0.076) 100%
  );
}

.hero-testing {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/images/hero3.webp);

  /* fallback color if images aren't loaded */
}

.hero-inspection {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/images/hero4.webp);

  /* fallback color if images aren't loaded */
}
.hero-training {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/images/hero5.webp);

  /* fallback color if images aren't loaded */
}

.hero-contact {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/images/hero6.webp);

  /* fallback color if images aren't loaded */
}

@media (max-width: 900px) {
  .hero-testing,
  .hero-inspection,
  .hero-training,
  .hero-contact {
    min-height: 30vh;
    background-size: cover;
  }

  .hero-inspection__overlay {
    background: #0b122055;
  }
}
/* =========================================================
   HERO BACKGROUND — TRUE 5 IMAGE FADE + KEN BURNS
   No base image: each layer takes turns.
   Total cycle: 50s (10s per image)
   Images: /images/hero1.png ... hero5.png
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}

/* container for all layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* shared layer styling */
.hero-layer {
  position: absolute;
  inset: 0;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  opacity: 0;
  transform-origin: center;
  will-change: opacity, transform;

  /* important: prevents weird snap-back between cycles */
  animation-fill-mode: both;
}

/* images */
.hero-layer.layer1 {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.25)),
    url("/images/hero1.webp");
}
.hero-layer.layer2 {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.25)),
    url("/images/hero2.webp");
}
.hero-layer.layer3 {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.25)),
    url("/images/hero3.webp");
}
.hero-layer.layer4 {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.25)),
    url("/images/hero4.webp");
}
.hero-layer.layer5 {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.25)),
    url("/images/hero5.webp");
}

/* ---------- Fade (one keyframe, delayed per layer) ---------- */
/* 50s total cycle = 10s per image (20% of 50s)
   fade in: 0-4% (2s)
   hold:    4-16% (6s)
   fade out:16-20% (2s)
*/
@keyframes heroFade {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  18% {
    opacity: 1;
  }
  26% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Ken Burns (different per layer) ---------- */
@keyframes heroKen1 {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.22) translate3d(-40px, -22px, 0);
  }
}
@keyframes heroKen2 {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.22) translate3d(44px, -26px, 0);
  }
}
@keyframes heroKen3 {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.22) translate3d(-30px, 34px, 0);
  }
}
@keyframes heroKen4 {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.22) translate3d(34px, 28px, 0);
  }
}
@keyframes heroKen5 {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.22) translate3d(-36px, 18px, 0);
  }
}

/* Apply BOTH animations with matching delays (two delays!) */
.hero-layer.layer1 {
  animation-name: heroFade, heroKen1;
  animation-duration: 50s, 50s;
  animation-timing-function: linear, cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite, infinite;
  animation-delay: 0s, 0s;
}

.hero-layer.layer2 {
  animation-name: heroFade, heroKen2;
  animation-duration: 50s, 50s;
  animation-timing-function: linear, cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite, infinite;
  animation-delay: 10s, 10s;
}

.hero-layer.layer3 {
  animation-name: heroFade, heroKen3;
  animation-duration: 50s, 50s;
  animation-timing-function: linear, cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite, infinite;
  animation-delay: 20s, 20s;
}

.hero-layer.layer4 {
  animation-name: heroFade, heroKen4;
  animation-duration: 50s, 50s;
  animation-timing-function: linear, cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite, infinite;
  animation-delay: 30s, 30s;
}

.hero-layer.layer5 {
  animation-name: heroFade, heroKen5;
  animation-duration: 50s, 50s;
  animation-timing-function: linear, cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite, infinite;
  animation-delay: 40s, 40s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-layer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-layer:not(.layer1) {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-layer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-layer:not(.layer1) {
    display: none;
  }
}
/* Slanted base */
.hero-slope {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  z-index: 1;

  background: var(--bg);

  /* right side higher */
  clip-path: polygon(0 65%, 100% 0%, 100% 100%, 0% 100%);
}

/* Content wrapper */
.hero-inner {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  /* CENTER everything */
  align-items: center;
  justify-content: center;
  text-align: center;

  gap: 18px;

  padding: 40px 0 70px;

  /* keep readable width */
  max-width: 1000px;

  /* this centers the container itself */
  margin: 0 auto;
  padding: 20px;
}

/* Title */
.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 0.95;
  font-size: clamp(4rem, 5vw, 5rem);
  color: white;
}

/* Lead text */
.hero-lead {
  margin: 0;

  font-family: var(--font);
  color: white;
  font-size: clamp(16px, 1.8vw, 25px);
  font-weight: 100;
  line-height: 1.4;

  /* font-size: clamp(1.05rem, 1.2vw, 1.2rem); */
  /* max-width: 60ch; */
}

@media (max-width: 1100px) {
  .hero-inner {
    /* CENTER everything */
    position: absolute;
    bottom: 10dvh;
    left: 0%;
    align-items: flex-start;
    text-align: left;
    width: 90%;
    background-color: #0e2036dc;
  }
  .hero-title {
    text-align: left;
    width: 90%;
  }

  /* Lead text */
  .hero-lead {
    text-align: left;
    width: 90%;
    padding: 5% 0 0 5%;
    margin-left: -5%;
    line-height: 1.2;

    /* font-size: clamp(1.05rem, 1.2vw, 1.2rem); */
    /* max-width: 60ch; */
  }
}

/* =========================================================
   ABOUT SPLIT (Image | Navy About | White Why Choose)
   Matches the screenshot layout
   ========================================================= */
.about-split {
  background: #fff;
  width: 100%;
  padding: 0;
  /* ✅ center under sticky topbar */
  min-height: calc(100svh - var(--topbar-h));
  display: grid;
  place-items: center;
}

.about-split-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1.2fr;
  width: min(90vw, 1600px);
  margin: 0 auto;
  gap: 0px;
}

/* shared panel style */
.about-panel {
  border-radius: 0px;
  overflow: hidden;
}

/* left image panel */
.about-image {
  border-radius: 10px 0 0 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  background: #0f172a;
}
.about-image img {
  height: var(--about-side-h);
  width: 100%;
  object-fit: cover;
  display: block;
}

/* middle navy panel */
.about-center {
  background: var(--navy);
  color: #fff;
  padding: 60px 42px;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(10, 20, 35, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: var(--about-center-h);
  z-index: 2;
}

.about-title {
  margin: 0 0 0px;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.1px;
  font-family: var(--font);
}

.about-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.65;
}
.about-copy p {
  margin: 0 0 14px;
}

.about-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 14px 16px;
  border-radius: 4px;
  font-weight: 800;
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.about-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* right white panel */
.about-right {
  background: #ffffff;
  border-radius: 0px 10px 10px 0;
  padding: 34px 34px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.08);
  min-height: var(--about-side-h);
}
.about-image,
.about-right {
  transform: translateY(var(--about-step));
}
.why-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.why-lead {
  margin: 0 0 18px;
  color: rgba(38, 37, 37, 0.85);
  font-size: 14.5px;
  line-height: 1.65;
}
.why-lead strong {
  color: var(--navy);
  font-weight: 900;
}

.why-points {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.why-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.why-ico {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: #e53935; /* red icon like screenshot */
  box-shadow: 0 14px 30px rgba(229, 57, 53, 0.22);
}

.why-head {
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2px;
}

.why-sub {
  color: rgba(38, 37, 37, 0.72);
  font-size: 13.5px;
  line-height: 1.55;
}

/* mission + vision blocks */
.why-blocks {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.why-block-title {
  font-weight: 950;
  color: var(--navy);
  letter-spacing: 0.6px;
  font-size: 12px;
  margin-bottom: 6px;
}

.why-block-text {
  margin: 0;
  color: rgba(38, 37, 37, 0.78);
  font-size: 13.5px;
  line-height: 1.6;
}
@media (min-width: 901px) {
  .about-split-inner {
    align-items: center; /* ✅ centers the 3 panels relative to the row */
  }

  .about-image,
  .about-right {
    align-self: center; /* ✅ forces the side panels to sit centered */
  }
}
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .about-split-inner {
    grid-template-columns: 1fr;
    column-gap: 0;
    width: 100%;
  }

  .about-split {
    padding: 0 0 0px 0;
    height: auto;
  }

  .about-split .container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-image,
  .about-right {
    margin-top: 0;
    transform: none;
  }
  .hero-slope {
    display: none;
  }
  .about-image img {
    display: none;
  }
  .about-center,
  .about-right {
    width: 100%;
    border-radius: 0;
  }
}
/* =========================================================
   FULL SCREEN SECTION (100vh)
   ========================================================= */

.section-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(rgba(14, 32, 54, 0.88), rgba(14, 32, 54, 0.92)),
    url("/images/section-bg.jpg");

  background-size: cover;
  background-position: center;

  overflow: hidden;
}

/* inner container */
.section-full-inner {
  width: min(90vw, 1200px);
  margin: 0 auto;
}

/* content block */
.section-full-content {
  max-width: 700px;
}

/* title */
.section-full-title {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  margin: 0 0 20px;
  color: #ffffff;
}

/* text */
.section-full-text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

/* buttons container */
.section-full-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* buttons */
.section-full-btn {
  padding: 14px 26px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.25s var(--ease);
}

/* primary */
.section-full-btn.primary {
  background: var(--gold);
  color: var(--navy);
}

.section-full-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* secondary */
.section-full-btn.secondary {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.section-full-btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
/* =========================================================
   QUALITY POLICY SECTION — 100vh Premium Layout
   ========================================================= */

.quality-policy {
  min-height: 70vh;
  display: flex;
  align-items: center;

  background: linear-gradient(rgba(18, 42, 70, 0.92), rgba(18, 42, 70, 0.92));

  background-size: cover;
  background-position: center;
}

.quality-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.quality-grid {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px 20px;
  align-items: center;
}

.quality-grid-item {
  display: contents;
}

/* icons */
.quality-grid img {
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  object-fit: contain;
}

/* text area */
.quality-grid-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--bg);
}

.quality-grid-text p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--bg);
  line-height: 1.5;
}

/* Right content */
.quality-content {
  color: white;
  max-width: 600px;
}

.quality-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.quality-title {
  font-family: var(--display);
  font-size: 90px;
  margin: 0px;
}

.quality-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
}

/* bullet list */
.quality-list {
  display: grid;
  gap: 18px;
}

.quality-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.quality-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;

  background: var(--gold);
  color: var(--navy);

  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.quality-item p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

/* Responsive */
@media (max-width: 1100px) {
  .quality-inner {
    grid-template-columns: 1fr;
  }

  .quality-title {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .quality-policy {
    height: auto;
  }
  /* Stack everything vertically */
  .quality-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Put text FIRST */
  .quality-content {
    order: 1;
    max-width: 100%;
  }

  /* Put icon grid BELOW */
  .quality-visual {
    order: 2;
  }

  /* Make icon grid 2 columns instead of single list */
  .quality-grid {
    grid-template-columns: 60px 1fr;
    gap: 24px 16px;
  }

  /* Center section padding */
  .quality-policy {
    padding: 80px 0;

    min-height: auto;
    height: auto;
  }
  /* Reduce title size */
  .quality-title {
    font-size: 38px;
  }

  .quality-intro {
    font-size: 16px;
  }
}

/* =========================================================
   COMPANY POLICIES — Inverse of QUALITY section (light + flipped)
   ========================================================= */

.company-policies {
  min-height: 70vh;
  display: flex;
  align-items: center;

  /* opposite of dark section */
  background: #e1dfdf;
  position: relative;
}

.policies-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT content */
.policies-content {
  max-width: 620px;
}

.policies-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cta); /* #f59e0b */
  font-weight: 800;
  margin-bottom: 10px;
}

.policies-title {
  font-family: var(--display);
  font-size: 90px;
  margin: 0px;
  color: var(--navy);
}

.policies-intro {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 18px;
  color: rgba(15, 23, 42, 0.82);
}

.policies-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(15, 23, 42, 0.78);
  font-size: 14px;
  font-weight: 600;
}

/* RIGHT list */
.policies-list {
  display: grid;
  gap: 14px;
}

.policy-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;

  padding: 16px 16px;
  border-radius: 16px;

  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.policy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 24px 70px rgba(12, 22, 36, 0.12);
}

.policy-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: #101820;
  font-weight: 900;
}

.policy-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
}

.policy-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.72);
}

/* =========================================================
   Responsive — stack (like you did for quality)
   ========================================================= */
@media (max-width: 900px) {
  .company-policies {
    padding: 80px 0;
    min-height: auto;
    height: auto;
  }

  .policies-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policies-title {
    font-size: 40px;
  }
}
/* =========================================================
   OUR CLIENTS SECTION
   ========================================================= */

.our-clients {
  padding: 120px 0;
  background: white;
}

.clients-inner {
  width: min(90vw, 1400px);
  margin: 0 auto;
}

/* header */
.clients-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.clients-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cta); /* #f59e0b */
  font-weight: 800;
  margin-bottom: 12px;
}

.clients-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  margin: 0 0 18px;
  color: var(--navy);
}

.clients-intro {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.75);
  margin-bottom: 24px;
}

.clients-sub {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

/* logo container */
.client-logo {
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  border: 1px solid rgba(15, 23, 42, 0.08);

  background: white;

  transition: all 0.25s var(--ease);
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

/* logo image */
.client-logo img {
  max-height: clamp(80px, 6vw, 110px);
  max-width: clamp(100px, 8vw, 140px);

  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.75;

  transition: all 0.25s var(--ease);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 800px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-title {
    font-size: 40px;
  }
}
/* =========================================================
   FOOTER — Corporate Sitemap Footer
   ========================================================= */

.site-footer {
  background: var(--navy);
  color: white;
  padding: 70px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* logo */
.footer-logo {
  width: 190px;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
}

/* titles */
.footer-title {
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--cta);
  letter-spacing: 1px;
}

/* links */
.footer-link {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--cta);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.footer-contact-item:hover {
  opacity: 1;
  color: #fff;
}

/* bottom bar */
.footer-bottom {
  margin-top: 50px;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.9;
  color: #d97706;
}

.contact-location address {
  font-style: normal;
  margin-top: 4px;
  line-height: 1.6;
}
/* CONTACT LIST — force rows (no flex column) */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  display: grid; /* ✅ not flex */
  grid-template-columns: 110px 1fr; /* label width then value */
  align-items: center;
  column-gap: 12px;
  margin: 0;
  color: rgb(39, 38, 38);
}

.contact-list strong {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  opacity: 0.85;
  white-space: nowrap;
}

.contact-list a,
.contact-list span,
.contact-list address {
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

.contact-list :hover {
  color: #d97706;
}

/* keep address from adding default italics/spacing */
.contact-list address {
  font-style: normal;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand,
  .footer-desc {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-desc {
    max-width: 90%;
  }

  .footer-logo {
    margin-inline: auto;
  }
}

/* =========================================================
   testing
   ========================================================= */

.testing-section {
  padding: 6rem 2rem;
  background: #f8fafc; /* soft industrial light background */
  position: relative;
  overflow: hidden;
}

.testing-container {
  max-width: 1100px;
  margin: 0 auto;
}

.testing-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 2rem;
  color: #0f172a;
}

.testing-content p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.5rem;
  max-width: 78ch;
}
/* =========================================================
   pressure testing
   ========================================================= */
/* SECTION */
.pressure-section {
  background: var(--navy, #0b1220); /* uses root navy; fallback if missing */
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Optional subtle glow / depth (remove if you want flat) */
.pressure-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 20% 10%,
    rgba(212, 175, 55, 0.1),
    transparent 55%
  );
  pointer-events: none;
}

.pressure-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* TEXT */
.pressure-title {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: 0.2px;
  margin: 0 0 1.25rem;
}

.pressure-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  margin: 0 0 1.2rem;
  max-width: 78ch;
}

/* 4-IMAGE AREA */
.pressure-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pressure-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
}

.pressure-card img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
  opacity: 0.92;
}

.pressure-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .pressure-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .pressure-card img {
    height: 240px;
  }
}

@media (max-width: 900px) {
  .pressure-section {
    padding: 4.5rem 1.25rem;
  }
  .testing-section {
    padding: 4.5rem 1.25rem;
  }
  .pressure-gallery {
    grid-template-columns: 1fr;
  }
  .pressure-card img {
    height: 220px;
  }
}
/* =========================================================
   function testing
   ========================================================= */
.function-section {
  background: #f1f5f9; /* clean light industrial grey */
  padding: 6rem 2rem;
}

.function-container {
  max-width: 1100px;
  margin: 0 auto;
}

.function-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.function-copy p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  color: #334155;
  margin-bottom: 1.2rem;
  max-width: 78ch;
}

/* 4 IMAGE GRID */
.function-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.function-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
}

.function-card img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
  opacity: 0.92;
}

.function-card:hover img {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .function-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .function-card img {
    height: 240px;
  }
}

@media (max-width: 600px) {
  .function-section {
    padding: 4.5rem 1.25rem;
  }

  .function-gallery {
    grid-template-columns: 1fr;
  }

  .function-card img {
    height: 220px;
  }
}

/* =========================================================
   inspection
   ========================================================= */
/* Inspection intro variant */
.testing-section--inspection {
  background: #e1dfdf;
  padding: 5.5rem 2rem 4rem;
}

.testing-section--inspection .testing-container {
  max-width: 1100px;
  margin: 0 auto;
}

.testing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 1.25rem;
}

.testing-title-wrap {
  max-width: 720px;
}

.testing-title {
  margin: 0 0 10px;
  font-family: var(--display);
  letter-spacing: 0.6px;
  line-height: 0.95;
  font-size: clamp(44px, 5.6vw, 74px);
  color: var(--navy);
}

.testing-subtitle {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.65;
  font-size: 16px;
}

/* Badge row (API/ASNT/ASQ/NA) */
.inspection-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.badge--navy {
  background: rgba(11, 18, 32, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
}

/* Content panel feel */

.testing-content p {
  margin: 0;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.75;
  font-size: 16px;
}

/* Optional chips */
.testing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.8);
  font-weight: 700;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .testing-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .inspection-logos {
    justify-content: flex-start;
  }
}
.inspection-services {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.inspection-header {
  max-width: 800px;
  margin-bottom: 2rem;
}

.inspection-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.inspection-header p {
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.7;
}

/* Two Column List */
.inspection-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 3rem;
}

.inspection-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inspection-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-weight: 500;
}

.inspection-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #0b3a82; /* your navy accent */
}

/* 4 Image Grid */
.inspection-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.inspection-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
}

.inspection-card img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
  opacity: 0.92;
}

.inspection-card:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .inspection-list {
    grid-template-columns: 1fr;
  }

  .inspection-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .inspection-gallery {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   CONTACT AREA FIX (page-hero + form grid) — DROP-IN OVERRIDES
   Put this at the bottom of style.css
   ========================================================= */

:root {
  --gutter: 16px;
  --contact-radius: 18px;
}

/* Ensure container is the one source of truth for margins */
.container {
  width: min(100% - calc(var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* ---------- PAGE HERO (Contact header) ---------- */
.page-hero {
  padding: 64px 0;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
  margin-bottom: 10px;
}

.page-title {
  margin: 0 0 10px;
  font-family: var(--display);
  letter-spacing: 0.6px;
  line-height: 0.95;
  font-size: clamp(44px, 5.6vw, 74px);
  color: var(--navy);
}

.muted {
  color: rgba(15, 23, 42, 0.72);
}

.contact-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 12px 30px rgba(12, 22, 36, 0.06);
}

.mini-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 900;
}

.page-hero-block.contact-block {
  border-radius: var(--contact-radius);
  min-height: 220px;
  background:
    radial-gradient(
      1200px 300px at 10% 0%,
      rgba(245, 158, 11, 0.3),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(18, 42, 70, 0.98), rgba(14, 32, 54, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 60px rgba(12, 22, 36, 0.16);
}

/* ---------- MAIN CONTACT SECTION (form + aside) ---------- */
.section {
  padding: 56px 0;
  background: #ffffff;
}
.contact-side {
  display: grid;
  gap: 22px;
}
.grid.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.form {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--contact-radius);
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(12, 22, 36, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.82);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 12px 12px;
  outline: none;
  font: inherit;
  background: #ffffff;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

/* Buttons (only if your .btn isn't already styled well) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #d7a048;
  color: #101820;
  font-weight: 900;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.22);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
  margin-top: 0em;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(245, 158, 11, 0.28);
}

/* From Uiverse.io by cssbuttons-io */
button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

button.learn-more {
  width: 12rem;
  height: auto;
}

button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: var(--gold);
  border-radius: 1.625rem;
}

button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  padding-left: 10px;

  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

button:hover .circle {
  width: 100%;
}

button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}

button:hover .button-text {
  color: #1f1f1f;
}

.btn-lg {
  width: auto;
}

/* Aside panel */
.panel-box {
  border-radius: var(--contact-radius);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgb(232, 176, 98);
  padding: 20px;
  box-shadow: 0 18px 44px rgba(12, 22, 36, 0.08);
  position: relative;
  overflow: hidden;
}

.panel-box .h2 {
  margin: 0 0 10px;
  color: rgb(39, 38, 38);
  font-weight: 950;
  font-size: 22px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: rgb(39, 38, 38);
  line-height: 1.7;
  display: grid;
  gap: 8px;
}

.panel-fill {
  margin-top: 16px;
  height: 160px;
  border-radius: 16px;
  background:
    radial-gradient(
      900px 260px at 0% 0%,
      rgba(245, 158, 11, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(18, 42, 70, 0.96), rgba(14, 32, 54, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  .page-hero {
    padding: 44px 0;
  }
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .page-hero-block.contact-block {
    min-height: 180px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .grid.grid-2 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .panel-box {
    background: rgb(255, 255, 255);
  }
}

/* Prevent mobile zoom on form fields */
@media (max-width: 900px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px !important;
  }
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* stop button stretching */
.btn-lg {
  width: auto; /* overrides your current 30% */
  min-width: 220px; /* nice consistent size */
}

/* prevent iOS zoom on focus (very important) */
.field input,
.field select,
.field textarea {
  font-size: 16px;
}

/* Center ONLY the Send Request button */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Override your old .btn-lg width rules */
.form .btn-lg {
  width: auto !important;
  min-width: 220px;
}

/* Stop iPhone zoom on focus (must be >= 16px) */
.form input,
.form select,
.form textarea {
  font-size: 16px;
}

/* Popup */
.form-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 9999;
}

.form-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-popup-inner {
  width: min(520px, 92vw);
  background: #0e2036;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  color: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.form-popup-inner h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
}

.form-popup-inner p {
  margin: 0 0 16px;
  opacity: 0.9;
}

.popup-close {
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  background: #d7a048;
  color: #101820;
}
/* =========================================================
   DESKTOP SCROLL ANIMATIONS (IntersectionObserver driven)
   Desktop only: >= 901px
   ========================================================= */
@media (min-width: 901px) {
  /* base state */
  .anim {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(6px);
    transition:
      opacity 0.7s var(--ease),
      transform 1.8s var(--ease),
      filter 0.7s var(--ease);
    will-change: opacity, transform, filter;
  }

  /* direction variants */
  .anim.anim-up {
    transform: translate3d(0, 22px, 0);
  }
  .anim.anim-left {
    transform: translate3d(-260px, 0, 0);
  }
  .anim.anim-right {
    transform: translate3d(260px, 0, 0);
  }

  /* when visible */
  .anim.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }

  /* stagger support */
  .anim.anim-delay-1 {
    transition-delay: 0.06s;
  }
  .anim.anim-delay-2 {
    transition-delay: 0.14s;
  }
  .anim.anim-delay-3 {
    transition-delay: 0.22s;
  }
  .anim.anim-delay-4 {
    transition-delay: 0.3s;
  }

  /* nicer hover when already revealed */
  .policy-card.in-view:hover {
    transform: translate3d(0, -4px, 0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
