/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales oscuros */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-card-hover: #273549;
    
    /* Colores de texto */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Color brillante para acentos y llamados a la acción */
    --accent-color: #00f5ff;
    --accent-hover: #00d4e6;
    --accent-dark: #0099a8;
    
    /* Sombras */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.3);
    
    /* Compatibilidad (mantener algunos nombres antiguos) */
    --primary-color: var(--accent-color);
    --secondary-color: var(--accent-dark);
    --text-color: var(--text-primary);
    --text-light: var(--text-secondary);
    --bg-light: var(--bg-secondary);
    --white: var(--text-primary);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--bg-tertiary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    padding: 150px 20px 100px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6), 0 5px 15px rgba(0, 245, 255, 0.3);
    background: var(--accent-hover);
}

/* Secciones */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.6);
}

/* Sobre Mí */
.about {
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.skill-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Servicios */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    flex-grow: 1;
}

.service-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.services-cableado {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.cableado-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.cableado-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.cableado-header h3 {
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cableado-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.cableado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.cableado-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--bg-tertiary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cableado-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

.cableado-card:hover::before {
    transform: scaleX(1);
}

.cableado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 245, 255, 0.3), var(--shadow-lg);
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.cableado-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.cableado-card h4 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.cableado-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.cableado-list li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.cableado-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cableado-card:hover .cableado-list li::before {
    transform: scale(1.2);
}

.cableado-card:hover .cableado-list li {
    color: var(--text-primary);
}

.cableado-footer {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.cableado-footer p {
    color: #000000;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.cableado-footer strong {
    font-weight: 600;
    font-size: 1.05rem;
    color: #000000;
}

@media (max-width: 768px) {
    .services-cableado {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .cableado-header h3 {
        font-size: 1.8rem;
    }
    
    .cableado-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cableado-footer {
        padding: 1.25rem 1.5rem;
    }
}

/* Tarjetas de Servicios - Diseño Nuevo */
.services-grid-flip {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: calc(25% - 1.5rem);
    flex: 0 0 calc(25% - 1.5rem);
    cursor: pointer;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-link:hover {
    transform: translateY(-15px) scale(1.03);
}

.service-link:active {
    transform: translateY(-10px) scale(0.98);
    transition: transform 0.1s ease;
}

.service-link:active .service-card-new {
    animation: click-wave 0.6s ease-out;
}

@keyframes click-wave {
    0% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
                    0 0 40px rgba(0, 245, 255, 0.6),
                    0 0 80px rgba(0, 245, 255, 0.4);
    }
    50% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
                    0 0 60px rgba(0, 245, 255, 1),
                    0 0 120px rgba(0, 245, 255, 0.8),
                    0 0 160px rgba(0, 245, 255, 0.4);
    }
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
                    0 0 40px rgba(0, 245, 255, 0.6),
                    0 0 80px rgba(0, 245, 255, 0.4);
    }
}

.service-card-new {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(0, 245, 255, 0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.service-link:hover .service-card-new {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 
                0 0 40px rgba(0, 245, 255, 0.6),
                0 0 80px rgba(0, 245, 255, 0.4),
                inset 0 0 30px rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.8);
    transform: perspective(1000px) rotateX(5deg);
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-link:hover .service-card-new::before {
    opacity: 1;
    animation: rotate-shine 3s linear infinite;
}

@keyframes rotate-shine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
}

.service-link:hover .service-card-new::after {
    opacity: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0;
}

.service-icon-new {
    font-size: 5rem;
    margin: 0;
    display: block;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    animation: float-icon 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    height: 80px;
    line-height: 80px;
}

.service-link:hover .service-icon-new {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8));
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card-new h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    padding: 0 0.5rem;
    flex-shrink: 0;
    overflow: visible;
    display: block;
    flex-grow: 1;
    word-wrap: break-word;
    hyphens: auto;
    min-height: 4.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-link:hover .service-card-new h3 {
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.8), 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}


