/* CR Petrologist SRL — global styles */

:root {
  --navy-900: #04101f;
  --navy-800: #0a1a2f;
  --navy-700: #122a4a;
  --navy-600: #1a3a64;
  --navy-500: #25507f;
  --orange-600: #e25812;
  --orange-500: #ff6b1a;
  --orange-400: #ff8a45;
  --steel-100: #f4f6f8;
  --steel-200: #e6ebf0;
  --steel-300: #c9d2db;
  --steel-400: #8a949f;
  --steel-500: #5a6573;
  --steel-600: #3a4452;
  --white: #ffffff;
  --bg: #f7f8fa;
  --container: min(1280px, 92vw);
  --header-h: 64px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(4, 16, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(4, 16, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(4, 16, 31, 0.18);
  --shadow-xl: 0 40px 80px rgba(4, 16, 31, 0.32);
}

* { box-sizing: border-box; }
*::selection { background: var(--orange-500); color: var(--white); }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: "Archivo", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--navy-800);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

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

.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--orange-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 107, 26, 0.32);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,26,0.4); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-dark {
  background: var(--navy-800); color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent; color: var(--navy-800); border-color: var(--navy-800);
}
.btn-outline-dark:hover { background: var(--navy-800); color: var(--white); }
.btn .arrow {
  width: 18px; height: 1px; background: currentColor; position: relative;
  transition: width .25s ease;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 26px; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background-color .3s ease, padding .3s ease;
  background: linear-gradient(180deg, rgba(4,16,31,0.55) 0%, rgba(4,16,31,0) 100%);
}
.site-header.scrolled {
  background: rgba(4, 16, 31, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.solid {
  background: rgba(4, 16, 31, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
}
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: "Archivo", sans-serif;
  font-weight: 800; font-size: 16px; letter-spacing: 0.04em;
}
.brand-text span {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--orange-500); margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
}
.primary-nav {
  display: flex; align-items: center; gap: 4px;
}
.primary-nav a {
  color: rgba(255,255,255,0.78);
  padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  position: relative;
  transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--white); }
