@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@600;700;800;900&display=swap');

:root {
  --bg: #05070c;
  --bg-2: #090d16;
  --panel: rgba(14, 19, 32, 0.78);
  --panel-2: rgba(255, 255, 255, 0.045);
  --text: #f4f7fb;
  --muted: #9aa4b2;
  --line: rgba(255, 255, 255, 0.11);
  --red: #ff244d;
  --purple: #8b5cf6;
  --blue: #00d5ff;
  --green: #37ff8b;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 36, 77, 0.14), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(0, 213, 255, 0.13), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.16), transparent 32%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: transparent;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  letter-spacing: 0.08em;
}

.brand img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 36, 77, 0.3));
}

.brand strong {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.98rem;
}

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

.nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(244, 247, 251, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: 0.24s ease;
}

.nav a:hover {
  color: #fff;
  background:
    linear-gradient(135deg,
      rgba(255, 36, 77, 0.16),
      rgba(139, 92, 246, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 36, 77, 0.14);

  transform: translateY(-1px);
}

.hero-main {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 148px 0 80px;
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.95) 0%, rgba(5, 7, 12, 0.62) 48%, rgba(5, 7, 12, 0.92) 100%),
    url('/assets/Red domo.jpg') center/cover no-repeat;
  opacity: 0.72;
  transform: scale(1.02);
}

.hero-main::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 36, 77, 0.38), transparent 64%);
  filter: blur(8px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(5, 7, 12, 0.9) 94%),
    repeating-linear-gradient(-8deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 9px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 36, 77, 0.42);
  border-radius: 999px;
  background: rgba(255, 36, 77, 0.08);
  color: #ffd9e1;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  box-shadow: 0 0 40px rgba(255, 36, 77, 0.16);
}

.hero-title {
  max-width: 980px;
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(3.2rem, 10vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow:
    0 0 26px rgba(255, 36, 77, 0.26),
    0 0 70px rgba(0, 213, 255, 0.12);
}

.hero-title::first-line {
  color: #ffffff;
}

.hero-subtitle {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(244, 247, 251, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-primary,
.btn-secondary,
.cta,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: 0.24s ease;
}

.btn-primary,
.cta,
button.btn {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--purple));
  box-shadow: 0 16px 42px rgba(255, 36, 77, 0.28);
}

.btn-primary:hover,
.cta:hover,
button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(255, 36, 77, 0.38);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.ecosystem-section {
  position: relative;
  padding: 90px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.section-heading h2 {
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.eco-card {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  padding: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.eco-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(5, 7, 12, 0.18), rgba(5, 7, 12, 0.92)),
    url('/assets/fondo azul.jpg') center/cover no-repeat;
  opacity: 0.25;
  transition: 0.28s ease;
}

.eco-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.24);
}

.eco-card:hover::before {
  opacity: 0.38;
  transform: scale(1.04);
}

.eco-glow {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
}

.eco-green .eco-glow {
  background: rgba(55, 255, 139, 0.28);
}

.eco-purple .eco-glow {
  background: rgba(139, 92, 246, 0.35);
}

.eco-blue .eco-glow {
  background: rgba(0, 213, 255, 0.32);
}

.eco-card h3 {
  margin: 0 0 18px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.eco-card p {
  max-width: 92%;
  margin: 0;
  color: rgba(244, 247, 251, 0.72);
  line-height: 1.7;
}

.eco-card a {
  position: absolute;
  left: 30px;
  bottom: 28px;
  color: #fff;
  font-weight: 900;
}

.services-modern {
  position: relative;
  padding: 96px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 12% 30%, rgba(0, 213, 255, 0.1), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(255, 36, 77, 0.12), transparent 30%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-grid,
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.card {
  min-height: 210px;
  padding: 26px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  border: 1px solid var(--line);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32);
  transition: 0.24s ease;
}

.service-card:hover,
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 36, 77, 0.38);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.46), 0 0 40px rgba(255, 36, 77, 0.12);
}

.service-card h3,
.card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.05rem;
}

.service-card p,
.card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.68);
  line-height: 1.7;
}

.section,
.page-section {
  padding-top: 150px;
  padding-bottom: 80px;
}

.page-section h1 {
  margin: 0 0 18px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  letter-spacing: -0.04em;
}

.page-section h3 {
  margin-top: 36px;
  font-family: Orbitron, Inter, sans-serif;
}

.page-section p,
.page-section li {
  color: rgba(244, 247, 251, 0.74);
  line-height: 1.8;
}

