:root {
  --bg-dark: #0a1120;
  --bg-dark-soft: #242c37;
  --bg-deeper: #050c1e;
  --surface: #ffffff;
  --surface-alt: #f3f6fb;
  --line: rgba(11, 30, 68, 0.08);
  --text: #0f172a;
  --text-soft: #5d6982;
  --text-muted: #8b98b3;
  --white: #ffffff;
  --primary: #1f71e7;
  --primary-strong: #165ed0;
  --primary-soft: #e9f2ff;
  --accent: #38b2ff;
  --success: #25d366;
  --shadow-soft: 0 16px 40px rgba(7, 17, 38, 0.08);
  --shadow-card: 0 20px 50px rgba(9, 22, 45, 0.1);
  --shadow-hover: 0 28px 70px rgba(9, 22, 45, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 111, 223, 0.08);
}

.section-label-light {
  background: rgba(255, 255, 255, 0.08);
  color: #78d5ff;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-heading h2,
.about-copy h2,
.vision-content h2,
.contact-shell h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p,
.about-copy p,
.vision-content p,
.contact-shell p {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  transform: translateY(0) scale(1);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 0.28s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 35px rgba(37, 111, 223, 0.28);
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(180deg, #2f80f8, #1d69dd);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #4b93ff, #175dca);
}

.button-secondary {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--bg-dark);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding-top: 0;
}

.site-header.is-scrolled .nav-shell {
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.98), rgba(11, 24, 48, 0.98));
  box-shadow: 0 14px 34px rgba(3, 10, 24, 0.28);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding: 16px 34px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(10, 22, 46, 0.94), rgba(8, 18, 38, 0.96));
  border-bottom: 1px solid rgba(110, 170, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(3, 10, 24, 0.24);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 220px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.28s ease, transform 0.28s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #89c7ff;
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.88rem;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 134px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(64, 141, 255, 0.15), transparent 32%),
    linear-gradient(180deg, #081127 0%, #071023 65%, #09152c 100%);
}

.hero-backdrop,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background:
    linear-gradient(180deg, rgba(6, 14, 31, 0.5), rgba(6, 14, 31, 0.8)),
    url("download.jfif") center 34% / 450px no-repeat;
  opacity: 0.96;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("image%20%2812%29.png") center 38% / 760px no-repeat;
  opacity: 0.34;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.14), transparent 20%),
    linear-gradient(90deg, transparent 0%, rgba(33, 104, 221, 0.12) 50%, transparent 100%);
}

.hero-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-content h1 span {
  color: #5ec4ff;
}

.hero-content p {
  max-width: 590px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(226, 236, 255, 0.7);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  transform: translateX(-50%);
  width: 18px;
  display: grid;
  place-items: center;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(37, 111, 223, 0.05));
  animation: pulseDown 2.4s ease-in-out infinite;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 72px;
  align-items: center;
}

.about-copy {
  max-width: 560px;
}

.about-visual {
  justify-self: end;
  animation: floatingVisual 6s ease-in-out infinite;
  transition: transform 0.35s ease;
}

.about-visual img {
  width: min(100%, 420px);
  filter: drop-shadow(0 16px 40px rgba(37, 111, 223, 0.12));
}

.about-visual:hover {
  transform: translateY(-4px) scale(1.03);
}

.companies-section {
  background: linear-gradient(180deg, #f5f7fb 0%, #f7f9fc 100%);
}

.company-carousel {
  position: relative;
  overflow: hidden;
  width: calc(100vw - 56px);
  max-width: 1600px;
  margin-left: calc(50% - 50vw + 28px);
  margin-top: 16px;
  padding: 8px 0 18px;
}

.company-carousel::before,
.company-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 96px;
  pointer-events: none;
}

.company-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f5f7fb, rgba(245, 247, 251, 0));
}

.company-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f7f9fc, rgba(247, 249, 252, 0));
}

.company-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: carouselScroll 40s linear infinite;
}

.company-carousel:hover .company-track {
  animation-play-state: paused;
}

.company-card,
.detail-panel {
  position: relative;
  padding: 26px 26px 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.company-card {
  flex: 0 0 270px;
  min-height: 310px;
}

.company-card:hover,
.detail-panel:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 111, 223, 0.18);
}

.card-media {
  width: 110px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(37, 111, 223, 0.05), rgba(56, 189, 248, 0.03));
  transition: transform 0.32s ease, background 0.32s ease;
}

.card-media img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.company-card:hover .card-media {
  transform: scale(1.06);
  background: linear-gradient(180deg, rgba(37, 111, 223, 0.14), rgba(56, 189, 248, 0.08));
}

.company-card h3,
.detail-panel h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.company-card p {
  margin: 16px 0 0;
  max-width: 210px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #76839b;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 68px;
}

.detail-panel ul {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.detail-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  font-size: 0.96rem;
  color: #20293a;
}

.item-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #f3f7ff, #edf3ff);
  color: #3d7ee8;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    background 0.24s ease;
}

