/* ============================================================
   RONEX — site components (nav, hero, cards, panels, footer)
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,8,11,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
/* Light theme: frosted chrome only after leaving the dark hero band */
html[data-theme="light"] .nav:not(.nav-over-hero) {
  background: var(--chrome-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-2);
}
html[data-theme="light"] .nav:not(.nav-over-hero).scrolled {
  box-shadow: var(--chrome-shadow);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 30px; height: 30px; }
.brand .wm { height: 17px; width: auto; color: #fff; }
.brand .wm svg { height: 100%; width: auto; fill: currentColor; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--muted); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .28s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.burger { display: none; }

@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger {
    display: flex; flex-direction: column; gap: 5px; width: 42px; height: 42px;
    align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2);
    border-radius: 2px; cursor: pointer;
  }
  .burger span { width: 18px; height: 1.5px; background: #fff; transition: .3s; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 72px 0 0 0; z-index: 55; background: rgba(7,8,11,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s; border-top: 1px solid var(--line);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu { transform: none; opacity: 1; pointer-events: auto; }
  .menu-scroll {
    flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    display: flex; flex-direction: column; gap: 24px;
    padding: 24px var(--gutter) max(22px, env(safe-area-inset-bottom));
  }
  .menu-eyebrow {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    font-family: var(--mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-2);
  }
  .menu-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--line); }
  .menu-divisions { display: flex; flex-direction: column; }
  .menu-divisions a {
    display: flex; align-items: center; gap: 16px; padding: 13px 2px;
    border-bottom: 1px solid var(--line); color: #fff;
    font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em;
  }
  .menu-divisions .m-no { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--accent-br); }
  .menu-divisions .m-tt { flex: 1; }
  .menu-divisions svg { width: 16px; height: 16px; color: var(--muted-2); flex: none; }
  .menu a:focus:not(:focus-visible) { outline: none; }
  .menu-divisions a:active { color: var(--accent-br); }
  .menu-divisions a:active svg { color: var(--accent-br); }
  .menu-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  }
  .menu-grid a {
    background: var(--bg); padding: 12px 16px;
    font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted);
  }
  .menu-grid a:active { color: #fff; background: var(--bg-1); }
  .menu-foot { margin-top: auto; padding-top: 2px; }
  .menu-foot .btn { width: 100%; justify-content: center; }
  .menu-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 14px; flex-wrap: wrap; }
  .menu-slogan {
    font-family: var(--mono); font-size: 10px; font-weight: 500;
    letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-br);
  }
  .menu-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted-2);
  }
  .menu-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #25d07d; box-shadow: 0 0 8px #25d07d; }
  /* staggered cascade on open */
  .menu-sec, .menu-foot { opacity: 0; transform: translateY(16px); transition: opacity .38s ease, transform .38s cubic-bezier(.2,.7,.3,1); }
  body.menu-open .menu-sec, body.menu-open .menu-foot { opacity: 1; transform: none; }
  body.menu-open .menu-sec + .menu-sec { transition-delay: .07s; }
  body.menu-open .menu-foot { transition-delay: .14s; }
  @media (prefers-reduced-motion: reduce) {
    .menu, .menu-sec, .menu-foot { transition: none; transform: none; }
  }
}
@media (min-width: 1041px) { .menu { display: none; } }

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 18%, var(--accent-dim), transparent 55%),
    radial-gradient(90% 80% at 12% 90%, rgba(62,139,255,0.10), transparent 55%),
    linear-gradient(180deg, rgba(7,8,11,0.4) 0%, transparent 22%, transparent 55%, var(--bg) 100%);
}
.hero-in { position: relative; z-index: 3; padding-top: 96px; padding-bottom: 60px; width: 100%; }
.hero h1 { margin: 26px 0 0; max-width: 16ch; }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-slogan {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.hero-slogan::before { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.hero-meta {
  display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 28px; max-width: 760px;
}
.hero-meta .m-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; }
.hero-meta .m-v { font-size: clamp(26px,3vw,38px); font-weight: 600; letter-spacing: -0.03em; margin-top: 8px; }
.hero-meta .m-v small { font-size: 0.5em; color: var(--accent-br); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint .ln { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%,100%{opacity:.3; transform:scaleY(.6)} 50%{opacity:1; transform:scaleY(1)} }

/* hero floating chip */
.hud {
  position: absolute; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--muted); border: 1px solid var(--line-2); background: rgba(10,12,18,0.55);
  backdrop-filter: blur(8px); padding: 9px 13px; border-radius: 3px; display: flex; align-items: center; gap: 9px;
  animation: floaty 7s ease-in-out infinite;
}
.hud .dot { width: 6px; height: 6px; border-radius: 50%; background: #25d07d; box-shadow: 0 0 8px #25d07d; }
.hud--end-top { top: 20%; inset-inline-end: 7%; }
.hud--end-bottom { bottom: 14%; inset-inline-end: 7%; animation-delay: -3s; }
.hud b { color: #fff; font-weight: 500; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@media (max-width: 920px){ .hud { display:none; } }

/* ---------------- MARQUEE ---------------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--bg-1); }
.marquee-track { display: flex; gap: 64px; white-space: nowrap; width: max-content; animation: scrollx 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); display: flex; align-items: center; gap: 64px; }
.marquee-item::after { content: '✕'; color: var(--accent); font-size: 9px; }
.marquee-item--slogan { color: var(--accent-br); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: none; }
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------------- BRAND FILM ---------------- */
.film-band {
  position: relative; border: 1px solid var(--line-2); border-radius: 6px;
  overflow: hidden; background: var(--bg-1);
}
.film-band video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film-cta {
  position: absolute; bottom: 18px; inset-inline-end: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); background: rgba(10,12,18,0.6);
  backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 4px; transition: 0.2s;
}
.film-cta:hover { color: #fff; border-color: var(--accent); }
.film-cta svg { width: 14px; height: 14px; }
@media (max-width: 680px){ .film-cta { position: static; margin: 14px; } }

/* ---------------- DIVISION CARDS ---------------- */
.divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (max-width: 800px){ .divisions { grid-template-columns: 1fr; } }
.dcard {
  position: relative; background: var(--bg); padding: 40px; min-height: 320px;
  display: flex; flex-direction: column; cursor: pointer; overflow: hidden;
  transition: background .4s, transform .4s cubic-bezier(.2,.7,.3,1);
  text-align: left;
}
.dcard::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px 320px at var(--mx,50%) var(--my,30%), var(--accent-dim), transparent 70%);
}
.dcard:hover { background: var(--panel); }
.dcard:hover::before { opacity: 1; }
.dcard .d-no { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: 0.2em; }
.dcard .d-ico { margin: 4px 0 22px; width: 46px; height: 46px; color: var(--accent-br); }
.dcard .d-ico svg { width: 100%; height: 100%; }
.dcard h3 { margin-bottom: 12px; }
.dcard .d-desc { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.dcard .d-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.dcard .d-tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 2px; }
.dcard .d-go { position: absolute; top: 36px; right: 36px; color: var(--muted-2); transition: color .3s, transform .3s; }
.dcard:hover .d-go { color: var(--accent-br); transform: translate(3px,-3px); }
.dcard:focus-visible { outline: 2px solid var(--accent-br); outline-offset: -2px; background: var(--panel); }
.dcard:focus-visible::before { opacity: 1; }
.dcard:focus-visible .d-go { color: var(--accent-br); transform: translate(3px,-3px); }
.dcard .d-go svg { width: 20px; height: 20px; }

/* ---------------- FEATURE / PANEL ---------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px,6vw,96px); align-items: center; }
.split.rev .split-media { order: -1; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; gap: 48px; } .split.rev .split-media { order: 0; } }

.bullets { display: flex; flex-direction: column; gap: 2px; margin-top: 36px; }
.bullet { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.bullet:last-child { border-bottom: 1px solid var(--line); }
.bullet .b-no { font-family: var(--mono); font-size: 12px; color: var(--accent-br); padding-top: 3px; min-width: 30px; }
.bullet h4 { font-size: 17px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.01em; }
.bullet p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* generic device/mockup frame */
.frame {
  position: relative; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.frame-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.frame-bar .lbl { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-left: 10px; letter-spacing: 0.08em; }
.frame-body { padding: 22px; }

/* dashboard mock */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash .kpi { border: 1px solid var(--line); border-radius: 5px; padding: 16px; background: rgba(255,255,255,0.012); }
.dash .kpi .k-l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.dash .kpi .k-v { font-size: 26px; font-weight: 600; margin-top: 8px; letter-spacing: -0.02em; }
.dash .kpi .k-v small { font-size: 12px; color: #25d07d; margin-left: 6px; font-family: var(--mono); letter-spacing: 0; }
.dash .wide { grid-column: 1 / -1; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 14px; }
.spark i { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-dim)); border-radius: 1px; display: block; opacity: 0.85; transform: scaleY(0.06); transform-origin: bottom; }
@keyframes growbar { from { transform: scaleY(.05); transform-origin: bottom; } }

/* node/flow diagram for software section */
.flowboard { position: relative; min-height: 360px; border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(180deg,var(--panel-2),var(--panel)); overflow: hidden; }
.flowboard canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* hardware / infra rack */
.rack { display: grid; gap: 10px; }
.unit {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 5px; background: linear-gradient(90deg, var(--panel-2), var(--panel)); position: relative; overflow: hidden;
}
.unit .leds { display: flex; gap: 5px; }
.unit .led { width: 6px; height: 6px; border-radius: 1px; background: var(--faint); }
.unit .led.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 2.4s infinite; }
.unit .led.g { background: #25d07d; box-shadow: 0 0 8px #25d07d; }
@keyframes blink { 0%,90%,100%{opacity:1} 95%{opacity:.25} }
.unit .u-name { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em; color: var(--text); }
.unit .u-meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-left: auto; }
.unit .bay { display: flex; gap: 3px; }
.unit .bay i { width: 4px; height: 20px; background: var(--line-2); border-radius: 1px; }
.unit .bay i.f { background: linear-gradient(180deg,var(--accent-br),var(--accent)); }

