/* =========================
   FUENTES BARLOW
========================= */

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/Barlow-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/Barlow-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('assets/fonts/Barlow-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


/* =========================
RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 74%;
    max-width: 1600px;
    margin: auto;
}

/* =========================
HEADER START
========================= */
.header {
    background: #0d3259;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 46px;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    object-position: left center;
}

.btn-contacto {
    text-decoration: none;
    color: #4cbed8;
    font-weight: bold;
    border-bottom: 3px solid #4cbed8;
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-contacto:hover {
    color: #fff;
    border-color: #fff;
}

/* =========================
HEADER END
========================= */

/* nowrap helper */
.nowrap {
    white-space: nowrap;
}


/* =========================
HERO OSINFORLAB START
========================= */

.hero-osinforlab {
    position: relative;
    background: url('../img/fondo_1.png') center/cover no-repeat;
    padding: 140px 0;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    z-index: 2;
}

/* IZQUIERDA */

.hero-left {
    width: 50%;
    min-width: 0;
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.05;
}

.hero-title-start {
    font-size: 68px;
}

.hero-title-middle {
    font-size: 73px;
    color: #7CFF6B;
}

.hero-title-end {
    font-size: 76px;
}

.hero-title-start,
.hero-title-middle,
.hero-title-end {
    text-shadow: 4px 4px 7px rgba(0, 0, 0, 0.45);
}

/* DERECHA */

.hero-right {
    flex: 1;
    width: 50%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Marca superior */

.hero-brand {
    margin-bottom: 25px;
}

.hero-brand-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
}

/* Texto principal */

.hero-description {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

/* Texto inferior pequeño */

.hero-note {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.5;
}

/* =========================
HERO OSINFORLAB END
========================= */


/* =========================
SECCIÓN 2 - RESULTADO START
========================= */

.resultado-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.resultado-grid {
    display: grid;
    grid-template-columns: 65% 10% 30%;
    align-items: center;
    gap: 0;
}

/* Grupo horizontal */
.icon-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Cada tarjeta */
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0 5px;
}

/* Contenedor fijo para el icono */
.icon-card img {
    width: 60px;
    height: 60px;
    max-width: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Texto alineado perfectamente */
.icon-card h3 {
    font-size: 28px;
    color: #74b73f;
    font-weight: bold;
    margin: 0;
}

/* Icono plus */
.plus {
    margin-top: -30px;
}

.plus img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    object-fit: contain;
}

/* Igual */
.igual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.igual img {
    width: 100%;
    max-width: 44px;
    height: auto;
    margin-top: -25px;
}

/* Texto resultado centrado vertical y horizontal */
.icon-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.icon-text h2 {
    color: #74b73f;
    font-size: 27px;
    font-weight: bold;
    max-width: 90%;
    line-height: 1.2;
}

/* =========================
SECCIÓN 2 - RESULTADO END
========================= */


/* =========================
SECCIÓN 3 - OBJETIVOS START
========================= */

.objetivos-section {
    padding: 100px 0;
    text-align: center;
    background: url('../img/fondo_2.png') center/cover no-repeat;
}

.objetivos-section .container {
    width: 90%;
}

.titulo-objetivos {
    font-size: 42px;
    margin-bottom: 40px;
    color: white;
}

.objetivos-box {
    background: rgba(16, 60, 114, 0.75);
    border-radius: 20px;
    padding: 60px 0px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    color: white;
    width: 80%;
    margin: 0 auto;
}

/* Cada columna */
.objetivo {
    padding: 20px 25px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 0;
}

/* Quitar línea del último */
.objetivo:last-child {
    border-right: none;
}

.objetivo img {
    width: 90px;
    margin-bottom: 20px;
}

.objetivo h3 {
    color: #74b73f;
    margin-bottom: 15px;
    font-size: 33px;
}

.objetivo p {
    font-size: 20px;
    opacity: 0.9;
}

/* CONTENEDOR GENERAL */
.experiencias-section {
    margin-top: 120px;
    text-align: center;
}

/* VIDEO RESPONSIVO 16:9 */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Título experiencias */
.titulo-exp {
    position: relative;
    display: inline-block;
    font-size: 42px;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    padding-bottom: 14px;
}

.titulo-exp::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a8c1c, #74b73f);
    border-radius: 2px;
}

/* =========================
SECCIÓN 3 - OBJETIVOS END
========================= */


/* =========================
SECCIÓN 4 - DATOS CLAVE START
========================= */
.datos-clave {
    background: url('../img/fondo_3.png') top center / cover no-repeat;
    padding: 120px 20px;
    padding-top: 50px;
    color: white;
    text-align: center;
}

/* TÍTULO */
.datos-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    gap: 20px;
    margin-bottom: 40px;
}

.datos-titulo img {
    width: 60px;
    height: auto;
}

/* LISTA */
.datos-lista {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.datos-lista li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    font-size: 22px;
    margin-bottom: 35px;
}

.datos-lista li img {
    width: 28px;
    margin-top: 3px;
}

