/* ==========================================================
   MAIN.CSS — Estilos específicos de la página principal (index.html)
   ========================================================== */

.hero {
    position: relative;
    height: 749px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 36, 134, 0.384);
    z-index: 2;
}

.hero .wrapper {
    position: relative;
    z-index: 3;
    padding-top: 404px;
    padding-left: 69px;
}

.hero h1 {
    font-family: var(--fuente-principal);
    font-size: 74px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-align: left;
    max-width: 900px;
}

.hero h1 .highlight {
    margin-top: 9px;
    margin-bottom: 7px;
    background: var(--secondary-color);
    padding: 0px 8px 9px 10px;
    display: inline-block;
}

.hero h1 .highlight-secondary {
    color: var(--secondary-color);
}

.consulting {
    width: 100%;
    background: #f1f7ff;
    background: url("../img/patterns/patron-de-lineas-celeste.png");
    background-repeat: no-repeat;
    background-position: bottom -300px right -34%;
    background-size: 1070px;
    position: relative;
}

.wrapper-consulting {
    width: 100%;
    max-width: 1374px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 106px;
}

.impact-intro {
    display: flex;
    gap: 24px;
    align-items: center;
}

.impact-image {
    position: relative;
    width: 100%;
    max-width: 545px;
    height: auto;
    bottom: 21px;
}

.impact-image .main-image {
    position: relative;
    bottom: -54px;
    left: -5px;
    max-width: 471px;
    max-height: 435.74px;
    z-index: 2;
}

.impact-image .pattern-circles {
    position: absolute;
    top: -4px;
    right: -108px;
    z-index: 1;
}

.impact-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    padding-left: 51px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    color: var(--primary-color);
    font-family: var(--fuente-secundaria);
    font-size: 20px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    border-radius: 40px;
    align-self: flex-start;
}

.impact-content h2 {
    font-family: var(--fuente-secundaria);
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 26px 0;
}

.impact-content p {
    font-family: var(--fuente-secundaria);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #5a6c7d;
}

.impact-goals {
    max-width: 1296px;
    height: auto;
    background: linear-gradient(180deg, #027592 0%, #1d477e 75%);
    position: relative;
    border-radius: 24px;
    margin-bottom: 80px;
}

.impact-goals h3 {
    font-family: var(--fuente-secundaria);
    font-size: 40px;
    font-weight: 600;
    color: white;
    text-align: center;
    padding-top: 40px;
}

.goals-grid {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 48px;
    margin: 48px 40px 40px 40px;
}

.goal-card {
    flex: 0 0 calc(33.333% - 32px);
    background: #ffffff1a;
    border-radius: 10px;
    box-shadow:
        0px 2.77px 2.21px 0px rgba(0, 0, 0, 0.043),
        0px 6.65px 5.32px 0px rgba(0, 0, 0, 0.063),
        0px 12.52px 10.02px 0px rgba(0, 0, 0, 0.078),
        0px 22.34px 17.87px 0px rgba(0, 0, 0, 0.094),
        0px 41.78px 33.42px 0px rgba(0, 0, 0, 0.114),
        0px 100px 80px 0px rgba(0, 0, 0, 0.161);
    transition: all 0.3s;
    overflow: hidden;
    align-self: flex-start;
    min-height: 123px;
    max-width: 384px;
}

.goal-card.active {
    background: linear-gradient(180deg,
            rgba(2, 117, 146, 0.4) 0%,
            rgba(2, 117, 146, 0.8) 100%);
}

.goal-card.active .toggle-icon {
    font-size: 0;
    line-height: 0;
}

.goal-card.active .toggle-icon::before {
    content: "−";
    font-size: 32px;
    line-height: 1;
    display: block;
}

.goal-card-header {
    display: flex;
    gap: 16px;
    padding: 18px 15px;
    cursor: pointer;
}

.goal-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.goal-card h4 {
    font-family: var(--fuente-principal);
    font-size: 20px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    flex: 1;
}

.goal-toggle {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.goal-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: linear-gradient(180deg,
            rgba(2, 117, 146, 0.4) 0%,
            rgba(2, 117, 146, 0.8) 100%);
}

.goal-card.active .goal-card-content {
    max-height: 500px;
}

.goal-card-content ul {
    list-style: none;
    padding: 24px 32px 32px;
    margin: 0;
}

.goal-card-content li {
    font-family: var(--fuente-secundaria);
    font-size: 16px;
    line-height: 1.6;
    color: white;
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
}

.goal-card-content li:last-child {
    margin-bottom: 0;
}

.goal-card-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: white;
}

