:root {
  --bg: #f3f5ef;
  --bg-soft: #fbfcf7;
  --surface: rgba(255,255,255,0.86);
  --surface-strong: #ffffff;
  --ink: #081722;
  --muted: #4f6164;
  --green: #067a2c;
  --green-dark: #04581f;
  --line: rgba(8,23,34,0.1);
  --shadow: 0 20px 50px rgba(7,25,31,0.08);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max: 1220px;
  --section-title-gap: 18pt; /* exactly 24 CSS pixels */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(6,122,44,0.07), transparent 28%),
    linear-gradient(180deg, #f8faf5 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section { padding: 56px 0; }
.eyebrow {
  margin: 0 0 var(--section-title-gap);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 1.56;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
/* One typographic system for all six block labels. */
.hero .hero-kicker,
.section-heading .eyebrow,
.services-top .eyebrow {
  margin: 0 0 var(--section-title-gap);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.56;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .hero-kicker {
  margin-bottom: 0; /* grid row gap supplies the same 18pt */
  margin-top: 0;
}

.section-heading { max-width: 1040px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 0; }
.hero h1,
.section-heading h2,
.services-top h2 {
  margin: 0;
  font-size: clamp(31px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: normal;
  font-weight: 800;
}
.section-heading p,
.hero p,
.services-top p {
  color: var(--muted);
}
.section-heading p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.52;
}
.top-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 16px 0 20px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
}
.header-brand { width: min(340px, 45vw); }
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav a { font-size: 14px; color: rgba(8,23,34,0.8); }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.lang-switch a { color: rgba(8,23,34,0.55); }
.lang-switch a.active { color: var(--ink); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; background: var(--green); color: #fff;
  font-weight: 700; font-size: 14px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: 28px;
  row-gap: var(--section-title-gap);
  grid-template-rows: max-content max-content;
  align-content: start; /* prevent expansion of the first grid row */
  align-items: stretch;
  min-height: 38vh;
  padding: 12px 32px 24px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(6,122,44,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(246,250,244,0.94) 42%, rgba(235,245,236,0.96) 100%);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 18%, rgba(255,174,61,0.16), transparent 18%),
    radial-gradient(circle at 79% 18%, rgba(6,122,44,0.12), transparent 20%),
    linear-gradient(140deg, rgba(6,122,44,0.04), rgba(255,255,255,0.00) 45%, rgba(6,122,44,0.08));
}
.hero::before {
  content: "";
  position: absolute;
  right: -7%;
  top: 8%;
  width: 64%;
  height: 86%;
  z-index: -1;
  opacity: 0.55;
  border-radius: 40px;
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 35%, transparent 55%),
    radial-gradient(125% 95% at 100% 100%, transparent 56%, rgba(6,122,44,0.16) 57%, rgba(6,122,44,0.16) 59%, transparent 60%),
    radial-gradient(120% 92% at 100% 100%, transparent 63%, rgba(6,122,44,0.13) 64%, rgba(6,122,44,0.13) 66%, transparent 67%),
    radial-gradient(114% 88% at 100% 100%, transparent 70%, rgba(6,122,44,0.10) 71%, rgba(6,122,44,0.10) 73%, transparent 74%);
}
.hero-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
  white-space: nowrap;
  align-self: start;
}
.hero-copy,
.hero-visual-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}
.hero h1 span { display: block; }
.hero p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.56;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 20px; font-weight: 700; font-size: 15px;
}
.button-primary { background: var(--green); color: #fff; }
.button-secondary { border: 1px solid rgba(8,23,34,0.16); background: rgba(255,255,255,0.72); }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-height: 230px;
  padding: 2px 0 0;
}
.hero-visual img {
  width: min(100%, 700px);
  filter: drop-shadow(0 12px 18px rgba(7,25,31,0.05));
}
.services-compact {
  margin-top: auto;
  min-height: 54vh;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(6,122,44,0.14);
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
}
.services-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 16px;
}
.services-top > div { display:flex; flex-direction:column; gap:0; }
.services-top p {
  margin: 14px 0 0;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.45;
  white-space: nowrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 238px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(251,252,247,0.96);
  border: 1px solid rgba(8,23,34,0.08);
}
.service-card-head { display: flex; align-items: flex-start; gap: 14px; }
.service-icon {
  width: 90px; height: 90px; flex: 0 0 90px; display:flex; align-items:center; justify-content:center;
}
.service-icon img { width: 90px; height: 90px; object-fit: contain; }
/* Aerial monitoring: +7% vs v11 (1.15 x 1.07 = 1.2305).
   Move the image's top-left 10% closer to the card's top edge. */
