/* ============================================
   Marco Estratégico — H2O Colombia SAS
   Numbered pillars · Dark stats band · Split hero
   ============================================ */

/* ---------- Navbar ---------- */
.custom-navbar.scrolled {
    background: rgba(13, 59, 102, 0.95);
}

/* ============================================
   HERO — centrado, texto directo sobre imagen
   ============================================ */
.page-hero {
    position: relative;
    height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(5, 31, 53, 0.75) 0%,
        rgba(0, 100, 180, 0.55) 50%,
        rgba(27, 182, 201, 0.35) 100%);
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 30px;
    background: #ffffff;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 2;
}

.page-hero .hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 700px;
    padding: 0 24px;
}

.page-hero .hero-eyebrow {
    display: inline-block;
    background: rgba(27,182,201,0.3);
    border: 1px solid rgba(27,182,201,0.6);
    color: #7de8f5;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.page-hero .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* ---------- Page Content ---------- */
.page-content {
    padding: 80px 0 100px;
    background: #ffffff;
    position: relative;
}

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0d3b66;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #1BB6C9, #0077b6);
}

/* ============================================
   PILARES — numbered decorative cards
   ============================================ */
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 110px;
}

.pilar-num-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid #deeef8;
    box-shadow: 0 4px 20px rgba(0, 100, 180, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pilar-num-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(0, 100, 180, 0.18);
    border-color: rgba(27, 182, 201, 0.4);
}

/* Large decorative number background */
.pilar-num-card::before {
    content: attr(data-num);
    position: absolute;
    top: -20px;
    right: 16px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(27, 182, 201, 0.07);
    line-height: 1;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
}

/* Top accent bar */
.pilar-num-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1BB6C9, #0077b6);
    border-radius: 20px 20px 0 0;
}

.pilar-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1BB6C9;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.pilar-num-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
}

.pilar-num-card p {
    color: #3a6a88;
    line-height: 1.7;
    font-size: 0.97rem;
    margin: 0;
}

/* ============================================
   VALORES — 2×2 horizontal cards
   ============================================ */
.valores-section {
    background: linear-gradient(160deg, #f0f8ff 0%, #e8f5fb 50%, #f7fbfe 100%);
    border-radius: 28px;
    padding: 72px 56px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

/* Decorative circle top-right */
.valores-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 28px solid rgba(0, 168, 232, 0.08);
    pointer-events: none;
}

.valores-section .section-header {
    position: relative;
    z-index: 1;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.valor-card {
    background: white;
    border-radius: 16px;
    padding: 28px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #deeef8;
    box-shadow: 0 4px 16px rgba(0, 120, 200, 0.07);
    transition: all 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 120, 200, 0.16);
    border-color: rgba(27, 182, 201, 0.35);
}

.valor-emoji {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.valor-card:hover .valor-emoji {
    transform: scale(1.22) rotate(-8deg);
}

.valor-text h4 {
    color: #0d3b66;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.valor-text p {
    color: #3a6a88;
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   IMAGEN + TEXTO
   ============================================ */
.image-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    background: #f7fbfe;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid #deeef8;
    position: relative;
    overflow: hidden;
}

.image-text-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.image-text-section img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
}

.image-text-content h3 {
    color: #0d3b66;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.image-text-content p {
    color: #3a6a88;
    margin-bottom: 16px;
}

.image-text-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.image-text-content li {
    color: #2b5a78;
    padding: 10px 0 10px 32px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 168, 232, 0.1);
}

.image-text-content li:last-child {
    border-bottom: none;
}

.image-text-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1BB6C9;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   STATS BAND — full-width dark navy
   ============================================ */
.stats-band {
    background: linear-gradient(135deg, #0d3b66, #051f35);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* White ellipse cutout at the top */
.stats-band::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: #ffffff;
    clip-path: ellipse(55% 100% at 50% 0%);
}

/* Large decorative circle bottom-right */
.stats-band::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 40px solid rgba(27, 182, 201, 0.07);
    pointer-events: none;
}

.stats-band-inner {
    position: relative;
    z-index: 1;
}

.stats-band-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-band-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.stats-band-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

/* Vertical dividers between stat items */
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(27, 182, 201, 0.25);
}

