﻿/* Base global */
main {
  max-width: 100%;
  margin: 0 auto;
  padding: 10vh 0 10vh;
}

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

/* Tipografía */
h1 {
  font-size: 4rem;
  font-weight: 500;
  margin-top: 5vh;
  margin-bottom: 2.5vh;
  color: var(--text);
  line-height: 1.3;
}

h2 {
  font-size: 3rem;
  font-weight: 400;
  margin-top: 4vh;
  margin-bottom: 4vh;
  color: var(--text);
  line-height: 1.3;
}

h3 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-top: 2vh;
  margin-bottom: 4vh;
  color: var(--text);
  line-height: 1.3;
}

p {
  font-family: var(--font2);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
}

a {
  font-size: 1.8rem;
  color: var(--light-grey);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--white);
}

ul, ol, li {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-grey);
  font-size: 1.8rem;
  line-height: 1.6;
}

/* Componentes hero */
.hero-banner {
  background-color: rgba(39, 47, 65, 0.95);
  padding: 40px 40px;
  text-align: left;
  font-family: 'Barlow', sans-serif;
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* === Fuente exclusiva para el banner principal === */
.hero-banner .hero-headline,
.hero-banner .hero-subline {
  font-family: var(--font4);

  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.5px;
}

.hero-banner .highlight {
  color: #dab566;
}

.hero-banner h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--white);
}

.hero-banner h2 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 400;
  color: var(--white);
}

.hero-banner p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

/* --- Banner horizontal de características --- */
.hero-features {
  background-color: var(--blue1);
  color: var(--white);
  width: 100%;
  padding: 70px 10%;
  border-radius: 0;
  background-image: url('/img/resources/kamzilu/bg-1.webp');
  background-repeat: repeat;
  background-size: 350px;
}

/* === Hero Grid (sección informativa del banner) === */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.hero-headline {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.8rem;
  filter: brightness(1.1);
}

.hero-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-item h3 {
  font-family: var(--font1);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.hero-item p {
  font-family: var(--font2);
  font-size: 1rem;
  color: var(--light-grey);
  line-height: 1.6;
}

.hero-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-subline {
  display: block;
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 8px;
}

.hero-subtext {
  font-size: 1rem;
  opacity: 0.9;
  color: var(--white);
}

.hero-subtext.emphasis {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 10px;
  color: #f1f1f1;
  font-family: 'Barlow Condensed', sans-serif;
}

/* --- Sección superior con fondo blanco --- */
.hero-top {
  text-align: center;
  padding: 70px 20px 80px;
  background: url('/img/resources/kamzilu/bg-1.webp') repeat;
  background-size: 200px;
}

.hero-top h1 {
  font-family: 'Ranchers', sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
  color: var(--black);
  font-size: 2.8rem;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 700;
}

/* Componentes feature */
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease, rotate 0.3s ease;}

.feature-item h3 {
  font-family: var(--font1);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.feature-item p {
  font-family: var(--font2);
  font-size: 1.1rem;
  color: var(--light-grey);
  line-height: 1.4;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  rotate: 12deg;
  opacity: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  align-items: start;
}

/* --- Responsive --- */
@media (max-width: 1366px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .hero-features {
  padding: 40px 10%;
}
}

@media (max-width: 768px) {
  .hero-grid {
    gap: 1.5rem;
  }

  .hero-item h3 {
    font-size: 1.2rem;
  }

  .hero-item p {
    font-size: 0.95rem;
  }

  .parallax-image {
    position: static;
    transform: none !important;
  }

  h1 {
    font-size: 2.2rem;
    padding-bottom: 20px;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  main {
    max-width: 90%;
    padding: 6vh 0 10vh;
  }

  p {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  ul, ol, li {
    font-size: 1.2rem;
    margin-left: 1rem;
  }
}

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

  .hero-top h1 {
    font-size: 1.8rem;
    padding: 60px 20px 10px;
  }
}
