/* ==========================================================================
   Eluvion Tech — site styles
   ========================================================================== */

:root {
  /* Brand */
  --brand: #4338E8;
  --brand-600: #3A2FD6;
  --brand-50: #EEEDFF;
  --brand-100: #E0DEFF;
  --teal: #0FB5C8;
  --teal-600: #0A93A4;
  --gradient: linear-gradient(120deg, #4338E8 0%, #0FB5C8 100%);

  /* Neutrals */
  --ink: #0B1026;
  --text: #2B3150;
  --muted: #5D6483;
  --line: #E4E7F0;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FB;
  --navy: #0B1026;
  --navy-2: #141B3A;

  /* Type & layout */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 38, .06), 0 1px 3px rgba(11, 16, 38, .06);
  --shadow: 0 10px 30px -12px rgba(11, 16, 38, .18), 0 4px 10px -6px rgba(11, 16, 38, .08);
  --shadow-lg: 0 30px 60px -24px rgba(36, 30, 140, .35), 0 12px 24px -12px rgba(11, 16, 38, .12);
  --header-h: 72px;

  /* Logo colors (used by the inline SVG wordmark) */
  --logo-tech: #4338E8;
  --logo-dot: #12B5C6;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
.section-sub, .lead { text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 3px; border-radius: 6px; }

.container { --gutter: 24px; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 600px) { .container { --gutter: 16px; } }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(67, 56, 232, .65); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(67, 56, 232, .75); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: #C9CEE0; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 11px 16px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Eyebrow with the "horizon" motif from the logo ------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand); margin-bottom: 18px;
}
.horizon { width: 28px; height: 4px; border-radius: 4px; background: var(--gradient); }
.text-gradient { white-space: nowrap; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stop { margin-left: -.08em; } /* this font sets a wide gap before a bold full stop */

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 16, 38, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); display: inline-flex; }
.brand-logo { width: 186px; height: auto; aspect-ratio: 412 / 56; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a { color: var(--text); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav ul a:hover, .nav ul a.active { color: var(--ink); background: var(--bg-soft); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 16px 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 16, 38, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav ul a { display: block; padding: 12px 12px; font-size: 1.05rem; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-cta { width: 100%; padding: 14px; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(15, 181, 200, .14), transparent 60%),
    radial-gradient(50% 60% at 60% 70%, rgba(67, 56, 232, .12), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%);
  opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 36em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--text); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--teal-600); width: 18px; height: 18px; }

.hero-visual { position: relative; min-height: 440px; }
.hero-visual .glow {
  position: absolute; inset: 8% 4% 4% 10%; border-radius: 40px;
  background: var(--gradient); filter: blur(70px); opacity: .28;
}
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.card-main { position: relative; margin: 64px 0 0 40px; padding: 22px 24px 18px; animation: float 8s ease-in-out infinite; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #E4E7F0; }
.card-title { font-weight: 700; color: var(--ink); font-size: .95rem; flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.pill-live { background: #E3F8F5; color: #0B7F72; }
.pill-live i { width: 7px; height: 7px; border-radius: 50%; background: #14B8A6; box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); animation: pulse 2s infinite; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-bottom: 22px; }
.pipeline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 11px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) 0%, var(--teal) 66%, var(--line) 66%); }
.pipeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.step-dot { width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 3px solid var(--line); position: relative; z-index: 1; }
.pipeline .done .step-dot { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.pipeline .done:nth-child(3) .step-dot { border-color: #2A77D8; background-color: #2A77D8; }
.pipeline .active .step-dot { border-color: var(--teal); box-shadow: 0 0 0 6px rgba(15, 181, 200, .16); }
.pipeline .active { color: var(--ink); }

.chart { background: var(--bg-soft); border-radius: 14px; padding: 14px 14px 6px; }
.chart-label { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.chart-label .up { color: #0B7F72; }
.chart svg { width: 100%; height: 130px; }

.card-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; font-size: .85rem; line-height: 1.3; box-shadow: var(--shadow); }
.card-float strong { display: block; color: var(--ink); font-weight: 700; }
.card-float small { color: var(--muted); font-size: .78rem; }
.card-a { left: 0; bottom: 18px; animation: float 7s ease-in-out -2s infinite; }
.card-b { right: -8px; top: 0; width: 230px; animation: float 9s ease-in-out -4s infinite; }
.card-b .grow { flex: 1; }
.float-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.float-icon.teal { background: #E2F7FA; color: var(--teal-600); }
.float-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.progress { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-top: 8px; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--gradient); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .55); } 70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }

@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; min-height: 0; }
  .card-main { margin: 56px 0 46px 0; }
  .card-b { right: 0; top: 0; }
}
@media (max-width: 520px) {
  .card-b { width: 200px; }
  .card-a { bottom: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Pillars ---------------------------------------------------------------- */
.pillars { border-block: 1px solid var(--line); background: var(--bg-soft); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 36px 28px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.pillar p { font-size: .93rem; color: var(--muted); margin: 0; }
.pillar-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow-sm); }
.pillar-icon svg, .service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 26px 4px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* Sections --------------------------------------------------------------- */
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-sub { font-size: 1.1rem; color: var(--muted); }
@media (max-width: 760px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

/* Services --------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D8DCEA; }
.service:hover::after { transform: scaleX(1); }
.service-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--gradient); margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(67, 56, 232, .7); }
.service-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-size: .78rem; font-weight: 600; color: var(--brand-600); background: var(--brand-50); padding: 5px 10px; border-radius: 999px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* Approach (dark) -------------------------------------------------------- */
.section-dark {
  position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 100% 0%, rgba(67, 56, 232, .35), transparent 60%),
              radial-gradient(60% 80% at 0% 100%, rgba(15, 181, 200, .18), transparent 60%),
              var(--navy);
  color: #C3C8DD;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: #A9AFC9; }
.section-dark .eyebrow { color: #7FE3EE; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.step-num { display: inline-block; font-weight: 800; font-size: .9rem; letter-spacing: .06em; margin-bottom: 26px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; filter: brightness(1.5); }
.step::before { content: ""; position: absolute; left: 26px; right: 26px; top: 64px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent); }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Engagement models ------------------------------------------------------ */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.model { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.model h3 { font-size: 1.3rem; margin-bottom: 4px; }
.model-sub { color: var(--muted); margin-bottom: 22px; }
.checks { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--text); }
.checks .icon { color: var(--teal-600); margin-top: .25em; width: 18px; height: 18px; }
.model-featured { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); }
.model-badge { position: absolute; top: -13px; left: 30px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--gradient); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 900px) { .models-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* Industries + tech ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.industries li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.industries svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.tech-card p { color: var(--muted); }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tech-list li { font-size: .86rem; font-weight: 600; color: var(--ink); padding: 8px 13px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 440px) { .industries { grid-template-columns: 1fr; } .tech-card { padding: 26px 22px; } }

/* About ------------------------------------------------------------------ */
.split-about { align-items: start; }
.split-about > div > p:not(.section-sub):not(.eyebrow) { color: var(--text); margin-bottom: 28px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.value h3::before { content: ""; width: 18px; height: 4px; border-radius: 4px; background: var(--gradient); }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* FAQ -------------------------------------------------------------------- */
.faq-wrap { max-width: 860px; }
.faq-wrap .section-head { margin-bottom: 36px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: #D8DCEA; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338E8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Contact ---------------------------------------------------------------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #F1F0FF 100%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.contact-list small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); flex: none; }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 14px; border-radius: 11px; border: 1px solid #D5D9E6; background: #FBFBFE;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6483' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(67, 56, 232, .14); }
.field.invalid input, .field.invalid textarea { border-color: #DC3B4B; box-shadow: 0 0 0 4px rgba(220, 59, 75, .1); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin: 0; min-height: 1.4em; font-size: .93rem; font-weight: 600; text-align: center; }
.form-status.ok { color: #0B7F72; }
.form-status.err { color: #C22F3F; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-form { padding: 24px 18px; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #A9AFC9; padding: 72px 0 28px; --logo-tech: #8B85FF; --logo-dot: #5EE3EE; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand-logo { color: #fff; width: 200px; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #C3C8DD; font-size: .95rem; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: .88rem; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* Reveal on scroll ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
