:root {
  --ink: #0a1226;
  --ink-soft: #303746;
  --cream: #fdfbf7;
  --paper: #ffffff;
  --green: #157a52;
  --green-dark: #0f6040;
  --copper: #9b5135;
  --line: #dfddd6;
  --muted: #6d716f;
  --navy-panel: #101a31;
  --shadow: 0 24px 70px rgba(10, 18, 38, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--cream);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.skip-link:focus { top: 16px; }

.section-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  padding: 14px max(32px, calc((100vw - 1180px) / 2));
  background: rgba(253, 251, 247, 0.94);
  border-bottom: 1px solid rgba(10, 18, 38, 0.08);
  backdrop-filter: blur(16px);
}

.brand img { width: 184px; height: auto; }

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--green); }

.nav-cta {
  padding: 10px 17px;
  color: #fff !important;
  background: var(--ink);
  border-radius: 999px;
}

.header-actions { display: flex; align-items: center; gap: 20px; }

.language-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #f3f1ed;
  border: 1px solid #ebe8e1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.language-switch a, .language-switch span {
  min-width: 34px;
  padding: 5px 8px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
}

.language-switch .active { color: #fff; background: var(--green); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }
.mobile-nav { grid-column: 1 / -1; padding: 20px 0 8px; }
.mobile-nav a { display: block; padding: 11px 0; font-weight: 600; text-decoration: none; border-top: 1px solid var(--line); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 70px;
  align-items: center;
  min-height: 720px;
  padding-top: 82px;
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(44px, 5vw, 72px); font-weight: 700; }
h2 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 52px); font-weight: 700; }
h3 { margin-bottom: 12px; font-size: 21px; }

