:root {
  --ink: #0e2130;
  --ink-soft: #334e62;
  --bg: #f4f7f9;
  --panel: #ffffff;
  --teal: #1f7882;
  --teal-dark: #0e4e58;
  --orange: #f28d4a;
  --orange-dark: #d56f29;
  --line: rgba(14, 33, 48, 0.12);
  --shadow: 0 18px 40px rgba(8, 33, 48, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% 0%, #e9f4f7 0, var(--bg) 55%);
}

h1,
h2,
h3,
h4 {
  font-family: Sora, "Segoe UI", sans-serif;
  margin: 0;
  line-height: 1.2;
}

main {
  width: min(1160px, 92vw);
  margin: 22px auto 64px;
  display: grid;
  gap: 22px;
}

.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 48px rgba(10, 29, 42, 0.3);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 33, 48, 0.94) 12%, rgba(14, 78, 88, 0.8) 48%, rgba(242, 141, 74, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: clamp(22px, 4vw, 44px);
  color: #f6fafe;
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b4eff8;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 8px;
}

.hero h2 {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 14px;
  color: #e2f6ff;
}

.hero-text,
.hero-focus {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 68ch;
  margin: 0 0 12px;
}

.hero-focus {
  font-weight: 700;
  color: #ffe8d8;
  margin-bottom: 0;
}

.hero-links {
  margin-top: 16px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-links a {
  text-decoration: none;
  color: #f4fbff;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
}

.hero-links a:hover,
.hero-links a:focus-visible,
.hero-links a.active {
  color: #0c2b3b;
  background: #ffffff;
}

.section h3 {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.section p {
  margin: 0;
  line-height: 1.65;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  background: linear-gradient(160deg, #ffffff, #f6fafb);
  border-radius: 16px;
  border: 1px solid rgba(31, 120, 130, 0.17);
  padding: 18px;
}

.card h4,
.column-box h4,
.mini-card h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
}

.card ul,
.clean-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.card li,
.clean-list li {
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.media-card {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #dde6eb;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.marcas-card {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  align-content: stretch;
  background: linear-gradient(180deg, #e9eff2, #dde6ea);
}

.marca-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 33, 48, 0.14);
  border-radius: 12px;
  background: #d7e1e5;
  padding: 10px;
  min-height: 150px;
}

.marcas-card img {
  width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
}

.pill-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pill {
  margin: 0;
  background: linear-gradient(130deg, rgba(31, 120, 130, 0.1), rgba(242, 141, 74, 0.13));
  border: 1px solid rgba(31, 120, 130, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
}

.solidaria-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.solidaria-copy {
  margin-bottom: 12px !important;
}

.robot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(31, 120, 130, 0.22), rgba(31, 120, 130, 0.02) 60%),
    linear-gradient(180deg, #eff8fb, #e7eff4);
}

.robot-card img {
  min-height: 320px;
  max-height: 440px;
  width: auto;
  object-fit: contain;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fcfefe;
}

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

.column-box {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f9fcfd;
  padding: 16px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.logo-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 14px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.cta {
  text-align: center;
  background: linear-gradient(130deg, #0f3040, #124f5b 58%, #ad5c2c);
  color: #f6f9fb;
}

.cta h3 {
  color: #fff;
  margin-bottom: 10px;
}

.cta p {
  color: #e8f3f8;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(120deg, var(--orange), #f9b072);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(242, 141, 74, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 0.7s ease forwards;
}

main .reveal:nth-child(2) { animation-delay: 0.08s; }
main .reveal:nth-child(3) { animation-delay: 0.14s; }
main .reveal:nth-child(4) { animation-delay: 0.2s; }
main .reveal:nth-child(5) { animation-delay: 0.26s; }
main .reveal:nth-child(6) { animation-delay: 0.32s; }
main .reveal:nth-child(7) { animation-delay: 0.38s; }
main .reveal:nth-child(8) { animation-delay: 0.44s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .split,
  .columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 500px;
  }

  .robot-card img {
    min-height: 280px;
    max-height: 360px;
  }
}

@media (max-width: 680px) {
  main {
    width: min(1200px, 95vw);
    gap: 16px;
    margin-top: 16px;
  }

  .section {
    padding: 20px;
    border-radius: 16px;
  }

  .hero {
    border-radius: 18px;
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn {
    animation: none;
    transition: none;
    transform: none;
  }
}