/* creative tiles */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(160px, 180px);
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.ctile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  min-width: 0;
  min-height: 160px;
}
.ctile.tall { grid-row: span 2; min-height: 100%; }
.ctile.wide { grid-column: span 2; }
.ctile .ct-l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 2;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.ctile .ph { position: absolute; inset: 0; z-index: 0; }
.ctile::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(7,8,11,.85));
  opacity: 0.85; transition: opacity .3s;
}
.ctile:hover::after, .ctile:focus-within::after { opacity: 1; }
.ctile .ct-l { transform: translateY(0); transition: transform .3s ease; }
.ctile:hover .ct-l, .ctile:focus-within .ct-l { transform: translateY(-4px); }

/* image placeholder component */
image-slot, .ph-slot {
  display: block; width: 100%; height: 100%; min-height: 48px;
  background: linear-gradient(110deg, var(--panel) 8%, var(--panel-2) 18%, var(--panel) 33%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: inherit;
  position: relative; overflow: hidden;
}
image-slot::after, .ph-slot::after {
  content: attr(placeholder);
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 12px; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); line-height: 1.4;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  image-slot, .ph-slot { animation: none; background: var(--panel-2); }
}

.split-media {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.split-media .creative-grid {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  .split-media .creative-grid {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .creative-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }
  .ctile.tall {
    grid-row: span 1;
    min-height: 200px;
  }
  .ctile.wide {
    grid-column: span 2;
    min-height: 150px;
  }
}

@media (max-width: 520px) {
  .creative-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }
  .ctile,
  .ctile.tall,
  .ctile.wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .ctile.tall {
    aspect-ratio: 3 / 4;
  }
  .ctile.wide {
    aspect-ratio: 16 / 9;
  }
  #creative .shead {
    max-width: none !important;
  }
  #creative .shead .h2 {
    max-width: none;
  }
  #creative .link-arrow {
    max-width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .ctile {
    padding: 14px;
  }
  .ctile .ct-l {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}

