/**
 * ==========================================================================
 * Ummidi CSS System
 * Author: Isidro Antonio Cuadrado Diaz
 * Description: Sistema centralizado de estilos con soporte para Modo Oscuro 
 *              y clases de utilidad nativas.
 * ==========================================================================
 */

/* ==========================================================================
   1. Tipografía
   ========================================================================== */

/* Inter — una sola fuente, todos los pesos */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ==========================================================================
   2. Configuración global
   ========================================================================== */

:root {
    /* Paleta de colores - Modo claro (por defecto) */
    --bg-base: #f8f9f7;
    --bg-surface: #ffffff;

    --text-main: #0a1c14;
    --text-muted: #4a5e53;
    --text-faint: #899c91;

    --primary: #015635;
    --primary-hover: #00623b;

    --secondary: #d9b966;

    --success: #3bcf36;
    --danger: #f71354;
    --warning: #f28701;
    --info: #01b2c1;

    --border-color: #cccccc;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Escala tipográfica */
    --font-size-h1: 2.027rem;
    /* 32.44px */
    --font-size-h2: 1.802rem;
    /* 28.83px */
    --font-size-h3: 1.602rem;
    /* 25.63px */
    --font-size-h4: 1.424rem;
    /* 22.78px */
    --font-size-h5: 1.266rem;
    /* 20.25px */
    --font-size-h6: 1.125rem;
    /* 18px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-sm: 0.889rem;
    /* 14.22px */
    --font-size-xs: 0.79rem;
    /* 12.64px */
    --font-size-title: 2.280rem;
    /* 36.48px - Escala siguiente hacia arriba de h1 */
    --font-size-subtitle: 1.125rem;
    /* 18px */
    --font-size-paragraph: 1rem;
    /* 16px */
}

/* Escala tipográfica responsive (Móvil) */
@media (max-width: 768px) {
    :root {
        /* Escala tipográfica ajustada para móvil */
        --font-size-h1: 1.476rem;
        /* 23.61px */
        --font-size-h2: 1.383rem;
        /* 22.13px */
        --font-size-h3: 1.296rem;
        /* 20.74px */
        --font-size-h4: 1.215rem;
        /* 19.44px */
        --font-size-h5: 1.138rem;
        /* 18.22px */
        --font-size-h6: 1.067rem;
        /* 17.07px */
        --font-size-base: 1rem;
        /* 16px */
        --font-size-sm: 0.937rem;
        /* 14.99px */
        --font-size-xs: 0.79rem;
        /* 12.64px */
        --font-size-title: 1.661rem;
        /* 26.58px - Escala siguiente hacia arriba de h1 mobile */
        --font-size-subtitle: 1.125rem;
        /* 18px */
        --font-size-paragraph: 1rem;
        /* 16px */
    }
}

/* ==========================================================================
   3. Reseteo del CSS
   ========================================================================== */

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

html,
body {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-base);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

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

/* ==========================================================================
   4. Clases utilitarias
   ========================================================================== */

/* Layout base */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Márgenes */
.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Relleno */
.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

/* Secciones */
.section {
    padding: 6rem 1rem;
}

.section-light {
    background-color: var(--bg-surface);
}

.section-dark {
    background-color: var(--bg-base);
    color: var(--text-muted);
}

/* ==========================================================================
   5. Componentes globales
   ========================================================================== */

/* Botones */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 86, 53, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    min-width: 10rem;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-primary:disabled {
    background-color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
    background-color: #c9a856;
}

.btn-secondary:disabled {
    background-color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.625rem 1.375rem;
}

.btn-outline:hover {
    background-color: rgba(1, 86, 53, 0.05);
    border-color: var(--primary-hover);
}

.btn-outline:disabled {
    color: var(--text-faint);
    border-color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-medium {
    background-color: var(--primary);
    color: #ffffff;
    min-width: 7.5rem;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.btn-medium:hover {
    background-color: var(--primary-hover);
}

.btn-medium:disabled {
    background-color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-small {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.btn-small:hover {
    background-color: var(--primary-hover);
}

.btn-small:disabled {
    background-color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
    }

    .btn-secondary {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
    }

    .btn-medium {
        font-size: 0.8125rem;
        padding: 0.375rem 0.875rem;
    }

    .btn-small {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
    }
}

/* FORMULARIOS */
/* Contenedor principal del grupo de formulario */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Etiqueta de formulario */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.375rem;
}

/* Contenedor de input con icono */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

/* Icono dentro del input */
.input-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--text-faint);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Input genérico base */
.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: var(--bg-surface);
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 86, 53, 0.1);
}

.form-control::placeholder {
    color: var(--text-faint);
}

/* Input con icono a la izquierda */
.form-control-with-icon {
    padding-left: 2.5rem;
}

/* Estados de validación */
.form-control-success {
    border-color: var(--success);
}

.form-control-success:focus {
    box-shadow: 0 0 0 3px rgba(59, 207, 54, 0.1);
}

.form-control-error {
    border-color: var(--danger);
}

.form-control-error:focus {
    box-shadow: 0 0 0 3px rgba(247, 19, 84, 0.1);
}

