:root {
  --red: #B42425;
  --white: #ffffff;
  --text: #000000;
  --text-muted: #4d4d4d;
  --max-width: 1160px;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }

/* HERO */
.hero {
  background: var(--red);
  color: var(--white);
  padding: 64px 40px;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.hero__text { flex: 1.2; }
.hero__name {
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 28px;
}
.hero__slogan {
  width: 260px;
  margin-bottom: 36px;
}
.hero__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { max-width: 170px; }
.stat__icon {
  width: 42px;
  height: 42px;
  color: var(--white);
  margin-bottom: 12px;
}
.stat__label {
  font-weight: 700;
  font-size: 24px;
  color: #c2c2c2;
  margin: 0 0 10px;
}
.stat__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.4;
}
.hero__photo-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__photo {
  width: 100%;
}
.hero__photo img { width: 100%; height: auto; display: block; object-fit: cover; }
.hero__logo {
  width: 62%;
  margin-top: 24px;
}

main { max-width: 100%; overflow-x: hidden; }

/* GAINS INFO */
.info { padding: 64px 40px; }
.info__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.info__text { flex: 1.15; }
.field { margin-bottom: 22px; }
.field__label {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.field__value {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  text-decoration: none;
  font-size: 20px;
}
.contact__icon { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }

/* SLIDER */
.info__side { flex: 1; }
.slider {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}
.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.slider__slide {
  min-width: 100%;
  height: 100%;
}
.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
.slider__dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.slider__dots span.is-active { background: var(--white); }

/* LOGOS */
.logos { background: var(--white); padding: 40px; }
.logos__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.logos__inner img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* STRIPES */
.stripe { padding: 48px 40px; }
.stripe--red { background: var(--red); color: var(--white); }
.stripe__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.stripe__title {
  flex: 1;
  min-width: 260px;
  font-size: 40px;
  font-weight: 400;
  margin: 0;
}
.stripe__text {
  flex: 1.2;
  min-width: 260px;
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
}
.stripe:not(.stripe--red) .stripe__title,
.stripe:not(.stripe--red) .stripe__text { color: var(--text); }
.stripe:not(.stripe--red) .stripe__text { color: var(--text-muted); }

/* CARDS */
.cards { padding: 56px 40px; background: var(--white); }
.cards__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.card { text-align: center; }
.card__title {
  color: var(--text);
  font-size: 35px;
  font-weight: 400;
  margin: 0 0 14px;
}
.card__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ESFERA DE CONTACTOS */
.sphere { background: var(--white); padding: 56px 40px; }
.sphere__inner { max-width: var(--max-width); margin: 0 auto; }
.sphere__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 24px;
}
.sphere__list {
  margin: 0 0 24px;
  padding-left: 24px;
  font-size: 22px;
  line-height: 1.6;
  color: var(--text-muted);
}
.sphere__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 40px;
  padding: 15px 30px;
  margin-bottom: 24px;
}

/* REFERENCIAS */
.ref { background: var(--red); color: var(--white); padding: 56px 40px; }
.ref__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ref__badge {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-size: 40px;
  font-weight: 700;
  padding: 15px 30px;
  margin-bottom: 20px;
}
.ref__text { margin: 0; font-size: 22px; line-height: 1.6; }

/* FOOTER */
.footer {
  background: var(--white);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { height: 44px; width: auto; }
.footer__text {
  margin: 0;
  font-size: 20px;
  color: var(--text);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__inner { flex-direction: column; }
  .hero__photo-col { width: 100%; max-width: 420px; }
  .info__inner { flex-direction: column; }
  .info__side { width: 100%; }
  .logos__inner { grid-template-columns: repeat(2, 1fr); }
  .ref__inner { grid-template-columns: 1fr; }
  .stripe__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero { padding: 40px 20px; }
  .info { padding: 40px 20px; }
  .hero__name { font-size: 32px; }
  .stat { max-width: 100%; }
}
