/* ==========================================================================
   RİVABİLTEK — Riva Bilişim Teknolojileri
   Tek stil dosyası. Harici kütüphane yok.
   ========================================================================== */

:root {
  --brand: #e8492c;
  --brand-600: #c93a20;
  --brand-50: #fdf0ed;

  --dot-red: #e8492c;
  --dot-yellow: #f4b400;
  --dot-green: #22a863;
  --dot-blue: #2e7cf6;

  --ink: #111318;
  --ink-2: #2a2e37;
  --muted: #5d6472;
  --line: #e6e7eb;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --dark: #0f1115;
  --dark-2: #181b21;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 24, .06), 0 1px 1px rgba(17, 19, 24, .04);
  --shadow: 0 10px 30px -12px rgba(17, 19, 24, .18), 0 2px 6px rgba(17, 19, 24, .05);
  --shadow-lg: 0 30px 60px -20px rgba(17, 19, 24, .25);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--ink); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--_bg); color: var(--_fg);
  font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { --_bg: var(--brand); }
.btn-primary:hover { --_bg: var(--brand-600); box-shadow: 0 12px 28px -10px rgba(232, 73, 44, .6); }
.btn-ghost { --_bg: transparent; --_fg: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { --_bg: #fff; --_fg: var(--ink); }
.btn-outline-light { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.25); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 247, 245, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .85); box-shadow: 0 6px 24px -18px rgba(0,0,0,.3); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(17,19,24,.05); }
.main-nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 4px; }
.header-phone .icon { color: var(--brand); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .header-phone { display: none; }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .brand img { height: 36px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px; box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .main-nav .nav-cta { display: block; margin-top: 10px; }
  .main-nav .nav-cta a { background: var(--brand); color: #fff; text-align: center; font-weight: 600; }
}
@media (min-width: 821px) { .main-nav .nav-cta { display: none; } }

/* ---------- Background decor ---------- */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(17,19,24,.13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: #ffb4a3; top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: #ffe39a; bottom: -60px; left: -120px; opacity: .35; }
.blob-3 { width: 260px; height: 260px; background: #a9c8ff; top: 40%; right: 30%; opacity: .25; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.dots { display: inline-flex; gap: 4px; padding: 0 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--dot-red); }
.dots i:nth-child(2) { background: var(--dot-yellow); }
.dots i:nth-child(3) { background: var(--dot-green); }
.dots i:nth-child(4) { background: var(--dot-blue); }

.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); line-height: 1.7; }
.text-brand { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.035em; line-height: 1.04; margin-top: 24px; font-weight: 800; }
.hero h1 .accent { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .32em; overflow: visible; }
.hero h1 .accent path { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; opacity: .35; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .5s var(--ease) forwards; }
.hero .lead { margin-top: 24px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px dashed var(--line); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-size: 26px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.hero-meta span { font-size: 14px; color: var(--muted); }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hero visual */
.hero-visual { position: relative; }
.viz-card {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.65));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(17,19,24,.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 18px;
}
.viz-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.viz-bar .win { display: flex; gap: 6px; }
.viz-bar .win i { width: 10px; height: 10px; border-radius: 50%; background: #e3e4e8; display: block; }
.viz-bar .status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--dot-green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--dot-green); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.net { width: 100%; height: auto; margin-top: 6px; }
.net .link { fill: none; stroke: #d9dbe1; stroke-width: 1.5; }
.net .flow { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; }
.net .ring { fill: none; stroke-width: 1.5; opacity: .35; transform-box: fill-box; transform-origin: center; animation: breathe 3s ease-in-out infinite; }
.net .node-bg { fill: #fff; stroke: #e6e7eb; }
.net text { font-family: var(--font); font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.net .core { fill: var(--ink); }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.18); opacity: .1; } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.chip .chip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chip-1 { left: calc(50% - 88px); bottom: -24px; }
.chip-1 .chip-ic { background: #e8f7ef; color: var(--dot-green); }
.chip-2 { right: -32px; top: calc(50% - 4px); animation-delay: -3s; }
.chip-2 .chip-ic { background: var(--brand-50); color: var(--brand); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Partner marquee ---------- */
.marquee-wrap { padding: 28px 0 8px; }
.marquee-title { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 40px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-white { background: var(--surface); border-block: 1px solid var(--line); }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 73, 44, .09), transparent 45%);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9dbe1; }
.card:hover::before { opacity: 1; }
.card-num { position: absolute; top: 26px; right: 28px; font-size: 13px; font-weight: 700; color: #c4c7cf; letter-spacing: .04em; }
.card-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 26px; }
.card-ic .icon { width: 24px; height: 24px; }
.ic-red { background: #fdeeea; color: var(--dot-red); }
.ic-yellow { background: #fef6dd; color: #c99300; }
.ic-green { background: #e6f6ee; color: var(--dot-green); }
.ic-blue { background: #e8f1fe; color: var(--dot-blue); }
.ic-dark { background: #eef0f3; color: var(--ink); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-wide { grid-column: span 2; }
.card-wide .card-body { max-width: 520px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.tag { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

.card-cta {
  background: var(--dark); border-color: var(--dark); color: #c8cbd3;
  justify-content: space-between;
}
.card-cta::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 73, 44, .35), transparent 50%); }
.card-cta h3 { color: #fff; font-size: 26px; max-width: 360px; }
.card-cta p { color: #9aa0ab; margin-top: 10px; }
.card-cta .btn { margin-top: 28px; align-self: flex-start; }

/* Why / split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.features { display: grid; gap: 14px; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.feature:hover { background: #fff; border-color: #d9dbe1; }
.feature .card-ic { margin: 0; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15.5px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.stat { padding: 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--dark); color: #c8cbd3;
  padding: 64px; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,73,44,.55), transparent 65%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.cta-band p { margin-top: 14px; font-size: 17px; color: #9aa0ab; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Page hero (iç sayfalar) ---------- */
.page-hero { padding: 64px 0 72px; overflow: hidden; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.035em; font-weight: 800; max-width: 820px; }
.page-hero .lead { margin-top: 20px; max-width: 640px; }

/* About */
.prose-blocks { display: grid; gap: 18px; }
.prose-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.prose-block header { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.prose-block header .card-ic { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.prose-block h2 { font-size: 21px; }
.prose-block p { color: var(--muted); }
.prose-block p + p { margin-top: 12px; }

.rotator { display: inline-block; color: var(--brand); }
.rotator-word { display: inline-block; transition: opacity .3s, transform .3s var(--ease); }
.rotator-word.is-out { opacity: 0; transform: translateY(8px); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.partner img { max-height: 64px; max-width: 70%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.partner span { font-size: 13px; font-weight: 600; color: var(--muted); }
.partner .ext { position: absolute; top: 14px; right: 14px; color: #c4c7cf; transition: color .3s, transform .3s var(--ease); }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9dbe1; }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.partner:hover .ext { color: var(--brand); transform: translate(2px, -2px); }
.partner-cta { grid-column: span 3; aspect-ratio: auto; flex-direction: row; gap: 16px; background: transparent; border-style: dashed; border-color: #cfd2d9; }
.partner-cta span:last-child { font-size: 16px; color: var(--ink); }
@media (max-width: 900px) { .partner-cta { grid-column: span 2; } }
@media (max-width: 640px) { .partner-cta { grid-column: auto; aspect-ratio: 4 / 3; flex-direction: column; text-align: center; } .partner-cta span:last-child { font-size: 14px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.info-item .card-ic { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.info-item h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.info-item p, .info-item a { color: var(--ink); font-weight: 500; }
.info-item a:hover { color: var(--brand); }
.info-item .stack { display: grid; gap: 4px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; }
.form-card > p { color: var(--muted); margin-top: 8px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 13px 15px; font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(232, 73, 44, .12); }
.field .error { display: none; font-size: 13px; color: var(--brand-600); }
.field.invalid input, .field.invalid textarea { border-color: var(--brand); }
.field.invalid .error { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e6f6ee; color: #146c40; font-size: 14px; font-weight: 500; }
.form-status.show { display: block; }

.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #e9eaee; height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3); }

/* Legal */
.legal { max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; color: var(--ink-2); }
.legal ul { margin: 0 0 18px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 24px; color: var(--ink-2); }
.legal li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.legal .lead-strong { font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #9aa0ab; padding: 80px 0 0; margin-top: 104px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 15px; }
.footer-name { color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: 15px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links li { display: flex; gap: 10px; align-items: flex-start; }
.footer-links .icon { margin-top: 3px; color: var(--brand); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--dark-2); border: 1px solid #262a32; color: #c8cbd3;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.socials .icon { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid #22262d; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-column: span 2; }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 20px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .card { padding: 26px; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 16px 14px; }
  .stat strong { font-size: 20px; }
  .stat span { font-size: 12.5px; }
  .chip-1 { left: calc(50% - 80px); bottom: -22px; }
  .chip-2 { display: none; }
  .hero-visual { margin-bottom: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .legal { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .site-footer { margin-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
