/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    --verde-pastel: #A8E6CF;
    --azul-pastel: #A8D8EA;
    --blanco: #FFFFFF;
    --negro: #1a1a1a;
    --gris-claro: #f5f5f5;
    --gris-medio: #999999;
    --gris-oscuro: #333333;
    --font-principal: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-principal);
    color: var(--negro);
    background-color: var(--blanco);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   HEADER
   ============================================ */
.s2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
}

.s2-header-container {
    max-width: 100%;
    padding: 0 2rem 0 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.s2-header .logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.s2-header .back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blanco);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    margin-left: auto;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.s2-header .back-link:hover {
    color: var(--verde-pastel);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   HERO / BANNER DE PAGINA
   ============================================ */
.s2-hero {
    margin-top: 0;
    height: 55vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s2-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s2-hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(168, 230, 207, 0.3) 50%,
        rgba(26, 26, 26, 0.5) 100%
    );
}

.s2-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanco);
    padding: 0 2rem;
}

.s2-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.s2-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.s2-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.s2-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--negro);
    position: relative;
    padding-bottom: 0.8rem;
}

.s2-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--verde-pastel);
    border-radius: 2px;
}

.s2-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gris-oscuro);
    margin-bottom: 1.5rem;
}

/* ============================================
   GRID DE INFO
   ============================================ */
.s2-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.s2-info-card {
    background: var(--gris-claro);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    border-left: 4px solid var(--verde-pastel);
}

.s2-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.s2-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--negro);
}

.s2-info-card p {
    font-size: 0.95rem;
    color: var(--gris-oscuro);
    margin-bottom: 0;
}

/* ============================================
   BOTON CTA
   ============================================ */
.s2-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--verde-pastel);
    color: var(--negro);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    margin-top: 1rem;
}

.s2-cta:hover {
    background: var(--azul-pastel);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 230, 207, 0.4);
}

/* ============================================
   FOOTER SIMPLE
   ============================================ */
.s2-footer {
    background: var(--negro);
    color: var(--gris-medio);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

.s2-footer a {
    color: var(--verde-pastel);
    transition: var(--transition-fast);
}

.s2-footer a:hover {
    color: var(--azul-pastel);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .s2-hero-content h1 {
        font-size: 2.2rem;
    }

    .s2-info-grid {
        grid-template-columns: 1fr;
    }

    .s2-content {
        padding: 3rem 1.5rem;
    }
}
