:root {
  --ink: #071a41;
  --blue: #0864ff;
  --blue-dark: #0352df;
  --muted: #4a5874;
  --line: #dbe4f1;
  --navy: #031936;
  --white: #fff;
  --shadow: 0 14px 34px rgba(4, 23, 54, .13);
  --radius: 10px;
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: "Segoe UI", Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.section-shell { padding: 24px 0 26px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-140%); padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; min-height: 80px; background: rgba(255,255,255,.97); border-bottom: 1px solid #edf1f7; backdrop-filter: blur(14px); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 18px; }
.brand { flex: 0 0 auto; }
.brand img { width: 205px; height: 64px; object-fit: contain; object-position: left center; }
.main-nav { margin-left: auto; display: flex; align-items: stretch; gap: 18px; height: 80px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; white-space: nowrap; color: #081739; font-size: 12px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 27px; border: 1px solid transparent; border-radius: 6px; font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .business-card:focus-visible, .main-nav a:focus-visible, .socials a:focus-visible { outline: 3px solid rgba(8,100,255,.35); outline-offset: 3px; }
.form-submit.btn-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.form-submit.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 8px 20px rgba(8,100,255,.20); }
.form-submit[disabled] { cursor: wait; opacity: .68; transform: none; box-shadow: none; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin: 14px 0 0; color: #a22c2c; font-size: 13px; font-weight: 700; line-height: 1.45; }
.btn-header { min-height: 46px; padding-inline: 18px; color: #fff; background: var(--blue); font-size: 13px; }
.btn-header:hover { background: var(--blue-dark); box-shadow: 0 8px 20px rgba(8,100,255,.23); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Hero: full-bleed image with a centered, responsive overlay content block */
.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: #071a36;
}
.hero-background {
  position: absolute;
  inset: 0;
  background: url("assets/home-hero-industrial-v2.webp") 56% center / cover no-repeat;
  transform: scale(1.01);
  filter: saturate(1.05) contrast(1.04);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,15,38,.92) 0%, rgba(2,15,38,.84) 24%, rgba(3,18,45,.60) 45%, rgba(3,18,45,.30) 65%, rgba(3,18,45,.10) 100%),
    linear-gradient(180deg, rgba(2,14,34,.04) 0%, rgba(2,14,34,.20) 100%);
}
.hero-stage {
  position: relative;
  z-index: 2;
  min-height: 610px;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: min(650px, 58%);
  padding: 84px 0 88px;
}
.eyebrow {
  margin: 0 0 18px;
  color: #8dbbff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .045em;
}
.eyebrow span { padding-inline: 4px; }
.hero h1 {
  margin: 0;
  max-width: 640px;
  color: #fff;
  font-size: clamp(48px, 4.5vw, 64px);
  line-height: 1.03;
  letter-spacing: -.042em;
  font-weight: 800;
}
.hero h1 strong { color: #3c83ff; font-weight: 800; }
.hero-text {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.94);
  font-size: 17px;
  line-height: 1.56;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero .btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 26px rgba(0,58,170,.30);
}
.hero .btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(0,58,170,.38);
}
.hero .btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(1,16,39,.18);
}
.hero .btn-secondary:hover {
  color: var(--blue-dark);
  background: #f5f8ff;
  border-color: #f5f8ff;
  box-shadow: 0 12px 28px rgba(1,16,39,.24);
}

