/* ==========================================================================
   edgesoft® — corporate stylesheet
   Palette derived from the logo: deep navy + periwinkle accent
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #101c33;
  --navy-800: #16294a;
  --navy-700: #1f3864;
  --navy-600: #2a4b83;
  --peri-500: #8b93e8;
  --peri-400: #a3aaef;
  --peri-100: #eceefc;

  --ink: #0b0d12;
  --body: #4a5568;
  --muted: #7c879b;
  --line: #e4e8f0;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 28, 51, .06), 0 2px 6px rgba(16, 28, 51, .04);
  --shadow: 0 4px 12px rgba(16, 28, 51, .07), 0 12px 32px rgba(16, 28, 51, .06);
  --shadow-lg: 0 18px 50px rgba(16, 28, 51, .14);

  --container: 1180px;
  --gutter: 24px;
  --header-h: 82px;

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--peri-500); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.15rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--peri-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-700); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--peri-500); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { font-size: 1.06rem; }
.lead { font-size: 1.14rem; color: var(--body); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 650; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px rgba(31, 56, 100, .25); }
.btn--primary:hover { background: var(--navy-800); color: #fff; box-shadow: 0 12px 28px rgba(31, 56, 100, .32); }
.btn--accent { background: var(--peri-500); color: #10182e; box-shadow: 0 8px 22px rgba(139, 147, 232, .38); }
.btn--accent:hover { background: var(--peri-400); color: #10182e; }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); background: #fff; }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn--light:hover { background: #fff; color: var(--navy-800); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: .95rem; color: var(--navy-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(16, 28, 51, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.brand:hover { opacity: .85; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  display: block; padding: 9px 16px; border-radius: 999px;
  font-size: .97rem; font-weight: 600; color: var(--navy-800);
}
.nav-menu a:hover { background: var(--peri-100); color: var(--navy-700); }
.nav-menu a.is-active { color: var(--navy-700); background: var(--peri-100); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-phone { font-size: .95rem; font-weight: 650; color: var(--navy-800); display: inline-flex; align-items: center; gap: 8px; }
.nav-phone svg { width: 16px; height: 16px; color: var(--peri-500); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dfe5f5;
  background: radial-gradient(1100px 520px at 78% -8%, #2f4f8c 0%, transparent 62%), linear-gradient(160deg, #16294a 0%, #101c33 100%);
  padding: clamp(70px, 9vw, 118px) 0 clamp(80px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--peri-400); }
.hero p { color: #b9c4dd; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 66px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(139, 147, 232, .14); border: 1px solid rgba(139, 147, 232, .32);
  font-size: .84rem; font-weight: 600; color: #cdd4f6;
}
.hero-badge b { background: var(--peri-500); color: #10182e; padding: 3px 11px; border-radius: 999px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.hero .btn-row { margin-top: 32px; }
.hero-trust { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 34px; }
.hero-trust div strong { display: block; color: #fff; font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.hero-trust div span { font-size: .86rem; color: #9fabc9; }

/* Hero visual: stylised dashboard card */
.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card__bar { display: flex; gap: 6px; margin-bottom: 18px; }
.hero-card__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hero-card__bar i:first-child { background: var(--peri-500); }
.hero-stat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); margin-bottom: 10px; }
.hero-stat:last-child { margin-bottom: 0; }
.hero-stat p { margin: 0; font-size: .9rem; color: #c6cfe6; }
.hero-stat strong { color: #fff; font-size: 1.05rem; }
.hero-stat .chip { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(139, 147, 232, .22); color: var(--peri-400); }
.hero-bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 14px; }
.hero-bars i { flex: 1; background: linear-gradient(180deg, var(--peri-500), rgba(139, 147, 232, .25)); border-radius: 5px 5px 2px 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #cdd7ec;
  background: radial-gradient(800px 380px at 85% 0%, #2f4f8c 0%, transparent 60%), linear-gradient(160deg, #16294a 0%, #101c33 100%);
  padding: clamp(52px, 6.5vw, 84px) 0 clamp(56px, 7vw, 90px);
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: #b9c4dd; max-width: 660px; font-size: 1.08rem; margin: 0; }
.page-hero .eyebrow { color: var(--peri-400); }
.breadcrumb { display: flex; gap: 8px; font-size: .87rem; color: #8fa0c2; margin-bottom: 18px; }
.breadcrumb a { color: #b9c4dd; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfd7ea; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .98rem; }
.card .link-arrow { margin-top: 16px; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--peri-100), #dfe3fb); color: var(--navy-700);
}
.icon-badge svg { width: 26px; height: 26px; }
.card:hover .icon-badge { background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: #fff; }
.icon-badge--dark { background: rgba(139, 147, 232, .16); color: var(--peri-400); }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: .99rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--peri-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3864' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 68px); align-items: center; }
.split--reverse .split__media { order: 2; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(150deg, #eef1f9, #fff); padding: 26px; box-shadow: var(--shadow);
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); font-weight: 800; color: var(--navy-700); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--peri-500);
}
.step::after { content: ""; position: absolute; top: 42px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--peri-500), transparent); }
.step h3 { font-size: 1.08rem; margin: 16px 0 .4em; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 46px; }
.logos span { font-weight: 800; font-size: 1.05rem; color: #a9b3c7; letter-spacing: -.01em; transition: color .2s; }
.logos span:hover { color: var(--navy-700); }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1rem; color: var(--ink); }
.quote::before { content: "“"; display: block; font-size: 3.2rem; line-height: .8; color: var(--peri-500); font-family: Georgia, serif; margin-bottom: 8px; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--navy-700); color: #fff; flex: none; }
.quote footer b { display: block; color: var(--ink); font-size: .95rem; }
.quote footer small { color: var(--muted); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); text-align: center;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 60px); color: #fff;
  background: radial-gradient(700px 320px at 50% -20%, #2f4f8c 0%, transparent 65%), linear-gradient(150deg, #1f3864, #101c33);
}
.cta h2 { color: #fff; max-width: 640px; margin-inline: auto; }
.cta p { color: #b9c4dd; max-width: 560px; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 12px; }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.accordion__btn:hover { color: var(--navy-700); }
.accordion__btn i { flex: none; width: 22px; height: 22px; position: relative; }
.accordion__btn i::before, .accordion__btn i::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px; background: var(--navy-700); border-radius: 2px; transition: transform .25s var(--ease);
}
.accordion__btn i::after { transform: rotate(90deg); }
.accordion__btn[aria-expanded="true"] i::after { transform: rotate(0); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.accordion__panel > div { padding: 0 22px 22px; font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--peri-500); background: #fff; box-shadow: 0 0 0 4px rgba(139, 147, 232, .18);
}
.field .error { display: none; font-size: .85rem; color: #c0392b; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0796d; background: #fff8f7; }
.field.has-error .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.consent input { width: auto; margin-top: 4px; flex: none; }
.form-note { font-size: .87rem; color: var(--muted); margin-top: 16px; }
.form-success {
  display: none; gap: 14px; align-items: flex-start; margin-bottom: 22px; padding: 18px 20px;
  border-radius: var(--radius); background: #eef7f0; border: 1px solid #c6e3cf; color: #24603a;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

.info-card { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.info-card + .info-card { margin-top: 20px; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list li:first-child { padding-top: 0; }
.info-list .ico { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--navy-700); }
.info-list .ico svg { width: 19px; height: 19px; }
.info-list b { display: block; color: var(--ink); font-size: .93rem; }
.info-list a, .info-list span { font-size: .97rem; color: var(--body); }
.map-embed { border: 0; width: 100%; height: 320px; display: block; border-radius: var(--radius-lg); }

/* ---------- Team ---------- */
.member { text-align: center; }
.member .photo {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--navy-700), var(--peri-500));
}
.member h3 { font-size: 1.06rem; margin-bottom: .2em; }
.member .role { font-size: .9rem; color: var(--peri-500); font-weight: 650; margin-bottom: .7em; }
.member p { font-size: .93rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--peri-500), var(--line)); }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--peri-500); }
.timeline b { display: block; color: var(--navy-700); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { font-size: 1.08rem; margin: 4px 0 .3em; }
.timeline p { font-size: .96rem; margin: 0; }

/* ---------- Pricing / tiers ---------- */
.tier { display: flex; flex-direction: column; }
.tier .price { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.2; margin: 6px 0 2px; }
.tier .price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.tier ul { margin: 20px 0 26px; }
.tier .btn { margin-top: auto; }
.tier--featured { border-color: var(--navy-700); box-shadow: var(--shadow); position: relative; }
.tier--featured::after {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--peri-500); color: #10182e; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fabc9; padding: clamp(54px, 6vw, 80px) 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .84rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #9fabc9; }
.site-footer a:hover { color: var(--peri-400); }
.site-footer li { margin-bottom: 11px; }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #cdd6ea; transition: background-color .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--peri-500); color: #10182e; transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 52px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: .89rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom li { margin: 0; }

.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input {
  flex: 1; min-width: 0; font: inherit; font-size: .93rem; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff;
}
.newsletter input::placeholder { color: #8493b3; }
.newsletter input:focus { outline: none; border-color: var(--peri-500); background: rgba(255, 255, 255, .1); }
.newsletter button { padding: 12px 18px; border-radius: var(--radius-sm); border: 0; background: var(--peri-500); color: #10182e; font: inherit; font-weight: 700; cursor: pointer; }
.newsletter button:hover { background: var(--peri-400); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-phone { display: none; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a { padding: 14px 12px; border-radius: 10px; font-size: 1.02rem; }
  .nav-menu .btn { margin-top: 12px; width: 100%; }
  .nav-actions .btn { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .split, .contact-grid, .field-row { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .hero-trust { gap: 26px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero-trust div strong { font-size: 1.4rem; }
}

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

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  body { color: #000; font-size: 12pt; }
}
