/* ==========================================================================
   UN LAGO LIMPIO, UN FUTURO VIVO
   DISEÑO PROFESIONAL CLARO (LIGHT THEME)
   Colores Principales: Primario #3349B6 | Secundario #1C8C40
   ========================================================================== */

@font-face {
    font-family: 'Instrument Sans';
    src: url('/assets/fonts/instrument-sans-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Principal: Azul Rey / Royal Blue */
    --color-primary: #3349B6;
    --color-primary-hover: #263896;
    --color-primary-active: #1d2d78;
    --color-primary-light: #4d63d1;
    --color-primary-subtle: #eef2ff;
    --color-primary-border: #c7d2fe;

    /* Color Secundario: Verde Ecología / Emerald Green */
    --color-secondary: #1C8C40;
    --color-secondary-hover: #167234;
    --color-secondary-active: #105727;
    --color-secondary-light: #25a44e;
    --color-secondary-subtle: #f0fdf4;
    --color-secondary-border: #bbf7d0;

    /* Sistema de Superficies Claras (Light Theme) */
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-surface: #ffffff;
    --color-surface-hover: #f8fafc;
    --color-surface-card: #ffffff;

    /* Bordes y Divisiones */
    --color-border: #e2e8f0;
    --color-border-subtle: #f1f5f9;
    --color-border-glow: #c7d2fe;

    /* Jerarquía Tipográfica */
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-dim: #64748b;
    --color-white: #ffffff;

    /* Estados de Feedback */
    --color-danger: #dc2626;
    --color-danger-subtle: #fef2f2;
    --color-danger-border: #fecaca;
    --color-success: #1C8C40;
    --color-success-subtle: #f0fdf4;
    --color-success-border: #bbf7d0;

    /* Sombras Profesionales para Tema Claro */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 28px -4px rgba(51, 73, 182, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(51, 73, 182, 0.04);
    --shadow-card-hover: 0 18px 36px -4px rgba(51, 73, 182, 0.14), 0 8px 16px -4px rgba(28, 140, 64, 0.08);

    /* Radios y Transiciones */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Tipografía */
h1, h2, h3, h4 {
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-secondary);
    background: var(--color-secondary-subtle);
    border: 1px solid var(--color-secondary-border);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-pill);
}

.section-tag-blue {
    color: var(--color-primary);
    background: var(--color-primary-subtle);
    border: 1px solid var(--color-primary-border);
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 0.85rem; }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff !important;
    padding: 0.9rem 1.9rem;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(51, 73, 182, 0.28);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 73, 182, 0.38);
}

.btn-primary-sm {
    background: var(--color-primary);
    color: #ffffff !important;
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
}

.btn-primary-sm:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #ffffff !important;
    padding: 0.9rem 1.9rem;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(28, 140, 64, 0.28);
}

.btn-secondary:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 140, 64, 0.38);
}

.btn-hero-primary {
    background: var(--color-primary);
    color: #ffffff !important;
    padding: 1.05rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(51, 73, 182, 0.32);
}

.btn-hero-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(51, 73, 182, 0.42);
}

.btn-hero-secondary {
    background: #ffffff;
    color: var(--color-primary) !important;
    border: 1.5px solid var(--color-primary-border);
    padding: 1.05rem 1.9rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
    background: var(--color-primary-subtle);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline-sm {
    background: transparent;
    border: 1.5px solid var(--color-primary-border);
    color: var(--color-primary) !important;
    padding: 0.45rem 1rem;
    font-size: 0.86rem;
}

.btn-outline-sm:hover {
    background: var(--color-primary-subtle);
    border-color: var(--color-primary);
}

.btn-danger-sm {
    border-color: var(--color-danger-border);
    color: var(--color-danger) !important;
}

.btn-danger-sm:hover {
    background: var(--color-danger-subtle);
    border-color: var(--color-danger);
}

.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2.6rem; font-size: 1.1rem; }

