/* ==========================================================================
   Proxy Navigator — Sitio rediseñado
   Estilo: Corporativo profesional
   Paleta principal: Navy + Rojo (acento) + Verde (tagline)
   ========================================================================== */

:root {
  --navy-900: #0a1e3f;
  --navy-800: #0f2a5c;
  --navy-700: #14387a;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --red-600: #c1272d;
  --red-500: #dc2626;
  --green-500: #84cc16;
  --green-600: #65a30d;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 30, 63, 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
  --transition: 200ms ease;
}

/* Reset & base ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-500); }
h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--gray-900); line-height: 1.2; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 16px; color: var(--gray-600); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}

.section {
  padding: 96px 0;
}
.section-tight { padding: 64px 0; }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-header p { font-size: 1.125rem; }

/* Buttons ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
}
.btn-primary:hover {
  background: var(--red-500);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-secondary:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }

/* Header ================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  padding: 12px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  padding: 4px 8px;
}
.nav-logo img { height: 86px; width: auto; display: block; }
.nav-logo:hover { color: var(--navy-900); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 8px 0;
}
.nav-menu a:hover { color: var(--navy-900); }
.nav-menu a.active { color: var(--navy-900); font-weight: 600; }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
}
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  color: var(--navy-900);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero ==================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(29, 78, 216, 0.06), transparent 60%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content .eyebrow { color: var(--green-600); }
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--blue-600);
}
.hero-lede {
  font-size: 1.1875rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.hero-trust strong { color: var(--navy-900); font-weight: 700; font-size: 1.5rem; display: block; }
.trust-item { line-height: 1.2; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(193, 39, 45, 0.06), transparent 55%),
    linear-gradient(135deg, #eef3fb 0%, #e3ecf8 60%, #d8e4f3 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(132, 204, 22, 0.05), transparent 40%);
  pointer-events: none;
}
.hero-visual img {
  position: relative;
  max-width: 600px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

/* Feature grid ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1875rem; }
.feature-card p { margin: 0; font-size: 0.9375rem; color: var(--gray-600); }

/* About / Mission strip =================================================== */
.mission {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(193, 39, 45, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(132, 204, 22, 0.10), transparent 40%);
  pointer-events: none;
}
.mission .container { position: relative; }
.mission h2, .mission h3 { color: var(--white); }
.mission p { color: rgba(255,255,255,0.85); }
.mission .eyebrow { color: var(--green-500); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
}
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

/* Platforms / Get Started ================================================= */
.platforms {
  background: var(--gray-50);
}
.platforms-banner {
  max-width: 1100px;
  margin: 0 auto 56px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.platforms-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.platform-card:hover {
  border-color: var(--navy-700);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.platform-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.platform-icon svg { width: 40px; height: 40px; }
.platform-card h3 { margin-bottom: 8px; }
.platform-card p {
  font-size: 0.9375rem;
  margin-bottom: 24px;
}
.platform-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Video embed (YouTube) =================================================== */
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--gray-900);
  aspect-ratio: 16 / 9;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Lite YouTube Embed: thumbnail estático + botón de play */
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--navy-900);
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease, filter 200ms ease;
}
.video-thumb:hover img,
.video-thumb:focus-visible img {
  transform: scale(1.03);
  filter: brightness(0.82);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 68px;
  pointer-events: none;
  transition: transform 220ms ease;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
.video-thumb:hover .play-btn,
.video-thumb:focus-visible .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}
.play-btn svg { width: 100%; height: 100%; display: block; }
/* Fallback for older browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .video-wrap {
    aspect-ratio: auto;
    padding-bottom: 56.25%;
    height: 0;
  }
}

/* How it works ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.step-num {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
}
.step h3 { margin-top: 12px; font-size: 1.125rem; }
.step p { font-size: 0.9375rem; margin: 0; }

/* CTA banner ============================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--red-600), #8c1c20);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.125rem; max-width: 620px; margin: 0 auto 32px; }
.cta-banner .btn-secondary { background: var(--white); border-color: var(--white); }
.cta-banner .btn-secondary:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* Page hero (interior pages) ============================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 30%, rgba(193, 39, 45, 0.15), transparent 40%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--green-500); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1875rem; max-width: 680px; }
.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--green-500); }

/* Feature showcase (alternating rows) ===================================== */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-visual { order: 2; }
.showcase-row.reverse .showcase-content { order: 1; }