@media (pointer: coarse) {
  .ctile[data-tilt] {
    transform: none !important;
  }
}

/* why grid */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (max-width: 820px){ .why-grid { grid-template-columns: 1fr; } }
.why-cell { background: var(--bg); padding: 36px 32px; transition: background .3s; }
.why-cell:hover { background: var(--panel); }
.why-cell .w-no { font-family: var(--mono); font-size: 12px; color: var(--accent-br); letter-spacing: 0.18em; }
.why-cell h4 { font-size: 20px; margin: 18px 0 12px; letter-spacing: -0.02em; }
.why-cell p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------------- CONTACT ---------------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
}
.contact-info .ci-row { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-info .ci-row:last-child { border-bottom: 1px solid var(--line); }
.contact-info .ci-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.contact-info .ci-v { font-size: 18px; margin-top: 6px; }
.contact-info .ci-v a:hover { color: var(--accent-br); }
/* markup has no whitespace around the · separator, so the row needs its own gap
   at every width — not just on mobile — or the links jam against the dot */
.contact-info .ci-links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.contact-info .ci-links-row .ci-dot { color: var(--muted-2); }
.contact-info .ci-links-row a { white-space: nowrap; }
/* <address> is italic + margined by UA default; reset and tighten the two-line stack */
.contact-info .ci-addr { font-style: normal; margin: 0; line-height: 1.45; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line-2); border-radius: 3px;
  padding: 14px 16px; color: #fff; font-family: var(--font); font-size: 15px; transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--accent-dim); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239CA2B4' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.proj-types { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--muted); cursor: pointer;
  background: rgba(255,255,255,0.015); transition: .2s; user-select: none;
}
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.field input.invalid, .field textarea.invalid { border-color: #ff5c6c; background: rgba(255,92,108,0.06); }
.form-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; margin-top: 14px; min-height: 16px; }
.form-note[role="status"] { display: block; }
.form-note.err { color: #ff7986; }
.form-note.ok { color: #25d07d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.submit-row .btn {
  max-width: 100%;
}
.filedrop { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 4px; background: rgba(255,255,255,0.015); cursor: pointer; transition: .25s; color: var(--muted); font-size: 14px; }
.filedrop:hover, .filedrop.over { border-color: var(--accent); background: var(--accent-dim); color: #fff; }
.filedrop svg { width: 20px; height: 20px; color: var(--accent-br); flex: none; }
.filedrop u { color: var(--accent-br); text-decoration: none; border-bottom: 1px solid var(--accent-br); }

/* ---------------- FOOTER ---------------- */
.footer { border-top: 1px solid var(--line); padding-block: 72px 40px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.footer .fcol ul { display: flex; flex-direction: column; gap: 12px; }
/* <address> is italic + margined by UA default; reset so it matches sibling .foot-link rows.
   The Iraq office has no maps link yet, so style the bare <address> to match .foot-link too. */
.footer .foot-addr { font-style: normal; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer .foot-addr .foot-link { display: inline-block; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom .mono { font-size: 11px; color: var(--muted-2); letter-spacing: 0.1em; }
.footer .big-mark { position: absolute; right: -3%; bottom: -38%; width: 46%; opacity: 0.03; pointer-events: none; }
.footer .big-mark svg { width: 100%; fill: #fff; }

/* divider with index */
.sep { display: flex; align-items: center; gap: 20px; }
.sep .ln { flex: 1; height: 1px; background: var(--line); }

/* ---------------- ECOSYSTEM DIAGRAM ---------------- */
.eco { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px,5vw,72px); align-items: center; }
@media (max-width: 920px){ .eco { grid-template-columns: 1fr; } }
.eco-stage { position: relative; aspect-ratio: 1/0.82; width: 100%; }
.eco-stage svg.eco-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.eco-links line { stroke: var(--line-2); stroke-width: 1; }
.eco-links line.flow { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 9; animation: ecoflow 1.1s linear infinite; opacity: 0; transition: opacity .3s; }
.eco-links line.flow.on { opacity: 1; }
@keyframes ecoflow { to { stroke-dashoffset: -26; } }
/* Diagram keeps physical left/top — RTL only flips the grid columns, not node coords */
.eco-node, .eco-hub { position: absolute; transform: translate(-50%,-50%); z-index: 2; }
.eco-node { left: var(--eco-x, 50%); top: var(--eco-y, 50%); }
.eco-hub { left: 50%; top: 50%; width: clamp(96px,13vw,128px); height: clamp(96px,13vw,128px); border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--accent), #4b3bd6); box-shadow: 0 0 0 1px var(--accent-br), 0 24px 60px -18px rgba(var(--accent-rgb),.7); }
.eco-hub svg { width: 52%; height: 52%; fill: #fff; }
.eco-hub::after { content: ''; position: absolute; inset: -10px; border-radius: 22px; border: 1px solid var(--line-violet); animation: ecopulse 3s ease-in-out infinite; }
@keyframes ecopulse { 0%,100%{ transform: scale(1); opacity:.6 } 50%{ transform: scale(1.08); opacity:.15 } }
.eco-node { width: clamp(116px,15vw,150px); cursor: pointer; }
.eco-node .en-box { border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 14px; background: rgba(12,16,24,.86); backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; transition: .3s; }
.eco-node .en-ic { width: 30px; height: 30px; color: var(--accent-br); }
.eco-node .en-ic svg { width: 100%; height: 100%; }
.eco-node .en-t { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--text); line-height: 1.3; }
.eco-node:hover .en-box, .eco-node.active .en-box, .eco-node:focus-visible .en-box { border-color: var(--accent); background: var(--accent-dim); transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(var(--accent-rgb),.6); }
.eco-detail { border: 1px solid var(--line-2); border-radius: 10px; padding: 30px; background: linear-gradient(180deg,var(--panel-2),var(--panel)); min-height: 240px; }
.eco-detail .ed-no { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .2em; }
.eco-detail h3 { font-size: 26px; margin: 12px 0 14px; letter-spacing: -0.02em; }
.eco-detail p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
@media (max-width: 920px){ .eco-stage { display: none; } .eco-detail { display: none; } .eco-list { display: grid; } }
@media (min-width: 921px){ .eco-list { display: none; } }
.eco-list { grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px){ .eco-list { grid-template-columns: 1fr; } }
.eco-list a { border: 1px solid var(--line-2); border-radius: 8px; padding: 20px; background: var(--panel); display: flex; gap: 14px; align-items: center; }
.eco-list a .en-ic { width: 28px; height: 28px; color: var(--accent-br); flex: none; }
.eco-list a .en-ic svg { width: 100%; height: 100%; }
.eco-list a .lt { display: block; font-size: 15px; line-height: 1.3; }
.eco-list a .ld { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }

/* ---------------- CUSTOMER FOOTPRINT ---------------- */
.customer-footprint-band { position: relative; padding-block: var(--s-section); border-block: 1px solid var(--line); overflow: hidden; }
.customer-footprint-head { max-width: 720px; }
.customer-footprint { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 18px; align-items: stretch; }
.customer-map { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: radial-gradient(circle at 58% 42%, rgba(var(--accent-rgb),.12), transparent 32%), linear-gradient(160deg,#070b12 0%,#0b1018 55%,#0a0e16 100%); touch-action: none; }
.customer-map__viewport { position: relative; width: 100%; height: 100%; min-height: 360px; cursor: grab; }
.customer-map__viewport.is-dragging { cursor: grabbing; }
.customer-map svg { width: 100%; height: 100%; min-height: 360px; display: block; }
.customer-map__stage { transform-origin: 0 0; }
.customer-map__grid,.customer-map__world,.customer-map__markets,.customer-map__route,.customer-map__connector,.customer-map__marker { vector-effect: non-scaling-stroke; }
.customer-map__ocean { fill: #070b12; }
.customer-map__grid { fill: none; stroke: rgba(255,255,255,.045); stroke-width: 1; pointer-events: none; }
.customer-map__world path { fill: #151c2a; stroke: #3d4a63; stroke-width: .55; stroke-linejoin: round; transition: fill .15s ease, stroke .15s ease; cursor: pointer; }
.customer-map__world path:hover { fill: #1c2538; stroke: #6b7a96; }
.customer-map__markets path { fill: rgba(var(--accent-rgb),.28); stroke: rgba(var(--accent-rgb),.92); stroke-width: 1.15; stroke-linejoin: round; cursor: pointer; transition: fill .15s ease, stroke .15s ease, filter .15s ease; }
.customer-map__markets path:hover { fill: rgba(var(--accent-rgb),.42); stroke: rgba(var(--accent-rgb),1); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb),.35)); }
.customer-map__route,.customer-map__connector { pointer-events: none; }
.customer-map__route { fill: none; stroke: var(--accent-br); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 5 7; opacity: .72; }
.customer-map__connector { fill: none; stroke: rgba(var(--accent-rgb),.68); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.customer-map__marker { cursor: pointer; }
.customer-map__marker circle:first-child { fill: rgba(var(--accent-rgb),.22); stroke: rgba(var(--accent-rgb),.42); stroke-width: 1; }
.customer-map__marker circle:last-child { fill: var(--accent-br); stroke: var(--text); stroke-width: 2; }
.customer-map__svg-label { pointer-events: none; }
.customer-map__label-box { fill: rgba(8,11,18,.92); stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.customer-map__label-title { fill: #eef0f6; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.customer-map__label-count { fill: #aeb4c4; font-family: var(--mono); font-size: 16px; letter-spacing: .07em; text-transform: uppercase; }
.customer-map__tooltip { position: absolute; z-index: 4; min-width: 140px; max-width: 240px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(8,11,18,.94); color: var(--text); box-shadow: 0 12px 32px rgba(0,0,0,.35); pointer-events: none; backdrop-filter: blur(10px); }
.customer-map__tooltip[hidden] { display: none !important; }
.customer-map__tip-title { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.customer-map__tip-meta { margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.customer-map__tip-list { margin: 8px 0 0; padding: 0 0 0 14px; font-size: 12px; color: var(--muted-2); }
.customer-map__tip-list li + li { margin-top: 2px; }
.customer-map__controls { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 5; display: flex; flex-direction: column; gap: 6px; }
.customer-map__control { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(8,11,18,.9); color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: border-color .15s ease, color .15s ease; }
.customer-map__control:hover { border-color: var(--accent-br); color: var(--accent-br); }
.customer-map__control:focus-visible { outline: 2px solid var(--accent-br); outline-offset: 2px; }
.customer-map__control--reset { display: none; font-size: 15px; }
.customer-map.is-zoomed .customer-map__control--reset { display: block; }
.customer-map__viewport:focus-visible { outline: 2px solid var(--accent-br); outline-offset: -2px; }
.customer-map__marker:focus { outline: none; }
.customer-map__marker:focus-visible circle:first-child { fill: rgba(var(--accent-rgb),.4); stroke: var(--accent-br); stroke-width: 2; }
.customer-metrics { display: grid; grid-template-rows: repeat(2,1fr); gap: 12px; }
.customer-metric { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(160deg,var(--panel-2),var(--panel)); }
.customer-metric strong { font-size: clamp(38px,5vw,64px); line-height: .9; letter-spacing: -.06em; }
.customer-metric span { margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.customer-footprint-link { margin-top: 22px; }
@media (max-width: 820px) { .customer-footprint { grid-template-columns: 1fr; } .customer-metrics { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; } .customer-metric { min-height: 140px; } }
@media (max-width: 600px) { .customer-map,.customer-map__viewport,.customer-map svg { min-height: 300px; } .customer-metrics { gap: 8px; } .customer-metric { min-height: 112px; padding: 16px; } }

/* ---------------- CUSTOMER DIRECTORY ---------------- */
.customer-page-footprint { padding-bottom: var(--s-tight); }
.customer-directory { border-top: 1px solid var(--line); }
.customer-market + .customer-market { margin-top: clamp(42px,6vw,72px); }
.customer-market__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line-2); }
.customer-market__head h3 { font-size: clamp(24px,3vw,34px); letter-spacing: -.035em; }
.customer-market__head span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--accent-br); text-transform: uppercase; }
.customer-logo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.customer-logo-tile { display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 16/10; padding: clamp(20px,2.8vw,34px); overflow: hidden; border: 1px solid var(--line-2); border-radius: 11px; background: linear-gradient(160deg,var(--panel-2),var(--panel)); box-sizing: border-box; text-decoration: none; color: inherit; }
.customer-logo-tile--image { background: #e8eaf1; border-color: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.customer-logo-tile--image-dark { background: linear-gradient(160deg,var(--panel-2),var(--panel)); border-color: var(--line-2); box-shadow: none; }
.customer-logo-tile--link { cursor: pointer; transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s ease, box-shadow .25s ease; }
.customer-logo-tile--link:hover { border-color: rgba(var(--accent-rgb),.45); box-shadow: 0 16px 36px -26px rgba(var(--accent-rgb),.4); transform: translateY(-3px); }
.customer-logo-tile--link:focus-visible { outline: 2px solid rgba(var(--accent-rgb),.75); outline-offset: 3px; }
.customer-logo-tile__media { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: clamp(4px,0.8vw,10px); box-sizing: border-box; }
.customer-logo-tile img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center; filter: drop-shadow(0 2px 8px rgba(12,16,24,.18)); }
/* SVG logos: their intrinsic pixel size is small (e.g. 150px), so unlike PNGs
   they would never scale up to fill the tile. Force the box and let
   object-fit: contain preserve the aspect ratio. */
.customer-logo-tile img[src$=".svg"] { width: 100%; height: 100%; }
.customer-logo-tile__fallback { max-width: 15ch; color: var(--text); font-size: clamp(14px,1.6vw,19px); font-weight: 650; line-height: 1.12; letter-spacing: -.025em; text-align: center; text-wrap: balance; }
@media (max-width: 900px) { .customer-logo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) { .customer-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .customer-market__head { align-items: flex-end; } .customer-logo-tile { padding: 16px; } .customer-logo-tile__media { padding: 6px; } }

/* ---------------- TESTIMONIALS ---------------- */
.quotes-wrap { position: relative; }
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 880px){
  .quotes { display: block; position: relative; min-height: 280px; }
  .quotes .quote {
    position: absolute; inset: 0;
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
  }
  .quotes .quote.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
}
.quote-dots { display: none; gap: 8px; justify-content: center; margin-top: 20px; }
@media (max-width: 880px){ .quote-dots { display: flex; } }
.quote-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line-2); cursor: pointer; transition: background .2s, transform .2s;
}
.quote-dots button[aria-selected="true"] { background: var(--accent); transform: scale(1.2); }
.quote-dots button:focus-visible { outline: 2px solid var(--accent-br); outline-offset: 2px; }
.quote { border: 1px solid var(--line); border-radius: 8px; padding: 32px; background: var(--panel); display: flex; flex-direction: column; gap: 20px; }
.quote .qm { font-size: 40px; line-height: .6; color: var(--accent); font-family: Georgia, serif; height: 20px; }
.quote p { font-size: 17px; line-height: 1.55; color: var(--text); letter-spacing: -0.01em; flex: 1; }
.quote .qby { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .qav { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); flex: none; }
.quote .qav image-slot { width: 100%; height: 100%; }
.quote .qn { display: block; font-size: 14px; line-height: 1.3; }
.quote .qr { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .04em; margin-top: 3px; }

/* ---------------- SECURITY / SLA ---------------- */
.sec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px){ .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .sec-grid { grid-template-columns: 1fr; } }
.sec-cell { background: var(--bg); padding: 30px 26px; transition: background .3s; }
.sec-cell:hover { background: var(--panel); }
.sec-cell .sc-ic { width: 28px; height: 28px; color: var(--accent-br); margin-bottom: 16px; }
.sec-cell .sc-ic svg { width: 100%; height: 100%; }
.sec-cell h4 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.sec-cell p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #25d07d; border: 1px solid rgba(37,208,125,.3); background: rgba(37,208,125,.06); border-radius: 100px; padding: 8px 16px; }
.status-pill .d { width: 7px; height: 7px; border-radius: 50%; background: #25d07d; box-shadow: 0 0 8px #25d07d; animation: blink 2.4s infinite; }

/* ---------------- DEVELOPER TOOLS ---------------- */
.devgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px){ .devgrid { grid-template-columns: 1fr; } }
.devcard { border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.devcard:hover { border-color: var(--line-violet); transform: translateY(-4px); }
.devcard .dc-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); }
.devcard .dc-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d07d; box-shadow: 0 0 8px #25d07d; flex: none; }
.devcard .dc-host { font-size: 12.5px; color: #fff; letter-spacing: .01em; }
.devcard .dc-head .dc-method { margin-left: auto; font-size: 10px; letter-spacing: .1em; color: var(--accent-br); border: 1px solid var(--line-violet); border-radius: 3px; padding: 3px 7px; }
.devcard .dc-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.devcard .dc-ic { width: 36px; height: 36px; color: var(--accent-br); }
.devcard .dc-ic svg { width: 100%; height: 100%; }
.devcard h3 { font-size: 20px; letter-spacing: -0.02em; }
.devcard p { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.devcard .dc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.devcard .dc-tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line-2); border-radius: 2px; padding: 4px 8px; }
.code-block { position: relative; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; background: #06070A; border: 1px solid var(--line); border-radius: 6px; padding: 14px 44px 14px 16px; color: #c9cee0; overflow-x: auto; white-space: pre; direction: ltr; text-align: left; }
.code-block .cm { color: var(--muted-2); }
.code-block .tok { color: var(--accent-br); }
.code-block .str { color: #7fd6a0; }
.code-block .kw { color: #ffb37a; }
.copy-btn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(255,255,255,.03); color: var(--muted-2); cursor: pointer; transition: .2s; }
.copy-btn:hover { color: #fff; border-color: var(--accent); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.done { color: #25d07d; border-color: rgba(37,208,125,.4); }
.dev-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted-2); }

/* ---------------- MOBILE: contact, footer, forms ---------------- */
@media (max-width: 720px) {
  .form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-info .ci-v {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .contact-info .ci-v a {
    display: inline-block;
    max-width: 100%;
  }
  .proj-types {
    gap: 8px;
  }
  .chip {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    text-align: center;
    line-height: 1.35;
    padding: 10px 12px;
  }
  .filedrop {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .filedrop span {
    flex: 1 1 100%;
    min-width: 0;
    line-height: 1.45;
  }
}

@media (max-width: 560px) {
  .contact-info .ci-links-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .contact-info .ci-links-row .ci-dot {
    display: none;
  }
  .contact {
    gap: 36px;
  }
  .contact-info .ci-row {
    padding: 16px 0;
  }
  .submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .submit-row .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .submit-row .form-note {
    width: 100%;
    text-align: start;
    margin-top: 4px;
  }
  .field input,
  .field textarea,
  .field select,
  .nl-form input[type="email"] {
    font-size: 16px;
  }
  .chip {
    flex: 1 1 100%;
  }
  .footer-top {
    gap: 28px;
  }
  .footer .fcol .brand {
    max-width: 100%;
  }
  .footer .fcol p {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
