* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #071526;
  --bg-2: #0b1f35;
  --bg-3: #102b49;
  --surface: rgba(246, 255, 248, 0.92);
  --surface-dark: rgba(9, 24, 13, 0.86);
  --surface-card: #f7f9fc;
  --text: #f7f9fc;
  --text-dark: #071526;
  --muted: #c1cad6;
  --muted-dark: #617086;
  --line: rgba(185, 255, 201, 0.18);
  --line-light: #dce3ec;
  --primary: #dfe3e9;
  --primary-2: #2f5f94;
  --primary-3: #173b63;
  --acid: #eef2f7;
  --cyan: #547ead;
  --danger: #ff6b35;
  --shadow: rgba(0, 0, 0, 0.28);
  --glow: rgba(66, 104, 148, 0.32);
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(66, 104, 148, 0.13), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(84, 126, 173, 0.1), transparent 24%),
    linear-gradient(180deg, #071526 0%, #0b1f35 42%, #dfe3e9 42%, #dfe3e9 100%);
  color: var(--text);
  overflow-x: hidden;
  animation: pageFade 0.8s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(66, 104, 148, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 104, 148, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  height: 76px;
  padding: 0 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  background:
    linear-gradient(135deg, rgba(12, 32, 18, 0.86), rgba(7, 17, 11, 0.78)),
    rgba(7, 17, 11, 0.84);
  border: 1px solid rgba(66, 104, 148, 0.22);
  border-radius: 999px;
  z-index: 1000;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
  transition:
    width 0.35s ease,
    height 0.35s ease,
    top 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.navbar.scrolled {
  top: 10px;
  width: min(1080px, calc(100% - 28px));
  height: 66px;
  background:
    linear-gradient(135deg, rgba(8, 20, 12, 0.94), rgba(6, 14, 9, 0.92)),
    rgba(7, 17, 11, 0.96);
  border-color: rgba(66, 104, 148, 0.34);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(66, 104, 148, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.06em;
  position: relative;
  padding-left: 39px;
}

.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, var(--acid), var(--primary-2));
  box-shadow:
    0 0 24px rgba(66, 104, 148, 0.45),
    inset 0 -5px 10px rgba(8, 20, 12, 0.18);
  transform: translateY(-50%) rotate(45deg);
}

.logo::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: rgba(8, 20, 12, 0.82);
  transform: translateY(-50%) rotate(45deg);
}

.nav-links {
  display: flex;
  gap: 10px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-links a {
  text-decoration: none;
  color: #dce3ec;
  font-weight: 800;
  font-size: 0.9rem;
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-links a:hover {
  color: #071526;
  background: linear-gradient(135deg, var(--acid), var(--primary-2));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(66, 104, 148, 0.18);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(7, 17, 11, 0.7);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 38%;
}

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

.btn-primary,
.btn-llamar,
.btn-secondary {
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn-primary::before,
.btn-llamar::before,
.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn-primary:hover::before,
.btn-llamar:hover::before,
.btn-secondary:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--acid), var(--primary-2));
  color: #071526;
  box-shadow:
    0 12px 30px rgba(66, 104, 148, 0.24),
    inset 0 -5px 10px rgba(8, 20, 12, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 42px rgba(66, 104, 148, 0.32),
    0 0 28px rgba(66, 104, 148, 0.16);
}

.btn-llamar {
  background: rgba(255, 255, 255, 0.08);
  color: #f7f9fc;
  border: 1px solid rgba(66, 104, 148, 0.25);
}

.btn-llamar:hover {
  transform: translateY(-3px);
  background: rgba(66, 104, 148, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  border: 1px solid rgba(66, 104, 148, 0.35);
  background: rgba(7, 17, 11, 0.88);
  color: #f7f9fc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--acid);
  color: var(--acid);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(66, 104, 148, 0.14);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  padding: 150px 8% 95px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-gif {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.21;
  filter: grayscale(0.75) sepia(0.25) saturate(1.75) contrast(1.25);
  transform: scale(1.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 17, 11, 0.98) 0%, rgba(7, 17, 11, 0.88) 44%, rgba(7, 17, 11, 0.36) 100%),
    radial-gradient(circle at 76% 45%, rgba(66, 104, 148, 0.17), transparent 35%),
    linear-gradient(180deg, rgba(7, 17, 11, 0.18), rgba(7, 17, 11, 1));
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -210px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  z-index: -1;
  background:
    radial-gradient(circle, rgba(66, 104, 148, 0.16), transparent 63%);
  border: 1px solid rgba(66, 104, 148, 0.15);
  box-shadow: inset 0 0 70px rgba(66, 104, 148, 0.07);
}

.hero-blur {
  position: absolute;
  right: 4%;
  top: 20%;
  width: 520px;
  height: 520px;
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 40% 35%, rgba(226, 231, 239, 0.32), transparent 48%),
    radial-gradient(circle at 70% 65%, rgba(84, 126, 173, 0.2), transparent 52%);
  filter: blur(78px);
  animation: blobMove 12s infinite ease-in-out;
  z-index: -1;
}

@keyframes blobMove {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 48% 52% 44% 56%;
  }

  50% {
    transform: translate(50px, -40px) scale(1.08) rotate(12deg);
    border-radius: 58% 42% 54% 46%;
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 48% 52% 44% 56%;
  }
}

.hero-content {
  max-width: 760px;
  text-align: left;
  position: relative;
  z-index: 3;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: -30px;
  top: -34px;
  bottom: -34px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--acid), transparent, var(--cyan));
  box-shadow: 0 0 25px rgba(66, 104, 148, 0.32);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(66, 104, 148, 0.12);
  border: 1px solid rgba(66, 104, 148, 0.26);
  color: #eef2f7;
  font-weight: 900;
  margin-bottom: 24px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-size: clamp(3.3rem, 7.4vw, 6.7rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.085em;
  margin-bottom: 28px;
  color: #f7f9fc;
  text-wrap: balance;
  text-shadow:
    0 0 36px rgba(66, 104, 148, 0.12),
    0 22px 70px rgba(0, 0, 0, 0.46);
}

.hero p {
  max-width: 610px;
  margin: 0;
  color: #c7d1de;
  font-size: 1.12rem;
  line-height: 1.82;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.stats,
.services,
.process,
.testimonials,
.cta {
  padding: 120px 8%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 1px;
  background: #071526;
  border-top: 1px solid rgba(66, 104, 148, 0.18);
  border-bottom: 1px solid rgba(66, 104, 148, 0.18);
  padding-top: 0;
  padding-bottom: 0;
}

.stats .stat-card {
  border-radius: 0;
  border: none;
}

.services {
  position: relative;
  background:
    linear-gradient(135deg, #dfe3e9 0%, #dfe3e9 56%, #c8d0dc 56%, #c8d0dc 100%);
  color: var(--text-dark);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(30, 63, 105, 0.12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, transparent 100%);
  pointer-events: none;
}

.process {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(66, 104, 148, 0.11), transparent 28%),
    linear-gradient(180deg, #071526, #0d2238);
  color: var(--text);
}

.process::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 104, 148, 0.34), transparent);
  pointer-events: none;
}

.testimonials {
  background:
    linear-gradient(180deg, #dfe3e9, #d3dae4);
  color: var(--text-dark);
}

.cta {
  position: relative;
  text-align: left;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 20%, rgba(66, 104, 148, 0.16), transparent 32%),
    linear-gradient(135deg, #071526, #102b49);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(66, 104, 148, 0.17);
  background: radial-gradient(circle, rgba(66, 104, 148, 0.11), transparent 68%);
}

.section-title {
  position: relative;
  text-align: left;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin-bottom: 62px;
  color: inherit;
  z-index: 1;
}

.section-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  border-radius: 999px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--acid), var(--primary-2), var(--cyan));
  box-shadow: 0 0 22px rgba(66, 104, 148, 0.22);
}

