/* ==========================================================================
   AREOTECHSYS — Design System
   Professional · Responsive · Speed-optimized (no frameworks)
   ========================================================================== */

:root {
  /* Brand (derived from logo) */
  --navy-950: #050d1f;
  --navy-900: #0a1f44;
  --navy-800: #0e2a5c;
  --navy-700: #143a7a;
  --blue-600: #1e4fd8;
  --blue-500: #3f7dfd;
  --blue-100: #e8f0ff;
  --saffron-500: #ff9933;
  --saffron-600: #f2760a;
  --green-600: #138808;
  --green-500: #1faa2e;
  --ink: #16233b;
  --muted: #5b6b85;
  --line: #e3eaf4;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --danger: #d92d20;
  --success: #0f9d58;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 68, 0.07);
  --shadow-md: 0 10px 30px rgba(10, 31, 68, 0.12);
  --shadow-lg: 0 22px 50px rgba(10, 31, 68, 0.18);
  --container: 1180px;
  --header-h: 78px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --grad-brand: linear-gradient(135deg, var(--blue-600), var(--blue-500) 55%, #5aa0ff);
  --grad-dark: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-500); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.25; color: var(--navy-900); font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--grad-dark); color: #dce6f7; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #b8c6de; }
.center { text-align: center; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--saffron-500), var(--green-500)); }
.center .eyebrow::after { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green-500), var(--saffron-500)); }
.lead { font-size: 1.08rem; max-width: 64ch; }
.center .lead { margin-inline: auto; }
.grad-text {
  background: linear-gradient(90deg, var(--blue-500), var(--saffron-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad-brand); color: var(--white); box-shadow: 0 10px 24px rgba(30, 79, 216, .35); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 79, 216, .45); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy-900); }
.btn-ghost { border-color: var(--line); color: var(--navy-900); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-saffron { background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600)); color: var(--white); box-shadow: 0 10px 24px rgba(242, 118, 10, .35); }
.btn-saffron:hover { color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.topbar { background: var(--grad-dark); color: #c6d4ec; font-size: .82rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; padding: .45rem 0; }
.topbar a { color: #c6d4ec; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--white); }
.topbar__socials { display: flex; gap: .85rem; }
.topbar__socials a { font-weight: 700; }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand__logo { width: 52px; height: 52px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 900; font-size: 1.22rem; letter-spacing: .01em; color: var(--navy-900); }
.brand__name span { color: var(--saffron-600); }
.brand__tag { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  position: relative; padding: .55rem .85rem; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.nav__link:hover { color: var(--blue-600); background: var(--blue-100); }
.nav__link.active { color: var(--blue-600); }
.nav__link.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--saffron-500), var(--green-500));
}
.nav-cta { margin-left: .6rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white);
  border-radius: 10px; cursor: pointer; padding: 10px 11px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--navy-900); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(63,125,253,.35), transparent 60%),
    radial-gradient(700px 380px at 10% 90%, rgba(255,153,51,.18), transparent 60%),
    var(--grad-dark);
  padding: 84px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to top, rgba(5,13,31,.55), transparent);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #dfe9ff;
  margin-bottom: 1.2rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(31,170,46,.25); }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero__sub { color: #c3d2ea; font-size: 1.1rem; max-width: 54ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.6rem 2.2rem; justify-content: start; }
.hero__stat b { display: block; font-size: 1.7rem; color: var(--white); font-weight: 900; line-height: 1.1; }
.hero__stat span { font-size: .82rem; color: #a9bad8; font-weight: 600; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art svg { width: min(100%, 460px); filter: drop-shadow(0 26px 40px rgba(0,0,0,.45)); }
.hero__ring {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18);
  animation: spin 60s linear infinite;
}
.hero__ring--1 { width: 78%; aspect-ratio: 1; }
.hero__ring--2 { width: 96%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 90s; border-style: solid; border-color: rgba(255,153,51,.18); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white); text-align: center;
  background:
    radial-gradient(700px 300px at 50% -10%, rgba(63,125,253,.4), transparent 65%),
    var(--grad-dark);
  padding: 72px 0;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #c3d2ea; max-width: 60ch; margin-inline: auto; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .88rem; color: #9fb2d4; margin-top: .6rem; }
.breadcrumb a { color: #cfdcf5; font-weight: 600; }
.breadcrumb a:hover { color: var(--saffron-500); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfdcf3; }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), #f0f6ff); margin-bottom: 1.1rem;
  color: var(--blue-600);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; font-size: 1.14rem; }
.card p { margin: 0; font-size: .95rem; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; font-size: .9rem; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; }
.split__media { position: relative; }
.split__media img, .split__media svg { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.split__media .float-badge {
  position: absolute; right: -14px; bottom: 26px; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .8rem; border-left: 4px solid var(--saffron-500);
}
.float-badge b { display: block; color: var(--navy-900); font-size: 1.25rem; line-height: 1.1; }
.float-badge span { font-size: .78rem; color: var(--muted); font-weight: 600; }

.check-list { display: grid; gap: .65rem; margin: 1.2rem 0 1.6rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: .97rem; }
.check-list li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--green-500) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Value / mission tiles ---------- */
.tile {
  border-radius: var(--radius); padding: 1.8rem 1.6rem; height: 100%;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.tile h3 { display: flex; align-items: center; gap: .6rem; }
.tile .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-brand); color: var(--white); font-size: .95rem; font-weight: 800; flex: 0 0 auto;
}

