/* ==================================================================
   SITIO WEB PERSONAL - GUILLERMO PEREIRA M.
   Archivo de estilos completo y optimizado
   ================================================================== */

:root {
    /* Paleta de colores principal */
    --primary-gradient: linear-gradient(135deg, #5F6A73 0%, #A67360 100%);
    --secondary-gradient: linear-gradient(135deg, #DFEDF2 0%, #F2D2B6 100%);
    --accent-gradient: linear-gradient(135deg, #592A25 0%, #A67360 100%);
    --hero-bg: linear-gradient(135deg, #5F6A73 0%, #A67360 50%, #592A25 100%);
    
    /* Colores de fondo */
    --dark-bg: #592A25;
    --light-bg: #DFEDF2;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    
    /* Colores de texto */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #592A25;
    --text-gray: #5F6A73;
    
    /* Efectos y sombras */
    --border-light: rgba(95, 106, 115, 0.1);
    --shadow-soft: 0 10px 30px rgba(95, 106, 115, 0.1);
    --backdrop-blur: blur(20px);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================================================================
   RESET Y CONFIGURACIÓN BASE
   ================================================================== */

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================================================================
   SECCIÓN HERO
   ================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #A67360, #5F6A73);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================================================================
   BOTONES
   ================================================================== */

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: var(--backdrop-blur);
    box-shadow: 0 8px 32px rgba(166, 115, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(166, 115, 96, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--text-dark);
    box-shadow: 0 8px 32px rgba(223, 237, 242, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(223, 237, 242, 0.4);
    filter: brightness(1.05);
}

/* ==================================================================
   SECCIÓN DE RECURSOS
   ================================================================== */

.resources {
    padding: 8rem 2rem;
    background: var(--light-bg);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ==================================================================
   BARRA DE BÚSQUEDA
   ================================================================== */

.search-container {
    max-width: 500px;
    margin: 0 auto 4rem;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    background: var(--card-bg);
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-soft);
}

.search-bar:focus {
    outline: none;
    border-color: var(--text-gray);
    box-shadow: 0 0 0 4px rgba(95, 106, 115, 0.1), var(--shadow-soft);
    transform: translateY(-1px);
}

.search-bar::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    z-index: 2;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 10px 40px rgba(95, 106, 115, 0.2);
    backdrop-filter: var(--backdrop-blur);
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: rgba(95, 106, 115, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================================================================
   GRID DE CATEGORÍAS
   ================================================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: fit-content;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
    transform-origin: left;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(95, 106, 115, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: transform var(--transition-medium);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.category-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ==================================================================
   HERRAMIENTAS
   ================================================================== */

.tools-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.tools-preview::-webkit-scrollbar {
    width: 4px;
}

.tools-preview::-webkit-scrollbar-track {
    background: rgba(95, 106, 115, 0.1);
    border-radius: 2px;
}

.tools-preview::-webkit-scrollbar-thumb {
    background: var(--text-gray);
    border-radius: 2px;
    transition: background var(--transition-fast);
}

.tools-preview::-webkit-scrollbar-thumb:hover {
    background: var(--text-dark);
}

.tool-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: visible;
    margin-top: 0.5rem;
}

.tool-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(95, 106, 115, 0.1);
}

.tool-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.tool-icon {
    font-size: 1.1rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.tool-item span {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
    display: block;
}

/* ==================================================================
   BADGES DE ESTADO
   ================================================================== */

.status-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-new {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(89, 42, 37, 0.3);
}

.status-coming {
    background: var(--secondary-gradient);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(95, 106, 115, 0.3);
}

/* ==================================================================
   MODALES
   ================================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    transform: scale(0.9);
    animation: modalSlideIn 0.3s ease forwards;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    to {
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.modal-title-section {
    flex: 1;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: var(--accent-gradient);
    color: white;
}

.badge-coming {
    background: var(--secondary-gradient);
    color: var(--text-dark);
}

.badge-free {
    background: #E8F5E8;
    color: #2E7D32;
}

.badge-premium {
    background: #FFF3E0;
    color: #F57C00;
}

.close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(95, 106, 115, 0.1);
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    flex-shrink: 0;
}

.close-btn:hover {
    background: rgba(95, 106, 115, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-body p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.modal-meta {
    background: rgba(95, 106, 115, 0.05);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-launch {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    opacity: 0.5;
}

.btn-launch.enabled {
    opacity: 1;
}

.btn-launch.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(166, 115, 96, 0.3);
}

/* ==================================================================
   INFORMACIÓN DE CONTACTO
   ================================================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(95, 106, 115, 0.05);
    border-radius: 16px;
    transition: all var(--transition-medium);
}

.contact-item:hover {
    background: rgba(95, 106, 115, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1rem;
    transition: color var(--transition-medium);
}

.contact-link:hover {
    color: var(--text-dark);
}

.contact-form {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==================================================================
   CALL TO ACTION FINAL
   ================================================================== */

.final-cta {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--shadow-soft);
}

.final-cta h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.final-cta .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ==================================================================
   SECCIÓN DE DONACIONES
   ================================================================== */

.donation-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(95, 106, 115, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 700px;
    box-shadow: 0 8px 32px rgba(95, 106, 115, 0.1);
}

.donation-section h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.paypal-btn {
    background: #0070ba;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    opacity: 0.9;
}

.paypal-btn:hover {
    background: #005ea6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.25);
    opacity: 1;
}

/* ==================================================================
   FOOTER
   ================================================================== */

.footer {
    background: var(--dark-bg);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* ==================================================================
   DISEÑO RESPONSIVE
   ================================================================== */

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .resources {
        padding: 6rem 2rem 4rem;  /* Cambié de 8rem a 6rem arriba y 4rem abajo */
        background: var(--light-bg);
        position: relative;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .search-container {
        margin: 0 auto 3rem;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
        max-height: 85vh;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-actions {
        justify-content: stretch;
    }
    
    .btn-launch {
        width: 100%;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .donation-section {
        padding: 2rem;
        margin: 2rem auto 0;
    }
    
    .final-cta {
        padding: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
    }
    
    .final-cta h3 {
        font-size: 1.2rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* ==================================================================
   ANIMACIONES Y EFECTOS
   ================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--text-gray);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================================================================
   UTILIDADES
   ================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip
}

/* ==================================================================
   LÍNEA SUPERIOR DECORATIVA
   ================================================================== */

.top-border {
    width: 100%;
    height: 10px;
    background: var(--dark-bg);
    position: relative;
    z-index: 10;
}

/* ==================================================================
   ESTILOS DE ENLACES EN TEXTO
   ================================================================== */

/* Enlaces generales en texto */
a {
    color: var(--text-gray);
    text-decoration: underline;
    text-decoration-color: rgba(95, 106, 115, 0.3);
    text-underline-offset: 3px;
    transition: all var(--transition-medium);
}

a:hover {
    color: var(--text-dark);
    text-decoration-color: var(--text-dark);
}

/* Enlaces en texto sobre fondo claro */
.resources a,
.content a,
p a {
    color: var(--text-gray);
    font-weight: 500;
}

.resources a:hover,
.content a:hover,
p a:hover {
    color: var(--text-dark);
    text-decoration-thickness: 2px;
}

/* Enlaces en texto sobre fondo oscuro (hero, footer) */
.hero a,
.footer a {
    color: var(--text-secondary);
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.hero a:hover,
.footer a:hover {
    color: var(--text-primary);
    text-decoration-color: var(--text-primary);
}

/* Clase específica para enlaces sutiles */
.link-subtle {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted var(--text-gray);
    transition: all var(--transition-medium);
}

.link-subtle:hover {
    border-bottom-style: solid;
    color: var(--text-dark);
}

/* Clase para enlaces destacados */
.link-accent {
    color: var(--text-dark);
    text-decoration: none;
    background: linear-gradient(to right, var(--text-gray), var(--text-gray));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
    transition: background-size var(--transition-medium);
    font-weight: 600;
}

.link-accent:hover {
    background-size: 100% 2px;
}

/* ==================================================================
   PATRÓN DE MONTAÑAS ZIGZAG SVG
   ================================================================== */

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cpath d='M0 20L20 0L40 20' stroke='%235F6A73' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 40px 20px;
    pointer-events: none;
    z-index: 1;
}

.resources .container {
    position: relative;
    z-index: 2;
}