/* Business section and cards */
.business-section {
  position: relative;
  overflow: hidden;
  padding: 62px 0 76px;
  background:
    radial-gradient(circle at 50% -10%, rgba(8,100,255,.14), transparent 34%),
    linear-gradient(180deg, #f3f7fc 0%, #f8faff 46%, #ffffff 100%);
  border-top: 1px solid rgba(7,26,65,.07);
}
.business-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8,100,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,100,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 68%);
}
.business-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #0864ff 0%, #35a7ff 34%, #46a776 67%, #ef711f 100%);
}
.business-section > .shell { position: relative; z-index: 1; }
.business-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
  align-items: end;
  gap: 48px;
}
.business-heading-main { max-width: 760px; }
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
}
.business-heading h2 {
  margin: 0;
  color: #071a41;
  font-size: clamp(32px, 3vw, 43px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}
.business-heading > p {
  margin: 0;
  color: #4b5a77;
  font-size: 16px;
  line-height: 1.62;
}
.business-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  margin-top: 38px;
}
.business-card {
  --accent: #0864ff;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7,26,65,.09);
  border-radius: 16px;
  background: #071a3c;
  box-shadow: 0 18px 38px rgba(4,23,54,.13);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.business-card--iot { --accent: #46a776; }
.business-card--mobile { --accent: #ef711f; }
.business-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 26px 52px rgba(4,23,54,.19);
}
.card-media {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: #dce5f1;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent 0%, rgba(7,26,60,.16) 48%, rgba(7,26,60,.54) 100%);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .28s ease;
}
.business-card--services .card-media img { object-position: 50% 47%; }
.business-card--iot .card-media img { object-position: 50% 52%; }
.business-card--mobile .card-media img { object-position: 50% 56%; }
.business-card:hover .card-media img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}
.card-body {
  position: relative;
  min-height: 246px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 19%, transparent), transparent 38%),
    linear-gradient(150deg, #08224d 0%, #04162f 76%);
}
.card-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
}
.card-body h3 {
  margin: 0 0 12px;
  max-width: 310px;
  color: #fff;
  font-size: 23px;
  line-height: 1.16;
  letter-spacing: -.026em;
  font-weight: 780;
}
.card-body p {
  max-width: 330px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.56;
}
.card-link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
}
.card-link span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  transition: transform .2s ease;
}
.business-card:hover .card-link span { transform: translateX(4px); }
/* Shared headings */
.section-heading { text-align: center; }
.section-heading h2 { margin: 0; color: #08183e; font-size: 31px; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.section-heading p { max-width: 770px; margin: 10px auto 0; color: #53617c; font-size: 16px; line-height: 1.5; }
.section-heading.compact p { margin-top: 7px; }

/* Institutional approach */
.approach-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background:
    linear-gradient(135deg, rgba(8,100,255,.035) 0%, rgba(8,100,255,0) 42%),
    #f3f6fb;
}
.approach-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -310px;
  bottom: -360px;
  border: 1px solid rgba(8,100,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(8,100,255,.018), 0 0 0 140px rgba(8,100,255,.012);
}
.approach-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: 72px;
  align-items: center;
}
.approach-copy { max-width: 430px; }
.approach-copy .section-kicker { margin-bottom: 14px; }
.approach-copy h2 {
  margin: 0;
  color: #071a41;
  font-size: clamp(35px, 3.1vw, 48px);
  line-height: 1.06;
  letter-spacing: -.042em;
  font-weight: 780;
}
.approach-intro {
  margin: 24px 0 0;
  color: #4a5874;
  font-size: 16px;
  line-height: 1.65;
}
.approach-statement {
  position: relative;
  margin: 30px 0 0;
  padding: 17px 0 17px 22px;
  color: #071a41;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 720;
  border-left: 3px solid var(--blue);
}
.approach-panel {
  position: relative;
  padding: 18px 34px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(7,26,65,.075);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(4,23,54,.10);
}
.approach-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(8,100,255,.035), transparent 38%);
}
.approach-track {
  position: absolute;
  z-index: 1;
  left: 67px;
  top: 54px;
  bottom: 54px;
  width: 2px;
  background: linear-gradient(180deg, rgba(8,100,255,.18), var(--blue) 45%, rgba(8,100,255,.18));
}
.approach-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 82px;
  padding: 14px 0;
}
.approach-step + .approach-step { border-top: 1px solid #e5ebf3; }
.approach-number {
  position: relative;
  width: 68px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
}
.approach-number::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: var(--blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(8,100,255,.18);
}
.approach-step h3 {
  margin: 0 0 5px;
  color: #071a41;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}
.approach-step p {
  margin: 0;
  color: #52617b;
  font-size: 14px;
  line-height: 1.48;
}

/* Netsense in brief */
.company-snapshot {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 92% 12%, rgba(8,100,255,.065), transparent 27%),
    #fff;
}
.company-snapshot::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(8,100,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(8,100,255,.018), 0 0 0 140px rgba(8,100,255,.012);
}
.company-snapshot-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr);
  gap: 62px;
  align-items: center;
}
.company-snapshot-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 20px;
  background: #dbe7f5;
  box-shadow: 0 24px 54px rgba(4,23,54,.16);
}
.company-snapshot-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2,17,40,.02) 44%, rgba(2,17,40,.62) 100%);
}
.company-snapshot-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}
.company-media-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.company-media-caption span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: #9dc4ff;
}
.company-media-caption strong {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.company-snapshot-copy { max-width: 510px; }
.company-snapshot-copy .section-kicker { margin-bottom: 14px; }
.company-snapshot-copy h2 {
  margin: 0;
  color: #071a41;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.041em;
  font-weight: 780;
}
.company-summary {
  margin: 22px 0 0;
  color: #4b5b76;
  font-size: 16px;
  line-height: 1.65;
}
.company-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 24px;
  margin-top: 26px;
  border-top: 1px solid #dfe7f2;
  border-bottom: 1px solid #dfe7f2;
}
.company-points > div {
  position: relative;
  min-height: 92px;
  padding: 18px 0 16px 20px;
  display: flex;
  align-items: flex-start;
}
.company-points > div:nth-child(n+3) { border-top: 1px solid #e8edf5; }
.company-points > div > span {
  position: absolute;
  left: 0;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(8,100,255,.09);
}
.company-points p {
  margin: 0;
  color: #52617a;
  font-size: 13.5px;
  line-height: 1.48;
}
.company-points strong {
  display: block;
  margin-bottom: 2px;
  color: #071a41;
  font-size: 14px;
  font-weight: 800;
}
.company-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}
.company-link span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  transition: transform .18s ease, background-color .18s ease;
}
.company-link:hover span { transform: translateX(4px); background: var(--blue-dark); }