.methodology {
    width: 100%;
    height: 542px;
    background: #122140;
    position: relative;
    overflow: hidden;
}

.wrapper-methodology {
    display: flex;
    height: 100%;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.methodology-media {
    flex: 0 0 682px;
    width: 682px;
    height: 518px;
    position: relative;
}

.methodology-media img:first-child {
    position: absolute;
    top: 17px;
    left: -22px;
    width: 100%;
    z-index: 1;
}

.woman-methodology {
    position: absolute;
    bottom: -27px;
    left: -33px;
    width: 682px;
    height: 518px;
    object-fit: contain;
    z-index: 2;
}

.methodology-content {
    width: 620px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 125px 0px 34px 4px;
    gap: 24px;
    justify-content: flex-end;
    align-items: center;
}

.methodology-content h2 {
    font-family: var(--fuente-principal);
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    color: white;
}

.methodology-content h2 strong {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}

.methodology-content p {
    font-family: var(--fuente-secundaria);
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: white;
    padding: 0 0 9px 0;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 350px;
    height: 52px;
    padding: 16px 30px;
    background: #4b9ed9;
    color: var(--footer-color);
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.button-primary:hover {
    color: white;
    background: linear-gradient(180deg, #4b9ed9 0%, #1d477e 100%);
    box-shadow: 0px 4px 12px rgba(0, 181, 178, 0.2);
}

.impact {
    background: #f1f7ff;
}

.wrapper-impact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    margin-top: 80px;
}

.impact-map {
    margin-bottom: 40px;
}

.impact-map h2 {
    font-family: var(--fuente-principal);
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    text-align: center;
    margin-bottom: 24px;
}

.impact-map p {
    font-family: var(--fuente-secundaria);
    font-size: 18px;
    line-height: 1.7;
    color: #213754;
    max-width: 1280px;
    text-align: center;
}

.book {
    background:
        url("../img/patterns/patron-de-lineas-blanco.png"),
        linear-gradient(180deg, #027592 0%, #1d477e 75%);
    background-repeat: no-repeat, no-repeat;
    background-position:
        top 106% right -8%,
        center;
    height: 606px;
    width: 100%;
    overflow: hidden;
}

.bookanual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    color: #ffffff;
    width: 100%;
}

.book-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    height: 100%;
}

.book-content h2 {
    font-family: var(--fuente-principal);
    font-size: 40px;
    font-weight: 700;
    height: 64px;
    color: white;
    text-align: center;
}

.book-content h3 {
    font-family: var(--fuente-principal);
    font-size: 32px;
    font-weight: 600;
    color: white;
    text-align: center;
}

.book-content p {
    max-width: 584px;
    padding: 16px 0 36px 0;
}

.book-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 350px;
    height: 52px;
    padding: 16px 30px;
    background: #4b9ed9;
    color: var(--footer-color);
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

/* .btn-primary:hover is defined in base.css */
.book-content a:hover {
    color: white;
    background: linear-gradient(180deg, #4b9ed9 0%, #1d477e 100%);
    box-shadow: 0px 4px 12px rgba(0, 181, 178, 0.2);
    cursor: pointer;
}

.book-media {
    padding-left: 40px;
    height: 100%;
    position: relative;
    top: 50px;
    left: 61px;
}

.book-media img {
    width: 100%;
    max-width: 663px;
    height: auto;
}

.brands {
    background-color: #f1f7ff;
    height: 740px;
    width: 100%;
    display: flex;
}

.brand-wrapper {
    padding-top: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.brands-title {
    width: 100%;
    max-width: 993px;
    gap: 12px;
    padding: 0 20px;
}

.brands-title h2 {
    font-family: var(--fuente-secundaria);
    font-weight: 700;
    color: rgba(40, 41, 67, 1);
    text-align: center;
    font-size: 80px;
}

.brands-title h3 {
    font-family: var(--fuente-secundaria);
    font-weight: 700;
    color: rgba(40, 41, 67, 1);
    text-align: center;
    font-size: 24px;
    padding-top: 33px;
}

.brands-title span {
    font-family: var(--fuente-numerica);
}

.brands-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.brands-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 8s linear infinite;
    will-change: transform;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
}

.brand-item img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("../img/patterns/patron-de-lineas-celeste.png");
    background-position: center calc(100% + 500px);
    background-size: 1178px;
    background-repeat: no-repeat;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 80px 0;
}

.contact-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 200px;
}