/* DATOS LISTA — LINKS (desactivados temporalmente) */
.datos-lista a {
    color: #fff;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

/* CTA TRANSPARENTE */
.cta-box {
    background: rgba(12, 47, 90, 0.85);
    padding: 40px;
    border-radius: 20px;
    max-width: 70%;
    margin: 200px auto auto auto;
}

.cta-box h3 {
    margin-bottom: 20px;
    font-size: 26px;
}

.cta-box div {
    margin-bottom: 20px;
    font-size: 18px;
}

.cta-email {
    color: #4cbed8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.cta-email:hover {
    color: #7CFF6B;
}

/* =========================
SECCIÓN 4 - DATOS CLAVE END
========================= */


/* =========================
SCROLL REVEAL ANIMATIONS
========================= */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger para grillas de cards */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.reveal-stagger.visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }

/* =====================================================
8. RESPONSIVE
===================================================== */

/* Desktop grande — colapsa resultado antes de que se rompa */
@media (max-width: 1500px) {

    .resultado-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .icon-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        justify-items: center;
    }

    .plus {
        display: none;
    }

    .icon-card {
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }

    .icon-card h3 {
        font-size: 20px;
    }

    .icon-text h2 {
        font-size: 22px;
        text-align: center;
    }
}

/* Desktop medio — reduce fuentes en objetivos para que quepan los 5 */
@media (max-width: 1400px) {

    .objetivo h3 {
        font-size: 24px;
    }

    .objetivo p {
        font-size: 16px;
    }

    .objetivo img {
        width: 70px;
    }
}

/* Tablet landscape */
@media (max-width: 1200px) {

    .hero-container {
        flex-direction: column;
        gap: 40px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .resultado-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .icon-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        justify-items: center;
    }

    .plus {
        display: none;
    }

    .icon-card {
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }

    .icon-card h3 {
        font-size: 20px;
    }

    .icon-text h2 {
        font-size: 22px;
        text-align: center;
    }

    .objetivos-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet portrait */
@media (max-width: 1024px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
        flex-wrap: wrap;
    }

    .video-container {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Contenedor más ancho en móvil */
    .container {
        width: 92%;
    }

    /* ── HEADER ── */
    .header {
        padding: 12px 0;
    }

    .logo {
        height: 30px;
        max-width: 58%;
    }

    .btn-contacto {
        font-size: 13px;
        white-space: nowrap;
        border-bottom-width: 2px;
        padding-bottom: 3px;
        flex-shrink: 0;
    }

    /* ── HERO ── */
    .hero-osinforlab {
        padding: 70px 0 60px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-title-start {
        font-size: 34px;
    }

    .hero-title-middle {
        font-size: 38px;
    }

    .hero-title-end {
        font-size: 40px;
    }

    .hero-brand-logo {
        width: 170px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-note {
        font-size: 13px;
    }

    /* ── RESULTADO ── */
    .resultado-section {
        padding: 60px 0;
    }

    .icon-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .icon-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .icon-card h3 {
        font-size: 16px;
    }

    .igual img {
        max-width: 36px;
    }

    .icon-text h2 {
        font-size: 17px;
    }

    /* ── OBJETIVOS ── */
    .objetivos-section {
        padding: 60px 0;
    }

    .titulo-objetivos {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .objetivos-box {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 30px 0;
    }

    .objetivo {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 24px 30px;
    }

    .objetivo:last-child {
        border-bottom: none;
    }

    .objetivo img {
        width: 60px;
        margin-bottom: 12px;
    }

    .objetivo h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .objetivo p {
        font-size: 15px;
    }

    /* ── EXPERIENCIAS ── */
    .experiencias-section {
        margin-top: 60px;
    }

    .titulo-exp {
        font-size: 32px;
    }

    /* ── DATOS CLAVE ── */
    .datos-clave {
        padding: 70px 0;
    }

    .datos-titulo {
        font-size: 26px;
        gap: 12px;
    }

    .datos-titulo img {
        width: 40px;
    }

    .datos-lista {
        max-width: 100%;
    }

    .datos-lista li {
        font-size: 15px;
        gap: 14px;
        margin-bottom: 22px;
    }

    .cta-box {
        max-width: 100%;
        margin-top: 50px;
        padding: 30px 24px;
    }

    .cta-box h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .cta-box div {
        font-size: 15px;
    }

    /* ── FOOTER ── */
    .site-footer {
        padding-top: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto !important;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-contact h4,
    .footer-social h4 {
        font-size: 14px;
    }

    .footer-contact address p {
        font-size: 14px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

/* Teléfonos pequeños */
@media (max-width: 420px) {

    .hero-title-start {
        font-size: 28px;
    }

    .hero-title-middle {
        font-size: 32px;
    }

    .hero-title-end {
        font-size: 34px;
    }

    .hero-brand-logo {
        width: 150px;
    }

    .datos-titulo {
        font-size: 22px;
        flex-direction: column;
        gap: 8px;
    }
}


/* =========================
FOOTER START
========================= */

.site-footer {
    background: #071f3a;
    color: rgba(255, 255, 255, 0.85);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Col 1 — Marca */
.footer-brand .footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.75;
}

.footer-sigosfc {
    display: inline-block;
    color: #4cbed8;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid #4cbed8;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.footer-sigosfc:hover {
    opacity: 0.75;
}

/* Col 2 — Contacto */
.footer-contact h4,
.footer-social h4 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4cbed8;
    display: inline-block;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contact address p svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: #4cbed8;
}

.footer-contact address a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact address a:hover {
    color: #4cbed8;
}

/* Col 3 — Redes */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-icon:hover {
    background: #4cbed8;
    color: #fff;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer bottom bar */
.footer-bottom {
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #4cbed8;
}

/* =========================
FOOTER END
========================= */