/* ---------- Domain (component expertise) tabs-ish list ---------- */
.domain-card {
  position: relative; overflow: hidden; border-radius: var(--radius); height: 100%;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #dce6f7; padding: 1.8rem 1.5rem; border: 1px solid rgba(255,255,255,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.domain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.domain-card h3 { color: var(--white); font-size: 1.1rem; }
.domain-card p { color: #b7c6e0; font-size: .92rem; margin: 0; }
.domain-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--saffron-500);
}
.domain-card__icon svg { width: 28px; height: 28px; }
.domain-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,125,253,.35), transparent 70%);
}

/* ---------- Marquee (software tools) ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tool-chip {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .7rem 1.3rem; font-weight: 800; color: var(--navy-900); font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.tool-chip i {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-500), var(--green-500));
}

/* ---------- Success stories ---------- */
.story-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 100%;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story-card__art { aspect-ratio: 16/10; display: grid; place-items: center; }
.story-card__art svg { width: 46%; height: auto; opacity: .95; }
.story-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.story-card__tag {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px; background: var(--blue-100); color: var(--blue-600);
}
.story-card__tag--green { background: #e5f7e7; color: var(--green-600); }
.story-card__tag--saffron { background: #fff1e0; color: var(--saffron-600); }
.story-card h3 { font-size: 1.06rem; margin: .2rem 0 0; }
.story-card p { font-size: .92rem; margin: 0; flex: 1; }
.story-card__meta { display: flex; gap: 1.2rem; padding-top: .9rem; border-top: 1px dashed var(--line); margin-top: .4rem; }
.story-card__meta div b { display: block; color: var(--navy-900); font-size: 1.05rem; }
.story-card__meta div span { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 1.8rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
.quote-card__stars { color: var(--saffron-500); letter-spacing: .12em; font-size: .95rem; }
.quote-card p { color: var(--ink); font-size: .98rem; margin: 0; flex: 1; }
.quote-card footer { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: var(--white); font-weight: 800; flex: 0 0 auto;
}
.quote-card footer b { display: block; color: var(--navy-900); font-size: .95rem; line-height: 1.2; }
.quote-card footer span { font-size: .8rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 1.6rem; padding-left: 1.6rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-500), var(--saffron-500), var(--green-500));
}
.timeline__item { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.timeline__item::before {
  content: ""; position: absolute; left: -1.6rem; top: 1.55rem; width: 17px; height: 17px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--blue-500); transform: translateX(-1px);
}
.timeline__year { font-weight: 900; color: var(--blue-600); font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }
.timeline__item h3 { font-size: 1.08rem; margin: .25rem 0 .4rem; }
.timeline__item p { margin: 0; font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px; padding: 3rem 2.6rem;
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(255,153,51,.35), transparent 60%),
    var(--grad-brand);
  color: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
}
.cta-band h2 { color: var(--white); margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 52ch; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.2rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-info__item {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem; box-shadow: var(--shadow-sm);
}
.contact-info__item .ico {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600);
}
.contact-info__item b { display: block; color: var(--navy-900); font-size: .95rem; }
.contact-info__item a, .contact-info__item span { color: var(--muted); font-size: .93rem; }
.contact-info__item a:hover { color: var(--blue-600); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .86rem; font-weight: 700; color: var(--navy-900); }
.form-group label .req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem .95rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font: inherit; font-size: .95rem; color: var(--ink); background: #fbfdff; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(63,125,253,.15); background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group .error-msg { font-size: .78rem; color: var(--danger); font-weight: 600; min-height: 1em; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: var(--danger); }
.form-note { font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
.form-success {
  display: none; margin-top: 1rem; padding: .95rem 1.1rem; border-radius: var(--radius-sm);
  background: #e7f7ed; border: 1px solid #b7e4c7; color: #0d6b34; font-weight: 600; font-size: .92rem;
}
.form-success.show { display: block; }
.form-error {
  display: none; margin-top: 1rem; padding: .95rem 1.1rem; border-radius: var(--radius-sm);
  background: #fdecea; border: 1px solid #f5c2c0; color: #a02020; font-weight: 600; font-size: .92rem;
}
.form-error.show { display: block; }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--bg-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0cc; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.4rem;
  padding: 64px 0 40px;
}
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--saffron-500), var(--green-500)); }
.site-footer p { color: #93a5c4; font-size: .93rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__tag { color: #8ba0c4; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #9fb0cc; font-size: .93rem; }
.footer-links a:hover { color: var(--saffron-500); padding-left: 4px; transition: padding .18s ease, color .18s ease; }
.footer-contact { display: grid; gap: .7rem; font-size: .92rem; }
.footer-contact a { color: #9fb0cc; }
.footer-contact a:hover { color: var(--white); }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #cfdcf5;
}
.socials a:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: space-between; align-items: center; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 12px;
  border: 0; background: var(--grad-brand); color: var(--white); cursor: pointer; box-shadow: var(--shadow-md);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__art { order: -1; }
  .hero__art svg { width: min(100%, 340px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 2.2rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 34px) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 1rem 1.2rem 1.4rem; gap: .2rem;
    transform: translateY(-130%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .25s ease, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .85rem 1rem; font-size: 1rem; }
  .nav__link.active::after { display: none; }
  .nav__link.active { background: var(--blue-100); }
  .nav-cta { margin: .6rem 0 0; width: 100%; }
  .topbar .container { justify-content: center; text-align: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split__media .float-badge { right: 12px; }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 70px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .cta-band { padding: 2rem 1.4rem; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 48px; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 1.05rem; }
  .topbar { display: none; }
  .nav { inset: var(--header-h) 0 auto 0; }
  .form-card { padding: 1.4rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__ring { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .back-top, .nav-toggle, .cta-band { display: none !important; }
  body { color: #000; }
}