/* ==========================================================================
   CABECERA Y NAVEGACIÓN
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.95rem 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sticky-header {
    position: sticky;
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    font-size: 1.4rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 1.12rem;
    color: var(--color-text);
    line-height: 1.15;
}

.brand-sub {
    font-size: 0.78rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a:not(.btn) {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) { display: none; }
}

/* ==========================================================================
   HERO SECTION (DISEÑO CLARO ELEGANTE)
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
    overflow: hidden;
    padding: 4.5rem 0 5.5rem;
    border-bottom: 1px solid var(--color-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #ffffff;
    border: 1px solid var(--color-primary-border);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(28, 140, 64, 0.2);
}

.hero-title {
    margin-bottom: 1.35rem;
    color: var(--color-text);
}

.hero-title-accent {
    color: var(--color-primary);
    display: block;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2.2rem;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-hashtag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-secondary);
    background: var(--color-secondary-subtle);
    border: 1px solid var(--color-secondary-border);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-md);
}

/* Tarjeta Visual de Hero */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.hero-visual-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.hero-floating-stat {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-around;
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.76rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================================================
   SECCIONES Y TARJETAS ECOLÓGICAS
   ========================================================================== */
.section {
    padding: 5.5rem 0;
}

.section-alt {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    margin-bottom: 3.5rem;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.eco-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.eco-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary-border);
    box-shadow: var(--shadow-card-hover);
}

.eco-card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.eco-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.eco-card:hover .eco-card-media img {
    transform: scale(1.04);
}

.eco-card-body {
    padding: 1.85rem;
}

.eco-card-body h3 {
    color: var(--color-text);
    font-size: 1.25rem;
}

.eco-card-body p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ==========================================================================
   ACTIVIDADES
   ========================================================================== */