.page-section ul {
  padding-left: 20px;
}

.form-box {
  max-width: 680px;
  margin-top: 28px;
  padding: 26px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

input,
textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 36, 77, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 36, 77, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: rgba(244, 247, 251, 0.42);
}

.form-status {
  display: inline-block;
  margin-left: 12px;
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.small {
  color: rgba(244, 247, 251, 0.58);
  font-size: 0.92rem;
}

.footer {
  padding: 38px 0;
  text-align: center;
  color: rgba(244, 247, 251, 0.62);
  background: rgba(0, 0, 0, 0.24);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 6px 0;
}

@media (max-width: 980px) {
  .header-inner {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav a {
    white-space: nowrap;
  }

  .ecosystem-grid,
  .services-grid,
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-main {
    min-height: 88vh;
  }
}

@media (max-width: 640px) {
  header {
    top: 10px;
  }

  .container {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    min-height: auto;
    padding: 12px;
  }

  .brand img {
    height: 40px;
    width: 40px;
  }

  .hero-main {
    padding-top: 170px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 17vw, 4.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .ecosystem-grid,
  .services-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .eco-card {
    min-height: 260px;
  }

  .services-modern,
  .ecosystem-section {
    padding: 64px 0;
  }
}

.page-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 160px 0 90px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96), rgba(5, 7, 12, 0.68), rgba(5, 7, 12, 0.94)),
    url('/assets/fondo azul.jpg') center/cover no-repeat;
  opacity: 0.82;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: 18%;
  background: radial-gradient(circle, rgba(0, 213, 255, 0.32), transparent 65%);
  filter: blur(12px);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(244, 247, 251, 0.76);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.tech-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.95), rgba(5, 7, 12, 0.62), rgba(5, 7, 12, 0.95)),
    url('/assets/Red domo.jpg') center/cover no-repeat;
}

.internal-section {
  padding: 92px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(0, 213, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 213, 255, 0.42);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5), 0 0 42px rgba(0, 213, 255, 0.14);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-family: Orbitron, Inter, sans-serif;
  color: #fff;
}

.feature-card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.68);
  line-height: 1.75;
}

.tech-panel {
  padding: 92px 0;
  background:
    linear-gradient(135deg, rgba(255, 36, 77, 0.12), rgba(0, 213, 255, 0.08)),
    rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-panel-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.tech-panel h2 {
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.tech-panel p {
  max-width: 660px;
  color: rgba(244, 247, 251, 0.72);
  line-height: 1.8;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spec-grid div {
  min-height: 150px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(5, 7, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.spec-grid strong {
  display: block;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 2.4rem;
  color: #fff;
}

.spec-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(244, 247, 251, 0.64);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  transition: 0.25s ease;
}

.solution-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 36, 77, 0.18), rgba(139, 92, 246, 0.08)),
    rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 36, 77, 0.42);
}

.solution-card:hover {
  transform: translateY(-7px);
}

.solution-card h3 {
  margin: 0 0 14px;
  font-family: Orbitron, Inter, sans-serif;
}

.solution-card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.68);
  line-height: 1.75;
}

.final-cta {
  margin-bottom: 90px;
  padding: 54px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 36, 77, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
}

.final-cta h2 {
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.final-cta p {
  max-width: 620px;
  margin: 18px auto 28px;
  color: rgba(244, 247, 251, 0.7);
  line-height: 1.7;
}

@media (max-width: 980px) {

  .feature-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-panel-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 78vh;
    padding-top: 185px;
  }

  .feature-grid,
  .solution-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 34px 22px;
  }
}

.red-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.95), rgba(5, 7, 12, 0.62), rgba(5, 7, 12, 0.95)),
    url('/assets/fondo rosa.jpg') center/cover no-repeat;
}

.red-hero::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 65%);
}

.red-panel {
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(255, 36, 77, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.red-panel .panel-kicker {
  color: var(--purple);
}

.red-panel .spec-grid div:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(139, 92, 246, 0.14);
}

.red-hero .hero-badge {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.18);
}

.almacen-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.95), rgba(5, 7, 12, 0.64), rgba(5, 7, 12, 0.95)),
    url('/assets/almacen domo.jpg') center/cover no-repeat;
}

.almacen-hero::after {
  background: radial-gradient(circle, rgba(55, 255, 139, 0.3), transparent 65%);
}