.primary-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--orange-500);
}
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #25D366; color: white;
  font-size: 13px; font-weight: 700;
  border-radius: 2px;
  transition: all .25s ease;
}
.wa-btn:hover { background: #1faa55; transform: translateY(-1px); }
.wa-btn svg { width: 16px; height: 16px; }

.menu-toggle { display: none; }
.menu-toggle span {
  width: 22px; height: 2px; background: var(--white); display: block;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

@media (max-width: 980px) {
  .primary-nav, .nav-cta .wa-btn span { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; cursor: pointer; padding: 12px;
    z-index: 105;
  }
  .menu-toggle:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 2px; }
  .mobile-nav.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .mobile-nav.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav.open .primary-nav {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background-color: #04101f;
    background-image: linear-gradient(180deg, #04101f 0%, #04101f 100%);
    padding: 32px 24px 140px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
  }
  .mobile-nav.open .primary-nav a {
    padding: 18px 4px; font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
  }
  .mobile-nav.open .primary-nav a.active { color: var(--orange-500); }
  .site-header.solid, .site-header.scrolled, .site-header { padding: 12px 0; }
  .brand img { height: 36px !important; }
  body.menu-open { overflow: hidden; position: fixed; width: 100%; }
  body.menu-open .site-header { background: #04101f !important; padding-top: 10px; padding-bottom: 10px; }
  /* Backdrop overlay behind menu items to ensure full coverage */
  .mobile-nav.open::after {
    content: "";
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #04101f;
    z-index: 98;
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  .brand-text strong { font-size: 14px; }
  .brand-text span { font-size: 9px; letter-spacing: 0.18em; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 0;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.2) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(4,16,31,0.95) 0%, rgba(4,16,31,0.78) 40%, rgba(4,16,31,0.5) 75%, rgba(4,16,31,0.35) 100%),
    linear-gradient(180deg, rgba(4,16,31,0.4) 0%, rgba(4,16,31,0.85) 100%);
}
.hero .container { position: relative; z-index: 2; padding-bottom: 80px; }
.hero-meta {
  display: flex; gap: 32px; align-items: center;
  margin-bottom: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-meta .dot { width: 6px; height: 6px; background: var(--orange-500); border-radius: 50%; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 .accent { color: var(--orange-500); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  margin: 24px 0 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-frame {
  position: absolute;
  right: 4vw; bottom: 4vw;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.hero-frame .coord { color: var(--orange-500); }

.hero-stats {
  position: relative;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2;
  margin-top: auto;
}
.hero-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stats-grid > div {
  padding: 28px 32px;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.hero-stats-grid > div:first-child { border-left: 0; }
.hero-stats-grid strong {
  font-family: "Archivo", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: block; line-height: 1;
}
.hero-stats-grid strong .accent { color: var(--orange-500); }
.hero-stats-grid span {
  display: block; margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 820px) {
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-stats-grid > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-frame { display: none; }
}

/* INNER PAGE HERO */
.page-hero {
  position: relative; color: var(--white);
  padding: 150px 0 80px;
  background: var(--navy-900);
  overflow: hidden;
}
@media (max-width: 720px) {
  .page-hero { padding: 110px 0 60px; }
  .hero { min-height: 85vh; padding: 110px 0 140px; }
  .hero-meta { font-size: 10px; gap: 14px; flex-wrap: wrap; }
}
.page-hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.15) contrast(1.05);
}
.page-hero .bg::after,
.page-hero-inner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(4,16,31,0.96) 0%, rgba(4,16,31,0.88) 55%, rgba(4,16,31,0.72) 100%),
    linear-gradient(180deg, rgba(4,16,31,0.55) 0%, rgba(4,16,31,0.85) 100%);
}
.page-hero .bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 80% at 10% 50%, rgba(4,16,31,0.6) 0%, rgba(4,16,31,0) 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,0.78); max-width: 60ch; font-size: 18px; }
.crumbs {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.crumbs a { color: var(--orange-500); }

/* SECTIONS */
section.block { padding: 100px 0; }
@media (max-width: 880px) {
  section.block { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}
section.block.dark { background: var(--navy-900); color: var(--white); }
section.block.dark h2, section.block.dark h3 { color: var(--white); }
section.block.steel { background: var(--steel-100); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px; margin-bottom: 56px;
}
.section-head .left { max-width: 720px; }
.section-head .lead { font-size: 18px; color: var(--steel-500); max-width: 56ch; }
section.block.dark .section-head .lead { color: rgba(255,255,255,0.7); }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* SERVICE CARDS */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--steel-200); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  transition: all .35s ease;
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange-500);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s ease;
}
.svc:hover::before { transform: scaleY(1); }
.svc:hover { background: var(--navy-900); color: var(--white); transform: translateY(-4px); }
.svc:hover h3 { color: var(--white); }
.svc:hover .svc-num { color: rgba(255,255,255,0.2); }
.svc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px; letter-spacing: 0.15em; color: var(--steel-400);
  margin-bottom: 24px; transition: color .3s ease;
}
.svc h3 { margin-bottom: 12px; }
.svc p { color: var(--steel-500); margin-bottom: 24px; }
.svc:hover p { color: rgba(255,255,255,0.7); }
.svc .read {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange-500); display: inline-flex; gap: 8px; align-items: center;
}

/* IMAGE PLACEHOLDER FRAME with caption */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 4/3;
}
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.frame:hover img { transform: scale(1.04); }
.frame .tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(4,16,31,0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 6px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.frame .caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.frame .caption .num { color: var(--orange-500); }

/* COMPLIANCE BADGES */
.compliance {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
}
.compliance > div {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.compliance > div:last-child { border-right: 0; }
.compliance strong {
  font-family: "Archivo", sans-serif;
  font-size: 22px; letter-spacing: 0.04em; color: var(--white);
}
.compliance span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 780px) {
  .compliance { grid-template-columns: repeat(2, 1fr); }
  .compliance > div { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* PILLAR LIST */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--steel-200); }
.pillars > div {
  padding: 40px 28px 40px 0;
  border-bottom: 1px solid var(--steel-200);
}
.pillars > div:not(:last-child) { border-right: 1px solid var(--steel-200); padding-right: 28px; }
.pillars > div:not(:first-child) { padding-left: 28px; }
.pillars .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--orange-500); font-size: 13px; letter-spacing: 0.15em;
  margin-bottom: 18px;
}
.pillars h4 { margin-bottom: 12px; font-size: 20px; }
.pillars p { color: var(--steel-500); font-size: 14px; margin: 0; }
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars > div { padding: 32px 20px !important; border-right: 1px solid var(--steel-200) !important; }
  .pillars > div:nth-child(2n) { border-right: 0 !important; }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars > div { border-right: 0 !important; }
}