.activity-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.activity-column {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.6rem;
    text-align: center;
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.activity-column:hover {
    border-color: var(--color-secondary-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.activity-icon-bubble {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--color-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.activity-column:nth-child(2) .activity-icon-bubble {
    background: var(--color-secondary-subtle);
}

.activity-column h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.activity-column p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Banner Destacado */
.showcase-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    align-items: center;
    box-shadow: var(--shadow-card);
}

@media (max-width: 860px) {
    .showcase-banner { grid-template-columns: 1fr; }
}

.showcase-img-wrap {
    height: 100%;
    min-height: 340px;
    background: var(--color-bg-alt);
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-content {
    padding: 3rem;
}

.badge-accent {
    display: inline-block;
    color: var(--color-secondary);
    background: var(--color-secondary-subtle);
    border: 1px solid var(--color-secondary-border);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.showcase-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
}

.showcase-content p {
    color: var(--color-text-muted);
    margin: 1rem 0 2rem;
    line-height: 1.65;
}

/* ==========================================================================
   FORMULARIO DE VOLUNTARIOS (CLARO Y PROFESIONAL)
   ========================================================================== */
.form-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3fb 50%, #f8fafc 100%);
    position: relative;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.form-container { max-width: 860px; }
.form-intro { margin-bottom: 2.5rem; }

.form-card-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: var(--shadow-card);
}

.form-row { margin-bottom: 1.5rem; }
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}

.form-group { display: flex; flex-direction: column; }
.form-group label, .group-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
    color: var(--color-text);
}

.req { color: var(--color-danger); }

.form-control {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    padding: 0.85rem 1.15rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(51, 73, 182, 0.15);
}

.form-control.is-invalid {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.field-hint {
    font-size: 0.82rem;
    color: var(--color-text-dim);
    margin-top: 0.4rem;
}

.field-error {
    font-size: 0.82rem;
    color: var(--color-danger);
    margin-top: 0.35rem;
    min-height: 1.2rem;
    font-weight: 600;
}

/* Checkbox Grid para Actividades */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.checkbox-pill:hover {
    border-color: var(--color-primary-border);
    background: var(--color-primary-subtle);
}

.checkbox-pill input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.pill-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
}

.checkbox-pill:has(input:checked) {
    background: var(--color-primary-subtle);
    border-color: var(--color-primary);
}

.checkbox-pill:has(input:checked) .pill-text {
    color: var(--color-primary);
    font-weight: 600;
}

/* Casillas Legales */
.legal-checks-box {
    margin: 1.75rem 0;
    padding: 1.35rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    accent-color: var(--color-secondary);
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.checkbox-caption {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.checkbox-caption a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.form-submit-row {
    text-align: center;
    margin-top: 2.2rem;
}

.submit-disclaimer {
    font-size: 0.84rem;
    color: var(--color-text-dim);
    margin-top: 0.9rem;
}

/* Feedback de Formulario */
.form-feedback {
    padding: 1rem 1.35rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-feedback.is-error {
    background: var(--color-danger-subtle);
    border: 1px solid var(--color-danger-border);
    color: #991b1b;
}

.form-feedback.is-success {
    background: var(--color-success-subtle);
    border: 1px solid var(--color-success-border);
    color: #14532d;
}

/* ==========================================================================
   COMUNIDAD Y REDES SOCIALES
   ========================================================================== */
.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
    max-width: 860px;
    margin: 3.5rem auto 0;
}

.social-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
}

.social-card.ig-card:hover {
    border-color: #f43f5e;
    box-shadow: 0 22px 40px -10px rgba(225, 48, 108, 0.22);
}

.social-card.tt-card:hover {
    border-color: #0f172a;
    box-shadow: 0 22px 40px -10px rgba(15, 23, 42, 0.25);
}

/* Accent Bars */
.social-card-accent-bar {
    height: 6px;
    width: 100%;
}
.ig-bar {
    background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.tt-bar {
    background: linear-gradient(90deg, #00f2fe, #000000 50%, #fe2c55);
}

.social-card-inner {
    padding: 2.25rem 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/* Header Row */
.social-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
}

.social-network-name {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

/* Live Badges */
.social-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ig-badge {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

.tt-badge {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.ig-badge .live-dot {
    background: #e11d48;
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.25);
    animation: livePulse 2s infinite;
}

.tt-badge .live-dot {
    background: #00f2fe;
    box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.4);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Avatars / High Impact Icons */
.social-brand-avatar {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.social-card:hover .social-brand-avatar {
    transform: scale(1.1) rotate(2deg);
}

.social-card.tt-card:hover .social-brand-avatar {
    transform: scale(1.1) rotate(-2deg);
}

.ig-avatar {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 14px 28px -6px rgba(214, 41, 118, 0.42), 0 6px 12px -3px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.tt-avatar {
    background: #09090b;
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.45), 0 0 22px -2px rgba(0, 242, 254, 0.32), 0 0 22px -2px rgba(254, 44, 85, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    position: relative;
}

.social-svg-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.tt-avatar .social-svg-icon {
    filter: drop-shadow(-2px -1px 0px rgba(0, 242, 254, 0.9)) drop-shadow(2px 1px 0px rgba(254, 44, 85, 0.9));
}

/* Handle Pill */
.social-identity {
    margin-bottom: 1rem;
}

.social-handle-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.98rem;
    font-weight: 700;
    transition: all 0.25s ease;
    text-decoration: none;
}

.ig-pill {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.ig-pill:hover {
    background: #fce7f3;
    color: #9d174d;
    transform: translateY(-2px);
}

.tt-pill {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.tt-pill:hover {
    background: #f1f5f9;
    color: #000000;
    transform: translateY(-2px);
}

.handle-at {
    color: #94a3b8;
    font-weight: 500;
}

.verified-svg {
    width: 16px;
    height: 16px;
    color: #0284c7;
    margin-left: 2px;
}

/* Description */
.social-description {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    flex-grow: 1;
}

/* Chips */
.social-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.social-chip {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    background: #f1f5f9;
    color: #334155;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.social-card:hover .social-chip {
    background: #e2e8f0;
}

/* Action Button */
.social-action-wrap {
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.ig-btn {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 20%, #dc2743 45%, #cc2366 70%, #bc1888 100%);
    color: #ffffff;
}

.ig-btn:hover {
    box-shadow: 0 8px 22px rgba(220, 39, 67, 0.45);
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.tt-btn {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #1e293b;
}

.tt-btn:hover {
    background: #000000;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.4), 0 0 15px rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
}

.social-btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.social-btn:hover .social-btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   PIE DE PÁGINA
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    padding: 4.5rem 0 2rem;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 0.85rem;
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    max-width: 380px;
    line-height: 1.6;
}

.hashtag-badge {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--color-secondary-subtle);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-sm);
}

.footer-col h4 {
    margin-bottom: 1.2rem;
    color: var(--color-text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.ai-notice {
    margin-top: 1.25rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-subtle);
    color: var(--color-text-dim);
    font-size: 0.88rem;
}

/* ==========================================================================
   PÁGINAS LEGALES (AVISO DE PRIVACIDAD)
   ========================================================================== */
.legal-page { background: var(--color-bg); }
.page-content { padding: 3.5rem 1.5rem 5rem; }

.prose-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.breadcrumb {
    font-size: 0.88rem;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

.page-title {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.subtitle-meta {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.prose-section { margin-bottom: 2.2rem; }
.prose-section h2 { font-size: 1.35rem; margin-bottom: 0.85rem; color: var(--color-text); }
.prose-section p { color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.7; }
.prose-section ul, .prose-section ol { margin: 0.85rem 0 1.25rem 1.5rem; color: var(--color-text-muted); }
.prose-section li { margin-bottom: 0.5rem; line-height: 1.6; }
.page-actions { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); text-align: center; }

/* ==========================================================================
   PÁGINA DE GRACIAS
   ========================================================================== */
.thanks-page {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.thanks-wrapper { max-width: 640px; width: 100%; }

.thanks-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.thanks-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--color-secondary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.thanks-title { margin-bottom: 1rem; color: var(--color-text); }
.thanks-message { color: var(--color-secondary); font-size: 1.15rem; font-weight: 600; margin-bottom: 2rem; }

.thanks-details {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.thanks-details h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--color-text); }
.steps-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.steps-list li { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.55; }

.social-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-subtle);
    transform: translateY(-2px);
}

.social-btn span { font-weight: 700; font-size: 1rem; color: var(--color-text); }
.social-btn small { color: var(--color-primary); font-size: 0.82rem; font-weight: 600; }

/* ==========================================================================
   PANEL ADMINISTRATIVO (CLARO)
   ========================================================================== */
.admin-login-body {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-login-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-card);
}

.admin-login-header { text-align: center; margin-bottom: 2rem; }
.admin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--color-primary-subtle);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.admin-login-header h2 { margin-bottom: 0.25rem; font-size: 1.6rem; color: var(--color-text); }
.admin-login-header p { color: var(--color-text-muted); font-size: 0.9rem; }
.admin-form .form-group { margin-bottom: 1.25rem; }
.admin-login-footer { text-align: center; margin-top: 1.75rem; font-size: 0.88rem; }

.admin-body { background: var(--color-bg); }
.admin-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 0.95rem 0;
    box-shadow: var(--shadow-xs);
}

.admin-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.admin-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--color-text); }
.admin-badge {
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    border: 1px solid var(--color-primary-border);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.admin-main { padding: 2.5rem 1.5rem 4rem; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.admin-subtitle { color: var(--color-text-muted); font-size: 1.05rem; }

.admin-filters-bar {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-xs);
}

.search-input-wrap { flex-grow: 1; min-width: 240px; }
.filter-select-wrap { min-width: 200px; }

.table-responsive {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.admin-table th {
    background: var(--color-bg);
    color: var(--color-text-dim);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tr:hover td { background: var(--color-bg); }
.whatsapp-link { color: var(--color-secondary); font-weight: 600; font-size: 0.88rem; }
.tags-container { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.interest-tag {
    background: var(--color-primary-subtle);
    border: 1px solid var(--color-primary-border);
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}

.badge-avail {
    background: var(--color-secondary-subtle);
    border: 1px solid var(--color-secondary-border);
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
}

.volunteer-note { font-size: 0.8rem; color: var(--color-text-dim); margin-top: 0.3rem; font-style: italic; }
.empty-state { padding: 3rem 1rem !important; color: var(--color-text-muted); }
.admin-pagination { margin-top: 1.5rem; display: flex; justify-content: center; }

/* Alertas */
.alert { padding: 0.95rem 1.35rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-size: 0.92rem; font-weight: 500; }
.alert-error { background: var(--color-danger-subtle); border: 1px solid var(--color-danger-border); color: #991b1b; }
.alert-success { background: var(--color-success-subtle); border: 1px solid var(--color-success-border); color: #14532d; }
.alert-info { background: var(--color-primary-subtle); border: 1px solid var(--color-primary-border); color: var(--color-primary); }

/* ==========================================================================
   ISOTIPO Y LOGO OFICIAL
   ========================================================================== */
.brand-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.brand-svg-symbol {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(51, 73, 182, 0.18));
    transition: transform var(--transition-smooth);
}

.brand-link:hover .brand-svg-symbol,
.admin-brand:hover .brand-svg-symbol {
    transform: rotate(-6deg) scale(1.08);
}