/* CTA: full-width light transition before the dark footer */
.consulting-cta {
  position: relative;
  margin-top: 42px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 20%, rgba(38,126,255,.12), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(35,188,154,.10), transparent 25%),
    linear-gradient(105deg, #e5f0ff 0%, #f5f9ff 54%, #e8f8f4 100%);
  border-top: 1px solid rgba(8,100,255,.10);
}
.consulting-cta-inner {
  min-height: 142px;
  padding-top: 30px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}
.cta-copy { max-width: 700px; }
.cta-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 27px);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.cta-copy p {
  margin: 8px 0 0;
  color: #4f607b;
  font-size: 14.5px;
  line-height: 1.55;
}
.cta-actions { display: flex; align-items: center; gap: 12px; }
.cta-actions .btn {
  min-width: 166px;
  min-height: 48px;
  padding-inline: 20px;
  font-size: 14px;
}
.consulting-cta .btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(8,100,255,.17);
}
.consulting-cta .btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 10px 22px rgba(8,100,255,.22);
}
.btn-whatsapp {
  color: #146c4d;
  background: rgba(255,255,255,.92);
  border-color: rgba(31,157,104,.36);
}
.btn-whatsapp:hover {
  color: #0f5a40;
  background: #fff;
  border-color: rgba(31,157,104,.56);
  box-shadow: 0 8px 18px rgba(23,107,76,.08);
}
.whatsapp-mark {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  overflow: visible;
}
.whatsapp-mark .wa-bubble {
  fill: #20a86f;
  stroke: none;
}
.whatsapp-mark .wa-phone {
  fill: #fff;
  stroke: none;
}

/* Footer */
.site-footer {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(8,100,255,.12), transparent 28%),
    linear-gradient(110deg, #031936 0%, #02142f 100%);
  border-top: 1px solid rgba(94,167,255,.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr .78fr 1.18fr;
  gap: 54px;
  padding-top: 42px;
  padding-bottom: 34px;
}
.footer-brand img {
  width: 228px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}
.footer-brand p {
  max-width: 335px;
  margin: 8px 0 19px;
  color: #cbd7e9;
  font-size: 14px;
  line-height: 1.58;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 7px;
}
.footer-grid h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.footer-column a,
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ccd8e9;
  font-size: 14px;
  line-height: 1.42;
}
.footer-column a { transition: color .18s ease, transform .18s ease; }
.footer-column a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer-contact a,
.footer-address { width: 100%; }
.footer-contact svg,
.footer-address svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #61a8ff;
  stroke-width: 1.8;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #dce7f5;
  border: 1px solid rgba(220,231,245,.48);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.socials a:hover {
  color: #fff;
  border-color: rgba(97,168,255,.88);
  background: rgba(8,100,255,.12);
  transform: translateY(-2px);
}
.socials svg { width: 20px; height: 20px; stroke-width: 1.8; }
.footer-lower { border-top: 1px solid rgba(214,227,244,.12); }
.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #98a9c1;
  font-size: 12.5px;
}