.stat-item h4 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1BB6C9;
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: -1px;
    font-family: 'Poppins', sans-serif;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0d3b66 0%, #051f35 100%);
    color: white;
    padding: 60px 0 30px;
    border-top: 4px solid #1BB6C9;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #1BB6C9;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.footer-section a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #1BB6C9;
    padding-left: 4px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(27, 182, 201, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(27, 182, 201, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1BB6C9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #1BB6C9;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── Tablet grande (≤992px) ── */
@media (max-width: 992px) {
    .page-hero { height: 420px; }
    .page-hero .hero-title { font-size: 2.8rem; }

    .pilares-grid {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }

    .valores-section {
        padding: 48px 24px;
        margin-bottom: 60px;
    }
    .valores-grid { grid-template-columns: 1fr; }

    .image-text-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 36px 24px;
        margin-bottom: 60px;
    }

    .page-content { padding: 50px 0 40px; }

    /* Stats */
    .stats-band { padding: 60px 0 70px; }
    .stats-band::before { height: 60px; }
    .stats-band-header { margin-bottom: 40px; }
    .stats-band-header h2 { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 32px 20px; }
    .stat-item h4 { font-size: 3rem; }
    .stat-item + .stat-item::before { display: none; }

    .footer-content { grid-template-columns: 1fr 1fr; }
}

/* ── Móvil (≤768px) ── */
@media (max-width: 768px) {
    .page-hero { height: 360px; }
    .page-hero .hero-title { font-size: 2.2rem; }

    .page-content { padding: 40px 0 30px; }
    .pilares-grid { margin-bottom: 40px; }
    .valores-section { margin-bottom: 40px; }
    .image-text-section { margin-bottom: 20px; }

    /* Pilares */
    .pilar-num-card { padding: 28px 20px; }
    .pilar-num-card h3 { font-size: 1.2rem; }
    .section-header h2 { font-size: 1.7rem; }

    /* Valores */
    .valor-card { padding: 22px 18px; gap: 14px; }
    .valor-emoji { font-size: 2rem; width: 44px; }
    .valor-text h4 { font-size: 1rem; }
    .valor-text p { font-size: 0.88rem; }

    /* Imagen + texto */
    .image-text-content h3 { font-size: 1.4rem; }
    .image-text-content li { font-size: 0.9rem; padding: 8px 0 8px 26px; }

    /* Stats */
    .stats-band { padding: 46px 0 56px; }
    .stats-band::before { height: 46px; }
    .stats-band-header { margin-bottom: 28px; }
    .stats-band-header h2 { font-size: 1.7rem; }
    .stats-band-header p { font-size: 0.95rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 24px 14px; }
    .stat-item h4 { font-size: 2.4rem; letter-spacing: 0; }
    .stat-item p { font-size: 0.88rem; }

    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Móvil pequeño (≤480px) ── */
@media (max-width: 480px) {
    .page-hero { height: 300px; }
    .page-hero .hero-title { font-size: 1.8rem; }
    .page-hero .hero-subtitle { font-size: 0.95rem; }
    .page-hero .hero-eyebrow { font-size: 0.7rem; padding: 4px 14px; }

    /* Pilares */
    .pilar-num-card { padding: 22px 16px; }
    .pilar-num-card h3 { font-size: 1.05rem; }
    .pilar-num-card p { font-size: 0.88rem; }
    .section-header h2 { font-size: 1.5rem; }

    /* Valores */
    .valores-section { padding: 32px 14px; }
    .valor-card { padding: 16px 14px; gap: 12px; }
    .valor-emoji { font-size: 1.7rem; width: 38px; }
    .valor-text h4 { font-size: 0.93rem; }
    .valor-text p { font-size: 0.83rem; }

    /* Imagen + texto */
    .image-text-section { padding: 24px 14px; }
    .image-text-content h3 { font-size: 1.2rem; }
    .image-text-content li { font-size: 0.85rem; }

    /* Stats */
    .stats-band { padding: 36px 0 48px; }
    .stats-band::before { height: 38px; }
    .stats-band-header { margin-bottom: 22px; }
    .stats-band-header h2 { font-size: 1.4rem; }
    .stats-band-header p { font-size: 0.85rem; }
    .stat-item { padding: 18px 10px; }
    .stat-item h4 { font-size: 2rem; margin-bottom: 6px; }
    .stat-item p { font-size: 0.82rem; line-height: 1.4; }
}