.contact-title>h2 {
    text-align: center;
    font-family: var(--fuente-principal);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: rgba(40, 41, 67, 1);
    margin-bottom: 24px;
}

.contact-title>p {
    font-family: var(--fuente-secundaria);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-align: start;
    color: rgba(33, 55, 84, 1);
}

.contact-form {
    max-width: 636px;
}

.contact-img {
    position: relative;
}

.circulo-decorativo-contact {
    position: absolute;
    top: 63px;
    left: -140px;
    z-index: 0;
    width: 536px;
}

.contact-img img:last-child {
    position: relative;
    z-index: 1;
    object-fit: contain;
    width: 100%;
    max-width: 392px;
    height: auto;
}

.content-card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.content-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: white;
    border-radius: 8px;
    width: 100%;
    box-shadow:
        0px 2.77px 2.21px 0px #00000005,
        0px 6.65px 5.32px 0px #00000007,
        0px 12.52px 10.02px 0px #00000009,
        0px 22.34px 17.87px 0px #0000000b,
        0px 41.78px 33.42px 0px #0000000d,
        0px 100px 80px 0px #00000012;
    transition: box-shadow 0.3s;
}

.content-card:hover {
    box-shadow:
        0px 4px 4px 0px #00000008,
        0px 10px 10px 0px #0000000a,
        0px 20px 16px 0px #0000000d,
        0px 36px 28px 0px #00000010,
        0px 60px 50px 0px #00000014,
        0px 130px 100px 0px #00000018;
}

.content-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #d0dce8;
}