/* Input deshabilitado */
.form-control:disabled {
    background-color: var(--bg-base);
    color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Textarea */
.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Select */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Contenedor de error */
.form-error {
    color: var(--danger);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Contenedor de texto de ayuda */
.form-help {
    color: var(--text-faint);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Checkbox y Radio */
.form-checkbox,
.form-radio {
    cursor: pointer;
    accent-color: var(--primary);
}

/* Grupo de checkbox con label */
.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-checkbox-group input {
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox-group label {
    font-size: 0.875rem;
    color: var(--text-main);
    cursor: pointer;
    margin: 0;
}

/* Mensaje de error global */
.form-error-message {
    margin-bottom: 1.25rem;
    color: var(--danger);
    background-color: rgba(247, 19, 84, 0.05);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid rgba(247, 19, 84, 0.2);
}

/* Grupo de acciones del formulario (checkbox + link) */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.form-actions .form-checkbox-group {
    margin-bottom: 0;
}

/* CARDS - Componente reutilizable */
.card {
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem 1rem;
    text-align: center;
}

.card-header h1 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.card-header p {
    color: var(--text-muted);
    font-size: var(--font-size-paragraph);
}

.card-body {
    padding: 1.5rem 2rem;
}

.card-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Responsive padding para cards */
@media (max-width: 768px) {
    .card-header {
        padding: 1rem 1.5rem 0.75rem;
    }

    .card-body {
        padding: 1rem 1.5rem;
    }

    .card-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Main Header Styles (Public) */
header {
    width: 100%;
    height: 64px;
    flex-shrink: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    background-color: var(--bg-surface);
    position: sticky;
    top: 0;
    z-index: 2000;
    /* Elevado para superar al mapa */
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.424rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
}

/* Menú Hamburguesa Móvil */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

/* Desplegable tipo Elementor */
.mobile-dropdown {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
    z-index: 99;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mobile-dropdown.open {
    display: block;
    animation: menuSlideDown 0.3s ease-out;
}

@keyframes menuSlideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* User Dropdown */
.user-menu {
    position: relative;
    display: flex;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 200px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    z-index: 101;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #1a1a1a;
}

.dropdown-item svg {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Main Footer Styles */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: none;
}

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

.footer-logo {
    font-size: 1.424rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.footer-description {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-nav-col h4 {
    color: #ffffff;
    font-size: var(--font-size-xs);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-list li p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-list a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: var(--secondary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: var(--font-size-subtitle);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
}

.heart {
    color: var(--danger);
    margin: 0 0.2rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand, .footer-nav-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    height: 100dvh;
    overflow: hidden;
    background-color: #f9fafb;
}

/* Mobile Header */
.dashboard-mobile-header {
    display: none;
    height: 64px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    padding: 0 1rem;
    justify-content: space-between;
    width: 100%;
}

.sidebar {
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out;
}

.sidebar-logo {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.sidebar-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.025em;
}

.close-sidebar {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4b5563;
}

.sidebar-nav {
    flex: 1;
    padding: 0 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4b5563;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: #f3f4f6;
    color: #1a1a1a;
}

.sidebar-link svg {
    font-size: 1.25rem;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-user:hover {
    background-color: #f9fafb;
}

.user-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-main {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-mobile-header {
        display: flex;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
        transform: translateX(-100%);
        box-shadow: 10px 0 15px -3px rgba(0, 0, 0, 0.1);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .close-sidebar {
        display: block;
    }

    .dashboard-main {
        padding: 1.5rem;
    }
}

/* Auth Styles (Centered Card) */
.auth-page {
    background-color: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    min-height: calc(100dvh - 64px - 80px);
}

.auth-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 6rem 1rem;
    background-color: var(--bg-surface);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-motto {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s;
}

.btn-hero-primary:hover {
    background-color: #374151;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: #f3f4f6;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background-color: #e5e7eb;
}

/* Steps Section */
.steps-section {
    padding: 6rem 1rem;
    background-color: var(--bg-base);
}

.steps-section h2,
.audience-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.step-card p {
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        /* Ajustado para mejor legibilidad móvil */
    }

    .hero p {
        font-size: 1.125rem;
    }

    .steps-section h2,
    .audience-section h2 {
        font-size: 1.75rem;
        /* Tamaño adecuado para móviles */
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Audience Section (Para Quién) */
.audience-section {
    padding: 6rem 1rem;
    background-color: #f9fafb;
    text-align: center;
}

.section-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 1rem;
    display: block;
}

.audience-heading {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.audience-card {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 1.5rem;
    border: 1px solid #e5e7eb;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.audience-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.audience-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    font-size: 1.0625rem;
    max-width: 100%;
}

.btn-card-cta {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.875rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.2s;
    display: inline-block;
    align-self: center;
}

.audience-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-card-cta:hover {
    background-color: #374151;
}

.section-closure {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

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

    .audience-card {
        padding: 2.5rem 2rem;
    }

    .audience-heading {
        font-size: 2rem;
    }

    .audience-card h3 {
        font-size: 1.5rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.fw-bold {
    font-weight: bold;
}

.text-muted {
    color: #6c757d;
}

/* Public Navigation Refined */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #4b5563;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #1a1a1a;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: rgb(75, 85, 99);
    font-weight: 500;
    margin-bottom: 0.25rem;
    gap: 0.75rem;
    padding: 0rem;
    border-radius: 0.5rem;
    transition: 0.2s;
}

/* Universal Mobile Dropdown Menu (Elementor Style) */
.mobile-dropdown {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 1.5rem;
    z-index: 999;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mobile-dropdown.open {
    display: block;
    animation: menuSlideDown 0.3s ease-out;
}

@keyframes menuSlideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.mobile-nav-content .nav-link {
    font-size: 1.125rem;
    width: 100%;
    text-align: left;
}

.mobile-nav-content .btn-comenzar {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1024px) {
    .nav-desktop {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }
}