:root {
  --bg: #f6f8fc;
  --bg-soft: #eef3f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: rgba(10, 19, 34, 0.82);
  --border: rgba(15, 23, 42, 0.08);
  --ink: #07111f;
  --muted: #5f6f83;
  --accent: #c62828;
  --accent-dark: #9f1f1f;
  --brand: #07111f;
  --brand-soft: #102236;
  --success: #0f766e;
  --shadow: 0 24px 80px rgba(4, 16, 31, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f6f8fc;
    --bg-soft: #eef3f8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-dark: rgba(255, 255, 255, 0.94);
    --border: rgba(15, 23, 42, 0.08);
    --ink: #07111f;
    --muted: #5f6f83;
    --shadow: 0 24px 80px rgba(4, 16, 31, 0.12);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(198, 40, 40, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(26, 78, 140, 0.12), transparent 28%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

section,
footer,
header {
  scroll-margin-top: 6.5rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.overflow-hidden {
  overflow: hidden !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 999;
  transform: translateY(-200%);
  border-radius: 999px;
  background: #fff;
  color: #07111f;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.noscript-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.85rem 1rem;
  background: rgba(198, 40, 40, 0.92);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

#site-header a:focus-visible,
#site-header button:focus-visible,
.btn:focus-visible,
.footer-pill:focus-visible,
.mobile-link:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.55);
  outline-offset: 4px;
}

#site-header {
  background: transparent;
}

#site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.nav-link,
.mobile-link {
  color: #516172;
  font-size: 0.95rem;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link.is-active {
  color: #07111f;
  position: relative;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.9);
}

.nav-link:hover,
.nav-link:focus-visible,
.mobile-link:hover,
.mobile-link:focus-visible {
  color: #07111f;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(4px);
  z-index: 40;
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 50;
  transform-origin: top center;
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-link {
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
}

.hero-shell {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 248, 0.95)),
    #f6f8fc;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
  opacity: 0.35;
}

.hero-orb {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.75;
}

.hero-orb-left {
  left: -8rem;
  top: 8rem;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.42), transparent 65%);
}

.hero-orb-right {
  right: -10rem;
  bottom: 5rem;
  background: radial-gradient(circle, rgba(56, 110, 176, 0.32), transparent 65%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(198, 40, 40, 0.12);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: #8f1f1f;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(198, 40, 40, 0.06);
  backdrop-filter: blur(14px);
}

.eyebrow-dark {
  color: var(--accent);
  background: rgba(198, 40, 40, 0.08);
  border-color: rgba(198, 40, 40, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e04949);
  color: #fff;
  box-shadow: 0 18px 32px rgba(198, 40, 40, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.btn-secondary {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #07111f;
  backdrop-filter: blur(14px);
}

.btn-ghost {
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #37475a;
  background: rgba(255, 255, 255, 0.66);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #37475a;
  font-size: 0.85rem;
  font-weight: 600;
}

.section-shell {
  position: relative;
  padding: 4.75rem 0;
}

.section-tinted {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.02));
}

.section-heading {
  max-width: 52rem;
}

.section-title {
  margin: 1.2rem 0 0;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.1;
  font-weight: 650;
  color: var(--ink);
}

.section-text {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--muted);
}

.premium-card,
.info-card,
.challenge-card,
.business-card,
.timeline-card,
.contact-card,
.detail-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 2rem;
  padding: 1.75rem;
}

.stat-card {
  border-radius: 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(16px);
}

.stat-title {
  color: #07111f;
  font-weight: 600;
}

.stat-text {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5f6f83;
}

.feature-inline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #445467;
}

.feature-inline i {
  color: #f16d6d;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #07111f;
  padding: 0.85rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(16px);
  animation: floatPulse 2.5s ease-in-out infinite;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.info-card {
  border-radius: 1.8rem;
  padding: 1.45rem;
}

.info-card h3,
.timeline-card h3,
.contact-card h3,
.business-card h3 {
  margin: 1.1rem 0 0;
  font-size: 1.3rem;
  color: var(--ink);
}

.info-card p,
.timeline-card p,
.business-card p,
.detail-card p {
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(198, 40, 40, 0.14);
  background: rgba(198, 40, 40, 0.08);
  color: var(--accent);
}

.icon-badge svg {
  width: 1.3rem;
  height: 1.3rem;
}

.icon-badge-red {
  background: rgba(198, 40, 40, 0.1);
}

.challenge-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1.8rem;
  padding: 1.55rem;
}

.challenge-card i,
.detail-card i {
  color: var(--accent);
}

.challenge-card span {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}

.business-card {
  border-radius: 2rem;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 253, 0.9));
}

.business-card-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
}

.business-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.business-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 1.7rem;
  color: #253548;
  line-height: 1.65;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(198, 40, 40, 0.1);
}

.service-list-dark li {
  color: #253548;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(198, 40, 40, 0.4), rgba(7, 17, 31, 0.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1.4rem;
  align-items: start;
}

.timeline-index {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e15f5f);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.24);
}

.timeline-card {
  border-radius: 1.7rem;
  padding: 1.4rem;
}

.section-cta {
  background:
    radial-gradient(circle at top right, rgba(198, 40, 40, 0.08), transparent 28%),
    linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.03));
}

.contact-card {
  border-radius: 2rem;
  padding: 1.75rem;
  background: var(--surface-strong);
}

.contact-card a {
  color: inherit;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.95rem 1rem;
  color: #07111f;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

@media (prefers-color-scheme: dark) {
  .form-group input,
  .form-group textarea {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(15, 23, 42, 0.09);
    color: #07111f;
  }
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(198, 40, 40, 0.42);
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
  outline: none;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: rgba(198, 40, 40, 0.56);
}

.detail-card {
  display: flex;
  gap: 1rem;
  border-radius: 1.4rem;
  padding: 1rem 1.1rem;
  align-items: flex-start;
}

.compliance-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.55rem;
  padding: 1.2rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.compliance-card h3 {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.compliance-card p {
  margin-top: 0.7rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.compliance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
}

.compliance-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.compliance-icon-orange {
  background: #fff2e8;
  color: #ea580c;
}

.compliance-icon-blue {
  background: #eaf1ff;
  color: #2563eb;
}

.compliance-icon-green {
  background: #e7f9ef;
  color: #16a34a;
}

.compliance-icon-purple {
  background: #f0eafe;
  color: #7c3aed;
}

.compliance-icon-orange-soft {
  background: #fff6ea;
  color: #d97706;
}

.compliance-icon-blue-soft {
  background: #edf4ff;
  color: #1d4ed8;
}

.detail-card a {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-weight: 600;
}

.footer-shell {
  background: linear-gradient(180deg, #f9fbfe, #f1f5f9);
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, background-color 180ms ease;
}

.footer-pill:focus-visible {
  outline-color: rgba(198, 40, 40, 0.45);
}

.footer-pill:hover,
.footer-pill:focus-visible {
  transform: translateY(-2px);
  background: #ffffff;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea866, #00d27a);
  color: #fff;
  box-shadow: 0 20px 40px rgba(14, 168, 102, 0.32);
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 20px 40px rgba(14, 168, 102, 0.3);
  }
  50% {
    box-shadow: 0 24px 52px rgba(14, 168, 102, 0.45);
  }
}

@media (max-width: 1023px) {
  .hero-shell {
    min-height: auto;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-shell {
    padding: 3.75rem 0;
  }

  .hero-card,
  .business-card,
  .contact-card {
    padding: 1.35rem;
  }

  .info-card,
  .challenge-card,
  .timeline-card {
    border-radius: 1.5rem;
  }

  .timeline::before {
    left: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
