/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #F5F9FF;
}

/* --- Container and Grid --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 18px; /* Canaleta */
}

/* Clases de columna */
.grid-col-1 { grid-column: span 1; }
.grid-col-2 { grid-column: span 2; }
.grid-col-3 { grid-column: span 3; }
.grid-col-4 { grid-column: span 4; }
.grid-col-5 { grid-column: span 5; }
.grid-col-6 { grid-column: span 6; }
.grid-col-7 { grid-column: span 7; }
.grid-col-8 { grid-column: span 8; }
.grid-col-9 { grid-column: span 9; }
.grid-col-10 { grid-column: span 10; }
.grid-col-11 { grid-column: span 11; }
.grid-col-12 { grid-column: span 12; }

/* --- Typography --- */
h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: bold;

}

h1 {
    font-size: 3em;

}

h2 {
    font-size: 38px;
    margin-bottom: 30px;
}

h3 {
    font-size: 2em;
    text-transform: uppercase;
}

h4 {
    font-size: 24px;;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: #000;
    font-size: 18px;
}

ul {
    margin-bottom: 15px;
    margin-left: 35px;
}

ul li {
    margin-bottom: 8px;
}

.highlight {
    color: #8520CC;
}

.hero-title{
  font-size: 26px;
  color:#52479E;
  font-weight: bold;
}
.logo{
  max-width: 60px;
  height: auto;
}


/* --- Hero Section --- */
.section-hero {
    padding: 80px 0;
    align-items: center;
    margin-top: 30px;
}

.hero-text {
    flex: 1;
}

.profile-photo {
    width: 100%;
    border-radius: 5px;
}

.section-hero p a{
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.section-hero p a:hover{
  color: #8520CC;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    }

.btn-primary {
    background-color: #8a2be2; /* Púrpura */
    color: #fff;
}

.btn-secondary {
    background-color: #8520CC; /* Lavanda claro */
    color: #fff;
    position: relative; /* CLAVE */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 1px solid #8D0BE8;
    border-radius: 35px;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden; /* CLAVE */
    transition: color 0.2s ease-in-out;
    z-index: 0;
}
.btn-secondary::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #F9EC09;
  border-radius: 3rem;
  top: 0;
  left: 0;
  transform: translate(-100%, 0) rotate(10deg);
  transform-origin: top left;
  z-index: -1;
  transition: transform 0.2s ease-out;
}
.btn-secondary:hover::after {
  transform: translate(0, 0);
}

.btn-secondary:hover {
  border: 1px solid transparent;
  color: #000;
  /*transform: scale(1.05);*/
}

.section-title {
    text-align: center;
    font-size: 2.1em;
    font-weight: bold;
    margin-bottom: 40px;
    grid-column: span 12;
    font-family: "Montserrat", sans-serif;
}

/* SECTION ABOUT */

.section-about{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  /*min-height: 100vh;*/
}

.about-left{
  background-color: #5B4FA3;
  padding: 80px;
  color: white;
}

.about-left h3, .about-right h3{
  color:#fff;
}

.highlight2{
  color:#D89FFF;
}

.about-left p, .about-right p{
  color:#fff;
}

.about-right{
  background-color: #3C357F;
  padding: 80px;
  color: white;
}

.about-how{
  background-color: #52479E;
}

/**/

/* --- Likes Section --- */

#likes{
  padding-top: 90px;
  padding-bottom: 80px;
}


.section-likes {
    /*text-align: center;*/
}

.text-bold{
  font-size: 24px;
  font-weight: bold;
  grid-column: span 12;
  text-align: center;
  color: #000;
}

h2 .section-title{
  color:#000;
}

.likes-list {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 18px;
    grid-column: span 12;
}

.likes-item p{
  color:#000;
}


.likes-item {
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 5px;
}

.likes-item .icon-placeholder {
    font-size: 70px;
    font-weight: bold;
    margin-bottom: 20px;
    color:#C5B2E0;
}

.likes-outro {
    margin-top: 40px;
    grid-column: span 12;
    font-size: 24px;
    text-align: center;
}

