/* ==========================================================================
   RZ Websites — Stylesheet principal
   ========================================================================== */

:root {
  --black: #0a0d14;
  --black-soft: #11141d;
  --black-card: #161a24;
  --blue: #2f5fff;
  --blue-light: #5b8bff;
  --blue-pale: #eaf0ff;
  --blue-dark: #13246b;
  --white: #ffffff;
  --gray-100: #f6f8fc;
  --gray-200: #eef1f8;
  --gray-300: #e2e6ee;
  --gray-500: #8891a3;
  --gray-600: #6b7280;
  --gray-800: #262c3a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(19, 36, 107, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(10, 13, 20, 0.15);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--gray-600); font-size: 17px; }

.section-pad { padding: 96px 0; }
.section-pad--sm { padding: 64px 0; }
.bg-light { background: var(--gray-100); }
.bg-dark { background: var(--black); color: var(--gray-300); }
.bg-dark .section-head p { color: #a7b0c4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #1533a6 100%);
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(47, 95, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(47, 95, 255, 0.65); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); transform: translateY(-3px); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(0,0,0,0.4); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0px) scale(0.98); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--white); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue) 0%, #142a8c 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--white); font-weight: 800;
  box-shadow: 0 8px 20px -6px rgba(47,95,255,0.7);
}
.brand span.accent { color: var(--blue-light); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  color: #cbd2e1;
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--white); background: rgba(47,95,255,0.25); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; }
.hamburger { position: relative; width: 18px; height: 2px; background: var(--white); border-radius: 2px; }
.hamburger::before, .hamburger::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle.is-open .hamburger { background: transparent; }
.nav-toggle.is-open .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open .hamburger::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh;
  background: var(--black-soft); z-index: 1100; padding: 100px 30px 30px;
  transition: right 0.45s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}