.almacen-panel {
  background:
    linear-gradient(135deg, rgba(55, 255, 139, 0.12), rgba(0, 213, 255, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.almacen-panel .panel-kicker {
  color: var(--green);
}

.almacen-card:hover {
  border-color: rgba(55, 255, 139, 0.42);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.44),
    0 0 42px rgba(55, 255, 139, 0.16);
}

.almacen-featured {
  background:
    linear-gradient(180deg, rgba(55, 255, 139, 0.14), rgba(0, 213, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(55, 255, 139, 0.34);
}

.almacen-hero .hero-badge {
  border-color: rgba(55, 255, 139, 0.38);
  background: rgba(55, 255, 139, 0.08);
  box-shadow: 0 0 40px rgba(55, 255, 139, 0.16);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: 0.25s ease;
}

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

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

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

@media (max-width: 760px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    border-radius: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 92px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 7, 12, 0.92);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    transform: translateY(-18px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: 0.24s ease;
    overflow: visible;
  }

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

  .nav a {
    display: block;
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.82rem;
  }

  .nav a:hover {
    background:
      linear-gradient(135deg, rgba(255, 36, 77, 0.16), rgba(139, 92, 246, 0.12));
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-title {
  animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from {
    text-shadow:
      0 0 24px rgba(255,36,77,0.16),
      0 0 60px rgba(0,213,255,0.08);
  }

  to {
    text-shadow:
      0 0 36px rgba(255,36,77,0.28),
      0 0 90px rgba(0,213,255,0.16);
  }
}

.eco-card,
.feature-card,
.solution-card,
.service-card {
  will-change: transform;
}

.eco-card:hover,
.feature-card:hover,
.solution-card:hover,
.service-card:hover {
  transform:
    translateY(-8px)
    scale(1.015);
}

.nosotros-hero::before {
  background:
    linear-gradient(90deg, rgba(5,7,12,0.95), rgba(5,7,12,0.62), rgba(5,7,12,0.95)),
    url('/assets/fondo calido.jpg') center/cover no-repeat;
}

.nosotros-hero::after {
  background: radial-gradient(circle, rgba(255,36,77,0.24), transparent 65%);
}

.nosotros-hero .hero-badge {
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.07);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-card {
  min-height: 280px;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.032));
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(0,0,0,0.36);
  transition: 0.25s ease;
}

.about-card.featured {
  background:
    linear-gradient(180deg, rgba(255,36,77,0.16), rgba(139,92,246,0.08)),
    rgba(255,255,255,0.04);
  border-color: rgba(255,36,77,0.36);
}

.about-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,36,77,0.38);
  box-shadow:
    0 36px 90px rgba(0,0,0,0.5),
    0 0 42px rgba(255,36,77,0.13);
}

.about-card h3 {
  margin: 0 0 14px;
  font-family: Orbitron, Inter, sans-serif;
}

.about-card p {
  margin: 0;
  color: rgba(244,247,251,0.68);
  line-height: 1.75;
}

.nosotros-panel {
  background:
    linear-gradient(135deg, rgba(255,36,77,0.13), rgba(139,92,246,0.09)),
    rgba(255,255,255,0.02);
}

.nosotros-panel .panel-kicker {
  color: var(--red);
}

.nosotros-featured {
  background:
    linear-gradient(180deg, rgba(255,36,77,0.16), rgba(139,92,246,0.08)),
    rgba(255,255,255,0.04);
  border-color: rgba(255,36,77,0.36);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer-premium {
  position: relative;
  overflow: hidden;
  padding: 78px 0 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,36,77,0.14), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(0,213,255,0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(0,0,0,0.42));
  border-top: 1px solid var(--line);
}

.footer-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,36,77,0.22), transparent 64%);
  filter: blur(8px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 410px;
  margin: 18px 0 0;
  color: rgba(244,247,251,0.68);
  line-height: 1.75;
}

.footer-logo {
  display: inline-flex;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-badges span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  color: rgba(244,247,251,0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  margin: 0;
  color: rgba(244,247,251,0.62);
  line-height: 1.6;
  transition: 0.22s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,36,77,0.18), rgba(139,92,246,0.14));
  border: 1px solid rgba(255,255,255,0.13);
  color: #fff !important;
  font-weight: 900;
}

.footer-cta:hover {
  box-shadow: 0 0 34px rgba(255,36,77,0.18);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.09);
  color: rgba(244,247,251,0.48);
  font-size: 0.88rem;
}

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .footer-premium {
    padding-top: 58px;
  }

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

body {
  opacity: 1;
  transition: opacity 0.28s ease;
}

body.page-leaving {
  opacity: 0;
}