.services-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 1;
}

.stat-card,
.service-card,
.process-card,
.testimonial {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.stat-card {
  text-align: left;
  padding: 48px 30px;
  background:
    linear-gradient(180deg, rgba(66, 104, 148, 0.09), rgba(7, 17, 11, 0)),
    #071526;
  border-right: 1px solid rgba(66, 104, 148, 0.12);
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.03);
  background:
    linear-gradient(180deg, rgba(66, 104, 148, 0.15), rgba(7, 17, 11, 0.04)),
    #0b1f35;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.28);
  border-color: rgba(66, 104, 148, 0.22);
}

.service-card,
.testimonial {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-light);
  border-radius: 8px 30px 8px 30px;
  padding: 34px;
  min-height: 196px;
  color: var(--text-dark);
  box-shadow: 0 18px 40px rgba(11, 29, 16, 0.08);
}

.service-card:nth-child(even),
.testimonial:nth-child(even) {
  border-radius: 30px 8px 30px 8px;
  transform: translateY(22px);
}

.service-card:hover,
.testimonial:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 28px 62px rgba(11, 29, 16, 0.14),
    0 0 0 1px rgba(30, 63, 105, 0.16);
  border-color: rgba(30, 63, 105, 0.34);
  background: #ffffff;
}

.service-card:nth-child(even):hover,
.testimonial:nth-child(even):hover {
  transform: translateY(10px) scale(1.03);
}

.process-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(66, 104, 148, 0.16);
  border-radius: 30px;
  padding: 34px;
  min-height: 196px;
  color: var(--text);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.process-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(66, 104, 148, 0.1);
  border-color: rgba(66, 104, 148, 0.36);
  background:
    linear-gradient(180deg, rgba(66, 104, 148, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
}

.stat-card::before,
.service-card::before,
.process-card::before,
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: translateX(-150%);
  transition: transform 0.8s ease;
}

.process-card::before,
.stat-card::before {
  background: linear-gradient(
    120deg,
    transparent,
    rgba(66, 104, 148, 0.13),
    transparent
  );
}

.stat-card:hover::before,
.service-card:hover::before,
.process-card:hover::before,
.testimonial:hover::before {
  transform: translateX(150%);
}

.stat-card::after,
.service-card::after,
.process-card::after,
.testimonial::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.stat-card::after {
  right: 26px;
  top: 28px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(66, 104, 148, 0.13);
  border: 1px solid rgba(66, 104, 148, 0.22);
  transform: rotate(45deg) scale(0.8);
}

.service-card::after,
.testimonial::after {
  right: 24px;
  bottom: 22px;
  width: 58px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-3), var(--primary-2));
  transform: translateX(18px);
}

.process-card::after {
  right: 22px;
  top: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(66, 104, 148, 0.25);
  background: radial-gradient(circle, rgba(66, 104, 148, 0.18), transparent 70%);
  transform: scale(0.75);
}

.stat-card:hover::after,
.service-card:hover::after,
.process-card:hover::after,
.testimonial:hover::after {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(45deg);
}

.service-card:hover::after,
.testimonial:hover::after {
  transform: translateX(0);
}

.process-card:hover::after {
  transform: scale(1);
}

.stat-card h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--acid);
  margin-bottom: 10px;
  letter-spacing: -0.08em;
  text-shadow: 0 0 26px rgba(66, 104, 148, 0.18);
}

.stat-card p {
  color: #c7d1de;
  line-height: 1.65;
  font-weight: 700;
}

.service-card p,
.testimonial p {
  color: var(--muted-dark);
  line-height: 1.72;
}

.process-card p {
  color: var(--muted);
  line-height: 1.72;
}

.stat-number {
  display: inline-block;
  transition: transform 0.25s ease;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.service-card h3,
.process-card h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
}

.service-card h3 {
  color: #0b1f35;
}

.process-card h3 {
  color: #f7f9fc;
}

.number {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, var(--acid), var(--primary-2));
  color: #071526;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 22px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-radius 0.4s ease;
  box-shadow:
    0 16px 36px rgba(66, 104, 148, 0.2),
    inset 0 -6px 12px rgba(7, 17, 11, 0.12);
}

.process-card:hover .number {
  transform: rotate(360deg) scale(1.15);
  border-radius: 50%;
  box-shadow:
    0 22px 48px rgba(66, 104, 148, 0.28),
    0 0 28px rgba(84, 126, 173, 0.16);
}

.testimonial p {
  margin-top: 18px;
  font-size: 1.02rem;
}

.stars {
  display: flex;
  gap: 5px;
  font-size: 1.2rem;
  filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.2));
}

.star {
  opacity: 0;
  transform: scale(0.4);
  display: inline-block;
}

