/* LOGO EN HEADER */

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}


/* Si quieres que se vea solo el logo en móviles muy chicos, deja este media igual
   o elimina el display:none de .brand-text si prefieres ver el texto también */

@media (max-width: 600px) {
    .brand-text {
        display: none;
    }
}


/* PLAN DE ACCIÓN */

.plan-banner {
    padding: 2.5rem 0 2rem;
}

.plan-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.plan-banner h2 {
    color: #ffffff;
    font-size: 2.1rem;
}

.plan-subtitle {
    margin-top: 0.6rem;
    color: #ffffff;
    font-weight: 600;
}

.plan-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}


/* Tarjetas de los pasos */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.plan-step {
    text-align: center;
    padding: 1.5rem 1rem 1.8rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(7, 22, 54, 0.12);
    font-size: 0.9rem;
}

.plan-pill {
    display: inline-block;
    background: #ffb326;
    color: #1e1e1e;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
    letter-spacing: 0.08em;
}


/* RESPONSIVE PLAN DE ACCIÓN */

@media (max-width: 960px) {
    .plan-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

:root {
    --primary-dark: #071636;
    --primary-mid: #0f285a;
    --primary-gradient-start: #19e0d3;
    --primary-gradient-end: #071636;
    --accent: #ffc347;
    --accent-cyan: #28e2de;
    --bg-light: #eef0f8;
    --text-main: #071636;
    --text-light: #f9fbff;
}


/* RESET BÁSICO */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}


/* CONTENEDOR GENÉRICO */

.container {
    width: min(1100px, 90vw);
    margin: 0 auto;
}


/* MARCAS DE AGUA */

.watermark {
    position: fixed;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    opacity: 0.18;
    filter: blur(1px);
    border-radius: 40px;
    z-index: -1;
}

.watermark-left {
    top: -40px;
    left: -60px;
    transform: rotate(-7deg);
}

.watermark-right {
    bottom: -40px;
    right: -60px;
    transform: rotate(9deg);
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 22, 54, 0.96);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #1dd9f2, #1a77ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-bottom {
    font-weight: 800;
    font-size: 0.9rem;
}


/* NAV */

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gradient-start), var(--accent));
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}


/* HAMBURGUESA */

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* SECCIONES GENERALES */

.section {
    padding: 4.5rem 0;
    position: relative;
}

.section-light {
    background: #f4f5fb;
}

.section-dark {
    background: var(--primary-dark);
    color: var(--text-light);
}

.gradient-bg {
    background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--text-light);
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
}

.section-dark h2,
.section-dark h3,
.gradient-bg h1,
.gradient-bg h2,
.gradient-bg h3 {
    color: var(--text-light);
}

.accent {
    color: var(--accent);
}

.center-title {
    text-align: center;
    margin-bottom: 2.5rem;
}


/* HERO INTRO */

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.hero-text p+p {
    margin-top: 0.8rem;
}

.hero-image {
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* BLOQUES GENERALES */

.block-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.block-text h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.block-text p+p {
    margin-top: 0.8rem;
}

.block-image img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(7, 22, 54, 0.22);
}


/* VALORES */

.values-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.values-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.value-photo {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.value-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-text h2 {
    margin-bottom: 1rem;
}

.values-text ul {
    list-style: disc;
    margin-left: 1.5rem;
}


/* MISIÓN / VISIÓN */

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.mv-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 14px 30px rgba(7, 22, 54, 0.12);
}

.mv-card h2 {
    margin-bottom: 1rem;
}


/* SERVICIOS */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.service-card {
    background: #f6f7ff;
    color: var(--text-main);
    border-radius: 20px;
    padding: 1.6rem 1.6rem 2rem;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    margin: 1rem 0 0.6rem;
    font-size: 0.95rem;
}

.service-card p {
    font-size: 0.87rem;
}

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid var(--primary-mid);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* FODA */

.foda-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.foda-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow: 0 10px 24px rgba(7, 22, 54, 0.12);
}

.foda-card-strong {
    background: var(--accent-cyan);
}


/* OBJETIVOS */

.objetivos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.objetivos-text h2 {
    margin-bottom: 1rem;
}

.objetivos-timeline {
    position: relative;
    padding-left: 1.6rem;
}

.objetivos-timeline::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.6);
}

.timeline-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.bullet {
    position: absolute;
    left: -0.4rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-mid);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}


/* PÚBLICO OBJETIVO */

.publico-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.publico-tipos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.publico-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.6rem 1.2rem;
    box-shadow: 0 14px 32px rgba(7, 22, 54, 0.12);
    text-align: center;
}

.publico-main {
    background: var(--accent-cyan);
    border-radius: 22px;
    padding: 1.8rem 1.8rem 2rem;
    text-align: center;
    color: var(--text-main);
}

.publico-main .big {
    font-size: 3rem;
    font-weight: 800;
}

.publico-main .subtitle {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.publico-icons {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.icon-person {
    width: 24px;
    height: 32px;
    border-radius: 6px;
    background: #f6ffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.icon-muted {
    opacity: 0.45;
}


/* OTROS SERVICIOS */

.otros-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    font-size: 0.95rem;
}

.otros-grid ul {
    list-style: disc;
    margin-left: 1.3rem;
}

.otros-grid li+li {
    margin-top: 0.7rem;
}


/* FOOTER CONTACTO */

.footer {
    padding-top: 3.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.footer-info h2 {
    margin-bottom: 1rem;
}

.footer-info p+p {
    margin-top: 0.6rem;
}

.footer-info a {
    color: var(--primary-mid);
}

.footer-map .map-iframe {
    width: 100%;
    min-height: 220px;
    border-radius: 22px;
    box-shadow: 0 16px 32px rgba(7, 22, 54, 0.25);
}

.footer-map .map-placeholder {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-radius: 22px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem;
    min-height: 180px;
    box-shadow: 0 16px 32px rgba(7, 22, 54, 0.25);
}

.footer-bottom {
    margin-top: 2rem;
    padding: 0.7rem 0;
    text-align: center;
    font-size: 0.8rem;
    background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--text-light);
}


/* ANIMACIONES REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.card-floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-grid,
    .block-grid,
    .values-grid,
    .mv-grid,
    .cards-grid,
    .foda-grid,
    .objetivos-grid,
    .publico-grid,
    .otros-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .header-inner {
        padding-inline: 0.2rem;
    }
    .main-nav {
        position: fixed;
        inset: 64px 0 auto;
        background: rgba(7, 22, 54, 0.98);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .main-nav.open {
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 1.4rem;
        gap: 0.7rem;
    }
    .nav-toggle {
        display: block;
    }
    body.nav-open {
        overflow: hidden;
    }
    .section {
        padding: 3.2rem 0;
    }
}

@media (max-width: 600px) {
    .brand-text {
        display: none;
        /* deja solo el ícono en pantallas muy pequeñas */
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .values-images {
        grid-template-columns: 1fr 1fr;
    }
    .publico-tipos {
        grid-template-columns: 1fr;
    }
}


/* ESTADO HAMBURGUESA ACTIVA */

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.values-text {
    text-align: center;
}

.values-text h2 {
    margin-bottom: 1.8rem;
}


/* Contenedor de la lista en dos columnas */

.values-text ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 2rem;
    /* espacio vertical y horizontal */
}


/* Estilo de cada tarjeta/valor */

.values-text ul li {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.9rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a48;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


/* Efecto hover */

.values-text ul li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}


/* Responsive: 1 columna en móviles */

@media (max-width: 600px) {
    .values-text ul {
        grid-template-columns: 1fr;
    }
}