.service-cta {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    margin-top: auto !important;
    display: block !important;
    text-align: center !important;
    padding: 0.9rem 1.2rem !important;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.3) 0%, rgba(0, 212, 230, 0.3) 100%) !important;
    border: 2px solid rgba(0, 245, 255, 0.8) !important;
    border-radius: 15px !important;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 
                inset 0 0 20px rgba(0, 245, 255, 0.2) !important;
    text-shadow: 0 0 15px rgba(0, 245, 255, 1), 
                 0 2px 5px rgba(0, 0, 0, 0.5) !important;
    animation: pulse-cta-intense 2s ease-in-out infinite !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    letter-spacing: 1px !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.service-cta::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transform: rotate(45deg) !important;
    transition: all 0.6s ease !important;
    opacity: 0 !important;
}

.service-link:hover .service-cta {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.5) 0%, rgba(0, 212, 230, 0.5) 100%) !important;
    border-color: rgba(0, 245, 255, 1) !important;
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.9), 
                0 0 60px rgba(0, 245, 255, 0.5),
                inset 0 0 30px rgba(0, 245, 255, 0.3) !important;
    transform: scale(1.1) translateY(-3px) !important;
    text-shadow: 0 0 25px rgba(0, 245, 255, 1), 
                 0 0 35px rgba(0, 245, 255, 0.8),
                 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}

.service-link:hover .service-cta::before {
    left: 150% !important;
    opacity: 1 !important;
    transition: left 0.6s ease !important;
}

.service-link:active .service-cta {
    transform: scale(0.95) !important;
    box-shadow: 0 0 30px rgba(0, 245, 255, 1), 
                inset 0 0 20px rgba(0, 245, 255, 0.4) !important;
}

@keyframes pulse-cta-intense {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 
                    0 0 0 0 rgba(0, 245, 255, 0.8),
                    inset 0 0 20px rgba(0, 245, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 245, 255, 0.7), 
                    0 0 0 10px rgba(0, 245, 255, 0),
                    inset 0 0 25px rgba(0, 245, 255, 0.3);
    }
}


@media screen and (max-width: 1200px) {
    .services-grid-flip {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-link {
        width: calc(50% - 1rem);
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .services-grid-flip {
        flex-direction: column;
        align-items: center;
    }
    
    .service-link {
        width: 100%;
        max-width: 400px;
        flex: 0 0 auto;
    }
    
    .service-card-new {
        height: 340px;
        padding: 2rem;
    }
    
    .service-card-new h3 {
        font-size: 1.1rem;
        line-height: 1.35;
        min-height: 3.8em;
    }
}

@media screen and (max-width: 480px) {
    .service-card-new {
        height: 320px;
        padding: 1.5rem;
    }
    
    .service-icon-new {
        font-size: 4rem;
        height: 70px;
        line-height: 70px;
    }
    
    .service-card-new h3 {
        font-size: 1rem;
        line-height: 1.3;
        min-height: 3.2em;
    }
    
    .service-cta {
        font-size: 0.9rem !important;
        padding: 0.8rem 1rem !important;
    }
}

/* Contacto */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-new {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem;
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    width: 100%;
}

.contact-info-new h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #000000;
}

.contact-description {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    line-height: 1.6;
    color: #000000;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
    background: var(--bg-card-hover);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.contact-link {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
    text-decoration: underline;
}

.contact-note {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    font-style: italic;
}

.contact-form-new {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-new h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-new {
    display: flex;
    flex-direction: column;
}

.form-group-new label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group-new input,
.form-group-new textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group-new input:focus,
.form-group-new textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
    color: #9ca3af;
}

.form-group-new textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    margin-top: 0.5rem;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-contact:active {
    transform: translateY(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 20px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-skills {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-new {
        padding: 2rem;
    }
    
    .contact-info-new h3 {
        font-size: 1.6rem;
    }
    
    .contact-form-new {
        padding: 2rem;
    }
    
    .contact-form-new h3 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 20px;
    }
    
    .contact-info-new {
        padding: 1.5rem;
    }
    
    .contact-info-new h3 {
        font-size: 1.4rem;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
    
    .contact-method {
        padding: 1.25rem;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
    
    .contact-form-new {
        padding: 1.5rem;
    }
    
    .contact-form-new h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-contact {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

