/* ===== Hero ===== */
.hero {
  background: var(--navy);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.hero-copy { max-width: 620px; }

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--off-white);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.hero-copy p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--turquoise);
  font-weight: 500;
  opacity: 1;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .hero { min-height: auto; flex-direction: column; padding: var(--space-md) 0 0; }
  .hero-image { position: static; height: 260px; order: 1; width: 100%; }
  .hero .wrap { order: 2; padding-top: var(--space-md); padding-bottom: var(--space-md); }
  .hero-copy { max-width: none; }
}

/* ===== Qué hacemos ===== */
.intro {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.intro-doodle {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.intro-doodle svg { width: 100%; height: 100%; }

.intro .wrap {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  text-align: center;
}

.intro p {
  line-height: 1.5;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--navy);
}

.intro p + p { margin-top: var(--space-sm); }

.intro .highlight {
  color: var(--turquoise);
  font-weight: 700;
  font-size: 1.1em;
}

/* ===== Lo que nos hace distintos ===== */
.pillars { background: var(--off-white); padding: var(--space-lg) 0; }

.pillars h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pillar {
  background: #fff;
  border-radius: 12px;
  padding: var(--space-md) var(--space-sm);
  border-top: 3px solid var(--turquoise);
  box-shadow: 0 4px 16px rgba(23, 36, 42, 0.05);
}

.pillar .pillar-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--turquoise-dark);
  margin: 0 auto var(--space-sm);
}

.pillar .pillar-icon svg { width: 34px; height: 34px; }

.pillar h3 {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pillar p { line-height: 1.6; }

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

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ===== Inversionistas carousel ===== */
.investors { padding: var(--space-lg) 0; }

.investors h2 {
  text-align: center;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  max-width: 640px;
  margin: 0 auto var(--space-md);
}

.carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: scroll-left 30.5s linear infinite;
}

.carousel:hover .carousel-track { animation-play-state: paused; }

.carousel-track img {
  height: 136px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.carousel-track img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .carousel-track { animation-duration: 39.5s; gap: 48px; }
}
