/* Chemonics Tech — styles ported from the Claude Design mockup. */

:root {
  --cream: #F4F1EB;
  --dark: #0B1015;
  --panel: #11181F;
  --panel-2: #141C24;
  --ink: #13191F;
  --ink-soft: #161D24;
  --accent: #D98A4E;
  --accent-2: #B96B36;
  --accent-hi: #E89A5E;
  --accent-deep: #8A4E28;
  --muted-d: #AEB7BE;
  --muted-d2: #9AA3AB;
  --muted-d3: #7E8891;
  --muted-l: #4C5660;
  --muted-l2: #5A6670;
  --line-l: #E3DDD0;
  --line-l2: #EFE9DD;
  --tint: #F6EDE3;
  --tint-line: #EAD8C5;
  --maxw: 1240px;
  --pad-x: clamp(18px, 4vw, 40px);
  --sec-y: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent-2); color: #fff; }
input::placeholder, textarea::placeholder { color: #8A949C; }
img { display: block; }

@keyframes ctpulse { 0%, 100% { opacity: .2; } 50% { opacity: .95; } }
@keyframes ctglow { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }

.mono { font-family: 'IBM Plex Mono', monospace; }
.heading { font-family: 'Archivo', sans-serif; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--accent); }
.eyebrow.light { color: var(--accent-2); }

.section-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance;
}
.section-sub { font-size: 17px; line-height: 1.6; margin: 0; }

.reveal { transition: opacity .8s ease, transform .8s ease; }
/* Hidden start-state only when JS can reveal it AND motion is welcome —
   so no-JS, print, and reduced-motion all render the end-state instead. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(26px); }
  html.js .reveal.shown { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------------- NAV ---------------- */
#ctnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
#ctnav.scrolled {
  background: rgba(11,16,21,0.9);
  border-bottom-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-name { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: #fff; }
.brand-name b { color: var(--accent); font-weight: 700; }

.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: #D7DBDF;
  text-decoration: none; letter-spacing: 0.01em; transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.btn { cursor: pointer; font-family: inherit; border: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn-lang {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; color: #D7DBDF;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px; padding: 7px 11px;
}
.btn-lang:hover { border-color: var(--accent-2); color: #fff; }
.btn-primary {
  font-size: 14px; font-weight: 600; color: #0C1116;
  background: var(--accent); border-radius: 7px; padding: 9px 18px;
}
.btn-primary:hover { background: var(--accent-hi); }

.nav-mobile { display: none; align-items: center; gap: 12px; }
.btn-burger {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px; padding: 9px;
}
.btn-burger span { display: block; width: 18px; height: 2px; background: #fff; }

.mobile-menu { display: none; background: rgba(11,16,21,0.98); border-top: 1px solid rgba(255,255,255,0.08); padding: 8px var(--pad-x) 22px; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 13px 0; font-size: 17px; font-weight: 600;
  color: #E8E6E1; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu .btn-primary { margin-top: 16px; width: 100%; font-size: 15px; border-radius: 8px; padding: 13px; }

@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
}

/* ---------------- HERO ---------------- */
.hero { position: relative; background: var(--dark); color: #ECE9E3; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: saturate(0.55); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(102deg, rgba(11,16,21,0.93) 0%, rgba(11,16,21,0.74) 46%, rgba(11,16,21,0.5) 100%); }
.hero-net { position: absolute; inset: 0; opacity: 0.9; }
.hero-net svg { width: 100%; height: 100%; }

.hero-body { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(120px,17vh,180px) var(--pad-x) clamp(48px,7vw,72px); }
.hero-col { max-width: 820px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(217,138,78,0.4); border-radius: 100px; padding: 7px 14px; margin-bottom: 26px;
}
.hero-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ctglow 2.4s ease-in-out infinite; }
.hero-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(36px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 24px; color: #fff; text-wrap: balance;
}
.hero-sub { font-size: clamp(16px,1.9vw,20px); line-height: 1.6; color: var(--muted-d); max-width: 660px; margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-hero-a { font-size: 15px; font-weight: 600; color: #0C1116; background: var(--accent); border-radius: 8px; padding: 14px 26px; }
.btn-hero-a:hover { background: var(--accent-hi); }
.btn-hero-b { font-size: 15px; font-weight: 600; color: #ECE9E3; background: transparent; border: 1px solid rgba(255,255,255,0.24); border-radius: 8px; padding: 14px 26px; }
.btn-hero-b:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* stats strip */
.stats { position: relative; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
.stats-inner { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--pad-x); }
.stats-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.stats-title { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.stats-sub { font-size: 13.5px; color: var(--muted-d3); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 28px; }
.stat-value { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(28px,3.4vw,38px); color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted-d2); margin-top: 8px; line-height: 1.4; }

/* banner */
.banner { background: #1B232B; color: #C7CDD2; border-bottom: 1px solid rgba(255,255,255,0.06); }
.banner-inner { max-width: var(--maxw); margin: 0 auto; padding: 11px var(--pad-x); display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.banner-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #0C1116; background: var(--accent); border-radius: 4px; padding: 3px 7px; white-space: nowrap; }

/* ---------------- generic sections ---------------- */
.section { padding: var(--sec-y) var(--pad-x); }
.section.cream { background: var(--cream); }
.section.dark { background: var(--dark); color: #ECE9E3; }
.section.panel { background: var(--panel); color: #ECE9E3; }
.intro { max-width: 680px; margin-bottom: clamp(40px,6vw,64px); }
.intro.tight { margin-bottom: clamp(36px,5vw,56px); }

/* PROBLEM */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px,5vw,72px); align-items: start; }
.problem-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(28px,4vw,48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--ink); text-wrap: balance; }
.problem-body { font-size: 17px; line-height: 1.65; color: var(--muted-l); margin: 0 0 28px; max-width: 520px; }
.bullet-list { display: flex; flex-direction: column; gap: 14px; }
.bullet { display: flex; gap: 13px; align-items: flex-start; }
.bullet .dot { flex: none; margin-top: 7px; width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; }
.bullet span:last-child { font-size: 15.5px; line-height: 1.5; color: #384049; }

.segment-card { background: var(--panel); border-radius: 16px; padding: clamp(28px,4vw,44px); color: #E8E6E1; align-self: stretch; }
.segment-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.segment-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(21px,2.4vw,27px); line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 26px; color: #fff; }
.segment-row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.09); }
.segment-row .dot { flex: none; width: 5px; height: 5px; margin-top: 8px; background: var(--accent); border-radius: 50%; }
.segment-row span:last-child { font-size: 15px; line-height: 1.5; color: #B8C0C7; }

/* card grids */
.card-grid { display: grid; gap: 18px; }
.card-grid.c5, .card-grid.c-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid.c3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* SOLUTIONS cards */
.sol-card { background: var(--panel); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .25s ease, background .25s ease; }
.sol-card:hover { border-color: rgba(217,138,78,0.5); background: var(--panel-2); }
.sol-top { display: flex; align-items: center; justify-content: space-between; }
.sol-n { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; color: #5C6770; letter-spacing: 0.1em; }
.icon-chip { width: 38px; height: 38px; border-radius: 9px; background: rgba(217,138,78,0.12); border: 1px solid rgba(217,138,78,0.3); display: flex; align-items: center; justify-content: center; flex: none; }
.sol-card h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin: 6px 0 0; color: #fff; }
.sol-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted-d2); margin: 0; }

/* SERVICES cards */
.svc-card { background: #fff; border: 1px solid var(--line-l); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.icon-chip-l { width: 42px; height: 42px; border-radius: 10px; background: var(--tint); border: 1px solid var(--tint-line); display: flex; align-items: center; justify-content: center; flex: none; }
.svc-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); background: var(--tint); border: 1px solid var(--tint-line); border-radius: 6px; padding: 5px 10px; }
.svc-card h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--ink); }
.svc-card > p { font-size: 14.5px; line-height: 1.6; color: var(--muted-l2); margin: 0 0 20px; }
.svc-points { display: flex; flex-direction: column; margin-top: auto; }
.svc-point { display: flex; gap: 11px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line-l2); }
.svc-point span { font-size: 14px; line-height: 1.45; color: #384049; }

/* DYNAMICS grid */
.force-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; overflow: hidden; }
.force-cell { background: var(--dark); padding: 30px 28px; }
.force-top { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.force-n { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 30px; color: #2B3640; letter-spacing: -0.02em; }
.force-cell h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 0 0 10px; color: #fff; }
.force-cell p { font-size: 14px; line-height: 1.6; color: var(--muted-d2); margin: 0; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px,5vw,64px); align-items: center; margin-bottom: clamp(48px,7vw,80px); }
.about-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(28px,4vw,48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--ink); text-wrap: balance; }
.about-body { font-size: 16.5px; line-height: 1.7; color: var(--muted-l); margin: 0 0 30px; }
.about-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.about-stat .v { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -0.02em; }
.about-stat .l { font-size: 13px; color: var(--muted-l2); margin-top: 6px; max-width: 160px; line-height: 1.4; }
.about-stat.divided { border-left: 1px solid #DAD3C5; padding-left: 30px; }

.photo-frame { position: relative; aspect-ratio: 4/3; border-radius: 16px; border: 1px solid var(--line-l); overflow: hidden; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-veil-b { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,21,0) 45%, rgba(11,16,21,0.6) 100%); }
.photo-label { position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(11,16,21,0.4); border: 1px solid rgba(255,255,255,0.18); border-radius: 6px; padding: 6px 11px; }
.photo-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.cluster-card { background: #fff; border: 1px solid var(--line-l); border-radius: 16px; padding: clamp(28px,4vw,44px); }
.cluster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px,4vw,48px); align-items: center; }
.cluster-card h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(21px,2.6vw,28px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--ink); }
.cluster-card p { font-size: 15.5px; line-height: 1.65; color: var(--muted-l); margin: 0; }
.cluster-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cluster-tag { font-size: 13.5px; font-weight: 500; color: #384049; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 100px; padding: 9px 16px; }

/* SEGMENTS (serve) */
.serve-banner { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 24/7; min-height: 210px; }
.serve-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.serve-banner .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,21,0.88) 0%, rgba(11,16,21,0.4) 48%, rgba(11,16,21,0.08) 100%); }
.serve-banner .cap { position: absolute; left: clamp(20px,3vw,36px); top: 50%; transform: translateY(-50%); max-width: 440px; }
.serve-banner .kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.serve-banner .cap p { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(17px,2vw,24px); line-height: 1.22; letter-spacing: -0.01em; color: #fff; margin: 0; }

.serve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-bottom: clamp(32px,4vw,44px); }
.serve-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 32px 30px; }
.serve-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.serve-card h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.01em; margin: 0; color: #fff; }
.serve-pill { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: rgba(217,138,78,0.12); border: 1px solid rgba(217,138,78,0.3); border-radius: 5px; padding: 4px 9px; }
.serve-card > p { font-size: 14.5px; line-height: 1.6; color: var(--muted-d2); margin: 0 0 18px; }
.serve-point { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.serve-point .dot { flex: none; width: 5px; height: 5px; margin-top: 7px; background: var(--accent); border-radius: 50%; }
.serve-point span:last-child { font-size: 14px; line-height: 1.5; color: #B8C0C7; }

.traits-title { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d3); margin-bottom: 14px; }
.traits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.trait { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 16px 18px; font-size: 14.5px; font-weight: 600; color: #E8E6E1; display: flex; align-items: center; gap: 11px; }
.trait .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* FIELD band */
.field-band { position: relative; background: var(--dark); color: #fff; min-height: 340px; display: flex; align-items: center; overflow: hidden; }
.field-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field-band .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,16,0.9) 0%, rgba(8,12,16,0.62) 45%, rgba(8,12,16,0.32) 100%); }
.field-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,72px) var(--pad-x); width: 100%; }
.field-inner h2 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(24px,3.4vw,40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: #fff; text-wrap: balance; max-width: 680px; }
.field-label { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #C7CDD2; }
.field-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px,5vw,64px); align-items: start; }
.contact-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(28px,4vw,46px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.contact-sub { font-size: 16.5px; line-height: 1.65; color: var(--muted-l); margin: 0 0 34px; max-width: 440px; }
.direct-card { background: #fff; border: 1px solid var(--line-l); border-radius: 14px; padding: 26px 28px; }
.direct-head { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.direct-title { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.direct-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); background: var(--tint); border: 1px solid var(--tint-line); border-radius: 5px; padding: 3px 8px; }
.direct-row { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-l2); }
.direct-row .k { font-size: 12.5px; color: #8A8073; min-width: 72px; font-weight: 500; }
.direct-row .v { font-size: 14.5px; color: #384049; }

.form-card { background: var(--panel); border-radius: 16px; padding: clamp(28px,4vw,40px); color: #ECE9E3; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12.5px; font-weight: 500; color: var(--muted-d2); }
.form input, .form select, .form textarea {
  background: var(--dark); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 11px 13px; font-size: 14.5px; color: #fff; font-family: inherit;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form select option { color: #000; }
.btn-submit { margin-top: 4px; font-size: 15px; font-weight: 600; color: #0C1116; background: var(--accent); border-radius: 9px; padding: 14px; }
.btn-submit:hover { background: var(--accent-hi); }
.form-sent { text-align: center; padding: 40px 10px; }
.sent-check { width: 56px; height: 56px; border-radius: 50%; background: rgba(217,138,78,0.15); border: 1px solid rgba(217,138,78,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.form-sent h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 22px; margin: 0 0 10px; color: #fff; }
.form-sent p { font-size: 14.5px; line-height: 1.6; color: var(--muted-d2); margin: 0 auto; max-width: 320px; }

/* FOOTER */
.footer { background: var(--dark); color: var(--muted-d2); padding: clamp(48px,6vw,72px) var(--pad-x) 36px; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-tag { font-size: 14px; line-height: 1.6; margin: 0 0 14px; color: #8A949C; max-width: 320px; }
.footer-parent { font-size: 12.5px; line-height: 1.5; margin: 0; color: #5C6770; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col-title { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #5C6770; margin-bottom: 3px; }
.footer-col a { font-size: 14px; color: var(--muted-d2); text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col span { font-size: 14px; color: var(--muted-d2); }
.footer-col span.sm { font-size: 13px; color: #5C6770; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom .rights { font-size: 12.5px; color: #5C6770; }
.footer-bottom .langs { font-size: 12px; color: #5C6770; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.06em; }