/* --- Motivations Section --- */


#motivations{
  background-color: #52479E;

}

.section-motivations {
    align-items: center;
}

.motivations-text{
  padding-top: 90px;
  padding-bottom: 80px;
}

.motivations-text h2{
  color: #fff;
  font-size: 38px;
}

.motivations-text p{
  color: #fff;
}

.code-laptop {
    max-height: 750px;
    display: block;
    align-content: center;
    margin: 0 auto;
}

/* --- Enfoque Section --- */

#section-enfoque{
  background-color:#CCCDE7;
  padding-top: 90px;
  padding-bottom: 80px;
}

.enfoque-block, .values-block {
    margin-bottom: 30px;
}

.enfoque-block h2{
  color: #000;
  font-size: 38px;
}

.enfoque-block h3 {
    color:#52479E;
    font-size: 22px;
    line-height: 1.0em;
}

/* --- Tools Section --- */

#section-tools{
  background-color:#fff;
  padding-top: 90px;
  padding-bottom: 80px;
}
.tools-grid {
    display: flex;
    justify-content: center;
}

.tools-items{
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 18px;
  grid-column: span 12;
}

.tools-card {
    background-color: #F5F9FF;
    border: 1px solid #C5B2E0;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.tools-card .icon-placeholder {
    font-size: 2em;
    margin-bottom: 20px;

}

.tools-title{
  text-align: center;
}

.tools-card h3 {
    color: #000;
    font-size: 22px;
}

.tools-card ul {
    text-align: left;
    margin-top: 20px;
}

.tools-card ul li {
    color: #000;
}

/* --- Formation Section --- */
.section-formation {
    padding: 60px 0;
    align-items: center;
}

.formation-block ul {
    list-style: circle;
    padding-left: 20px;
}

.cta-block {
    text-align: center;
    border-radius: 5px;
    padding: 40px;
    background-color: #431066;
}

.cta-block p{
  color:#fff;
  font-size: 22px;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cta-buttons .btn-primary, .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
}

/* Pie de página */
.main-footer {
    padding-top: 15px;
    background-color: #000;
    color: #fff;
    grid-column: span 12;

    align-items: center;
    justify-content: center;
}

/* --- Media Queries (Responsive) --- */

/* For devices with a width of 1024px or less */
@media screen and (max-width: 1024px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
}

/* 1. Ajustes para Tablets y Laptops pequeñas (Máximo 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 95%; /* Damos un poco de aire a los bordes */
        grid-gap: 15px;
    }

    .stat-number {
        font-size: 2.2em;
    }
}

/* For devices with a width of 768px or less (Mobile / Table Vertical) */
@media screen and (max-width: 768px) {
    /* Collapse all col-* to span 12 */
    .grid-col-1, .grid-col-2, .grid-col-3, .grid-col-4, .grid-col-5, .grid-col-6, .grid-col-7, .grid-col-8, .grid-col-9, .grid-col-10, .grid-col-11, .grid-col-12 {
        grid-column: span 12 !important;
    }

    .section-hero {
        flex-direction: column-reverse;
    }

    .hero-text {
        /*text-align: center;*/
        padding: 30px;
    }

    .likes-list, .tools-grid, .tools-items {
        flex-direction: column;
    }

    .likes-item, .tools-card {
        margin-bottom: 20px;
    }

    .formation-block, .cta-block {
        /*text-align: center;*/
        padding-left: 30px;
        padding-right: 30px;
    }

    .cta-buttons .btn-primary, .cta-buttons .btn-secondary {
        margin-top: 15px;
    }

    .section-about{
        grid-template-columns: 1fr;
    }
}

/* For devices with a width of 480px or less */
@media screen and (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 {font-size: 1.7em;}
    h3 { font-size: 1.5em; }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 10px 20px;
    }

    .about-left, .about-right{
      padding: 30px;
    }

    .hero-title {
        font-size: 1.5em;
    }
    .section-title, .motivations-text h2, .enfoque-block h2{
        font-size: 1.8em;
    }
}