.item-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
}

.detail-panel:hover .item-icon,
.detail-panel li:hover .item-icon {
  color: #1f71e7;
  background: linear-gradient(180deg, #e8f1ff, #ddeafe);
  transform: scale(1.06);
}

.vision-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 17, 38, 0.98), rgba(19, 86, 177, 0.94)),
    url("image%20%2812%29.png") center / cover no-repeat;
  color: var(--white);
}

.vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.14), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(37, 111, 223, 0.22), transparent 28%);
  animation: gradientShift 10s ease-in-out infinite alternate;
}

#vision-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.vision-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.vision-content p {
  color: rgba(222, 234, 255, 0.72);
}

.vision-content h2 span {
  color: #43b8ff;
}

.vision-stats {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat-block {
  min-width: 160px;
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-block strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #8fdcff;
}

.stat-block span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(230, 240, 255, 0.72);
}

.contact-section {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.contact-shell {
  max-width: 740px;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 32px auto 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #ffffff;
  padding: 15px 16px;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: translateY(-1px);
  border-color: rgba(37, 111, 223, 0.34);
  box-shadow: 0 0 0 4px rgba(37, 111, 223, 0.08);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color 0.24s ease, transform 0.24s ease;
}

.contact-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: var(--success);
}

.contact-whatsapp:hover,
.contact-whatsapp:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

.site-footer {
  padding: 56px 0 26px;
  color: rgba(232, 241, 255, 0.78);
  background: linear-gradient(180deg, #091121 0%, #0a1220 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.footer-brand img {
  width: 120px;
}

.footer-brand p,
.footer-bottom p {
  margin: 16px 0 0;
  font-size: 0.94rem;
  line-height: 1.85;
  color: rgba(232, 241, 255, 0.58);
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--white);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: rgba(232, 241, 255, 0.68);
  transition: color 0.24s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #84d7ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  isolation: isolate;
  box-shadow:
    0 14px 32px rgba(20, 157, 76, 0.34),
    0 0 0 8px rgba(20, 157, 76, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.whatsapp-ripple {
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(16, 132, 63, 0.34) 0%, rgba(20, 157, 76, 0.24) 26%, rgba(24, 184, 88, 0.14) 48%, rgba(24, 184, 88, 0.04) 64%, rgba(24, 184, 88, 0) 74%);
  animation: whatsappRipple 3.9s cubic-bezier(0.2, 0.72, 0.22, 1) infinite;
  will-change: transform, opacity;
}

.ripple-one {
  animation-delay: 0s;
}

.ripple-two {
  animation-delay: 1.3s;
}

.ripple-three {
  animation-delay: 2.6s;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.07);
  box-shadow:
    0 18px 38px rgba(20, 157, 76, 0.42),
    0 0 0 10px rgba(20, 157, 76, 0.18);
  filter: saturate(1.1) brightness(1.03);
}

.whatsapp-float:hover .whatsapp-ripple,
.whatsapp-float:focus-visible .whatsapp-ripple {
  animation-duration: 3.2s;
  filter: saturate(1.08);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-right {
  transform: translateX(36px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

body.menu-open {
  overflow: hidden;
}

@keyframes pulseDown {
  0%,
  100% {
    transform: scaleY(0.75);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes heroFloat {
  from {
    transform: scale(1) translateY(-10px);
  }
  to {
    transform: scale(1.05) translateY(14px);
  }
}

@keyframes floatingVisual {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes carouselScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 14px));
  }
}

@keyframes whatsappRipple {
  0% {
    transform: scale(0.78);
    opacity: 0;
  }
  12% {
    opacity: 0.34;
  }
  36% {
    opacity: 0.24;
  }
  100% {
    transform: scale(2.15);
    opacity: 0;
  }
}

@keyframes gradientShift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.03);
  }
}

@media (max-width: 1100px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-shell {
    position: relative;
    padding: 12px 16px;
  }

  .site-nav.is-open {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 18, 38, 0.98), rgba(11, 24, 48, 0.98));
    border: 1px solid rgba(110, 170, 255, 0.1);
  }

  .site-nav.is-open a {
    color: rgba(255, 255, 255, 0.92);
  }

  .site-nav.is-open::after {
    content: "";
  }

  .about-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 86px 0;
  }

  .nav-shell {
    padding: 10px 14px;
  }

  .brand img {
    width: 165px;
    max-height: 32px;
  }

  .hero-section {
    min-height: 92vh;
    padding-top: 116px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(6, 14, 31, 0.44), rgba(6, 14, 31, 0.82)),
      url("download.jfif") center 30% / 300px no-repeat;
  }

  .hero-backdrop::before {
    background: url("image%20%2812%29.png") center 35% / 500px no-repeat;
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .company-carousel {
    width: calc(100vw - 28px);
    margin-left: calc(50% - 50vw + 14px);
  }

  .company-card {
    flex-basis: 250px;
  }

  .vision-stats,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat-block {
    width: 100%;
    max-width: 260px;
  }
}