.content-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.content-fecha {
    font-family: var(--fuente-secundaria);
    font-size: 12px;
    color: #8a9bb0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-info h3 {
    font-family: var(--fuente-principal);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.content-info p {
    font-family: var(--fuente-secundaria);
    font-size: 14px;
    line-height: 1.6;
    color: #5a6c7d;
}

@media (max-width: 1024px) {
    .wrapper {
        padding: 0 30px;
    }

    .hero {
        height: 600px;
    }

    .hero .wrapper {
        padding-top: 250px;
        padding-left: 30px;
    }

    .hero h1 {
        font-size: 52px;
        max-width: 100%;
    }

    .consulting {
        padding: 60px 0;
    }

    .wrapper-consulting {
        max-width: 100%;
        padding: 0 30px;
    }

    .impact-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        flex-direction: column;
    }

    .impact-image {
        width: 100%;
        max-width: 578px;
        height: auto;
        margin: 0 auto;
    }

    .impact-image .main-image {
        width: 100%;
        height: auto;
        position: relative;
        left: 0;
        bottom: 0;
    }

    .impact-image .pattern-circles {
        display: none;
    }

    .impact-content {
        padding-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .impact-content h2 {
        font-size: 36px;
    }

    .impact-content p {
        font-size: 17px;
    }

    .impact-goals {
        max-width: 100%;
        padding: 60px 40px 80px;
        margin-top: 50px;
    }

    .goals-grid {
        width: 100%;
    }

    .goal-card {
        flex: 1 1 calc(50% - 24px);
    }

    .methodology {
        height: auto;
        padding: 60px 0;
    }

    .wrapper-methodology {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }

    .methodology-media {
        display: block;
        flex: none;
        width: 100%;
        max-width: 380px;
        height: 300px;
        margin: 0 auto;
        overflow: hidden;
    }

    .methodology-media img:first-child {
        display: none;
    }

    .woman-methodology {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        bottom: 0;
        object-fit: cover;
        object-position: top center;
    }

    .methodology-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .methodology-content h2 {
        font-size: 36px;
    }

    .methodology-content p {
        font-size: 17px;
    }

    .button-primary {
        width: 100%;
        max-width: 350px;
    }

    .wrapper-impact {
        padding: 0 30px;
    }

    .impact-map h2 {
        font-size: 36px;
    }

    .impact-map p {
        font-size: 17px;
    }

    .bookanual {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
    }

    .book {
        height: auto;
        padding: 40px 20px;
    }

    .book-content {
        width: 100%;
    }

    .book-media {
        top: 0;
        left: 0;
        padding-left: 0;
    }

    .book-media img {
        width: 100%;
        max-width: 400px;
        transform: translateX(0);
    }

    .brands {
        height: auto;
        padding: 60px 0;
    }

    .brand-wrapper {
        padding-top: 40px;
    }

    .brands-title h2 {
        font-size: 56px;
    }

    .brands-title h3 {
        font-size: 19px;
    }

    .brands-track {
        gap: 60px;
    }

    .brand-item {
        width: 180px;
    }

    .brand-item img {
        max-width: 150px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 60px 30px;
    }

    .contact-content {
        max-width: 636px;
        width: 100%;
        margin-bottom: 40px;
    }

    .contact-form {
        max-width: 636px;
        width: 100%;
    }

    .circulo-decorativo-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 20px;
    }

    .hero {
        height: 500px;
    }

    .hero .wrapper {
        padding-top: 165px;
        padding-left: 63px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h1 .highlight {
        padding: 4px 12px;
    }

    .consulting {
        padding: 50px 0;
    }

    .wrapper-consulting {
        padding: 0 20px;
    }

    .impact-intro {
        gap: 30px;
    }

    .impact-content h2 {
        font-size: 32px;
    }

    .impact-content p {
        font-size: 16px;
    }

    .badge {
        font-size: 16px;
        padding: 6px 16px;
    }

    .impact-goals {
        padding: 40px 20px 60px;
        margin: 30px 0;
    }

    .impact-goals h3 {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .goals-grid {
        margin: 0;
        gap: 24px;
    }

    .goal-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .goal-card-header {
        padding: 24px 20px;
    }

    .goal-card h4 {
        font-size: 18px;
    }

    .goal-card-content ul {
        padding: 20px;
    }

    .goal-card-content li {
        font-size: 14px;
    }

    .methodology {
        padding: 50px 0;
    }

    .wrapper-methodology {
        padding: 0 20px;
    }

    .methodology-content h2 {
        font-size: 28px;
    }

    .methodology-content p {
        font-size: 16px;
    }

    .wrapper-impact {
        padding: 0 20px;
    }

    .impact-map h2 {
        font-size: 32px;
    }

    .impact-map p {
        font-size: 16px;
    }

    .bookanual {
        padding: 30px 20px;
        gap: 30px;
        flex-direction: column-reverse;
    }

    .book {
        background-position:
            top 158% right -8%,
            center;
        padding: 30px 15px;
    }

    .book-content h2 {
        font-size: 32px;
    }

    .book-content h3 {
        font-size: 24px;
    }

    .book-content p {
        font-size: 16px;
    }

    .book-media img {
        position: relative;
        left: 50px;
        max-width: 350px;
        transform: translateX(0);
    }

    .button-primary,
    .book-content a {
        width: 100%;
        max-width: none;
        font-size: 16px;
    }

    .brands {
        padding: 50px 0;
    }

    .brand-wrapper {
        padding-top: 30px;
    }

    .brands-title h2 {
        font-size: 48px;
    }

    .brands-title h3 {
        font-size: 18px;
    }

    .brands-track {
        gap: 50px;
    }

    .brand-item {
        width: 150px;
    }

    .brand-item img {
        max-width: 130px;
    }

    .contact {
        padding: 50px 0;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .contact-img img:first-child {
        display: none;
    }

    .contact-img img:last-child {
        max-width: 280px;
    }

    .contact-content {
        margin-bottom: 0px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 0 15px;
    }

    .hero {
        height: 400px;
    }

    .hero .wrapper {
        padding-top: 150px;
        padding-left: 15px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.1;
    }

    .hero h1 .highlight {
        padding: 3px 8px;
        margin: 5px 0;
    }

    .consulting {
        padding: 40px 0;
    }

    .wrapper-consulting {
        padding: 0 15px;
    }

    .impact-intro {
        gap: 20px;
    }

    .impact-content h2 {
        font-size: 24px;
    }

    .impact-content p {
        font-size: 14px;
    }

    .badge {
        font-size: 14px;
        padding: 5px 12px;
    }

    .impact-goals {
        padding: 30px 15px 50px;
        margin: 20px 0;
        border-radius: 16px;
    }

    .impact-goals::after {
        width: 150px;
        height: 150px;
        opacity: 0.3;
    }

    .impact-goals h3 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .goals-grid {
        gap: 20px;
        margin: 0;
    }

    .goal-card-header {
        padding: 18px 15px;
        gap: 10px;
    }

    .goal-icon {
        width: 24px;
        height: 24px;
    }

    .goal-card h4 {
        font-size: 16px;
    }

    .goal-toggle {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .goal-card.active .toggle-icon::before {
        font-size: 28px;
    }

    .goal-card.active .goal-card-content {
        max-height: 500px;
    }

    .goal-card-content ul {
        padding: 16px 15px;
    }

    .goal-card-content li {
        font-size: 13px;
        padding-left: 16px;
        margin-bottom: 8px;
    }

    .methodology {
        padding: 40px 0;
    }

    .wrapper-methodology {
        padding: 0 15px;
    }

    .methodology-content h2 {
        font-size: 22px;
    }

    .methodology-content p {
        font-size: 14px;
    }

    .button-primary {
        width: 100%;
        height: 48px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .wrapper-impact {
        padding: 0 15px;
    }

    .impact-map h2 {
        font-size: 24px;
    }

    .impact-map p {
        font-size: 14px;
    }

    .impact-note p {
        font-size: 13px;
    }

    .bookanual {
        padding: 25px 15px;
        gap: 20px;
    }

    .book {
        padding: 25px 10px;
    }

    .book-content h2 {
        font-size: 24px;
    }

    .book-content h3 {
        font-size: 18px;
    }

    .book-content p {
        padding: 15px 0;
        font-size: 14px;
    }

    .book-media img {
        max-width: 280px;
    }

    .book-content a {
        height: 48px;
        font-size: 14px;
    }

    .brands {
        padding: 40px 0;
    }

    .brand-wrapper {
        padding-top: 20px;
        gap: 25px;
    }

    .brands-title h2 {
        font-size: 32px;
        margin: 0;
    }

    .brands-title h3 {
        font-size: 16px;
        padding-top: 12px;
    }

    .brands-track {
        gap: 30px;
    }

    .brand-item {
        width: 120px;
    }

    .brand-item img {
        max-width: 100px;
    }

    .contact {
        padding: 40px 0;
    }

    .contact-img img {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 22px;
    }

    .impact-content h2 {
        font-size: 20px;
    }

    .book-media img {
        max-width: 100%;
        position: relative;
        left: 35px;
    }

    .contact {
        text-align: center;
    }

    .contact-title>h2 {
        font-size: 30px;
    }
}

/* ----------------------
   Formulario (form.css)
   ---------------------- */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form {
    background-color: rgba(229, 237, 248, 1);
    width: 100%;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-group {
    width: 100%;
    font-family: var(--fuente-principal);
    font-weight: 600;
    font-size: 14px;
    color: rgba(31, 72, 126, 1);
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

input,
select,
textarea {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid var(--Gray-400, rgba(195, 198, 216, 1));
    font-family: var(--fuente-secundaria);
    font-size: 14px;
}

select,
option {
    color: var(--Gray-600, rgba(144, 147, 165, 1));
}

textarea {
    resize: vertical;
    height: 100px;
}

.contact a,
.contact button {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(75, 158, 217, 1);
    color: rgba(17, 32, 63, 1);
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--fuente-principal);
    font-weight: 600;
    font-size: 18px;
    border: 1px solid rgba(75, 158, 217, 1);
}

.contact-divider {
    width: 100%;
    max-width: 476px;
    height: 0;
    border: none;
    border-top: 1px solid rgba(172, 187, 206, 1);
    opacity: 1;
    margin: 40px 0;
}

.contact p {
    font-family: var(--fuente-secundaria);
    font-weight: 400;
    font-size: 20px;
    color: rgba(31, 72, 126, 1);
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    form {
        padding: 28px 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .contact a,
    .contact button {
        width: 100%;
        font-size: 16px;
    }

    .contact p {
        font-size: 17px;
        padding: 28px 0;
    }
}

@media (max-width: 480px) {
    form {
        padding: 20px 15px;
        border-radius: 8px;
    }

    .form-group {
        margin-bottom: 14px;
        font-size: 13px;
    }

    input,
    select,
    textarea {
        padding: 10px;
        font-size: 13px;
    }

    textarea {
        height: 90px;
    }

    .contact a,
    .contact button {
        font-size: 15px;
        padding: 12px 20px;
        text-align: center;
    }

    .contact p {
        font-size: 15px;
        padding-top: 50px;
        margin: 0;
    }

    .contact-divider {
        margin: 40px 0 0 0;
    }
}

/* ----------------------
   Mapa (map.css)
   ---------------------- */
.geo-map {
    position: relative;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 80px;
}

.map-slide {
    display: none;
    width: 100%;
}

.map-slide.active {
    display: block;
}

.map-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: opacity 0.3s;
}

.map-nav:hover {
    opacity: 0.7;
}

.map-prev {
    left: 20px;
}

.map-next {
    right: 20px;
}

.map-nav img {
    width: 38px;
    height: 66px;
    display: block;
}

@media (max-width: 768px) {
    .map-nav {
        width: 40px;
        height: 40px;
    }

    .map-nav img {
        width: 20px;
        height: 20px;
    }

    .map-prev {
        left: 10px;
    }

    .map-next {
        right: 10px;
    }
}

/* ----------------------
   Contador (contador.css)
   ---------------------- */
.metrics-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 60px 0;
    gap: 70px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.metric-number {
    font-family: "Manrope", sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: #11203f;
    letter-spacing: 6px;
    line-height: 1;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.metric-number span {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.metric-label {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #11203f;
}

.impact-note p {
    font-family: var(--fuente-secundaria);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #213754;
    text-align: center;
    font-style: italic;
}

@media (max-width: 1024px) {
    .metrics-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .metric-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .metrics-list {
        gap: 32px;
    }

    .metric-number {
        font-size: 56px;
        min-height: 56px;
    }
}

@media (max-width: 480px) {
    .metrics-list {
        gap: 20px;
        padding: 40px 0;
    }

    .metric-item {
        flex: 0 0 calc(50% - 10px);
    }

    .metric-number {
        font-size: 36px;
        min-height: 36px;
        letter-spacing: 2px;
    }

    .metric-label {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .metric-item {
        flex: 0 0 100%;
    }

    .metric-number {
        font-size: 44px;
        min-height: 44px;
        letter-spacing: 2px;
    }

    .metric-label {
        font-size: 16px;
    }
}