/* Wide variant: imagen widescreen 16:9 arriba, contenido centrado debajo.
   Cap de 1080px y frame celeste claro para mantener coherencia con .hero-visual. */
.showcase-row.wide {
  grid-template-columns: 1fr;
  gap: 40px;
}
.showcase-row.wide .showcase-visual {
  position: relative;
  padding: 32px 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(193, 39, 45, 0.06), transparent 55%),
    linear-gradient(135deg, #eef3fb 0%, #e3ecf8 60%, #d8e4f3 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: block;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
.showcase-row.wide .showcase-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(132, 204, 22, 0.05), transparent 40%);
  pointer-events: none;
}
.showcase-row.wide .showcase-visual img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  display: block;
}
.showcase-row.wide .showcase-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.showcase-row.wide .showcase-content ul {
  display: inline-block;
  text-align: left;
}
.showcase-visual {
  position: relative;
  padding: 40px 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(193, 39, 45, 0.06), transparent 55%),
    linear-gradient(135deg, #eef3fb 0%, #e3ecf8 60%, #d8e4f3 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.showcase-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(132, 204, 22, 0.05), transparent 40%);
  pointer-events: none;
}
.showcase-visual img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  max-width: 100%;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.showcase-content .eyebrow { color: var(--green-600); }
.showcase-content ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.showcase-content ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--gray-700);
}
.showcase-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--green-500);
  border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

/* About page specifics ==================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: left;
}
.value-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-card .icon-circle svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 8px; }

/* Partners strip ========================================================== */
.partners {
  text-align: center;
  padding: 56px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.partners h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 28px;
}
.partners-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  font-weight: 600;
  color: var(--gray-700);
}
.partner-item { font-size: 1.0625rem; }

/* Forms =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info {
  padding: 16px 0;
}
.info-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.info-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.info-block h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 600;
}
.info-block p { margin: 0; color: var(--gray-800); font-weight: 500; }

/* Footer ================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand { flex: 0 1 320px; }
.footer-col { flex: 0 0 auto; min-width: 140px; }
.footer-brand { padding-top: 4px; }
.footer-brand img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 18px;
  display: block;
}
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 310px;
  margin: 0;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li { margin: 0; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a {
  color: rgba(255,255,255,0.65);
  margin-left: 24px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-bottom a:first-of-type { margin-left: 0; }
.footer-bottom a:hover { color: rgba(255,255,255,0.95); }

/* Back to top button ====================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #B7202E;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease,
              visibility 0.25s ease, background 0.2s ease;
  z-index: 999;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: #9A1A26; }
.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* Utilities =============================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-lg { margin-bottom: 48px; }

/* Responsive ============================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-grid { gap: 36px; }
  .footer-brand { flex: 0 0 100%; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 40px; }
  .hero-visual,
  .showcase-visual { padding: 28px 20px; }
  .showcase-row.wide .showcase-visual { padding: 20px 16px; }
  .platforms-banner { padding: 20px; margin-bottom: 32px; }
  .hero-grid,
  .mission-grid,
  .showcase-row,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-row.reverse .showcase-visual,
  .showcase-row.reverse .showcase-content { order: initial; }
  .platforms-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; justify-content: flex-start; }
  .footer-col { min-width: calc(50% - 14px); }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav { height: 76px; padding: 8px 0; }
  .nav-logo img { height: 58px; }
  .footer-brand img { max-width: 140px; margin-bottom: 16px; }
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    transform: translateY(-110%);
    transition: transform 280ms ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }
  .nav-menu a.active::after { display: none; }
  .nav-cta .btn { 