.mobile-menu.is-open { right: 0; }
.mobile-menu a {
  display: block; padding: 14px 0; color: var(--white); font-weight: 700; font-size: 17px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .btn { margin-top: 26px; }
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1050;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 130px;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(47,95,255,0.35), transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(47,95,255,0.18), transparent 55%),
              linear-gradient(180deg, var(--black) 0%, #0d1120 60%, var(--black-soft) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 70%);
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}
.blob-1 { width: 420px; height: 420px; background: #2f5fff; top: -120px; right: -100px; }
.blob-2 { width: 320px; height: 320px; background: #5b8bff; bottom: -140px; left: -80px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #cfd7ea;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5bff9b; box-shadow: 0 0 0 4px rgba(91,255,155,0.2); }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  color: var(--white);
}
.hero h1 .highlight {
  background: linear-gradient(100deg, #5b8bff, #9db8ff 45%, #ffffff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: #b7bfd4;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 34px;
}
.hero-stats .stat b { display: block; font-size: 26px; color: var(--white); font-weight: 800; }
.hero-stats .stat span { font-size: 13.5px; color: #97a1b8; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }
.reveal-delay-5.in-view { transition-delay: 0.4s; }

/* ---------- Icon tile ---------- */
.icon-tile {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, #142a8c 100%);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(47,95,255,0.55);
  flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.dark { background: var(--black); box-shadow: 0 12px 26px -10px rgba(0,0,0,0.4); }
.icon-tile.ghost { background: var(--blue-pale); color: var(--blue); box-shadow: none; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.card h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.card p { margin-top: 10px; color: var(--gray-600); font-size: 15px; }

.card-dark {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--gray-300);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card-dark:hover { transform: translateY(-6px); border-color: rgba(47,95,255,0.5); }
.card-dark h3 { color: var(--white); margin-top: 20px; font-size: 18px; }
.card-dark p { margin-top: 10px; color: #9aa4ba; font-size: 14.5px; }

/* ---------- Services preview (home) ---------- */
.services-preview-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Advantages ---------- */
.advantage {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-300);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.advantage:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.advantage h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.advantage p { font-size: 14.5px; color: var(--gray-600); }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process-step { position: relative; padding: 34px 26px; border-radius: var(--radius); background: var(--gray-100); border: 1px solid var(--gray-300); }
.process-step .num {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.process-step h4 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; color: var(--gray-600); }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 28px;
  padding: 64px;
  background: radial-gradient(900px 400px at 20% 0%, rgba(255,255,255,0.12), transparent 60%), linear-gradient(135deg, var(--blue) 0%, #101d5e 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  overflow: hidden;
  position: relative;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; max-width: 520px; }
.cta-banner p { margin-top: 12px; color: #dbe3ff; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Portfolio mockups ---------- */
.mockup-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-300);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.mockup-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.browser-frame { background: #e9edf6; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #dde3f0; }
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: #b7c0d6; }
.mockup-screen { padding: 20px; height: 210px; position: relative; overflow: hidden; }
.mockup-screen .m-hero { height: 34%; border-radius: 8px; margin-bottom: 12px; }
.mockup-screen .m-row { display: flex; gap: 10px; }
.mockup-screen .m-block { flex: 1; border-radius: 8px; height: 60px; }
.mockup-body { padding: 26px; }
.mockup-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--blue-pale); color: var(--blue-dark);
}
.mockup-body h3 { font-size: 18px; font-weight: 700; }
.mockup-body p { margin-top: 8px; color: var(--gray-600); font-size: 14.5px; }

/* Palette variants for mockups */
.pal-1 .m-hero, .pal-1 .m-block:nth-child(1) { background: linear-gradient(135deg,#2f5fff,#0d1a63); }
.pal-1 .m-block:nth-child(2) { background: #dbe4ff; }
.pal-1 .m-block:nth-child(3) { background: #eef1f8; }

.pal-2 .m-hero { background: linear-gradient(135deg,#0a0d14,#2f5fff); }
.pal-2 .m-block:nth-child(1) { background: #0a0d14; }
.pal-2 .m-block:nth-child(2) { background: #2f5fff; }
.pal-2 .m-block:nth-child(3) { background: #dbe4ff; }

.pal-3 .m-hero { background: linear-gradient(135deg,#5b8bff,#eaf0ff); }
.pal-3 .m-block:nth-child(1) { background: #eaf0ff; }
.pal-3 .m-block:nth-child(2) { background: #2f5fff; }
.pal-3 .m-block:nth-child(3) { background: #0a0d14; }

.pal-4 .m-hero { background: linear-gradient(135deg,#101d5e,#5b8bff); }
.pal-4 .m-block:nth-child(1) { background: #dbe4ff; }
.pal-4 .m-block:nth-child(2) { background: #101d5e; }
.pal-4 .m-block:nth-child(3) { background: #2f5fff; }

.pal-5 .m-hero { background: linear-gradient(135deg,#eaf0ff,#5b8bff); }
.pal-5 .m-block:nth-child(1) { background: #0a0d14; }
.pal-5 .m-block:nth-child(2) { background: #eaf0ff; }
.pal-5 .m-block:nth-child(3) { background: #2f5fff; }

.pal-6 .m-hero { background: linear-gradient(135deg,#2f5fff,#5b8bff,#0a0d14); }
.pal-6 .m-block:nth-child(1) { background: #101d5e; }
.pal-6 .m-block:nth-child(2) { background: #dbe4ff; }
.pal-6 .m-block:nth-child(3) { background: #2f5fff; }

/* ---------- Filters (portfolio) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--gray-300);
  background: var(--white); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual {
  border-radius: 24px;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--black) 0%, var(--blue-dark) 60%, var(--blue) 100%);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-visual .ring { position: absolute; border: 1.5px solid rgba(255,255,255,0.15); border-radius: 50%; }
.about-visual .ring-1 { width: 260px; height: 260px; top: -60px; right: -60px; }
.about-visual .ring-2 { width: 160px; height: 160px; bottom: 30px; left: -40px; }
.about-visual .monogram {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 120px; font-weight: 800; color: rgba(255,255,255,0.92); letter-spacing: -4px;
}
.stat-pill {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(10,13,20,0.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px; padding: 18px 20px;
  display: flex; justify-content: space-between; color: var(--white);
}
.stat-pill div b { display: block; font-size: 20px; font-weight: 800; }
.stat-pill div span { font-size: 12px; color: #b9c2d8; }

.values-grid { grid-template-columns: repeat(3, 1fr); }
.skill-bar-wrap { margin-bottom: 20px; }
.skill-bar-label { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.skill-bar-track { height: 8px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.skill-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  width: 0%;
  transition: width 1.2s var(--ease);
}

/* ---------- Form ---------- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; color: var(--gray-800); }
.form-field label .req { color: var(--blue); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47,95,255,0.15);
}
.form-note { font-size: 13px; color: var(--gray-500); margin-top: -8px; margin-bottom: 22px; }
.form-success {
  display: none;
  align-items: center; gap: 12px;
  background: #eafff3; border: 1px solid #a9ecc4; color: #0d7a41;
  padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px;
  margin-top: 18px;
}
.form-success.show { display: flex; }
.form-success.form-status-warning {
  background: #fff6e5; border-color: #f3cf8a; color: #8a5b00;
}

/* ---------- Contact page ---------- */
.contact-grid { grid-template-columns: repeat(4, 1fr); }
.contact-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-300);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.contact-card .icon-tile { margin: 0 auto 18px; }
.contact-card h4 { font-size: 15px; color: var(--gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-card p { margin-top: 8px; font-size: 17px; font-weight: 700; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #9aa4ba; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: #8a93a8; max-width: 300px; }
.footer-col h5 { color: var(--white); font-size: 14.5px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: #9aa4ba; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: var(--white); }
.footer-bottom {
  margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; font-size: 13.5px; color: #77809650;
  color: #78819a;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: radial-gradient(900px 500px at 90% -10%, rgba(47,95,255,0.3), transparent 60%), linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; color: var(--blue-light); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.page-hero p { margin-top: 18px; color: #b7bfd4; font-size: 17px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .services-preview-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open { background: var(--black); }
}

@media (max-width: 720px) {
  .cta-banner { flex-direction: column; text-align: center; padding: 44px 30px; }
  .cta-banner .cta-actions { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .services-preview-grid, .values-grid, .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero { padding: 150px 0 90px; }
  .hero-actions .btn { width: 100%; }
  .about-visual { margin-top: 30px; }
}
