/* ==========================================================================
   Condex Gestão — Site institucional
   Paleta e tipografia alinhadas ao painel administrativo (app/public/assets/css/app.css)
   ========================================================================== */

:root {
  --primary: #1E88E5;
  --primary-dark: #1565c0;
  --primary-light: #eff6ff;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --navy: #0F2D52;
  --navy-deep: #0a1c36;
  --body-bg: #f3f6fb;
  --card-bg: #ffffff;
  --text-primary: #111827;
  --text-secondary: #64748b;
  --text-invert: #eef2f8;
  --text-invert-soft: #b9c6dc;
  --border-color: #e5e7eb;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 28, 54, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --header-height: 78px;
  --container: 1180px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--body-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.only-mobile { display: none; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(30, 136, 229, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(30, 136, 229, 0.45); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(10, 28, 54, 0.2);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(10, 28, 54, 0.28); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.navbar.is-scrolled {
  background: rgba(10, 28, 54, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(10, 28, 54, 0.25);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; color: #fff; }
.brand img { height: 38px; width: auto; filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text-invert-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 100px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 600;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu .brand { color: #fff; }
.mobile-menu-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; margin-top: 48px; }
.mobile-menu-links a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 88px) 0 120px;
  background: radial-gradient(1100px 600px at 85% -10%, rgba(30, 136, 229, 0.35), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 75%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #cfe0f7;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22,163,74,0.25); }

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 span { background: linear-gradient(120deg, #6db4f5, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-invert-soft);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-invert-soft);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
}
.chip i { color: var(--primary); }

/* Hero visual mock */
.hero-visual { position: relative; }
.mock-window {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.mock-window-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-window-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mock-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.mock-card-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mock-card-row:last-child { margin-bottom: 0; }
.mock-label { color: var(--text-invert-soft); font-size: 0.82rem; }
.mock-value { color: #fff; font-weight: 700; font-size: 1.1rem; }
.mock-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 8px;}
.mock-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), #6db4f5); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { text-align: center; }
.mock-stat .n { font-size: 1.3rem; font-weight: 800; color: #fff; }
.mock-stat .l { font-size: 0.72rem; color: var(--text-invert-soft); }
.mock-float {
  position: absolute;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.2s;
}
.mock-float i { color: var(--success); font-size: 1.1rem; }
.mock-float.top { top: -20px; right: -10px; }
.mock-float.bottom { bottom: -18px; left: -18px; animation-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0 0 48px; }
.kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 16px; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; }

.bg-white { background: var(--card-bg); }
.bg-soft { background: var(--body-bg); }
.bg-navy { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; }
.bg-navy .section-head p { color: var(--text-invert-soft); }
.bg-navy .section-head h2 { color: #fff; }

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(30,136,229,0.25); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.96rem; }
.card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; color: var(--text-secondary); }
.card ul li i { color: var(--success); margin-top: 3px; }

/* variant icon colors */
.icon-navy { background: linear-gradient(135deg, var(--navy), #17417a); }
.icon-success { background: linear-gradient(135deg, #22c55e, var(--success)); }
.icon-warning { background: linear-gradient(135deg, #fbbf24, var(--warning)); }
.icon-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; text-align: left; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.step p { color: var(--text-secondary); font-size: 0.92rem; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px; right: -12px;
  width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-color) 0 6px, transparent 6px 10px);
  display: none;
}
@media (min-width: 900px) { .step:not(:last-child)::after { display: block; } }

/* ---------- Security band ---------- */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.security-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px;
}
.security-item i { font-size: 1.6rem; color: #6db4f5; margin-bottom: 14px; display: block; }
.security-item h3 { font-size: 1.02rem; color: #fff; margin-bottom: 8px; }
.security-item p { color: var(--text-invert-soft); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), #1653a8 70%, var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 480px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--text-invert-soft); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 34px; filter: brightness(0) invert(1); }
.footer-brand span { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer p.desc { max-width: 320px; font-size: 0.92rem; }
.footer h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 0.92rem; transition: color 0.18s ease; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-note { font-size: 0.8rem; opacity: 0.7; margin-top: 4px; }

/* ---------- Inner page header ---------- */
.page-header {
  padding: calc(var(--header-height) + 64px) 0 72px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.page-header .kicker { color: #6db4f5; }
.page-header h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.page-header p { color: var(--text-invert-soft); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb-nav { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: var(--text-invert-soft); margin-bottom: 20px; }
.breadcrumb-nav a:hover { color: #fff; }

/* ---------- Funcionalidades page ---------- */
.feature-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.feature-block:nth-child(even) .feature-block { direction: rtl; }
.feature-block + .feature-block { margin-top: 88px; }
.feature-visual {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.feature-visual .card-icon { margin-bottom: 24px; }
.feature-visual ul { display: flex; flex-direction: column; gap: 14px; }
.feature-visual ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--text-secondary); }
.feature-visual ul li i { color: var(--success); margin-top: 3px; }
.feature-text .kicker { margin-bottom: 12px; }
.feature-text h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 16px; }
.feature-text p { color: var(--text-secondary); font-size: 1.02rem; margin-bottom: 18px; }
.feature-text .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 100px;
}

/* ---------- Values grid (Sobre) ---------- */
.value-card { text-align: center; padding: 36px 24px; }
.value-card .card-icon { margin: 0 auto 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy); margin-bottom: 18px; }
.split p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.02rem; }
.split-visual {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.split-visual .grid-2 { gap: 20px; }
.split-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px; }
.split-stat i { color: #6db4f5; font-size: 1.3rem; margin-bottom: 10px; display: block; }
.split-stat h4 { color: #fff; font-size: 0.98rem; margin-bottom: 6px; }
.split-stat p { color: var(--text-invert-soft); font-size: 0.85rem; margin: 0; }

/* ---------- Contato page ---------- */
.contact-grid { display: flex; justify-content: center; }
.contact-grid > div { width: 100%; max-width: 560px; }
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.contact-info-card p { color: var(--text-secondary); font-size: 0.92rem; }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-row .card-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 0; flex-shrink: 0; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; color: var(--navy); margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 12px; }
.legal-content ul { margin-bottom: 16px; }
.legal-content li { position: relative; padding-left: 20px; }
.legal-content li::before { content: "—"; position: absolute; left: 0; color: var(--primary); }
.legal-updated { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 40px; display: inline-block; background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 100px; font-weight: 600; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
  padding: 24px;
}
.error-page .code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: rgba(255,255,255,0.12); line-height: 1; margin-bottom: 8px; }
.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; }
.error-page p { color: var(--text-invert-soft); margin-bottom: 32px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 400;
  border: none;
  font-size: 1.1rem;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-block .feature-visual { order: -1; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 36px 24px; flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .only-mobile { display: block; }
  .hero { padding: calc(var(--header-height) + 56px) 0 80px; }
}