@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 64px), var(--shell)); }
  .header-inner { gap: 14px; }
  .brand img { width: 184px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 11px; }
  .btn-header { padding-inline: 14px; }
  .business-cards { gap: 16px; }
  .card-body { padding-inline: 22px; }
  .card-body h3 { font-size: 21px; }
  .footer-grid { gap: 34px; }
}



/* Header switches to compact navigation before the desktop menu becomes crowded. */
@media (max-width: 1080px) {
  .site-header, .header-inner { min-height: 72px; }
  .brand img { width: 192px; height: 60px; }
  .nav-toggle { display: block; }
  .btn-header { display: none; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 16px 25px rgba(5,27,63,.12);
    transition: max-height .25s ease, padding .25s ease;
  }
  .main-nav.open { max-height: 440px; padding-block: 10px 18px; }
  .main-nav a { min-height: 46px; font-size: 14px; }
  .main-nav a::after { bottom: 6px; right: auto; width: 38px; }
}

@media (max-width: 900px) {
  .site-header, .header-inner { min-height: 72px; }
  .brand img { width: 182px; height: 58px; }
  .nav-toggle { display: block; }
  .btn-header { display: none; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; height: auto; max-height: 0; overflow: hidden; margin: 0; padding: 0 24px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 16px 25px rgba(5,27,63,.12); transition: max-height .25s ease, padding .25s ease; }
  .main-nav.open { max-height: 440px; padding-block: 10px 18px; }
  .main-nav a { min-height: 46px; font-size: 14px; }
  .main-nav a::after { bottom: 6px; right: auto; width: 38px; }
  .hero, .hero-stage { min-height: 560px; }
  .hero-background { background-position: 60% center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(2,15,38,.93) 0%, rgba(3,18,45,.82) 48%, rgba(3,18,45,.46) 78%, rgba(3,18,45,.18) 100%),
      linear-gradient(180deg, rgba(2,14,34,.06) 0%, rgba(2,14,34,.24) 100%);
  }
  .hero-copy { width: min(610px, 76%); padding: 68px 0 72px; }
  .hero h1 { font-size: clamp(44px, 7vw, 58px); }
  .business-section { padding-top: 52px; padding-bottom: 62px; }
  .business-heading { grid-template-columns: 1fr; gap: 14px; }
  .business-heading > p { max-width: 680px; }
  .business-cards { grid-template-columns: 1fr; max-width: 680px; margin: 30px auto 0; }
  .card-media { height: 260px; }
  .card-body { min-height: 225px; }
  .approach-section { padding: 62px 0; }
  .approach-layout { grid-template-columns: 1fr; gap: 36px; }
  .approach-copy { max-width: 680px; }
  .approach-panel { max-width: 760px; width: 100%; }
  .company-snapshot { padding: 62px 0; }
  .company-snapshot-layout { grid-template-columns: 1fr; gap: 38px; }
  .company-snapshot-media, .company-snapshot-media img { height: 390px; min-height: 390px; }
  .company-snapshot-copy { max-width: 760px; }
  .consulting-cta-inner { grid-template-columns: 1fr; gap: 22px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1.25fr 1fr; gap: 38px 44px; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .site-header { min-height: 68px; }
  .main-nav { top: 68px; }
  .brand img { width: 168px; height: 54px; }
  .hero, .hero-stage { min-height: 600px; }
  .hero-background {
    background-image: url("assets/home-hero-industrial-mobile-v2.webp");
    background-position: 54% center;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(2,15,38,.96) 0%, rgba(3,18,45,.90) 62%, rgba(3,18,45,.62) 100%),
      linear-gradient(180deg, rgba(2,14,34,.08) 0%, rgba(2,14,34,.30) 100%);
  }
  .hero-copy { width: 100%; padding: 54px 0 60px; }
  .eyebrow { font-size: 12px; margin-bottom: 15px; }
  .hero h1 { font-size: 41px; line-height: 1.04; max-width: 520px; }
  .hero-text { margin-top: 20px; font-size: 16px; max-width: 520px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; gap: 11px; }
  .btn { min-height: 47px; padding-inline: 18px; font-size: 15px; }
  .business-section { padding-top: 42px; padding-bottom: 48px; }
  .business-heading h2 { font-size: 31px; }
  .business-heading > p { font-size: 15px; line-height: 1.55; }
  .business-cards { width: 100%; margin-top: 24px; }
  .card-media { height: 210px; }
  .card-body { min-height: 235px; padding: 36px 22px 22px; }
  .card-body h3 { font-size: 22px; }
  .section-shell { padding-block: 30px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p { font-size: 15px; }
  .approach-section { padding: 46px 0; }
  .approach-layout { gap: 28px; }
  .approach-copy h2 { font-size: 34px; }
  .approach-intro { margin-top: 18px; font-size: 15px; }
  .approach-statement { margin-top: 22px; font-size: 16px; }
  .approach-panel { padding: 12px 20px; border-radius: 14px; }
  .approach-track { left: 48px; top: 46px; bottom: 46px; }
  .approach-step { grid-template-columns: 48px 1fr; gap: 15px; min-height: 86px; padding: 12px 0; }
  .approach-number { width: 48px; font-size: 13px; }
  .approach-number::after { right: -5px; }
  .approach-step h3 { font-size: 16px; }
  .approach-step p { font-size: 13.5px; }
  .company-snapshot { padding: 46px 0 48px; }
  .company-snapshot-layout { gap: 30px; }
  .company-snapshot-media, .company-snapshot-media img { height: 290px; min-height: 290px; }
  .company-snapshot-media { border-radius: 15px; }
  .company-media-caption { left: 20px; bottom: 18px; }
  .company-media-caption strong { font-size: 19px; }
  .company-snapshot-copy h2 { font-size: 33px; }
  .company-summary { margin-top: 17px; font-size: 15px; }
  .company-points { grid-template-columns: 1fr; margin-top: 22px; }
  .company-points > div { min-height: auto; padding: 15px 0 14px 20px; }
  .company-points > div:nth-child(n+2) { border-top: 1px solid #e8edf5; }
  .company-points > div > span { top: 21px; }
  .company-link { margin-top: 22px; }
  .consulting-cta { margin-top: 30px; }
  .consulting-cta-inner { min-height: 0; padding-top: 28px; padding-bottom: 30px; text-align: left; gap: 20px; }
  .cta-copy h2 { font-size: 23px; }
  .cta-copy p { font-size: 14px; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-actions .btn { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 30px; }
  .footer-brand img { width: 215px; height: 70px; }
  .footer-column { padding-top: 0; }
  .footer-bottom { min-height: 72px; flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
}


@media (max-width: 420px) {
  .hero, .hero-stage { min-height: 560px; }
  .hero-copy { padding: 46px 0 50px; }
  .hero h1 { font-size: 38px; line-height: 1.045; }
  .hero-text { font-size: 15px; line-height: 1.52; }
  .business-heading h2 { font-size: 29px; }
  .card-media { height: 195px; }
  .card-body { min-height: 225px; }
  .approach-copy h2 { font-size: 31px; }
  .company-snapshot-copy h2 { font-size: 30px; }
}

/* Legal links in the shared footer */
.footer-legal { display: flex; align-items: center; gap: 18px; }
.footer-legal a { color: #98a9c1; font-size: 12.5px; transition: color .18s ease; }
.footer-legal a:hover,
.footer-legal a[aria-current="page"] { color: #fff; }
@media (max-width: 640px) {
  .footer-legal { gap: 15px; }
}

/* Producción: CTAs sin WhatsApp publicado */
.cta-actions:empty,
.company-cta-actions:empty { display: none; }
.cta-actions,
.company-cta-actions { gap: 14px; }
.form-status[data-state="success"] { color: #146b48; background: #ecfdf5; border-color: #b8ead3; }





/* Anti-bot verification on public contact forms. */
.form-turnstile {
  width: 100%;
  min-height: 0;
  margin: 4px 0 14px;
}
.form-turnstile iframe {
  max-width: 100%;
}