/* CTA BANNER */
.cta-banner {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}
.cta-banner .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.cta-banner .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(4,16,31,0.4) 100%);
}
.cta-banner .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); max-width: 16ch; margin: 0; }

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* MVV grid */
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,0.08); }
@media (max-width: 880px) { .mvv-grid { grid-template-columns: 1fr; } }

/* FOOTER */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.footer-grid h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 20px; font-weight: 600;
}
.footer-grid a { display: block; padding: 6px 0; color: rgba(255,255,255,0.75); transition: color .2s; font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-grid .brand { color: var(--white); margin-bottom: 24px; }
.footer-grid .brand img { height: 48px; }
.footer-blurb { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 36ch; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding-top: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}

/* FOCUS VISIBLE */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}
.btn:focus-visible { outline-offset: 4px; }

/* FORM NOTICE */
.form-notice {
  font-size: 13px; color: var(--steel-500);
  padding: 12px 14px; border-left: 3px solid var(--orange-500);
  background: rgba(255,107,26,0.06); margin-bottom: 18px;
}
.field-error { color: #c53030; font-size: 12px; margin-top: 4px; }
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: #c53030; }

/* FLOATING WHATSAPP */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366; color: white;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  transition: all .25s ease;
  animation: pulse 2.4s ease infinite;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 28px; height: 28px; }
@media (max-width: 480px) {
  .fab-wa { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .fab-wa svg { width: 24px; height: 24px; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37,211,102,0); }
}

/* FORM */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1/-1; }
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel-500); font-weight: 600;
}
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--steel-300);
  background: var(--white);
  color: var(--navy-800);
  border-radius: 2px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }

/* UTILITIES */
.text-orange { color: var(--orange-500); }
.divider { height: 1px; background: var(--steel-200); border: 0; margin: 0; }
.section-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-400);
}

/* FADE IN UP */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Diagonal accent line decoration */
.deco-line {
  position: absolute; pointer-events: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}

/* CERTIFICATIONS RIBBON */
.ribbon {
  display: flex; gap: 48px;
  padding: 24px 0;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
  background: var(--white);
}
.ribbon .marquee { display: flex; gap: 48px; animation: marquee 30s linear infinite; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ribbon .item {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 16px; letter-spacing: 0.06em;
  color: var(--steel-400);
  white-space: nowrap;
  display: flex; align-items: center; gap: 14px;
}
.ribbon .item::after {
  content: "+"; color: var(--orange-500);
}
.ribbon .item:last-child::after { display: none; }

/* MAP FRAME */
.map-embed {
  width: 100%; height: 480px; border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

/* APPROACH STEPS */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.step .step-num {
  font-family: "Archivo", sans-serif;
  font-size: 64px; font-weight: 800; line-height: 1;
  color: var(--orange-500);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.step h4 { color: var(--white); margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.65); font-size: 14px; margin: 0; }

/* LIST CHECKS */
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li {
  display: flex; gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--steel-500);
}
.checks li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange-500);
  /* Checkmark drawn with conic + masking via inline SVG */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8.2 L6.6 11 L12.5 5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  margin-top: 3px;
}
section.block.dark .checks li { color: rgba(255,255,255,0.75); }

/* SPEC TABLE */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-top: 1px solid var(--steel-200); }
.spec-table tr:last-child { border-bottom: 1px solid var(--steel-200); }
.spec-table td {
  padding: 18px 0;
  vertical-align: top;
  font-size: 15px;
}
.spec-table td:first-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--steel-500);
  width: 30%;
}
.spec-table td:last-child { color: var(--navy-800); font-weight: 500; }
section.block.dark .spec-table tr { border-color: rgba(255,255,255,0.1); }
section.block.dark .spec-table td:first-child { color: rgba(255,255,255,0.55); }
section.block.dark .spec-table td:last-child { color: var(--white); }
