.extra-large { font-size: 54px; font-weight: 500; }

.hero-image-container {
    width: 100%;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    animation: heroFade 18s infinite;
    z-index: 1;
    cursor: pointer;
}

.hero-overlay {
    pointer-events: none;
}

.hero-content {
    pointer-events: auto;
}

.hero-content h1,
.hero-content p {
    pointer-events: none;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.65)
        );
    z-index: 2;
}

.hero-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 700px;
    animation: heroTextEntrance 1.4s ease;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    line-height: 1.05;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 550px;
}

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: scale(1.08);
    }

    8% {
        opacity: 1;
    }

    30% {
        opacity: 1;
        transform: scale(1);
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes heroTextEntrance {
    from {
        opacity: 0;
        transform: translateY(-40%) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Animación de entrada exclusiva para el logo animado del hero.
   El wrapper del logo ya está centrado por su contenedor padre
   (top:50%; left:50%; transform: translate(-50%,-50%)),
   así que esta animación NO debe incluir translateY(-50%)
   como heroTextEntrance, o desplaza el logo hacia arriba. */
@keyframes heroLogoEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SOBRE NOSOTROS --- */
.about-section {
    margin-top: 80px;
    padding: 100px 0;
    min-height: 85vh;
    position: relative;
}

.about-bg-image {
    width: 60%;
}

.about-bg-image img {
    object-position:60% 50%;
}

.text-side{
  max-width: 50%;
  position: relative;
  z-index: 2;
}

.main-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.body-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    margin-bottom: 40px;
}

.our-values{
  display: inline-block;
}

.values-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 25px;
}

.values-list {
    list-style: none;
    margin-bottom: 25px;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
    padding-left: 0;
}

.values-list li div {
     flex: 1;
    min-width: 0;
}

.value-icon {
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.values-list li strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--white);
}

.cta-box{
  text-align: center;
}

.brand-tagline{
    margin-bottom: 60px;
}

.cta-box p{
  margin-bottom: 24px;
}

/* --- SERVICIOS --- */
.services-section {
    padding: 100px 0;
}

.services-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 60px;
    line-height: 1.4em;
}

.services-title span{
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-box {
    border: 1px solid var(--yellow);
    padding: 35px 20px;
    text-align: left;
    height: 100%;
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box img { width: 45px; margin-bottom: 20px; }

.service-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 15px;
}

.service-box p { font-size: 16px; color: var(--text-gray); }

/* --- PORTAFOLIO --- */
.portfolio-section { padding: 100px 0; text-align: center; }

.portfolio-label h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    letter-spacing: 12px;
    text-align: left;
    padding-bottom: 8px;
    font-weight: 300;
}

.portfolio-main { position: relative; width: 100%; }

.portfolio-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.btn-more {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--yellow);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); ;
}

.btn-more:hover {
    background-color: var(--yellow);
    color: var(--black);
}

/* --- LANZAMIENTO --- */
.launch-section {
  position: relative;
  padding: 100px 0;
  margin-top: 80px;
  overflow: hidden;
}

.launch-bg-image{
    width: 70%;
}

.launch-bg-image  img {
    object-position:60% 50%;
}

.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.launch-col {
  position: relative;
  font-family: "Montserrat", sans-serif;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.launch-col:hover {
  transform: translateY(-10px);
}

.launch-list li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.launch-list li:hover {
  transform: translateX(8px);
  color: var(--yellow);
}

.launch-col.left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
}

.launch-col.middle::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
}

.launch-col.middle{
  text-align: center;
}

.launch-col.right{
  text-align: right;
}

.launch-inner {
  display: inline-block;
  text-align: left; 
}

.launch-main-title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.0em;
}

.launch-subtext {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.launch-astronaut {
  width: 100%;
  max-width: 280px;
  animation: floatAstronaut 5s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

.launch-col h3{
  font-size: 22px;
}

.launch-col.middle h2 {
  font-size: 32px;
}

.launch-list {
  list-style: none;
  margin: 20px 0;
}

.launch-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.launch-list li::before {
 content: "";
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 background-size: contain;
 background-repeat: no-repeat;
}

.middle-launch-list li::before {
  width: 18px;
  height: 18px;
  background-image: url('../img/check-mark.png');
}

.launch-note {
  color: #7abaff;
  margin: 20px 0;
}

.launch-highlight {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.launch-plans {
  list-style: none;
  margin: 20px 0;
}

.launch-plans li {
  margin-bottom: 10px;
}

.launch-lock {
  margin: 15px 0;
  color: var(--text-gray);
}

.launch-cta {
  margin-top: 30px;
}

.launch-cta-list .item-1::before {
  width: 18px;
  height: 18px;
  background-image: url('../img/AgendaUnaAsesoriaGratuita.png');
}

.launch-cta-list .item-2::before {
  width: 18px;
  height: 18px;
  background-image: url('../img/30Minutos.png');
}

.launch-cta-list .item-3::before {
  width: 18px;
  height: 18px;
  background-image: url('../img/TelIcon.png');
}

.launch-btn {
  margin-top: 20px;
  display: inline-block;
}

@keyframes floatAstronaut {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-link {
	display: block;
	cursor: pointer;
}


@media (max-width: 992px) {

  .about-section {
      display: flex;
      flex-direction: column;
      margin-top: 0px;
  }

  .about-bg-image {
      width: 100%;
      opacity: 0.6;
  }

  .about-bg-image img {
      filter: brightness(0.35);
      object-position: center;
  }
  
  .text-side {
      max-width: 100%;
      padding: 40px 0;
  }

  .main-headline {
      font-size: 38px;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }

  .values-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }

  .brand-tagline{
      text-align: center;
  }

  .launch-col.right{
  	text-align: center;
	}

  .portfolio-section {
      position: relative;
  }

  .portfolio-label {
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 5;
      width: 100%;
  }

  .portfolio-label h2 {
      text-align: center;
      font-size: 28px;
      letter-spacing: 8px;
      color: var(--white);
      text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  }

  .portfolio-img {
      filter: brightness(0.4);
      min-height: 350px;
  }

  .btn-more {
      bottom: auto;
      top: 55%;
      z-index: 5;
  }

  .launch-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .launch-astronaut {
    margin: 0 auto;
  }

  .launch-col::after {
    display: none;
  }
	.launch-bg-image{
			width: 90%;
	}

}

@media (max-width: 768px) {
	.hero-content {
		left: 5%;
		right: 5%;
		max-width: 100%;
	}

	.hero-content h1 {
		font-size: 42px;
	}

	.hero-content p {
		font-size: 16px;
	}
	.services-title { font-size: 28px; }
	.extra-large { font-size: 40px; }
	
}

@media (max-width: 600px) {
	.values-list {
		grid-template-columns: 1fr;
	}
	
	.main-headline {
		font-size: 32px; 
	}
}

@media (max-width: 768px) {
  .hero-image-container h1 {
    font-size: 42px !important;
  }
}

@media (max-width: 480px) {
  .hero-image-container h1 {
    font-size: 30px !important;
  }
}

@keyframes zoomOut {
  0% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.hero-image-container a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-image-container a:hover {
  transform: translateY(-8px);
}