.services-grid .service-card:nth-child(6) .service-icon img {
  transform: translateY(-1.8px) scale(1.2305);
  transform-origin: top left;
}
.services-grid .service-card:nth-child(6) .service-card-head {
  min-height: 110px; /* reserve space for the visually enlarged icon */
}
.service-card h3 {
  margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: -0.03em;
}
.service-card p {
  margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5;
}
.capacity-section {
  min-height: 38svh;
  display: flex;
  align-items: center;
  padding: 22px 0 14px;
  scroll-margin-top: 6px;
}
.capacity-section .section-heading,
.why-section .section-heading { margin-bottom: 14px; }
.capacity-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.capacity-summary,
.capacity-card,
.why-card,
.contact-card,
.qr-card,
.about-panel,
.about-mini {
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(8,23,34,0.08);
  box-shadow: var(--shadow);
}
.capacity-summary {
  padding: 24px;
  background: linear-gradient(140deg, rgba(6,122,44,0.98), rgba(7,101,42,0.9));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.capacity-summary::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -14%;
  width: 70%;
  height: 78%;
  opacity: 0.16;
  background:
    radial-gradient(125% 95% at 100% 100%, transparent 56%, #fff 57%, #fff 60%, transparent 61%),
    radial-gradient(120% 92% at 100% 100%, transparent 64%, #fff 65%, #fff 68%, transparent 69%),
    radial-gradient(114% 88% at 100% 100%, transparent 72%, #fff 73%, #fff 76%, transparent 77%);
}
.capacity-summary > * { position: relative; z-index: 1; }
.capacity-summary strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 0.98;
}
.capacity-points {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 9px;
}
.capacity-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}
.capacity-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
}
.capacity-summary .small { margin:0; font-size: 13px; line-height: 1.46; color: rgba(255,255,255,0.86); }
.capacity-card {
  padding: 16px 18px 18px;
  display:flex; flex-direction:column; gap: 8px;
  justify-content: center;
  align-items: flex-start;
}
.capacity-label { font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:rgba(8,23,34,0.54); font-weight:800; }
.capacity-badge { width: 220px; height: 140px; object-fit: contain; }
.capacity-card h3 { margin:0; font-size: 26px; }
.capacity-card .big { font-size: 34px; font-weight:800; line-height:0.98; color: var(--green-dark); }
.capacity-card .note { margin:0; color: var(--muted); font-size:14px; line-height:1.48; }
.why-section {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
}
.why-grid {
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.why-card {
  padding: 16px 14px 18px;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.why-icon-wrap {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why-icon-wrap img { width: 52px; height: 52px; object-fit: contain; }
.why-card h3 { margin:0; font-size:22px; line-height:1.1; letter-spacing:-0.03em; }
.why-card p { margin:0; color: var(--muted); font-size:16.5px; line-height:1.56; }
.about-panel { padding: 30px; }
.about-layout {
  display:grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 22px; align-items:start;
}
.about-copy p { margin:0 0 16px; color: var(--muted); font-size:18px; line-height:1.72; }
.about-feature-grid {
  display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px;
}
.about-mini { padding: 20px; }
.about-mini h3 { margin: 0 0 10px; font-size: 22px; line-height:1.12; }
.about-mini p { margin:0; color: var(--muted); font-size:16px; line-height:1.62; }
.about-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; }
.about-tags span {
  display:inline-flex; padding:9px 13px; border-radius:999px; background: rgba(6,122,44,0.1);
  color: var(--green-dark); font-size:12px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase;
}
.contacts-grid {
  display:grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,0.85fr); gap:20px; align-items:stretch;
}
.contact-stack { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.contact-card { padding: 22px; display:flex; flex-direction:column; gap:12px; }
.email-card { grid-column: 1 / -1; }
.contact-label { font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:rgba(8,23,34,0.54); font-weight:800; }
.contact-card h3 {
  margin:0; font-size: clamp(19px, 1.9vw, 28px); line-height:1.05; letter-spacing:-0.03em; white-space: nowrap;
}
.contact-card p { margin:0; color: var(--muted); font-size:15px; line-height:1.55; }
.contact-link { margin-top:auto; font-weight:700; color: var(--green-dark); }
.qr-wrap { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.qr-card { padding:18px; text-align:center; display:flex; flex-direction:column; justify-content:center; }
.qr-card img { width:100%; max-width:176px; margin:0 auto 14px; border-radius:18px; }
.qr-card h3 { margin:0 0 6px; font-size:22px; }
.qr-card p { margin:0; color: var(--muted); font-size:14px; }
.footer { padding: 24px 0 38px; border-top:1px solid rgba(8,23,34,0.08); }
.footer-layout { display:flex; justify-content:space-between; gap:18px; align-items:center; }
.footer p, .footer span { margin:0; color: rgba(8,23,34,0.58); font-size:14px; }
.footer-brand { width:min(240px,44vw); margin-bottom:8px; }
.footer-right { text-align:right; display:grid; gap:8px; }

@media (max-width: 1160px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 12px 24px 22px; }
  .hero-kicker { white-space: normal; }
  .services-compact { min-height: auto; }
  .services-top p { white-space: normal; }
  .capacity-grid { grid-template-columns: 1fr 1fr; }
  .capacity-summary { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contacts-grid, .about-layout { grid-template-columns: 1fr; }
  .capacity-section, .why-section { min-height: auto; }
}
@media (max-width: 900px) {
  .header { align-items: flex-start; }
  .header-right { justify-content:flex-start; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .services-top p { white-space: normal; margin-top: 8px; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .container { width: min(calc(100% - 20px), var(--max)); }
  .top-screen { padding-top: 12px; padding-bottom: 16px; }
  .header { gap:10px; padding-bottom:10px; }
  .header-brand { width: 220px; }
  .nav, .header-cta { display:none; }
  .lang-switch { font-size:12px; }
  .hero { column-gap: 10px; row-gap: var(--section-title-gap); padding: 10px 16px 18px; }
  .hero-kicker { white-space: normal; }
  .hero h1,
  .section-heading h2,
  .services-top h2 { font-size: 30px; line-height: 1.12; letter-spacing: normal; }
  .hero p, .section-heading p { margin-top: 10px; font-size: 15px; line-height:1.5; }
  .hero-actions { margin-top: 16px; gap: 10px; }
  .button { padding:11px 14px; font-size:14px; }
  .hero-visual { min-height: 140px; }
  .hero-visual img { width: min(100%, 450px); }
  .services-compact { padding: 14px; }
  .services-top { margin-bottom: 12px; }
  .services-top > p { display:none; }
  .services-grid { gap: 10px; }
  .service-card { min-height: 192px; padding: 14px; gap: 10px; }
  .service-icon { width: 64px; height: 64px; flex-basis: 64px; }
  .service-icon img { width: 64px; height: 64px; }
  .services-grid .service-card:nth-child(6) .service-icon img {
    transform: translateY(-1.4px) scale(1.2305);
  }
  .services-grid .service-card:nth-child(6) .service-card-head {
    min-height: 79px;
  }
  .service-card h3 { font-size: 22px; }
  .service-card p { font-size: 14px; line-height:1.44; }
  .capacity-grid, .why-grid, .qr-wrap, .contact-stack, .about-feature-grid, .services-grid { grid-template-columns: 1fr; }
  .capacity-summary { grid-column:auto; }
  .capacity-badge { width: 190px; height: 122px; object-fit: contain; }
  .capacity-card h3 { font-size:24px; }
  .capacity-card .big { font-size: 32px; }
  .section-heading p, .about-copy p, .about-mini p { font-size:15px; }
  .why-card p { font-size:16px; }
  .why-card h3 { font-size: 22px; }
  .contact-card h3 { font-size: 21px; }
  .email-card { grid-column:auto; }
  .footer-layout { flex-direction: column; align-items:flex-start; }
  .footer-right { text-align:left; }
}


/* v13: shared top inset, exactly 12pt = 16 CSS pixels. */
:root { --section-inset-top: 12pt; }
.section { padding-top: var(--section-inset-top); }
.capacity-section { padding-top: var(--section-inset-top); }
.why-section { padding-top: var(--section-inset-top); }
.hero { padding-top: var(--section-inset-top); }
.services-compact { padding-top: var(--section-inset-top); }

/* 30% / 70% division of the visible first-screen CONTENT area.
   Excludes the site header, a small outer gutter and the inter-panel gap.
   Only applies when desktop viewport can physically accommodate it.
   Shorter/narrower viewports use natural flow: no hidden text or clipped cards. */
@media (min-width: 1161px) and (min-height: 870px) {
  .top-screen {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding: 8px 0;
  }
  .top-screen > .container {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 3fr) minmax(0, 7fr);
    gap: 8px;
  }
  .top-screen .header { min-height: 44px; padding-bottom: 0; }
  .top-screen .hero {
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: var(--section-inset-top) 24px 12px;
    grid-template-rows: max-content minmax(0, 1fr);
    align-content: start;
    row-gap: var(--section-title-gap);
  }
  .top-screen .hero-copy,
  .top-screen .hero-visual-wrap {
    min-height: 0;
    justify-content: flex-start;
  }
  .top-screen .hero-visual { min-height: 0; height: 100%; }
  .top-screen .hero-visual img {
    width: 100%;
    height: 100%;
    max-height: 34svh;
    object-fit: contain;
  }
  .top-screen .services-compact {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: var(--section-inset-top) 15px 12px;
  }
  .top-screen .services-top { flex: 0 0 auto; margin-bottom: 10px; }
  .top-screen .services-grid {
    min-height: 0;
    flex: 1 1 auto;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .top-screen .service-card {
    height: 100%;
    min-height: 0;
    justify-content: center;
    padding: 9px 13px 11px;
    gap: 7px;
  }
  .top-screen .service-icon { width: 66px; height: 66px; flex-basis: 66px; }
  .top-screen .service-icon img { width: 66px; height: 66px; }
  .top-screen .service-card h3 { font-size: 23px; }
  .top-screen .service-card p { font-size: 14px; line-height: 1.38; }
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head {
    min-height: 81px;
  }
}

/* Fit the full approved Hero copy into ~30% of a typical laptop screen.
   Keep font family and copy unchanged, slightly tighten nonessential gaps. */
@media (min-width: 1161px) and (min-height: 870px) and (max-height: 950px) {
  .top-screen .hero {
    padding-bottom: 8px;
    row-gap: var(--section-title-gap);
  }
  .top-screen .hero-kicker { margin-bottom: 0; }
  .top-screen .hero h1 { font-size: 35px; line-height: 1.08; }
  .top-screen .hero p { font-size: 14px; line-height: 1.37; margin-top: 7px; }
  .top-screen .hero-actions { margin-top: 10px; }
  .top-screen .button { padding: 9px 16px; font-size: 14px; }
  .top-screen .hero-visual img { max-height: 29svh; }
}

/* Text readability takes precedence on mobile: 30/70 is an aspirational
   desktop proportion and not a reason to crop six detailed service cards. */
@media (max-width: 1160px) {
  .top-screen { height: auto; }
  .top-screen .hero { padding-top: var(--section-inset-top); }
  .top-screen .services-compact { padding-top: var(--section-inset-top); }
}

/* Laptop height: keep full, readable content instead of clipping the
   Hero call-to-action or truncating the six service descriptions. */
@media (min-width: 1161px) and (max-height: 869px) {
  .top-screen { height: auto; min-height: 100svh; }
  .top-screen .hero { min-height: 30svh; }
  .top-screen .services-compact { min-height: 70svh; }
}
/* At moderate desktop heights give Hero enough room for CTA while keeping
   the first-screen allocation close to the requested 30 / 70. */
@media (min-width: 1161px) and (min-height: 870px) and (max-height: 950px) {
  .top-screen > .container {
    grid-template-rows: auto minmax(0, 3.15fr) minmax(0, 6.85fr);
  }
}

@media (min-width: 1161px) and (max-height: 869px) {
  .top-screen .hero {
    min-height: 30svh;
    padding: var(--section-inset-top) 24px 18px;
  }
  .top-screen .hero-visual { min-height: 0; }
  .top-screen .hero-visual img {
    display: block;
    width: min(100%, 380px);
    max-height: 180px;
    object-fit: contain;
  }
  .top-screen .services-compact {
    min-height: 70svh;
    margin-top: 8px;
    padding: var(--section-inset-top) 15px 14px;
  }
  .top-screen .services-grid { gap: 12px; }
  .top-screen .service-card {
    min-height: 190px;
    gap: 8px;
    padding: 12px 14px;
  }
  .top-screen .service-icon { width: 68px; height: 68px; flex-basis: 68px; }
  .top-screen .service-icon img { width: 68px; height: 68px; }
  .top-screen .service-card h3 { font-size: 24px; }
  .top-screen .service-card p { font-size: 14.5px; line-height: 1.42; }
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head {
    min-height: 84px;
  }
}

/* Keep all section labels exactly 12pt from the upper edge. */
.top-screen .hero .hero-kicker { margin-top: 0; }
.capacity-section, .why-section { align-items: flex-start; }

/* Keep the approved Hero content inside the reduced desktop panel. */
@media (min-width: 1161px) and (min-height: 951px) {
  .top-screen .hero h1 { font-size: 40px; line-height: 1.08; }
  .top-screen .hero p { font-size: 15px; line-height: 1.45; margin-top: 8px; }
  .top-screen .hero-actions { margin-top: 10px; }
  .top-screen .button { padding: 10px 16px; font-size: 14px; }
}

/* Hero and Services have a 1px border. Subtract that from the inner
   padding so the label's bounding box starts at exactly 12pt (16px). */
.top-screen .hero,
.top-screen .services-compact {
  padding-top: calc(var(--section-inset-top) - 1px);
}



/* v14 — requested visual scale updates, shared by Static and Next.js.
   18 pt from the outside of each section to its label (including framed panels). */
:root { --section-inset-top: 18pt; }

/* +30% relative to v13 base styles (90px / 28px / 16px). */
.service-icon {
  width: 117px;
  height: 117px;
  flex-basis: 117px;
}
.service-icon img { width: 117px; height: 117px; }
.service-card h3 { font-size: 36.4px; }
.service-card p { font-size: 20.8px; }

/* Aerial-monitoring icon keeps its v13 visual emphasis; reserve the taller footprint. */
.services-grid .service-card:nth-child(6) .service-card-head {
  min-height: 145px;
}

/* Company description +30%, without changing the section label. */
.hero-copy > p { font-size: 22.1px; }

/* Normal flow preserves content on short laptop screens, where the enlarged
   descriptions cannot fit within a fixed 70% panel. */
@media (min-width: 1161px) and (max-height: 1099px) {
  .top-screen { height: auto; min-height: 100svh; }
  .top-screen > .container {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  .top-screen .hero {
    height: auto;
    min-height: 30svh;
    padding: calc(var(--section-inset-top) - 1px) 24px 18px;
  }
  .top-screen .hero-copy > p {
    font-size: 20.8px; /* v13 laptop 16px effective when responsive; maintain >=30% */
    line-height: 1.48;
    margin-top: 12px;
  }
  .top-screen .services-compact {
    height: auto;
    min-height: 70svh;
    margin: 0;
    padding: calc(var(--section-inset-top) - 1px) 18px 20px;
  }
  .top-screen .services-grid {
    display: grid;
    grid-template-rows: auto auto;
    flex: none;
    gap: 16px;
  }
  .top-screen .service-card {
    height: auto;
    min-height: 0;
    padding: 18px 18px 20px;
    gap: 12px;
    justify-content: flex-start;
  }
  .top-screen .service-icon { width: 91px; height: 91px; flex-basis: 91px; }
  .top-screen .service-icon img { width: 91px; height: 91px; }
  .top-screen .service-card h3 { font-size: 31.2px; }
  .top-screen .service-card p { font-size: 18.85px; line-height: 1.48; }
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head { min-height: 113px; }
}

/* For taller desktop screens, preserve 30/70 as a target only when the
   expanded six-card content can fit; otherwise permit the sections to grow. */
@media (min-width: 1161px) and (min-height: 1100px) {
  .top-screen { min-height: 100svh; height: auto; }
  .top-screen > .container {
    display: grid;
    grid-template-rows: auto minmax(30svh, auto) minmax(70svh, auto);
    gap: 8px;
    height: auto;
  }
  .top-screen .hero,
  .top-screen .services-compact { min-height: 0; height: auto; }
  .top-screen .hero-copy > p { font-size: 19.5px; line-height: 1.5; margin-top: 12px; }
  .top-screen .services-grid { grid-template-rows: auto auto; flex: none; }
  .top-screen .service-card {
    height: auto;
    min-height: 0;
    padding: 15px 18px 18px;
    gap: 10px;
    justify-content: flex-start;
  }
  .top-screen .service-icon { width: 86px; height: 86px; flex-basis: 86px; }
  .top-screen .service-icon img { width: 86px; height: 86px; }
  .top-screen .service-card h3 { font-size: 29.9px; }
  .top-screen .service-card p { font-size: 18.2px; line-height: 1.43; }
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head { min-height: 108px; }
}

/* Responsive card scale is based on v13 mobile values: 64 / 22 / 14. */
@media (max-width: 640px) {
  .hero-copy > p,
  .top-screen .hero-copy > p { font-size: 19.5px; line-height: 1.5; }
  .service-icon,
  .top-screen .service-icon { width: 83.2px; height: 83.2px; flex-basis: 83.2px; }
  .service-icon img,
  .top-screen .service-icon img { width: 83.2px; height: 83.2px; }
  .service-card h3,
  .top-screen .service-card h3 { font-size: 28.6px; }
  .service-card p,
  .top-screen .service-card p { font-size: 18.2px; line-height: 1.45; }
  .services-grid .service-card:nth-child(6) .service-card-head,
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head {
    min-height: 104px;
  }
  .services-grid .service-card:nth-child(6) .service-icon img {
    transform: translateY(-1.4px) scale(1.2305);
  }
}

/* Exact +30% against v13's breakpoint-specific rendered values. */
@media (min-width: 1161px) and (min-height: 870px) and (max-height: 1099px) {
  .top-screen .service-icon { width: 85.8px; height: 85.8px; flex-basis: 85.8px; }
  .top-screen .service-icon img { width: 85.8px; height: 85.8px; }
  .top-screen .service-card h3 { font-size: 29.9px; }
  .top-screen .service-card p { font-size: 18.2px; }
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head { min-height: 106px; }
}
@media (min-width: 1161px) and (min-height: 870px) and (max-height: 950px) {
  .top-screen .hero-copy > p { font-size: 18.2px; }
}
@media (min-width: 1161px) and (min-height: 951px) and (max-height: 1099px) {
  .top-screen .hero-copy > p { font-size: 19.5px; }
}
@media (min-width: 1161px) and (max-height: 869px) {
  .top-screen .hero-copy > p { font-size: 22.1px; }
  .top-screen .service-icon { width: 88.4px; height: 88.4px; flex-basis: 88.4px; }
  .top-screen .service-icon img { width: 88.4px; height: 88.4px; }
  .top-screen .service-card h3 { font-size: 31.2px; }
  .top-screen .service-card p { font-size: 18.85px; }
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head { min-height: 110px; }
}
@media (min-width: 1161px) and (min-height: 1100px) {
  .top-screen .service-icon { width: 85.8px; height: 85.8px; flex-basis: 85.8px; }
  .top-screen .service-icon img { width: 85.8px; height: 85.8px; }
  .top-screen .hero-copy > p { font-size: 19.5px; }
}


/* v15 — service monitoring icon update, hero text refinement, unified section labels,
   larger T50 badge, and white block panels for Capacity / Why / About. */
:root {
  --section-inset-top: 18pt; /* 24px */
  --section-title-gap: 18pt; /* 24px */
  --block-label-size: 17px;
}

/* All block labels use the same typography as "Виробничі можливості". */
.hero .hero-kicker,
.section-heading .eyebrow,
.services-top .eyebrow {
  font-size: var(--block-label-size);
  line-height: 1.56;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--section-title-gap);
}

/* Hero company description: 10% smaller than v14 and 12pt gap before buttons. */
.hero-copy > p,
.top-screen .hero-copy > p {
  font-size: 19.9px;
  line-height: 1.56;
}
.hero-actions,
.top-screen .hero-actions {
  margin-top: 16px;
}

/* Services panel: keep content size, but apply the new monitoring icon.
   15% larger than normal icons, preserving top-left anchor. */
.services-grid .service-card:nth-child(6) .service-icon img,
.top-screen .services-grid .service-card:nth-child(6) .service-icon img {
  transform: translateY(-2px) scale(1.15);
  transform-origin: top left;
}
.services-grid .service-card:nth-child(6) .service-card-head,
.top-screen .services-grid .service-card:nth-child(6) .service-card-head {
  min-height: 136px;
}
@media (max-width: 640px) {
  .services-grid .service-card:nth-child(6) .service-icon img,
  .top-screen .services-grid .service-card:nth-child(6) .service-icon img {
    transform: translateY(-1.5px) scale(1.15);
  }
  .services-grid .service-card:nth-child(6) .service-card-head,
  .top-screen .services-grid .service-card:nth-child(6) .service-card-head {
    min-height: 96px;
  }
}

/* T50 visual emphasis +15%. */
.capacity-grid .capacity-card:first-of-type .capacity-badge,
.capacity-section .capacity-card:first-of-type .capacity-badge {
  width: 253px;
  height: 161px;
}
@media (max-width: 640px) {
  .capacity-grid .capacity-card:first-of-type .capacity-badge,
  .capacity-section .capacity-card:first-of-type .capacity-badge {
    width: 218px;
    height: 140px;
  }
}

/* White framed panels matching the services block. */
.capacity-section > .container,
.why-section > .container,
#about > .container {
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(6,122,44,0.14);
  box-shadow: var(--shadow);
  padding: calc(var(--section-inset-top) - 1px) 20px 22px;
}
.capacity-section > .container .section-heading,
.why-section > .container .section-heading,
#about > .container .section-heading {
  margin-bottom: 18px;
}
#about > .container .about-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Ensure the section padding doesn't visually double above framed blocks. */
.capacity-section,
.why-section,
#about.section,
#contacts.section {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Desktop-first hero text sizes by breakpoint (10% smaller than v14). */
@media (min-width: 1161px) and (max-height: 869px) {
  .top-screen .hero-copy > p { font-size: 19.9px; line-height: 1.5; }
  .top-screen .hero-actions { margin-top: 16px; }
}
@media (min-width: 1161px) and (min-height: 870px) and (max-height: 950px) {
  .top-screen .hero-copy > p { font-size: 16.4px; line-height: 1.48; }
  .top-screen .hero-actions { margin-top: 16px; }
}
@media (min-width: 1161px) and (min-height: 951px) and (max-height: 1099px) {
  .top-screen .hero-copy > p { font-size: 17.6px; line-height: 1.5; }
  .top-screen .hero-actions { margin-top: 16px; }
}
@media (min-width: 1161px) and (min-height: 1100px) {
  .top-screen .hero-copy > p { font-size: 17.6px; line-height: 1.5; }
  .top-screen .hero-actions { margin-top: 16px; }
}
@media (max-width: 640px) {
  .hero-copy > p,
  .top-screen .hero-copy > p { font-size: 17.6px; line-height: 1.5; }
}

/* v16 — Content-hugging Services panel; aligned monitoring card title.
   Override legacy viewport-driven minimum heights without resizing service content. */
.services-compact,
.top-screen .services-compact {
  min-height: 0;
  height: auto;
  align-self: start;
}
.top-screen .services-grid {
  flex: none;
  grid-template-rows: repeat(2, auto);
}
.top-screen .service-card {
  height: auto;
}

/* All six service titles should begin at the same vertical offset within each row.
   The monitoring icon remains a little larger, but no longer reserves extra space
   beneath itself. */
.services-grid .service-card:nth-child(6) .service-card-head,
.top-screen .services-grid .service-card:nth-child(6) .service-card-head {
  height: auto;
  min-height: 0;
}
.services-grid .service-card:nth-child(6) .service-icon img,
.top-screen .services-grid .service-card:nth-child(6) .service-icon img {
  transform: translateY(-2px) scale(1.08);
  transform-origin: top left;
}

/* On tall desktop screens, don't force a 70vh Services row: the user explicitly
   prefers the white panel to end just below the actual service cards. */
@media (min-width: 1161px) and (min-height: 1100px) {
  .top-screen > .container {
    grid-template-rows: auto minmax(30svh, auto) max-content;
    align-content: start;
  }
}


/* v18 adjustments: larger advantage icons, T50 +5%, aligned T50/T100 top lines */
.why-icon-wrap {
  width: 60px;
  height: 60px;
}
.why-icon-wrap img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.capacity-card {
  justify-content: flex-start;
  align-items: flex-start;
}
.capacity-badge {
  width: 220px;
  height: 140px;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 2px;
}
.capacity-grid .capacity-card:first-of-type .capacity-badge,
.capacity-section .capacity-card:first-of-type .capacity-badge {
  width: 220px;
  height: 140px;
  transform: scale(1.05);
  transform-origin: top left;
}
@media (max-width: 640px) {
  .why-icon-wrap {
    width: 56px;
    height: 56px;
  }
  .why-icon-wrap img {
    width: 56px;
    height: 56px;
  }
  .capacity-badge {
    width: 190px;
    height: 122px;
  }
  .capacity-grid .capacity-card:first-of-type .capacity-badge,
  .capacity-section .capacity-card:first-of-type .capacity-badge {
    width: 190px;
    height: 122px;
    transform: scale(1.05);
    transform-origin: top left;
  }
}


/* v19 adjustments: advantage icons +20% */
.why-icon-wrap {
  width: 72px;
  height: 72px;
}
.why-icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
@media (max-width: 640px) {
  .why-icon-wrap {
    width: 67px;
    height: 67px;
  }
  .why-icon-wrap img {
    width: 67px;
    height: 67px;
  }
}