.hero-lede { max-width: 680px; margin: 0 0 30px; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-note { max-width: 600px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 26px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(21, 122, 82, 0.2); }
.button-primary { background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button span { font-size: 22px; line-height: 1; }
.text-link { color: var(--ink); font-weight: 700; text-underline-offset: 5px; }

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-visual img { width: 100%; min-height: 540px; object-fit: cover; object-position: 52% center; }

.hero-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 17px 20px;
  color: #fff;
  background: rgba(10, 18, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.hero-visual figcaption span { display: block; margin-bottom: 4px; color: #9de0bd; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(10, 18, 38, 0.06);
}

.proof-bar div { padding: 24px 30px; border-right: 1px solid var(--line); }
.proof-bar div:last-child { border-right: 0; }
.proof-bar strong { display: block; color: var(--ink); font-size: 17px; }
.proof-bar span { color: var(--muted); font-size: 13px; }

.intro { padding-top: 128px; padding-bottom: 132px; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered p:last-child { margin: 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-lede { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.55; }
.answer-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }

.check-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; background: var(--green); border-radius: 50%; box-shadow: inset 0 0 0 3px #dff1e8; }

.dark-section { padding: 118px 0; color: #ccd1dc; background: var(--ink); }
.dark-section h2, .dark-section h3 { color: #fff; }
.eyebrow-light { color: #a9d8bf; }
.split-heading { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.split-heading > p { margin: 0 0 10px; color: #b4bccb; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use-card { min-height: 300px; padding: 30px; background: var(--navy-panel); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; }
.use-card p { margin-bottom: 0; }
.card-number { display: block; margin-bottom: 70px; color: #83c6a3; font-size: 13px; font-weight: 800; letter-spacing: 0.18em; }
.inventory-note { display: grid; grid-template-columns: 240px 1fr; gap: 40px; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.16); }
.inventory-note strong { color: #fff; }
.inventory-note p { margin: 0; }

.process { padding-top: 130px; padding-bottom: 130px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 60px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { min-height: 285px; padding: 28px 28px 26px; border-top: 1px solid var(--ink); border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li > span { display: block; margin-bottom: 65px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: 0.18em; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.brief-section { padding: 100px 0; background: #f1eee7; }
.brief-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; align-items: start; }
.brief-grid > div:first-child > p:last-child { margin-bottom: 0; }
.brief-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brief-list > div { min-height: 126px; padding: 22px; background: rgba(255,255,255,0.72); border: 1px solid rgba(10,18,38,0.08); border-radius: 12px; }
.brief-list strong, .brief-list span { display: block; }
.brief-list strong { margin-bottom: 6px; color: var(--ink); }
.brief-list span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.local { padding-top: 130px; padding-bottom: 130px; }
.local-panel { display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: stretch; padding: 60px; color: #d4d9e3; background: var(--ink); border-radius: 24px; }
.local-panel h2 { color: #fff; }
.location-meta { display: grid; gap: 9px; margin-top: 30px; font-size: 14px; }
.location-meta strong { color: #fff; }
.location-meta a { color: #fff; }
.map-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 30px; color: #fff; text-decoration: none; background: radial-gradient(circle at 80% 20%, rgba(157,224,189,0.22), transparent 38%), linear-gradient(145deg, #1d7e58, #0d4c38); border: 1px solid rgba(255,255,255,0.2); border-radius: 18px; transition: transform 180ms ease; }
.map-card:hover { transform: translateY(-4px); }
.map-label { margin-bottom: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.map-card strong { font-size: 44px; line-height: 1; }
.map-card small { margin-top: 12px; }

.faq-section { padding-bottom: 130px; }
.faq-list { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 26px 52px 26px 0; color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 23px; color: var(--green); font-size: 28px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 780px; margin: -4px 0 28px; color: var(--muted); }

.quote-section { padding: 118px 0; background: var(--ink); }
.quote-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 80px; align-items: start; }
.quote-copy { position: sticky; top: 120px; color: #cad0dc; }
.quote-copy h2 { color: #fff; }
.direct-contact { display: grid; gap: 8px; margin-top: 28px; }
.direct-contact a { color: #fff; font-weight: 700; text-underline-offset: 4px; }

.quote-form { padding: 34px; color: var(--ink-soft); background: var(--cream); border: 8px solid #050a18; border-radius: 24px; box-shadow: inset 0 0 0 1px #d8d5ce; }
.form-topline { display: flex; justify-content: space-between; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: 0.13em; }
.form-topline span:first-child { color: var(--green); }
.form-topline span:last-child { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--ink); font-size: 13px; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #d4d2cc; border-radius: 7px; outline: none; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,122,82,0.12); }
.form-submit { width: 100%; margin-top: 8px; }
.form-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-status { margin-top: 10px; color: var(--green-dark); font-size: 13px; font-weight: 700; text-align: center; }

.site-footer { padding: 72px 0 24px; background: #f3f1ec; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr; gap: 80px; padding-bottom: 54px; }
.footer-grid img { margin-bottom: 20px; }
.footer-grid p { max-width: 420px; color: var(--muted); font-size: 13px; }
.footer-grid h2 { margin-bottom: 18px; font-size: 16px; }
.footer-grid a { display: block; margin: 8px 0; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom { padding-top: 22px; color: var(--muted); border-top: 1px solid #dad7d0; font-size: 12px; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-top: 60px; }
  .hero-copy { max-width: 800px; }
  .hero-visual img { min-height: 480px; }
  .split-heading, .brief-grid, .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .quote-copy { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .local-panel { grid-template-columns: 1fr 300px; gap: 40px; padding: 42px; }
}

@media (max-width: 760px) {
  .section-shell, .proof-bar { width: min(100% - 36px, 1180px); }
  .site-header { min-height: 72px; padding: 11px 18px; }
  .brand img { width: 148px; }
  .language-switch { display: none; }
  .hero { min-height: auto; padding-top: 42px; padding-bottom: 58px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-visual { border-radius: 18px; }
  .hero-visual img { min-height: 420px; object-position: 60% center; }
  .hero-visual figcaption { left: 14px; right: 14px; bottom: 14px; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar div, .proof-bar div:last-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-bar div:last-child { border-bottom: 0; }
  .intro, .process, .local { padding-top: 90px; padding-bottom: 90px; }
  .intro-grid, .use-grid, .local-panel, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-lede { font-size: 21px; }
  .dark-section, .quote-section { padding: 86px 0; }
  .inventory-note { grid-template-columns: 1fr; gap: 10px; }
  .card-number { margin-bottom: 44px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 230px; border-right: 0; }
  .steps li > span { margin-bottom: 38px; }
  .brief-list { grid-template-columns: 1fr; }
  .local-panel { padding: 28px; }
  .map-card { min-height: 260px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 20px; border-width: 5px; }
  .footer-grid { gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.map-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 18px; margin-bottom: auto; }
.map-logo img { display: block; width: 100%; max-width: 280px; height: auto; }

/* Keep the hero close to the header and focus the crop on the equipment. */
.hero { min-height: 0; padding-top: 38px; padding-bottom: 70px; align-items: start; }
.hero-copy { padding-top: 10px; }
.hero-visual img { height: clamp(480px, 43vw, 620px); min-height: 0; object-position: right center; }
.map-card { position: relative; isolation: isolate; overflow: hidden; }
.map-mark { position: absolute; z-index: -1; inset: 5% 3% 0; background: rgba(255,255,255,.18); mask: url('/atm-props/assets/fpe-mark.svg') center / contain no-repeat; -webkit-mask: url('/atm-props/assets/fpe-mark.svg') center / contain no-repeat; }
.map-caption { display: block; padding: 18px 20px; background: rgba(3, 32, 28, .82); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.map-caption strong, .map-caption small { display: block; }
@media (max-width: 1020px) { .hero { padding-top: 30px; } .hero-visual img { min-height: 0; height: min(70vw, 560px); } }
@media (max-width: 760px) { .language-switch { display: flex; } .hero { padding-top: 28px; padding-bottom: 50px; gap: 30px; } .hero-copy { padding-top: 0; } .hero-visual img { height: 108vw; max-height: 520px; min-height: 0; object-position: right center; } }

.hero-visual figcaption { position: static; padding: 16px 20px; border: 0; border-radius: 0; background: #0a1226; }