.star.show {
  opacity: 1;
  transform: scale(1);
  transition: 0.15s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta h2 {
  position: relative;
  max-width: 820px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
  color: #f7f9fc;
  z-index: 1;
}

.cta p {
  position: relative;
  max-width: 660px;
  color: #c7d1de;
  margin-bottom: 32px;
  font-size: 1.08rem;
  line-height: 1.75;
  z-index: 1;
}

.cta .btn-primary {
  position: relative;
  z-index: 1;
}

@media (max-width: 1050px) {
  .stats {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .service-card:nth-child(even),
  .testimonial:nth-child(even) {
    transform: none;
  }

  .service-card:nth-child(even):hover,
  .testimonial:nth-child(even):hover {
    transform: translateY(-10px) scale(1.03);
  }
}

@media (max-width: 900px) {
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    height: 70px;
    padding: 0 14px 0 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-primary,
  .btn-llamar,
  .btn-secondary {
    padding: 12px 15px;
    border-radius: 999px;
  }

  .hero {
    padding: 135px 7% 75px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content::before {
    left: -18px;
  }

  .hero h1 {
    font-size: 3.35rem;
    letter-spacing: -0.065em;
  }

  .hero p {
    font-size: 1rem;
  }

  .stats,
  .services,
  .process,
  .testimonials,
  .cta {
    padding: 85px 7%;
  }

  .section-title {
    font-size: 2.35rem;
    margin-bottom: 44px;
  }

  .service-card,
  .process-card,
  .testimonial {
    padding: 30px;
  }

  .process::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 38px 24px;
  }
}

@media (max-width: 520px) {
  .logo {
    font-size: 1.18rem;
    padding-left: 34px;
  }

  .logo::before {
    width: 24px;
    height: 24px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .btn-llamar {
    padding: 11px 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons button {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .section-title {
    font-size: 2.05rem;
  }
}

:root {
  --bg: #dfe3e9;
  --bg-2: #607084;
  --bg-3: #061426;
  --surface: rgba(247, 249, 252, 0.92);
  --surface-dark: rgba(7, 21, 38, 0.88);
  --surface-card: rgba(247, 249, 252, 0.08);
  --text: #f7f9fc;
  --text-dark: #071526;
  --muted: #c7d1de;
  --muted-dark: #617086;
  --line: rgba(201, 210, 222, 0.22);
  --line-light: rgba(201, 210, 222, 0.34);
  --primary: #dfe3e9;
  --primary-2: #2f5f94;
  --primary-3: #173b63;
  --acid: #eef2f7;
  --cyan: #547ead;
  --danger: #ff6b35;
  --shadow: rgba(0, 0, 0, 0.28);
  --glow: rgba(84, 126, 173, 0.3);
  --white: #ffffff;
}

body {
  background:
    radial-gradient(circle at 16% 7%, rgba(255, 255, 255, 0.72), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(84, 126, 173, 0.22), transparent 26%),
    linear-gradient(180deg, #e4e8ef 0%, #c9d2de 18%, #6f7f95 42%, #1a334f 68%, #061426 100%) fixed !important;
  color: var(--text) !important;
}

body::before {
  background-image:
    linear-gradient(rgba(7, 21, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 38, 0.04) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.55) 42%, transparent 100%) !important;
}

.navbar {
  background:
    linear-gradient(135deg, rgba(247, 249, 252, 0.8), rgba(201, 210, 222, 0.68)),
    rgba(247, 249, 252, 0.76) !important;
  border-color: rgba(7, 21, 38, 0.16) !important;
  box-shadow:
    0 18px 50px rgba(7, 21, 38, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

.navbar.scrolled {
  background:
    linear-gradient(135deg, rgba(8, 21, 38, 0.92), rgba(5, 14, 26, 0.88)),
    rgba(7, 21, 38, 0.9) !important;
  border-color: rgba(223, 227, 233, 0.24) !important;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(84, 126, 173, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.logo,
.nav-links a {
  color: #071526 !important;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .btn-llamar {
  color: #f7f9fc !important;
}

.logo::before,
.number,
.btn-primary {
  background: linear-gradient(135deg, #f7f9fc 0%, #c9d2de 42%, #2f5f94 100%) !important;
  box-shadow:
    0 0 24px rgba(84, 126, 173, 0.28),
    inset 0 -5px 10px rgba(7, 21, 38, 0.14) !important;
}

.logo::after {
  background: rgba(7, 21, 38, 0.82) !important;
}

.nav-links {
  background: rgba(7, 21, 38, 0.055) !important;
  border-color: rgba(7, 21, 38, 0.08) !important;
}

.navbar.scrolled .nav-links {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.nav-links a:hover {
  color: #f7f9fc !important;
  background: linear-gradient(135deg, #173b63, #2f5f94) !important;
  box-shadow: 0 10px 24px rgba(23, 59, 99, 0.18) !important;
}

.btn-primary {
  color: #071526 !important;
  box-shadow:
    0 12px 30px rgba(47, 95, 148, 0.28),
    inset 0 -5px 10px rgba(7, 21, 38, 0.12) !important;
}

.btn-primary:hover {
  box-shadow:
    0 18px 42px rgba(47, 95, 148, 0.34),
    0 0 28px rgba(84, 126, 173, 0.16) !important;
}

.btn-llamar,
.btn-secondary {
  background: rgba(7, 21, 38, 0.08) !important;
  border: 1px solid rgba(7, 21, 38, 0.16) !important;
  color: #071526 !important;
}

.navbar.scrolled .btn-llamar,
.navbar.scrolled .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(223, 227, 233, 0.22) !important;
  color: #f7f9fc !important;
}

.btn-llamar:hover,
.btn-secondary:hover {
  background: rgba(47, 95, 148, 0.14) !important;
  border-color: rgba(47, 95, 148, 0.36) !important;
  color: #f7f9fc !important;
}

.hero {
  background:
    radial-gradient(circle at 80% 28%, rgba(84, 126, 173, 0.24), transparent 30%),
    linear-gradient(180deg, #e4e8ef 0%, #c9d2de 54%, #6f7f95 100%) !important;
}

.hero-gif img {
  opacity: 0.13 !important;
  filter: grayscale(1) saturate(0.75) contrast(1.08) brightness(1.08) !important;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(228, 232, 239, 0.97) 0%, rgba(201, 210, 222, 0.82) 44%, rgba(7, 21, 38, 0.38) 100%),
    radial-gradient(circle at 76% 45%, rgba(47, 95, 148, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(228, 232, 239, 0.16), rgba(26, 51, 79, 0.74)) !important;
}

.hero::after {
  background: radial-gradient(circle, rgba(47, 95, 148, 0.18), transparent 63%) !important;
  border-color: rgba(47, 95, 148, 0.16) !important;
  box-shadow: inset 0 0 70px rgba(47, 95, 148, 0.08) !important;
}

.hero-blur {
  background:
    radial-gradient(circle at 40% 35%, rgba(247, 249, 252, 0.48), transparent 48%),
    radial-gradient(circle at 70% 65%, rgba(47, 95, 148, 0.24), transparent 52%) !important;
}

.hero-content::before {
  background: linear-gradient(180deg, #f7f9fc, transparent, #2f5f94) !important;
  box-shadow: 0 0 25px rgba(47, 95, 148, 0.28) !important;
}

.hero-badge {
  background: rgba(7, 21, 38, 0.075) !important;
  border-color: rgba(7, 21, 38, 0.16) !important;
  color: #071526 !important;
}

.hero h1 {
  color: #071526 !important;
  text-shadow:
    0 0 36px rgba(255, 255, 255, 0.42),
    0 22px 70px rgba(7, 21, 38, 0.18) !important;
}

.hero p {
  color: #26384e !important;
}

.stats {
  background: linear-gradient(180deg, #6f7f95 0%, #1a334f 100%) !important;
  border-top-color: rgba(223, 227, 233, 0.22) !important;
  border-bottom-color: rgba(223, 227, 233, 0.18) !important;
}

.stat-card {
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.1), rgba(7, 21, 38, 0.08)),
    transparent !important;
  border-right-color: rgba(223, 227, 233, 0.14) !important;
}

.stat-card:hover {
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.16), rgba(47, 95, 148, 0.12)),
    rgba(7, 21, 38, 0.08) !important;
  border-color: rgba(223, 227, 233, 0.22) !important;
}

.stat-card h2 {
  color: #f7f9fc !important;
  text-shadow: 0 0 26px rgba(223, 227, 233, 0.18) !important;
}

.stat-card p {
  color: #dce3ec !important;
}

.services {
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 210, 222, 0.12), transparent 30%),
    radial-gradient(circle at 85% 65%, rgba(84, 126, 173, 0.14), transparent 32%),
    linear-gradient(180deg, #1a334f 0%, #102b49 100%) !important;
  color: #f7f9fc !important;
}

.services::before {
  background-image:
    linear-gradient(rgba(223, 227, 233, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 227, 233, 0.035) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
  opacity: 0.78 !important;
}

.process {
  background:
    radial-gradient(circle at 20% 20%, rgba(84, 126, 173, 0.13), transparent 28%),
    linear-gradient(180deg, #102b49 0%, #0b1f35 100%) !important;
  color: #f7f9fc !important;
}

.process::after {
  background: linear-gradient(90deg, transparent, rgba(223, 227, 233, 0.28), transparent) !important;
}

.testimonials {
  background:
    radial-gradient(circle at 18% 20%, rgba(84, 126, 173, 0.12), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(223, 227, 233, 0.08), transparent 34%),
    linear-gradient(180deg, #0b1f35 0%, #071526 100%) !important;
  color: #f7f9fc !important;
}

.cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(84, 126, 173, 0.14), transparent 32%),
    linear-gradient(135deg, #071526 0%, #061426 100%) !important;
  color: #f7f9fc !important;
}

.cta::before {
  border-color: rgba(223, 227, 233, 0.16) !important;
  background: radial-gradient(circle, rgba(84, 126, 173, 0.12), transparent 68%) !important;
}

.section-title,
.service-card h3,
.process-card h3,
.testimonial h3,
.cta h2 {
  color: #f7f9fc !important;
}

.section-title::after,
.service-card::after,
.testimonial::after {
  background: linear-gradient(90deg, #dfe3e9, #547ead, #173b63) !important;
  box-shadow: 0 0 22px rgba(84, 126, 173, 0.2) !important;
}

.service-card,
.testimonial,
.process-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.036)),
    rgba(255, 255, 255, 0.046) !important;
  border-color: rgba(223, 227, 233, 0.18) !important;
  color: #f7f9fc !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.service-card:hover,
.testimonial:hover,
.process-card:hover {
  background:
    linear-gradient(180deg, rgba(84, 126, 173, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(223, 227, 233, 0.36) !important;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(84, 126, 173, 0.12) !important;
}

.service-card p,
.process-card p,
.testimonial p,
.cta p {
  color: #c7d1de !important;
}

.process-card::after {
  border-color: rgba(223, 227, 233, 0.22) !important;
  background: radial-gradient(circle, rgba(84, 126, 173, 0.16), transparent 70%) !important;
}

.stat-card::after {
  background: rgba(223, 227, 233, 0.11) !important;
  border-color: rgba(223, 227, 233, 0.22) !important;
}

.process-card::before,
.stat-card::before {
  background: linear-gradient(120deg, transparent, rgba(223, 227, 233, 0.12), transparent) !important;
}

.number {
  color: #071526 !important;
}

.process-card:hover .number {
  box-shadow:
    0 22px 48px rgba(47, 95, 148, 0.28),
    0 0 28px rgba(84, 126, 173, 0.18) !important;
}

/* FINAL_SCROLL_SILVER_TO_NAVY_OVERRIDES */
:root {
  --silver-1: #f4f6f9;
  --silver-2: #dfe5ee;
  --silver-3: #b7c2d1;
  --steel-1: #7f92aa;
  --steel-2: #4d6686;
  --navy-1: #243f63;
  --navy-2: #142c49;
  --navy-3: #0a1c31;
  --navy-4: #04101f;
  --text: #f7f9fc;
  --text-dark: #061426;
  --muted: #c8d2df;
  --muted-dark: #46586f;
  --line: rgba(226, 232, 240, 0.18);
  --line-light: rgba(226, 232, 240, 0.24);
  --primary: #eef2f7;
  --primary-2: #3e6593;
  --primary-3: #173b63;
  --acid: #f8fafc;
  --cyan: #6f93bd;
  --glow: rgba(111, 147, 189, 0.28);
}

html {
  background: var(--navy-4) !important;
}

body {
  background:
    radial-gradient(circle at 14% 6%, rgba(255, 255, 255, 0.72), transparent 22%),
    radial-gradient(circle at 85% 14%, rgba(111, 147, 189, 0.22), transparent 28%),
    linear-gradient(
      180deg,
      var(--silver-1) 0%,
      var(--silver-2) 14%,
      var(--silver-3) 28%,
      var(--steel-1) 42%,
      var(--steel-2) 56%,
      var(--navy-1) 70%,
      var(--navy-2) 82%,
      var(--navy-3) 92%,
      var(--navy-4) 100%
    ) fixed !important;
  color: var(--text) !important;
}

body::before {
  background-image:
    linear-gradient(rgba(6, 20, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 20, 38, 0.04) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  opacity: 0.95 !important;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%) !important;
}

.navbar {
  background:
    linear-gradient(135deg, rgba(250, 252, 255, 0.82), rgba(215, 223, 234, 0.7)),
    rgba(244, 246, 249, 0.75) !important;
  border-color: rgba(6, 20, 38, 0.16) !important;
  box-shadow:
    0 18px 50px rgba(6, 20, 38, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

.navbar.scrolled {
  background:
    linear-gradient(135deg, rgba(10, 28, 49, 0.94), rgba(4, 16, 31, 0.9)),
    rgba(6, 20, 38, 0.92) !important;
  border-color: rgba(244, 246, 249, 0.24) !important;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(111, 147, 189, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.logo,
.nav-links a {
  color: var(--text-dark) !important;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .btn-llamar {
  color: var(--text) !important;
}

.logo::before,
.number,
.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #dfe5ee 35%, #6f93bd 70%, #173b63 100%) !important;
  box-shadow:
    0 0 24px rgba(111, 147, 189, 0.28),
    inset 0 -5px 10px rgba(6, 20, 38, 0.14) !important;
}

.logo::after {
  background: rgba(6, 20, 38, 0.82) !important;
}

.nav-links {
  background: rgba(6, 20, 38, 0.055) !important;
  border-color: rgba(6, 20, 38, 0.08) !important;
}

.navbar.scrolled .nav-links {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.nav-links a {
  padding: 10px 13px !important;
}

.nav-links a:hover {
  color: var(--text) !important;
  background: linear-gradient(135deg, #173b63, #3e6593) !important;
  box-shadow: 0 10px 24px rgba(23, 59, 99, 0.18) !important;
}

.nav-links a::after {
  background: rgba(244, 246, 249, 0.72) !important;
}

.btn-primary {
  color: var(--text-dark) !important;
  box-shadow:
    0 12px 30px rgba(62, 101, 147, 0.28),
    inset 0 -5px 10px rgba(6, 20, 38, 0.12) !important;
}

.btn-primary:hover {
  box-shadow:
    0 18px 42px rgba(62, 101, 147, 0.34),
    0 0 28px rgba(111, 147, 189, 0.16) !important;
}

.btn-llamar,
.btn-secondary {
  background: rgba(6, 20, 38, 0.08) !important;
  border: 1px solid rgba(6, 20, 38, 0.16) !important;
  color: var(--text-dark) !important;
}

.navbar.scrolled .btn-llamar,
.navbar.scrolled .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(244, 246, 249, 0.22) !important;
  color: var(--text) !important;
}

.btn-llamar:hover,
.btn-secondary:hover {
  background: rgba(62, 101, 147, 0.16) !important;
  border-color: rgba(62, 101, 147, 0.38) !important;
  color: var(--text) !important;
}

.hero,
.stats,
.services,
.certificates,
.process,
.testimonials,
.cta {
  position: relative !important;
  isolation: isolate;
}

.hero {
  background:
    radial-gradient(circle at 82% 28%, rgba(111, 147, 189, 0.2), transparent 30%),
    linear-gradient(180deg, #f4f6f9 0%, #dfe5ee 48%, #b7c2d1 100%) !important;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(244, 246, 249, 0.97) 0%, rgba(223, 229, 238, 0.82) 48%, rgba(77, 102, 134, 0.32) 100%),
    radial-gradient(circle at 76% 45%, rgba(62, 101, 147, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(244, 246, 249, 0.16), rgba(127, 146, 170, 0.52)) !important;
}

.hero::after {
  background: radial-gradient(circle, rgba(62, 101, 147, 0.16), transparent 63%) !important;
  border-color: rgba(62, 101, 147, 0.15) !important;
  box-shadow: inset 0 0 70px rgba(62, 101, 147, 0.08) !important;
}

.hero-gif img {
  opacity: 0.12 !important;
  filter: grayscale(1) saturate(0.72) contrast(1.08) brightness(1.08) !important;
}

.hero-blur {
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.5), transparent 48%),
    radial-gradient(circle at 70% 65%, rgba(62, 101, 147, 0.22), transparent 52%) !important;
}

.hero-content::before {
  background: linear-gradient(180deg, #ffffff, transparent, #3e6593) !important;
  box-shadow: 0 0 25px rgba(62, 101, 147, 0.28) !important;
}

.hero-badge {
  background: rgba(6, 20, 38, 0.075) !important;
  border-color: rgba(6, 20, 38, 0.16) !important;
  color: var(--text-dark) !important;
}

.hero h1 {
  color: var(--text-dark) !important;
  text-shadow:
    0 0 36px rgba(255, 255, 255, 0.44),
    0 22px 70px rgba(6, 20, 38, 0.18) !important;
}

.hero p {
  color: #26384e !important;
}

.stats {
  background: linear-gradient(180deg, #b7c2d1 0%, #7f92aa 100%) !important;
  border-top-color: rgba(244, 246, 249, 0.34) !important;
  border-bottom-color: rgba(244, 246, 249, 0.22) !important;
}

.stat-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(6, 20, 38, 0.05)),
    transparent !important;
  border-right-color: rgba(244, 246, 249, 0.18) !important;
}

.stat-card:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(62, 101, 147, 0.12)),
    rgba(6, 20, 38, 0.05) !important;
  border-color: rgba(244, 246, 249, 0.26) !important;
}

.stat-card h2 {
  color: #ffffff !important;
  text-shadow: 0 0 26px rgba(244, 246, 249, 0.18) !important;
}

.stat-card p {
  color: #eef2f7 !important;
}

.services {
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 246, 249, 0.12), transparent 30%),
    radial-gradient(circle at 85% 65%, rgba(111, 147, 189, 0.14), transparent 32%),
    linear-gradient(180deg, #7f92aa 0%, #4d6686 100%) !important;
  color: var(--text) !important;
}

.certificates {
  padding: 120px 8%;
  background:
    radial-gradient(circle at 14% 24%, rgba(244, 246, 249, 0.11), transparent 28%),
    radial-gradient(circle at 84% 66%, rgba(111, 147, 189, 0.14), transparent 34%),
    linear-gradient(180deg, #4d6686 0%, #243f63 100%) !important;
  color: var(--text) !important;
}

.process {
  background:
    radial-gradient(circle at 20% 20%, rgba(111, 147, 189, 0.13), transparent 28%),
    linear-gradient(180deg, #243f63 0%, #142c49 100%) !important;
  color: var(--text) !important;
}

.testimonials {
  background:
    radial-gradient(circle at 18% 20%, rgba(111, 147, 189, 0.12), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(244, 246, 249, 0.08), transparent 34%),
    linear-gradient(180deg, #142c49 0%, #0a1c31 100%) !important;
  color: var(--text) !important;
}

.cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(111, 147, 189, 0.14), transparent 32%),
    linear-gradient(180deg, #0a1c31 0%, #04101f 100%) !important;
  color: var(--text) !important;
}

.services::before,
.certificates::before,
.process::before,
.testimonials::before,
.cta::before {
  pointer-events: none !important;
}

.certificates::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(244, 246, 249, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 249, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.68;
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, transparent 100%);
}

.certificates-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 1;
}

.service-card,
.testimonial,
.process-card,
.certificate-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.036)),
    rgba(255, 255, 255, 0.046) !important;
  border: 1px solid rgba(244, 246, 249, 0.18) !important;
  color: var(--text) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.certificate-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px 8px 30px 8px;
  padding: 34px;
  min-height: 190px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.certificate-card:nth-child(even) {
  border-radius: 8px 30px 8px 30px;
  transform: translateY(22px);
}

.service-card:hover,
.testimonial:hover,
.process-card:hover,
.certificate-card:hover {
  background:
    linear-gradient(180deg, rgba(111, 147, 189, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(244, 246, 249, 0.36) !important;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(111, 147, 189, 0.12) !important;
}

.certificate-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.certificate-card:nth-child(even):hover {
  transform: translateY(10px) scale(1.03);
}

.certificate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(244, 246, 249, 0.13), transparent);
  transform: translateX(-150%);
  transition: transform 0.8s ease;
}

.certificate-card:hover::before {
  transform: translateX(150%);
}

.certificate-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 58px;
  height: 7px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, #f4f6f9, #6f93bd, #173b63) !important;
  transform: translateX(18px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.certificate-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.section-title,
.service-card h3,
.process-card h3,
.certificate-card h3,
.testimonial h3,
.cta h2 {
  color: var(--text) !important;
}

.section-title::after,
.service-card::after,
.testimonial::after {
  background: linear-gradient(90deg, #f4f6f9, #6f93bd, #173b63) !important;
  box-shadow: 0 0 22px rgba(111, 147, 189, 0.2) !important;
}

.service-card p,
.process-card p,
.certificate-card p,
.testimonial p,
.cta p {
  color: #d8e0eb !important;
  line-height: 1.72;
}

.process-card::after {
  border-color: rgba(244, 246, 249, 0.22) !important;
  background: radial-gradient(circle, rgba(111, 147, 189, 0.16), transparent 70%) !important;
}

.stat-card::after {
  background: rgba(244, 246, 249, 0.11) !important;
  border-color: rgba(244, 246, 249, 0.22) !important;
}

.process-card::before,
.stat-card::before {
  background: linear-gradient(120deg, transparent, rgba(244, 246, 249, 0.12), transparent) !important;
}

.number {
  color: var(--text-dark) !important;
}

.process-card:hover .number {
  box-shadow:
    0 22px 48px rgba(62, 101, 147, 0.28),
    0 0 28px rgba(111, 147, 189, 0.18) !important;
}

@media (max-width: 1050px) {
  .certificate-card:nth-child(even) {
    transform: none;
  }

  .certificate-card:nth-child(even):hover {
    transform: translateY(-10px) scale(1.03);
  }
}

@media (max-width: 900px) {
  .certificates {
    padding: 85px 7%;
  }
}


:root {
  --scroll-progress: 0;
  --page-bg: rgb(244, 246, 249);
  --page-bg-soft: rgb(233, 238, 245);
  --page-bg-deep: rgb(214, 222, 232);
  --page-text: rgb(6, 20, 38);
  --page-muted: rgb(38, 56, 78);
  --page-card: rgba(255, 255, 255, 0.34);
  --page-card-hover: rgba(255, 255, 255, 0.46);
  --page-border: rgba(6, 20, 38, 0.16);
  --page-border-strong: rgba(6, 20, 38, 0.26);
  --page-line: rgba(6, 20, 38, 0.06);
  --page-glow: rgba(111, 147, 189, 0.2);
  --page-light: rgba(255, 255, 255, 0.54);
  --nav-bg: rgba(244, 246, 249, 0.76);
  --nav-border: rgba(6, 20, 38, 0.14);
  --nav-shadow: rgba(6, 20, 38, 0.12);
  --button-bg: linear-gradient(135deg, #ffffff 0%, #dfe5ee 46%, #6f93bd 100%);
  --accent-bg: linear-gradient(135deg, #ffffff 0%, #dfe5ee 40%, #3e6593 100%);
}

html {
  background: var(--page-bg) !important;
}

body {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 7%, var(--page-light), transparent 24%),
    radial-gradient(circle at 86% 18%, var(--page-glow), transparent 28%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-soft) 54%, var(--page-bg-deep) 100%) fixed !important;
  color: var(--page-text) !important;
  transition:
    background-color 0.12s linear,
    color 0.12s linear !important;
}

body::before {
  z-index: -2 !important;
  background-image:
    linear-gradient(var(--page-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-line) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  opacity: 0.86 !important;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.7) 48%, transparent 100%) !important;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(6, 20, 38, 0.16));
  opacity: calc(0.22 + (var(--scroll-progress) * 0.38));
}

.navbar,
.navbar.scrolled {
  background: var(--nav-bg) !important;
  border-color: var(--nav-border) !important;
  box-shadow:
    0 18px 50px var(--nav-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.logo,
.nav-links a,
.btn-llamar,
.btn-secondary,
.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .btn-llamar,
.navbar.scrolled .btn-secondary {
  color: var(--page-text) !important;
}

.nav-links,
.navbar.scrolled .nav-links {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--page-border) !important;
}

.logo::before,
.number,
.btn-primary {
  background: var(--button-bg) !important;
  color: rgb(6, 20, 38) !important;
  box-shadow:
    0 12px 32px var(--page-glow),
    inset 0 -5px 10px rgba(6, 20, 38, 0.13) !important;
}

.logo::after {
  background: rgba(6, 20, 38, 0.82) !important;
}

.nav-links a:hover,
.btn-llamar:hover,
.btn-secondary:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #173b63, #3e6593) !important;
  border-color: rgba(244, 246, 249, 0.36) !important;
}

.hero,
.stats,
.services,
.certificates,
.process,
.testimonials,
.cta {
  position: relative !important;
  isolation: isolate;
  background: transparent !important;
  color: var(--page-text) !important;
  transition:
    background-color 0.12s linear,
    color 0.12s linear,
    border-color 0.12s linear !important;
}

.hero::before,
.hero::after,
.hero-blur,
.services::before,
.certificates::before,
.process::after,
.cta::before {
  pointer-events: none !important;
}

.hero {
  background:
    radial-gradient(circle at 78% 25%, var(--page-glow), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 75%) !important;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 52%, rgba(6, 20, 38, 0.1)),
    radial-gradient(circle at 76% 45%, var(--page-glow), transparent 35%) !important;
}

.hero::after,
.cta::before,
.process-card::after {
  background: radial-gradient(circle, var(--page-glow), transparent 68%) !important;
  border-color: var(--page-border) !important;
}

.hero-blur {
  background:
    radial-gradient(circle at 42% 35%, var(--page-light), transparent 48%),
    radial-gradient(circle at 72% 68%, var(--page-glow), transparent 52%) !important;
}

.hero-gif img {
  opacity: 0.11 !important;
  filter: grayscale(1) saturate(0.68) contrast(1.08) brightness(1.08) !important;
}

.hero-content::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), transparent, rgba(111, 147, 189, 0.72)) !important;
  box-shadow: 0 0 25px var(--page-glow) !important;
}

.hero-badge,
.btn-llamar,
.btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--page-border) !important;
  color: var(--page-text) !important;
}

.hero h1,
.section-title,
.service-card h3,
.process-card h3,
.certificate-card h3,
.testimonial h3,
.cta h2 {
  color: var(--page-text) !important;
  transition: color 0.12s linear !important;
}

.hero h1 {
  text-shadow: 0 22px 70px rgba(6, 20, 38, 0.18) !important;
}

.hero p,
.service-card p,
.process-card p,
.certificate-card p,
.testimonial p,
.cta p,
.stat-card p {
  color: var(--page-muted) !important;
  transition: color 0.12s linear !important;
}

.stats {
  border-top-color: var(--page-border) !important;
  border-bottom-color: var(--page-border) !important;
}

.stat-card,
.service-card,
.process-card,
.certificate-card,
.testimonial {
  background: var(--page-card) !important;
  border-color: var(--page-border) !important;
  color: var(--page-text) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.12s linear,
    background 0.12s linear,
    color 0.12s linear !important;
}

.stat-card:hover,
.service-card:hover,
.process-card:hover,
.certificate-card:hover,
.testimonial:hover {
  background: var(--page-card-hover) !important;
  border-color: var(--page-border-strong) !important;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.24),
    0 0 32px var(--page-glow) !important;
}

.stat-card h2,
.stat-number {
  color: var(--page-text) !important;
  text-shadow: 0 0 26px var(--page-glow) !important;
}

.section-title::after,
.service-card::after,
.testimonial::after,
.certificate-card::after {
  background: linear-gradient(90deg, #ffffff, #8faac8, #173b63) !important;
  box-shadow: 0 0 22px var(--page-glow) !important;
}

.process-card::before,
.stat-card::before,
.service-card::before,
.certificate-card::before {
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.14), transparent) !important;
}

.number {
  color: rgb(6, 20, 38) !important;
}

.certificates {
  padding: 120px 8% !important;
}

.certificates-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 24px !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .hero,
  .stats,
  .services,
  .certificates,
  .process,
  .testimonials,
  .cta,
  .navbar {
    transition: none !important;
  }
}

/* ANIMATED_SCROLL_COLOR_TWEEN_OVERRIDES */
:root {
  --theme-sweep-opacity: 0;
  --theme-sweep-position: 0%;
}

body {
  background:
    radial-gradient(circle at 12% 7%, var(--page-light), transparent 24%),
    radial-gradient(circle at 86% 18%, var(--page-glow), transparent 28%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-soft) 48%, var(--page-bg-deep) 100%) fixed !important;
  transition:
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body::after {
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.34) 42%,
      rgba(111, 147, 189, 0.32) 50%,
      transparent 62%
    ),
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(6, 20, 38, 0.17)) !important;
  background-size: 230% 230%, 100% 100%, 100% 100% !important;
  background-position: var(--theme-sweep-position) 50%, center, center !important;
  opacity: calc(0.18 + (var(--scroll-progress) * 0.26) + var(--theme-sweep-opacity)) !important;
  mix-blend-mode: soft-light;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-position 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.theme-shifting::after {
  animation: animatedColorSweep 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero,
.stats,
.services,
.certificates,
.process,
.testimonials,
.cta,
.navbar,
.nav-links,
.hero-badge,
.btn-llamar,
.btn-secondary,
.stat-card,
.service-card,
.process-card,
.certificate-card,
.testimonial {
  transition:
    background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s ease !important;
}

.hero h1,
.hero p,
.section-title,
.service-card h3,
.process-card h3,
.certificate-card h3,
.testimonial h3,
.cta h2,
.service-card p,
.process-card p,
.certificate-card p,
.testimonial p,
.cta p,
.stat-card p {
  transition: color 0.55s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.hero-blur {
  transform: translate3d(0, 0, 0);
}

body.theme-shifting .hero-blur {
  animation: blobMove 6s infinite ease-in-out, colorBreath 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes animatedColorSweep {
  0% {
    filter: saturate(0.92) brightness(1.02);
    background-position: -80% 50%, center, center;
  }

  55% {
    filter: saturate(1.14) brightness(1.08);
  }

  100% {
    filter: saturate(1) brightness(1);
    background-position: 120% 50%, center, center;
  }
}

@keyframes colorBreath {
  0% {
    filter: blur(78px) saturate(0.9);
  }

  50% {
    filter: blur(86px) saturate(1.22);
  }

  100% {
    filter: blur(78px) saturate(1);
  }
}

.page-view {
  display: none;
  min-height: 100vh;
}

.page-view.is-active {
  display: block;
}

.logo {
  text-decoration: none;
  cursor: pointer;
}

.section-header {
  max-width: 820px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.section-header .section-title {
  margin-bottom: 22px;
}

.section-header p,
.certificates-browser .section-header p,
.certificates-hero p,
.certifications-teaser p {
  color: #c7d1de;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 700px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #071526;
  background: linear-gradient(135deg, #f7f9fc, #c9d2de, #547ead);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  box-shadow: 0 12px 30px rgba(84, 126, 173, 0.18);
}

.navbar {
  gap: 14px;
}

.mobile-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(7, 21, 38, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  flex: 0 0 auto;
}

.mobile-menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #071526;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.navbar.scrolled .mobile-menu-button {
  border-color: rgba(223, 227, 233, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .mobile-menu-button span {
  background: #f7f9fc;
}

.mobile-menu-button:hover {
  transform: translateY(-2px);
  background: rgba(84, 126, 173, 0.14);
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 12px;
  right: 12px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(7, 21, 38, 0.95);
  border: 1px solid rgba(223, 227, 233, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-menu a {
  text-decoration: none;
  color: #f7f9fc;
  font-weight: 900;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.mobile-menu a:hover {
  color: #071526;
  background: linear-gradient(135deg, #f7f9fc, #c9d2de, #547ead);
  transform: translateY(-2px);
}

.mobile-menu .btn-primary,
.mobile-menu .btn-llamar {
  width: 100%;
  justify-content: center;
}

.certifications-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: 42px;
  align-items: center;
  padding: 120px 8%;
  color: #f7f9fc;
  background:
    radial-gradient(circle at 18% 22%, rgba(84, 126, 173, 0.14), transparent 32%),
    linear-gradient(135deg, #102b49 0%, #071526 100%);
  overflow: hidden;
}

.certifications-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(223, 227, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 227, 233, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  pointer-events: none;
}

.teaser-content,
.teaser-panel {
  position: relative;
  z-index: 2;
}

.teaser-content .section-title {
  margin-bottom: 22px;
}

.teaser-content p {
  margin-bottom: 28px;
}

.teaser-panel {
  min-height: 420px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(223, 227, 233, 0.16);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mini-document {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 238px;
  height: 315px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(223,227,233,0.9)),
    #f7f9fc;
  border: 1px solid rgba(7, 21, 38, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.mini-document::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 52px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c9d2de, #547ead, #173b63);
}

.mini-document::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 158px;
  height: 94px;
  border-radius: 14px;
  background:
    linear-gradient(#c9d2de, #c9d2de) 0 0 / 100% 12px no-repeat,
    linear-gradient(#c9d2de, #c9d2de) 0 32px / 82% 12px no-repeat,
    linear-gradient(#c9d2de, #c9d2de) 0 64px / 92% 12px no-repeat;
  opacity: 0.8;
}

.mini-document-alt {
  transform: translate(-24%, -46%) rotate(9deg) scale(0.85);
  opacity: 0.78;
}

.mini-document-small {
  transform: translate(-78%, -38%) rotate(-15deg) scale(0.76);
  opacity: 0.62;
}

.certificates-hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: 150px 8% 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(84, 126, 173, 0.16), transparent 34%),
    linear-gradient(135deg, #071526 0%, #102b49 100%);
}

.certificates-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(223, 227, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 227, 233, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 58% 35%, black, transparent 72%);
  pointer-events: none;
}

.certificates-hero-content {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.certificates-hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.085em;
  margin-bottom: 28px;
  color: #f7f9fc;
  text-wrap: balance;
}

.certificates-hero p {
  margin-bottom: 30px;
}

.certificates-browser {
  padding: 115px 8%;
  background:
    radial-gradient(circle at 18% 20%, rgba(84, 126, 173, 0.12), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(223, 227, 233, 0.08), transparent 34%),
    linear-gradient(180deg, #102b49 0%, #071526 100%);
  color: #f7f9fc;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  position: relative;
  z-index: 2;
}

.certificate-document {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.036)),
    rgba(255, 255, 255, 0.046);
  border: 1px solid rgba(223, 227, 233, 0.18);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.certificate-document:hover {
  transform: translateY(-10px);
  border-color: rgba(223, 227, 233, 0.36);
  background:
    linear-gradient(180deg, rgba(84, 126, 173, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(84, 126, 173, 0.12);
}

.certificate-preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.05;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.certificate-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.certificate-document:hover .certificate-preview img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.03);
}

.certificate-info {
  display: grid;
  gap: 12px;
  padding: 25px;
}

.certificate-info h3 {
  color: #f7f9fc;
  font-size: 1.35rem;
  line-height: 1.15;
}

.certificate-info p {
  color: #c7d1de;
  line-height: 1.65;
}

.certificate-actions,
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.certificate-actions .btn-primary,
.certificate-actions .btn-secondary,
.cta-actions .btn-primary,
.cta-actions .btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.document-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.document-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.document-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.document-modal-card {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  max-height: min(92vh, 900px);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(270px, 0.38fr);
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    #071526;
  border: 1px solid rgba(223, 227, 233, 0.18);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.52);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.document-modal.is-open .document-modal-card {
  transform: translateY(0) scale(1);
}

.document-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(223, 227, 233, 0.18);
  border-radius: 999px;
  background: rgba(7, 21, 38, 0.8);
  color: #f7f9fc;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease;
}

.document-modal-close:hover {
  transform: scale(1.08) rotate(8deg);
  background: rgba(84, 126, 173, 0.2);
}

.document-modal-image-wrap {
  min-height: 580px;
  max-height: 88vh;
  overflow: auto;
  background:
    radial-gradient(circle at center, rgba(84, 126, 173, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.035);
}

.document-modal-image-wrap img {
  width: 100%;
  min-height: 100%;
  display: block;
  object-fit: contain;
  padding: 24px;
}

.document-modal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 42px 34px;
  color: #f7f9fc;
}

.document-modal-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.document-modal-info p {
  color: #c7d1de;
  line-height: 1.75;
}

body.modal-open,
body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .certificates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-modal-card {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .document-modal-image-wrap {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .navbar {
    top: 10px !important;
    width: calc(100% - 20px) !important;
    height: 70px !important;
    padding: 0 14px 0 18px !important;
  }

  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .certifications-teaser {
    grid-template-columns: 1fr;
    padding: 92px 7%;
  }

  .teaser-panel {
    min-height: 330px;
  }

  .certificates-hero {
    min-height: auto;
    padding: 130px 7% 76px;
  }

  .certificates-browser {
    padding: 84px 7%;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .certificate-document:hover,
  .certificate-document {
    transform: none;
  }
}

@media (max-width: 620px) {
  .section-header p,
  .certificates-browser .section-header p,
  .certificates-hero p,
  .certifications-teaser p {
    font-size: 0.98rem;
  }

  .mobile-menu {
    left: 0;
    right: 0;
    border-radius: 24px;
  }

  .certificates-hero h1 {
    font-size: 2.72rem;
    letter-spacing: -0.065em;
  }

  .certifications-teaser,
  .certificates-browser {
    padding-left: 18px;
    padding-right: 18px;
  }

  .certificate-info {
    padding: 22px;
  }

  .certificate-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .certificate-actions .btn-primary,
  .certificate-actions .btn-secondary,
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100%;
  }

  .document-modal {
    padding: 10px;
  }

  .document-modal-card {
    border-radius: 24px;
    max-height: 94vh;
  }

  .document-modal-image-wrap {
    min-height: 340px;
  }

  .document-modal-image-wrap img {
    padding: 14px;
  }

  .document-modal-info {
    padding: 28px 22px;
  }

  .mini-document {
    width: 190px;
    height: 260px;
  }
}

/* Cotización funcional */
body[data-current-view="cotizar"] {
  --quote-accent: #10d7ff;
  --quote-accent-strong: #22f0a8;
}

.quote-hero {
  position: relative;
  min-height: 76vh;
  padding: 150px 8% 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
}

.quote-hero::before {
  content: "";
  position: absolute;
  inset: 80px 5% 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38px;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 215, 255, 0.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(34, 240, 168, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.quote-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.36;
  pointer-events: none;
}

.quote-orb-one {
  right: 10%;
  top: 12%;
  background: rgba(16, 215, 255, 0.4);
}

.quote-orb-two {
  left: 5%;
  bottom: 4%;
  background: rgba(34, 240, 168, 0.28);
}

.quote-hero-content,
.quote-summary-card,
.quote-form,
.quote-side-panel {
  position: relative;
  z-index: 1;
}

.quote-hero-content h1 {
  margin: 22px 0 18px;
  max-width: 850px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.quote-hero-content p {
  max-width: 720px;
  color: var(--page-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.quote-hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-whatsapp {
  border: 1px solid rgba(34, 240, 168, 0.34);
  background: linear-gradient(135deg, rgba(34, 240, 168, 0.95), rgba(18, 196, 124, 0.9));
  color: #04131a;
  border-radius: 999px;
  padding: 15px 22px;
  min-height: 48px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 55px rgba(34, 240, 168, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(34, 240, 168, 0.28);
  filter: brightness(1.04);
}

.quote-summary-card {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  padding: 30px;
  background: rgba(10, 13, 18, 0.7);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.quote-summary-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 215, 255, 0.24), rgba(34, 240, 168, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.7rem;
}

.quote-summary-card h3,
.quote-side-panel h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.quote-summary-card p,
.quote-side-panel p {
  color: var(--page-muted);
  line-height: 1.7;
}

.quote-summary-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quote-summary-card li {
  color: var(--page-text);
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-section {
  padding: 90px 8% 120px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.quote-form,
.quote-side-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.025)),
    rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.24);
}

.quote-form {
  padding: 28px;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field span,
.pest-field legend {
  color: var(--page-text);
  font-size: 0.9rem;
  font-weight: 850;
}

.pest-field legend small {
  color: var(--page-muted);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(2, 5, 9, 0.78);
  color: #f4f7fb;
  padding: 14px 16px;
  outline: none;
  font: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(16, 215, 255, 0.74);
  box-shadow: 0 0 0 4px rgba(16, 215, 255, 0.12);
  background: rgba(4, 9, 16, 0.94);
  transform: translateY(-1px);
}

.pest-field {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.pest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pest-options label {
  cursor: pointer;
}

.pest-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pest-options span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.052);
  color: #dbe7f4;
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pest-options span:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 215, 255, 0.36);
}

.pest-options input:checked + span {
  background: linear-gradient(135deg, rgba(16, 215, 255, 0.95), rgba(34, 240, 168, 0.9));
  border-color: rgba(255, 255, 255, 0.22);
  color: #031018;
}

.quote-status {
  display: none;
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 16px;
  font-weight: 850;
  line-height: 1.5;
}

.quote-status.is-visible {
  display: block;
}

.quote-status.is-loading {
  border: 1px solid rgba(16, 215, 255, 0.28);
  background: rgba(16, 215, 255, 0.08);
  color: #9aefff;
}

.quote-status.is-success {
  border: 1px solid rgba(34, 240, 168, 0.34);
  background: rgba(34, 240, 168, 0.1);
  color: #a9ffd8;
}

.quote-status.is-error {
  border: 1px solid rgba(255, 87, 87, 0.38);
  background: rgba(255, 87, 87, 0.1);
  color: #ffb3b3;
}

.quote-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.quote-side-panel {
  position: sticky;
  top: 120px;
  padding: 26px;
}

.quote-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(16, 215, 255, 0.13);
  border: 1px solid rgba(16, 215, 255, 0.2);
  font-weight: 900;
}

.quote-side-whatsapp {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
}

.services-grid,
.process-grid,
.testimonial-grid,
.certificates-grid {
  align-items: stretch;
}

.service-card,
.process-card,
.testimonial,
.certificate-document {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.service-card:hover,
.process-card:hover,
.testimonial:hover {
  border-color: rgba(16, 215, 255, 0.2);
}

@media (max-width: 1060px) {
  .quote-hero,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-summary-card,
  .quote-side-panel {
    max-width: none;
  }

  .quote-side-panel {
    position: relative;
    top: 0;
  }
}

@media (max-width: 900px) {
  .quote-hero {
    min-height: auto;
    padding: 130px 7% 70px;
  }

  .quote-hero::before {
    inset: 84px 14px 24px;
    border-radius: 30px;
  }

  .quote-section {
    padding: 80px 7% 100px;
  }
}

@media (max-width: 680px) {
  .quote-hero,
  .quote-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .quote-hero-content h1 {
    font-size: 3.25rem;
  }

  .quote-summary-card,
  .quote-form,
  .quote-side-panel {
    border-radius: 24px;
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quote-hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-hero-actions .btn-secondary,
  .quote-hero-actions .btn-whatsapp,
  .form-actions .btn-primary,
  .form-actions .btn-secondary {
    width: 100%;
  }

  .pest-options {
    gap: 8px;
  }

  .pest-options span {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}


/* Mejor legibilidad en sub-páginas */
body[data-current-view="certificaciones"] .certificates-hero p,
body[data-current-view="certificaciones"] .certificates-browser .section-header p,
body[data-current-view="certificaciones"] .certificate-info p,
body[data-current-view="cotizar"] .quote-hero-content p,
body[data-current-view="cotizar"] .quote-summary-card p,
body[data-current-view="cotizar"] .quote-side-panel p,
body[data-current-view="cotizar"] .quote-section .section-header p {
  color: rgba(236, 246, 255, 0.9);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.85;
  text-wrap: pretty;
}

body[data-current-view="certificaciones"] .certificates-browser .section-header,
body[data-current-view="cotizar"] .quote-section .section-header {
  max-width: 860px;
}

body[data-current-view="certificaciones"] .certificate-info h3,
body[data-current-view="cotizar"] .quote-summary-card h3,
body[data-current-view="cotizar"] .quote-side-panel h3 {
  color: #ffffff;
  letter-spacing: -0.025em;
}

body[data-current-view="certificaciones"] .certificate-document,
body[data-current-view="cotizar"] .quote-form,
body[data-current-view="cotizar"] .quote-summary-card,
body[data-current-view="cotizar"] .quote-side-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032)),
    rgba(7, 10, 15, 0.86);
}

body[data-current-view="cotizar"] .quote-summary-card li {
  color: rgba(244, 250, 255, 0.96);
  font-size: 0.98rem;
  line-height: 1.55;
}

body[data-current-view="cotizar"] .form-field span,
body[data-current-view="cotizar"] .pest-field legend {
  color: rgba(248, 252, 255, 0.97);
  font-size: 0.95rem;
}

body[data-current-view="cotizar"] .form-field input,
body[data-current-view="cotizar"] .form-field select,
body[data-current-view="cotizar"] .form-field textarea {
  color: #ffffff;
  background: rgba(3, 7, 12, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
}

body[data-current-view="cotizar"] .form-field input::placeholder,
body[data-current-view="cotizar"] .form-field textarea::placeholder {
  color: rgba(220, 230, 240, 0.58);
}

.quote-side-call {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
}

@media (max-width: 680px) {
  body[data-current-view="certificaciones"] .certificates-hero p,
  body[data-current-view="cotizar"] .quote-hero-content p {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  body[data-current-view="cotizar"] .quote-summary-card li {
    font-size: 0.95rem;
  }
}
