/* ==========================================================================
   Corbytes — Design System & Site Styles  (Blue & White theme)
   ========================================================================== */

:root {
  /* Brand palette */
  --blue-900: #0f1f3d;   /* headline navy */
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;   /* primary */
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --mint: #34d399;
  --coral: #fb7185;
  --lilac: #a78bfa;
  --sun: #fbbf24;

  --page: #ffffff;
  --page-alt: #f3f7ff;
  --surface: #ffffff;
  --line: #e3eaf6;
  --ink: var(--blue-900);
  --ink-2: #2f3f5f;
  --muted: #5b6b8a;

  --grad: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-400) 100%);
  --grad-soft: linear-gradient(135deg, #dbeafe, #eef4ff);

  /* Type */
  --font-head: "Nunito", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(37, 99, 235, .08);
  --shadow-lg: 0 28px 60px rgba(37, 99, 235, .16);
  --nav-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-weight: 800;
  color: var(--blue-900);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--page-alt); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.highlight { position: relative; display: inline-block; }
.highlight::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px;
  height: .35em; background: var(--blue-100); z-index: -1; border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 800; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 14px 30px rgba(37,99,235,.36); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-100); }
.btn-ghost:hover { border-color: var(--blue-400); background: var(--blue-50); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--blue-600); }
.brand .mark { width: 38px; height: 38px; color: inherit; flex: 0 0 auto; }
.brand .word { color: inherit; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--ink-2); transition: color .15s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; background: var(--blue-600); }
.nav-links .mobile-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero (light, illustrated)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-50) 100%);
  padding: 80px 0 96px;
}
.hero .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero .blob.b1 { width: 420px; height: 420px; background: #c7dbff; top: -120px; left: -120px; }
.hero .blob.b2 { width: 520px; height: 520px; background: #dbeafe; bottom: -220px; right: -120px; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--blue-100);
  background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.hero .pill b { background: var(--blue-600); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 540px; margin-bottom: 36px; color: var(--muted); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; line-height: 1; margin-bottom: 6px; color: var(--blue-700); }
.hero-stats div span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img, .hero-visual svg { width: 100%; height: auto; }
.hero-visual .float {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--blue-900);
  animation: bob 6s ease-in-out infinite;
}
.hero-visual .float .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.hero-visual .float.f1 { top: 6%; left: -4%; }
.hero-visual .float.f2 { bottom: 12%; right: -2%; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   Logo strip / trust
   -------------------------------------------------------------------------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust .t-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trust .tech { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust .tech span {
  font-family: var(--font-head); font-weight: 800; font-size: .85rem;
  color: var(--blue-800);
  padding: 8px 14px; border-radius: 999px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.card .illus { height: 150px; margin: -8px -8px 18px; border-radius: 14px; background: var(--blue-50); display: grid; place-items: center; overflow: hidden; }
.card .illus svg { width: 100%; height: 100%; }
.card .icon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: 22px; color: var(--blue-600); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card ul { margin: 0 0 20px; padding: 0; list-style: none; }
.card ul li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink-2); margin-bottom: 7px; }
.card ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue-600); font-weight: 800; }
.card .link { font-family: var(--font-head); font-weight: 800; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.card .link .arrow { transition: transform .15s; }
.card .link:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Process / steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-600); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Split (text + visual)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .visual { background: var(--blue-50); border-radius: 28px; padding: 24px; }
.split .visual svg, .split .visual img { width: 100%; height: auto; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before {
  content: "✓"; flex: 0 0 24px; height: 24px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--blue-600); color: #fff; font-size: .8rem; font-weight: 800; margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Product showcase
   -------------------------------------------------------------------------- */
.product {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.product + .product { margin-top: 32px; }
.product.notespins { background: linear-gradient(135deg, #ffffff 0%, #eaf2ff 100%); }
.product.carowns { background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 100%); }
.product .p-tag { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; font-weight: 800; }
.product h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.product p { color: var(--muted); }
.product .domain { font-family: var(--font-head); font-weight: 800; color: var(--blue-600); }
.product .features { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.product .features span { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); color: var(--blue-800); }
.product .visual svg { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 8px; color: var(--blue-600); }
.stat span { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.quote::before { content: "“"; position: absolute; top: 12px; right: 24px; font-family: var(--font-head); font-size: 4rem; color: var(--blue-100); line-height: 1; }
.quote p { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--blue-600);
  color: #fff;
  border-radius: 32px;
  padding: 72px 56px;
  text-align: center;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); top: -200px; left: -120px; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -300px; right: -160px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 32px; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-50) 100%);
  padding: 80px 0 64px;
}
.page-head .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 760px; }
.page-head .lead { color: var(--muted); max-width: 620px; margin: 0; }
.page-head .visual svg { width: 100%; max-width: 420px; margin-left: auto; height: auto; }

