﻿/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Alexandria', sans-serif;
  background: #fff;
}

/* HERO SECTION */
.hero {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-top: 20px;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: -30px;
}

/* IMAGEN DE NIÑOS */
.kids-img {
  position: relative;
  z-index: 2;
  width: 580px;
  max-width: 100%;
  margin-bottom: -50px;
  margin-top: 60px;
}

.kids-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: transparent;
  margin: 0 auto;
}

/* TEXTOS */
.text-content {
  position: relative;
  z-index: 3;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: -30px; /* o el valor que necesites */
}

/* TÍTULO */
.titulo-principal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1rem;
}

.titulo-principal h1 {
  font-size: 100px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -2.5px;
  line-height: 1;
}

.cursos {
  display: block;
  color: #47D5DF;
  line-height: 1;
 margin-left: -20px;
}

.de-ingles {
  display: block;
  line-height: 0.85;
  margin-top: -10px;
  margin-left: 50px;
}

.de {
  color: #0D0030;
}

.ingles {
  color: #FFB43A;
}

.subtitulo {
  font-size: 35px;
  color: #0D0030;
  letter-spacing: -1px;
  margin: 10px;
  margin-left: 51px;
}

/* MODALIDADES */
.modalidades {
  display: flex;
  flex-direction: row;
  gap: 48px;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.modalidad {
  min-width: 260px;
  max-width: 300px;
  text-align: center;
}

.modalidad .titulo {
  font-family: 'Visby Round CF', Arial, sans-serif;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: -20px;
}

.online .titulo {
  color: #FF2CA6;
}

.presencial .titulo {
  color: #FFC843;
}

.desc {
  font-family: 'Visby Round CF', Arial, sans-serif;
  font-size: 14.87px;
  color: #231942;
  line-height: 1.3;
}

.btn-ubicacion {
  display: inline-block;
  margin-top: 18px;
  padding: 0.7em 2em;
  background: #FFC843;
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1.1rem;
  z-index: 9;
}


/* =================== */
/* 🟨 MEDIA QUERIES RESPONSIVAS */
/* =================== */

/* 1. 480px - Teléfonos pequeños */
@media (max-width: 480px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
  }

  .text-content {
    text-align: center;
    align-items: center;
    margin-left: 0;
    order: 1;
  }

  .kids-img {
    width: 90%;
    margin-top: 10px;
    margin-bottom: 0;
    order: 2;
  }

  .titulo-principal h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .de-ingles, .cursos {
    margin-left: 0;
  }

  .subtitulo {
    font-size: 16px;
    margin-left: 0;
  }

  .modalidades {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* 2. 768px - Tablets vertical */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .text-content {
    margin-left: 0;
    align-items: center;
    text-align: center;
    order: 1;
	margin-top: 0px;
  }

  .kids-img {
    width: 95%;
    margin-top: 20px;
    order: 2;
  }

  .titulo-principal h1 {
    font-size: 60px;
  }

  .subtitulo {
    font-size: 24px;
    margin-left: 0;
  }

  .de-ingles, .cursos {
    margin-left: 0;
  }
}

/* 3. 912px - Tablets grandes / Chromebook */
@media (min-width: 769px) and (max-width: 912px) {
  .hero-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .text-content {
    margin-left: 0;
    align-items: center;
    text-align: center;
    order: 1;
  }

  .kids-img {
    width: 85%;
    order: 2;
  }

  .titulo-principal h1 {
    font-size: 70px;
  }

  .subtitulo {
    font-size: 28px;
    margin-left: 0;
  }
}

/* 4. 1024px - Laptops / tablets landscape */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .text-content {
    margin-left: 0;
    align-items: center;
    text-align: center;
    order: 1;
  }

  .kids-img {
    width: 80%;
    margin-top: 30px;
    order: 2;
  }

  .titulo-principal h1 {
    font-size: 72px;
  }

  .subtitulo {
    font-size: 26px;
    margin-left: 0;
  }

  .de-ingles, .cursos {
    margin-left: 0;
  }
}

/* 5. Pantallas grandes - min-width 1440px */
@media (min-width: 913px) and (min-width: 1440px) {
  .hero-content {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }

  .text-content {
    order: 1;
    align-items: flex-start;
    text-align: left;
  }

  .kids-img {
    width: 600px;
    order: 2;
    margin-top: 110px;
  }

  .titulo-principal h1 {
    font-size: 120px;
  }

  .subtitulo {
    font-size: 40px;
  }
}

/* 6. max-width 1024px y landscape */
@media (min-width: 913px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .text-content {
    order: 1;
    align-items: center;
    text-align: center;
    margin-left: 0;
	margin-top: 10px;
  }

  .kids-img {
    width: 80%;
    order: 2;
  }

  .titulo-principal h1 {
    font-size: 60px;
  }

  .subtitulo {
    font-size: 22px;
    margin-left: 0;
  }
}

/* 7. max-width 1024px y portrait */
@media (min-width: 913px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .text-content {
    align-items: center;
    text-align: center;
    order: 1;
  }

  .kids-img {
    width: 80%;
    order: 2;
  }

  .titulo-principal h1 {
    font-size: 70px;
  }

  .subtitulo {
    font-size: 24px;
    margin-left: 0;
  }

  .de-ingles, .cursos {
    margin-left: 0;
  }
}

/* 8. max-width 480px y portrait */
@media (max-width: 480px) and (orientation: portrait) {
  .hero-content {
    flex-direction: column;
    align-items: center;
  }

  .text-content {
    text-align: center;
    align-items: center;
    order: 1;
	margin-top: 10px;
  }

  .kids-img {
    width: 90%;
    order: 2;
	margin: 0;
	padding: 0;
	margin-top: 10px;
  }

  .titulo-principal h1 {
    font-size: 38px;
  }

  .subtitulo {
    font-size: 16px;
  }

  .modalidades {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .de-ingles, .cursos {
    margin-left: 0;
	
  }

  .de-ingles{
	margin-top: 0px;
  }
}
