/*FUENTES*/
@font-face {
    font-family: 'Antenna';
    src: url('../fonts/Antenna-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antenna';
    src: url('../fonts/Antenna-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AntennaCond';
    src: url('../fonts/AntennaCond-Regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Antenna';
    color: #50525a;
    line-height: 1.6;
    overflow-x: hidden;
}

html.js body {
    opacity: 0;
    transition: opacity 0.25s ease;
}

html.js body.page-loaded {
    opacity: 1;
}

html.js body.page-leaving {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    html.js body {
        transition: none;
        opacity: 1;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/*ADICIONALES*/
.nav-hidden {
  display: none;
}

/* Botón Regresar */
.btn-regresar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: rgb(0, 0, 0) !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-regresar svg {
  transition: transform 0.3s ease;
}

.btn-regresar:hover svg {
  transform: translateX(-3px);
}

@media (min-width: 1440px) {
  .seccion {
    gap: 80px;
    padding: 200px 126px 220px;
  }

  .fila-miembros {
    gap: 120px;
  }
}


/*HEADER*/
.header {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
    height: 104px;
}

.logo {
    position: relative;
    z-index: 1001;
}

.logo svg {
    width: 150px;
    height: auto;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-desktop a {
    color: #000;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: #017aff;
}

.nav-dropdown {
    position: relative;
}

.nav-trigger {
    background: none;
    border: 0;
    color: #000;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.nav-trigger:hover {
    color: #017aff;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    display: none;
    padding: 10px 0;
    z-index: 1200;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #005596;
    font-weight: 500;
}

.nav-dropdown-menu a:hover {
    background: #f6f8ff;
    color: #003f73;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.search-btn-header {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-header:hover svg path {
    fill: #005596;
}

/*MENU HAMBURGUESA*/
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #005596;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 104px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.nav-mobile.active {
    transform: translateY(0);
}

.nav-mobile a {
    padding: 20px;
    font-size: 16px;
    color: black;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.nav-mobile a:hover {
    background: #f6f6f6;
    color: #017aff;
}

/* Dropdown dentro del menú mobile, mismo look que un link */
.nav-mobile .nav-dropdown {
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    padding-bottom: 0;
}

.nav-mobile .nav-trigger {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 16px;
    color: black;
    background: none;
    border: 0;
}

.nav-mobile .nav-trigger:hover {
    background: #f6f6f6;
    color: #017aff;
}

.nav-mobile .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 12px 20px;
    background: transparent;
}

.nav-mobile .nav-dropdown-menu a {
    padding: 12px 0;
    font-size: 15px;
    border: 0;
}

.nav-mobile .nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

/* Banner */
.banner {
    margin-top: 104px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}


/*CARDS*/
.cards-section {
    background: #f6f6f6;
    padding: 100px 70px 80px;
    margin-top: -155px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}


.card {
    width: 310px;
    height: 426px;
    background: white;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 196px;
    object-fit: cover;
}

.card-content {
    padding: 30px 26px;
}

.card-content h3 {
    color: #005596;
    font-size: 24px;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.card-content h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: #017aff;
    position: absolute;
    bottom: 0;
    left: 0;
}

.card-content p {
    color: #50525a;
    font-size: 20px;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-conoce-mas {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #017aff;
    font-size: 20px;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 700;
    transition: gap 0.3s;
}

.btn-conoce-mas:hover {
    gap: 12px;
}

.btn-conoce-mas svg {
    flex-shrink: 0;
}

.cards-description {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cards-description p {
    flex: 1;
    font-size: 20px;
    font-family: 'AntennaCond';
    font-style: normal;
    font-weight: 400;
}

/*MISION*/
.mission-statement {
    padding: 80px 120px;
    text-align: center;
}

.mission-text {
    font-size: 24px;
    max-width: 979px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

.mission-text strong {
    color: #50525a;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 700;
}

.divider {
    width: 109px;
    height: 3px;
    background: #005596;
    margin: 0 auto;
}

.divider.white {
    background: white;
}


/* Why Us Section */
.why-us-section {
    padding: 80px 70px;
}

.content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.content-wrapper.reverse {
    direction: rtl;
}

.content-wrapper.reverse>* {
    direction: ltr;
}

.text-content h2 {
    font-family: 'Antenna';
    font-size: 34px;
    color: #005596;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 27px;
    line-height: normal;
}

.text-content p {
    color: #5a5450;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tabs {
    margin-bottom: 28px;
}

.tabs-nav {
    display: flex;
    gap: 23px;
    margin-bottom: 15px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: #939394;
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #017aff;
}

.tab-indicator {
    position: relative;
    height: 11px;
}

.indicator-line {
    width: 100%;
    height: 1px;
    background: #dee2e6;
    position: absolute;
    top: 5px;
}

.indicator-circle {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #017aff;
    position: absolute;
    left: 84.5px;
    transition: left 0.3s;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    color: #50525a;
    font-family: 'Antenna';
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    text-align: justify;
    margin-bottom: 15px;
}

.text-content .btn-conoce-mas {
    margin-top: 20px;
}

.images-content {
    display: flex;
    gap: 20px;
}

.images-content img {
    width: 310px;
    height: 504px;
    object-fit: cover;
}

/* Commitment Section */
.commitment-section {
    background: #005596;
    padding: 80px 70px 200px;
    position: relative;
    overflow: visible;
    width: 100%;
    height: 557px;
}

/* TEXTO */
.commitment-content {
    text-align: center;
    color: #fff;
    margin-bottom: 200px;
}

.commitment-subtitle {
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 10px;
}

.commitment-content h2 {
    font-family: 'Antenna';
    ;
    font-style: normal;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* IMAGEN/VIDEO */
.commitment-image {
    position: absolute;
    left: 50%;
    bottom: -220px;
    transform: translateX(-50%);
    max-width: 955px;
    width: 90%;
    z-index: 10;
}

.commitment-image img,
.commitment-image video {
    width: 100%;
    height: 472px;
    display: block;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}



/* Certifications Section */
.certifications-section {
    padding: 80px 70px;
    margin-top: 300px;
}

.certifications-section .images-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials-section {
    background: #f6f6f6;
    padding: 89px 70px;
}

.testimonial-card {
    border-radius: 8px;
}

.testimonial-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

.testimonial-header img {
    width: 109px;
    height: 109px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 20px;
    color: #017aff;
    margin-bottom: 16px;
}

.stars {
    display: flex;
    gap: 3px;
}

.testimonial-card p {
    color: #50525a;
    font-family: 'AntennaCond';
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.6;
}

/* Locations Section */
.locations-section {
    padding: 80px 0 0;
    text-align: center;
}

.locations-section h2 {
    font-family: 'Antenna';
    font-style: normal;
    font-size: 34px;
    color: #005596;
    font-weight: 700;
    margin-bottom: 50px;
    padding: 0 70px;
}

.locations-section>p {
    color: #50525a;
    font-family: 'Antenna';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    max-width: 1120px;
    margin: 0 auto 50px;
    padding: 0 70px;
}

.map-container {
    max-width: 100%;
    margin: 0;
    position: relative;
    width: 100%;
}

.map-container img,
.map-container iframe {
    width: 100%;
    min-height: 600px;
    display: block;
    border: 0;
}


/* Footer */
.footer {
    background: #005596;
    color: white;
    padding: 80px 70px 40px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.8fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 16px;
}

.footer-column p {
    font-size: 20px;
    line-height: 1.4;
}

.footer-column.contact h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-column.contact p {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-icons {
    display: flex;
    gap: 29px;
}

.social-icons a {
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.divider-footer {
    width: 100%;
    height: 1px;
    background: white;
}

.footer-column a {
    font-size: 16px;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 0.8;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: white;
    max-width: 1300px;
    margin: 0 auto 22px;
}

.footer-info {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.info-item svg {
    flex-shrink: 0;
}

/* Copyright */
.copyright {
    background: #017aff;
    padding: 20px;
    text-align: center;
}

.copyright p {
    color: white;
    font-size: 16px;
}

/* Responsive*/

/* Tablet */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 40px;
    }

    .logo svg {
        width: 120px;
    }

    .nav-desktop {
        gap: 20px;
    }

    .nav-desktop a {
        font-size: 12px;
    }

    .banner {
        margin-top: 104px;
    }

    .banner img {
        width: 100%;
        height: auto;
    }

    .banner-overlay h1 {
        font-size: 48px;
    }

    .cards-section {
        padding: 60px 40px;
        margin-top: -100px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .card {
        width: 100%;
        height: auto;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .images-content {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
        height: 90px;
    }

    .logo svg {
        width: 100px;
    }

    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-mobile {
        display: flex;
        top: 90px;
    }

    .nav-mobile.active {
        display: flex;
    }

    .banner {
        margin-top: 90px;
    }

    .banner img {
        width: 100%;
        height: auto;
    }

    .cards-section {
        padding: 40px 20px;
        margin-top: -80px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        max-width: 100%;
        justify-items: center;
    }

    .card {
        width: 100%;
        height: auto;
        min-height: auto;
        max-width: 85%;
    }


    .card img {
        height: 200px;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .card-content p {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .cards-description {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cards-description p {
        font-size: 18px;
    }

    .btn-conoce-mas {
        font-size: 18px;
        justify-content: center;
    }

    .mission-statement {
        padding: 60px 20px;
    }

    .mission-text {
        font-size: 20px;
    }

    .why-us-section {
        padding: 60px 20px;
    }

    .content-wrapper {
        gap: 40px;
    }

    .text-content h2 {
        font-size: 28px;
    }

    .text-content p {
        font-size: 18px;
    }

    .tabs-nav {
        gap: 15px;
    }

    .tab-btn {
        font-size: 12px;
    }

    .tab-content p {
        font-size: 18px;
    }

    .images-content {
        flex-direction: column;
        align-items: center;
    }

    .images-content img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .commitment-section {
        padding: 60px 20px 150px;
        height: auto;
    }

    .commitment-content {
        margin-bottom: 40px;
    }

    .commitment-subtitle {
        font-size: 20px;
    }

    .commitment-content h2 {
        font-size: 28px;
    }

    .commitment-image {
        position: absolute;
        left: 50%;
        bottom: -180px;
        transform: translateX(-50%);
        max-width: 90%;
        width: 90%;
    }

    .commitment-image img,
    .commitment-image video {
        height: 300px;
        object-fit: cover;
    }

    .certifications-section {
        padding: 60px 20px;
        margin-top: 250px;
    }

    .testimonials-section {
        padding: 60px 20px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .testimonial-info h4 {
        font-size: 18px;
    }

    .stars {
        justify-content: center;
    }

    .testimonial-card p {
        font-size: 17px;
        text-align: justify;
    }

    .locations-section {
        padding: 60px 0 0;
    }

    .locations-section h2 {
        font-size: 28px;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .locations-section>p {
        font-size: 18px;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .map-container iframe {
        min-height: 400px;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-column p {
        font-size: 18px;
    }

    .footer-column.contact h4 {
        font-size: 18px;
    }

    .footer-column.contact p {
        font-size: 16px;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

    .info-item {
        font-size: 14px;
    }

    .copyright p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .banner {
        margin-top: 90px;
    }

    .banner img {
        width: 100%;
        height: auto;
    }

    .banner-overlay h1 {
        font-size: 28px;
    }

       .cards-section {    
        margin-top: -70px;
    }
    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 18px;
    }

    .btn-conoce-mas {
        font-size: 18px;
    }

    .mission-text {
        font-size: 18px;
    }

    .text-content h2 {
        font-size: 24px;
    }

    .tab-content p {
        font-size: 16px;
    }

     .commitment-section {
        padding: 60px 20px 100px;
        height: auto;
    }

    .commitment-subtitle {
        font-size: 18px;
    }

    .commitment-content h2 {
        font-size: 24px;
    }

    .commitment-image {
        margin-top: 30px;
    }

    .commitment-image img,
    .commitment-image video {
        max-height: 250px;
    }

    .locations-section h2 {
        font-size: 24px;
    }

    .locations-section>p {
        font-size: 16px;
    }
}