/* Sub-nav for anchors */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--nav-h); z-index: 40; }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.subnav a { font-family: var(--font-head); font-weight: 800; font-size: .85rem; padding: 8px 16px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.subnav a:hover { background: var(--blue-50); color: var(--blue-700); }

/* Service detail block */
.service-detail { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.service-detail:nth-of-type(even) { background: var(--page-alt); }
.service-detail .big-icon { width: 68px; height: 68px; border-radius: 20px; background: var(--blue-600); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(37,99,235,.28); }
.service-detail .big-icon svg { width: 32px; height: 32px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.mini b { display: block; font-family: var(--font-head); font-weight: 800; margin-bottom: 4px; }
.mini span { font-size: .9rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800); font-weight: 600; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value .n { font-family: var(--font-head); font-weight: 900; font-size: .8rem; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 10px; }
.timeline { position: relative; padding-left: 28px; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-200); border-radius: 2px; }
.timeline li { list-style: none; position: relative; margin-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); }
.timeline li b { display: block; font-family: var(--font-head); font-weight: 800; }
.timeline li span { color: var(--muted); font-size: .95rem; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; }
.member .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: var(--blue-50); overflow: hidden; }
.member .avatar svg { width: 100%; height: 100%; }
.member b { display: block; font-family: var(--font-head); font-weight: 800; }
.member span { font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .item .i { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: 0 0 44px; }
.contact-info .item b { display: block; font-family: var(--font-head); font-weight: 800; margin-bottom: 2px; }
.contact-info .item span, .contact-info .item a { color: var(--muted); font-size: .95rem; }
.contact-info .item a:hover { color: var(--blue-600); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--page-alt); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59,130,246,.15); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.6rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 800; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-600); transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: .92rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; font-size: .93rem; }
.footer li a:hover { color: #fff; }
.footer li a.ext::after { content: " ↗"; font-size: .8em; opacity: .6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom .legal { display: flex; gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: background .15s, color .15s; }
.social a:hover { background: rgba(255,255,255,.1); color: #fff; }
.social svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .btn { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4, .steps, .stats, .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .page-head .container { grid-template-columns: 1fr; }
  .page-head .visual { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: var(--shadow-lg);
  }
  .nav-links.open li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links.open li a.active::after { display: none; }
  .nav-links.open li.mobile-cta { display: block; padding-top: 16px; }
  .nav-links.open li.mobile-cta a { display: inline-flex; border: 0; padding: 12px 22px; color: #fff; }
  .grid-3, .grid-2, .values, .mini-grid { grid-template-columns: 1fr; }
  .split, .product, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .section { padding: 72px 0; }
  .product { padding: 40px 28px; }
  .cta { padding: 56px 24px; border-radius: 24px; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { gap: 24px; }
  .hero-visual .float.f1 { left: 0; }
  .hero-visual .float.f2 { right: 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .grid-4, .steps, .stats, .team, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-visual .float { display: none; }
}
