/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 20px 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white !important;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image i {
    font-size: 15rem;
    opacity: 0.8;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}/* Ab
out Section */
.about {
    padding: 80px 20px;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.mission, .vision {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission p, .vision p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.values {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.values h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--text-dark);
    line-height: 1.6;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive para misión, visión y valores */
@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission, .vision, .values {
        padding: 1.2rem;
    }
    
    .mission h3, .vision h3, .values h3 {
        font-size: 1.2rem;
    }
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-image i {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Projects Section */
.projects {
    padding: 80px 20px;
    background: var(--bg-light);
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.02);
}

.project-image i {
    font-size: 4rem;
    color: white;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--bg-white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image img {
        max-width: 300px;
    }
    
    .about-image i {
        font-size: 8rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .project-card {
        margin: 0 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.project-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

/* Technologies Section */
.technologies {
    padding: 80px 20px;
    background: var(--bg-white);
    position: relative;
}

.technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.technologies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tech-item:hover i {
    color: var(--primary-color);
}

.tech-item:hover span {
    color: var(--text-dark);
    font-weight: 600;
}

.tech-item span {
    font-weight: 600;
    font-size: 1.1rem;
}



/* Enhanced Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Enhanced Service Cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

.service-card {
    position: relative;
}

/* Enhanced Project Cards */
.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 0 0 12px 12px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::after {
    transform: scaleX(1);
}

/* Animated Background Elements */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.service-icon {
    animation: pulse 3s ease-in-out infinite;
}

/* Enhanced Contact Section */
.contact {
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .floating-element {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 0.5rem;
    }
    
    .tech-item i {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* Loading Animations */
.tech-item {
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}/* ======
==== ANIMACIONES AVANZADAS ========== */

/* Animaciones de entrada para elementos */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de escritura para títulos */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: var(--primary-color);
    }
}

/* Animaciones de hover mejoradas */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

/* Aplicar animaciones a elementos específicos */
.hero h1 {
    color: white;
    position: relative;
}

.hero p {
    color: white;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image img {
    animation: zoomIn 1s ease-out 0.9s both;
}

/* Animaciones para las tarjetas de servicios */
.service-card:nth-child(1) {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.service-card:nth-child(3) {
    animation: fadeInRight 0.8s ease-out 0.6s both;
}

/* Hover effects mejorados */
/* Animación heartbeat removida para simplificar */

.btn:hover {
    animation: shake 0.5s ease-in-out;
}

/* Animación wiggle removida para evitar conflictos */

/* Animaciones para estadísticas */
.stat:nth-child(1) {
    animation: bounceIn 0.8s ease-out 0.2s both;
}

.stat:nth-child(2) {
    animation: bounceIn 0.8s ease-out 0.4s both;
}

.stat:nth-child(3) {
    animation: bounceIn 0.8s ease-out 0.6s both;
}

/* Animaciones para proyectos */
.project-card:nth-child(1) {
    animation: slideInBottom 0.8s ease-out 0.1s both;
}

.project-card:nth-child(2) {
    animation: slideInBottom 0.8s ease-out 0.3s both;
}

.project-card:nth-child(3) {
    animation: slideInBottom 0.8s ease-out 0.5s both;
}

/* Animación de ondas para el fondo */
@keyframes wave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: wave 3s linear infinite;
}

/* Partículas flotantes */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) translateX(-30px) rotate(240deg);
    }
}

.floating-element {
    animation: particle-float 8s ease-in-out infinite;
}

.element-1 { animation-delay: 0s; }
.element-2 { animation-delay: 1.6s; }
.element-3 { animation-delay: 3.2s; }
.element-4 { animation-delay: 4.8s; }
.element-5 { animation-delay: 6.4s; }

/* Animación de carga progresiva */
@keyframes progressiveLoad {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Aplicar carga progresiva a secciones */
.services {
    animation: progressiveLoad 1s ease-out;
}

.technologies {
    animation: progressiveLoad 1s ease-out 0.2s both;
}

.about {
    animation: progressiveLoad 1s ease-out 0.4s both;
}

.projects {
    animation: progressiveLoad 1s ease-out 0.6s both;
}

.testimonials {
    animation: progressiveLoad 1s ease-out 0.8s both;
}

.contact {
    animation: progressiveLoad 1s ease-out 1s both;
}

/* Animación de texto brillante */
@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Animación de pulso para botones */
@keyframes pulse-button {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.btn-primary {
    animation: pulse-button 2s infinite;
}

/* Animación de rotación continua para iconos */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-icon:hover i {
    animation: rotate360 1s linear;
}

/* Animación de rebote para elementos hover */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-30px,0);
    }
    70% {
        transform: translate3d(0,-15px,0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

/* Animación bounce removida para simplificar */

/* Animación de desvanecimiento para testimonios */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.testimonial-card:nth-child(1) {
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

.testimonial-card:nth-child(2) {
    animation: fadeInScale 0.8s ease-out 0.4s both;
}

.testimonial-card:nth-child(3) {
    animation: fadeInScale 0.8s ease-out 0.6s both;
}

/* Animación de ondulación para el agua */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.contact-form:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 1s linear;
}

.contact-form {
    position: relative;
    overflow: hidden;
}

/* Animación de deslizamiento para el navbar */
.nav-menu a {
    position: relative;
    overflow: visible;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Animación de respiración para elementos importantes */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.logo {
    animation: breathe 4s ease-in-out infinite;
}

/* Asegurar que el header esté siempre visible */
.header {
    background: var(--bg-white) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

/* Animación de cascada para tecnologías */
.tech-item:nth-child(7) { animation-delay: 0.7s; }
.tech-item:nth-child(8) { animation-delay: 0.8s; }
.tech-item:nth-child(9) { animation-delay: 0.9s; }
.tech-item:nth-child(10) { animation-delay: 1s; }
.tech-item:nth-child(11) { animation-delay: 1.1s; }
.tech-item:nth-child(12) { animation-delay: 1.2s; }

/* Animación de máquina de escribir para subtítulos */
.about-text h2 {
    color: var(--text-dark);
}

/* Efecto de partículas en el fondo */
@keyframes particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero::before {
    animation: particles 15s linear infinite;
}

/* Animación de zoom para imágenes */
.about-image img,
.hero-image img {
    transition: transform 0.3s ease;
}

.about-image:hover img,
.hero-image:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* Animación de deslizamiento para formulario */
.form-group {
    animation: slideInRight 0.6s ease-out;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

/* Animación de aparición para el footer */
.footer {
    animation: fadeInUp 1s ease-out;
}

/* Efecto de hover mejorado para redes sociales */
.social-links a:hover {
    animation: bounce 0.6s ease;
    transform: scale(1.2);
}

/* Animación de carga para toda la página */
@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageLoad 0.8s ease-out;
}

/* Desactivar animaciones en dispositivos con preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* Estilo
s para descripciones de tecnologías */
.tech-description {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 0 0 12px 12px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.tech-description p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

.tech-item {
    position: relative;
    overflow: visible;
}

.tech-item.active .tech-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tech-item.active {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid var(--primary-color);
    border-radius: 12px 12px 0 0;
}

/* Indicador de clic removido para simplificar */

/* Animación de pulso para indicar interactividad */
@keyframes techPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    }
}

/* Animación techPulse removida para evitar conflictos */

/* Mejorar la responsividad de las descripciones */
@media (max-width: 768px) {
    .tech-description {
        position: fixed;
        top: 50%;
        left: 20px;
        right: 20px;
        transform: translateY(-50%);
        border-radius: 12px;
        z-index: 1000;
    }
    
    .tech-item.active .tech-description {
        transform: translateY(-50%);
    }
    
    .tech-description::before {
        content: '✕';
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.2rem;
        color: var(--text-light);
        cursor: pointer;
    }
}/*
 ========== MODAL DE TECNOLOGÍAS ========== */

.tech-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.tech-modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.4s ease-out;
    overflow: hidden;
}

.tech-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.tech-modal-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.tech-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
}

.tech-modal-header i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
    animation: bounceIn 0.6s ease-out 0.2s both;
}

.tech-modal-header h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.tech-modal-body {
    padding: 30px;
}

.tech-modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 25px;
}

.tech-modal-features h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

.tech-modal-features ul {
    list-style: none;
    padding: 0;
}

.tech-modal-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
    animation: slideInLeft 0.4s ease-out;
}

.tech-modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.tech-modal-features li:nth-child(1) { animation-delay: 0.1s; }
.tech-modal-features li:nth-child(2) { animation-delay: 0.2s; }
.tech-modal-features li:nth-child(3) { animation-delay: 0.3s; }
.tech-modal-features li:nth-child(4) { animation-delay: 0.4s; }

/* Animaciones del modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efecto hover mejorado para tech-items */
.tech-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Tooltip removido para evitar conflictos */

/* Responsive para modal */
@media (max-width: 768px) {
    .tech-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .tech-modal-header {
        padding: 25px 15px 15px;
    }
    
    .tech-modal-header i {
        font-size: 3rem;
    }
    
    .tech-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .tech-modal-body {
        padding: 20px;
    }
}/* ==
======== MODO OSCURO ========== */

/* Variables para modo oscuro */
:root {
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    --bg-dark-card: #334155;
    --text-dark-primary: #f1f5f9;
    --text-dark-secondary: #cbd5e1;
    --border-dark: #475569;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Interruptor de tema */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 30px;
    transition: all 0.4s ease;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sun-icon, .moon-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: all 0.4s ease;
    z-index: 1;
}

.sun-icon {
    left: 8px;
    color: white;
    opacity: 1;
}

.moon-icon {
    right: 8px;
    color: white;
    opacity: 0;
}

/* Estado checked (modo oscuro) */
input:checked + .slider {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(28px);
    background-color: #f1f5f9;
}

input:checked + .slider .sun-icon {
    opacity: 0;
}

input:checked + .slider .moon-icon {
    opacity: 1;
}

/* Efectos hover */
.theme-switch:hover .slider {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.theme-switch:hover .slider:before {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Focus para accesibilidad */
.theme-switch input:focus + .slider {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animación de pulso cuando se activa */
@keyframes switchPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.theme-switch.switching .slider {
    animation: switchPulse 0.6s ease-out;
}

/* Estilos para modo oscuro */
[data-theme="dark"] {
    --bg-white: var(--bg-dark);
    --bg-light: var(--bg-dark-secondary);
    --text-dark: var(--text-dark-primary);
    --text-light: var(--text-dark-secondary);
    --border-color: var(--border-dark);
}

/* Estilos básicos inmediatos para modo oscuro */
[data-theme="dark"] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

[data-theme="dark"] body {
    background-color: var(--bg-dark);
    color: var(--text-dark-primary);
}

[data-theme="dark"] .header {
    background: var(--bg-dark-secondary) !important;
    border-bottom: 1px solid var(--border-dark);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .tech-item {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    color: var(--text-dark-primary);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .tech-item:hover {
    background: var(--bg-dark-secondary);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px var(--shadow-dark);
}

[data-theme="dark"] .contact-form {
    background: var(--bg-dark-card);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-dark-secondary);
    border-color: var(--border-dark);
    color: var(--text-dark-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--bg-dark);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
}

[data-theme="dark"] .footer-section h3 {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section ul li a {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .footer-section ul li a:hover {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--border-dark);
    color: var(--text-dark-secondary);
}

/* Ajustes específicos para elementos en modo oscuro */
[data-theme="dark"] .tech-item:hover {
    background: linear-gradient(135deg, #1e293b, #334155);
}

[data-theme="dark"] .tech-item:hover i,
[data-theme="dark"] .tech-item:hover span {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .about-text h2,
[data-theme="dark"] .services h2,
[data-theme="dark"] .technologies h2,
[data-theme="dark"] .projects h2,
[data-theme="dark"] .contact h2 {
    color: var(--text-dark-primary);
}

/* Modo oscuro para misión, visión y valores */
[data-theme="dark"] .mission,
[data-theme="dark"] .vision,
[data-theme="dark"] .values {
    background-color: var(--bg-darker);
    border-left-color: var(--accent-color);
}

[data-theme="dark"] .mission h3,
[data-theme="dark"] .vision h3,
[data-theme="dark"] .values h3 {
    color: var(--accent-color);
}

[data-theme="dark"] .mission p,
[data-theme="dark"] .vision p,
[data-theme="dark"] .values-list li {
    color: var(--text-light-theme);
}

[data-theme="dark"] .values-list li {
    border-bottom-color: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .values-list li strong {
    color: var(--accent-color);
}

[data-theme="dark"] .project-tech span,
[data-theme="dark"] .tech-item span {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .contact-item h4 {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .contact-item p {
    color: var(--text-dark-secondary);
}

/* Logo en modo oscuro */
[data-theme="dark"] .logo span {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .logo i {
    color: var(--primary-color);
}

/* Animación del botón de tema */
@keyframes themeSwitch {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.theme-toggle.switching {
    animation: themeSwitch 0.6s ease-in-out;
}

/* Transición suave para el cambio de tema */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Ajustes para el modal en modo oscuro */
[data-theme="dark"] .tech-modal {
    background-color: rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .tech-modal-content {
    background-color: var(--bg-dark-card);
    color: var(--text-dark-primary);
}

[data-theme="dark"] .tech-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

[data-theme="dark"] .tech-modal-body p {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .tech-modal-features h4 {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .tech-modal-features li {
    color: var(--text-dark-secondary);
}

/* Responsive para el interruptor de tema */
@media (max-width: 768px) {
    .nav-controls {
        gap: 0.5rem;
    }
    
    .theme-switch {
        width: 50px;
        height: 25px;
    }
    
    .slider:before {
        height: 19px;
        width: 19px;
        left: 2px;
        bottom: 1px;
    }
    
    input:checked + .slider:before {
        transform: translateX(23px);
    }
    
    .sun-icon, .moon-icon {
        font-size: 10px;
    }
    
    .sun-icon {
        left: 6px;
    }
    
    .moon-icon {
        right: 6px;
    }
    
    /* Logo responsive */
    .logo {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
}/* Lo
go alternativo con CSS si la imagen no carga */
.logo-fallback {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #7c3aed 100%);
    border-radius: 8px;
    position: relative;
    margin-right: 0.5rem;
    overflow: hidden;
}

.logo-fallback::before {
    content: '</>';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.logo-fallback::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
}

/* Ocultar fallback cuando la imagen carga correctamente */
.logo-image:not([src=""]) + .logo-fallback {
    display: none;
}

/* Mostrar fallback si la imagen falla */
.logo-image[src=""]:after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #7c3aed 100%);
    border-radius: 8px;
}/* 
========== SECCIÓN DE PRODUCTOS DESTACADOS ========== */

.products-highlight {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.products-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(37,99,235,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.products-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.products-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Tarjeta destacada (más popular) */
.product-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Tarjeta premium */
.product-card.premium {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border: 3px solid #fbbf24;
}

.product-card.premium .product-price {
    color: #fbbf24;
}

.product-card.premium .product-features li {
    color: #e2e8f0;
}

.product-badge {
    position: absolute;
    top: -2px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 15px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.premium-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1f2937 !important;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.product-icon i {
    font-size: 2.5rem;
    color: white;
}

.product-card.premium .product-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.product-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.product-card.premium h3 {
    color: white;
}

.product-price {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.product-price .from-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.product-price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.product-card.premium .product-price .from-text {
    color: #cbd5e1;
}

.product-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.product-card.premium .product-description {
    color: #cbd5e1;
}

/* Tarjeta especial OTEC */
.product-card.special {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    position: relative;
}

.product-card.special .product-badge.special-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.product-card.special .product-price {
    color: #6ee7b7;
}

.product-card.special .product-features li {
    color: #d1fae5;
}

.product-card.special .product-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.product-card.special h3 {
    color: white;
}

.product-card.special .product-price .from-text {
    color: #a7f3d0;
}

.product-card.special .product-description {
    color: #a7f3d0;
}

.product-btn.special-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid #6ee7b7;
}

.product-btn.special-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.product-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.product-features li i {
    color: var(--success-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
}

.product-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    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);
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.premium-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1f2937 !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3) !important;
}

.premium-btn:hover {
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4) !important;
}

.products-footer {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.products-footer p {
    color: var(--text-light);
    margin: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.products-footer i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Modo oscuro para productos */
[data-theme="dark"] .products-highlight {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

[data-theme="dark"] .product-card {
    background: var(--bg-dark-card);
    border-color: var(--border-dark);
}

[data-theme="dark"] .product-card h3 {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .product-description {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .product-features li {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .products-header h2 {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .products-header p {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .products-footer p {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .product-price .from-text {
    color: var(--text-dark-secondary);
}

/* Responsive para pantallas grandes */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
}

/* Responsive para tablets */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-features {
        margin-bottom: 2rem;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .products-highlight {
        padding: 60px 20px;
    }
    
    .products-header h2 {
        font-size: 2.2rem;
    }
    
    .products-header p {
        font-size: 1.1rem;
        white-space: normal;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .product-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .product-card {
        padding: 2rem;
    }
    
    .product-price .amount {
        font-size: 2.5rem;
    }
    
    .products-footer p {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Animaciones de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }


    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.legal-modal-content {
    background-color: var(--bg-white);
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.4s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    position: relative;
    flex-shrink: 0;
}

.legal-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.legal-modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.legal-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.legal-content {
    padding: 2rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Scrollbar personalizada para el modal */
.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Modo oscuro para modales legales */
[data-theme="dark"] .legal-modal {
    background-color: rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .legal-modal-content {
    background-color: var(--bg-dark-card);
    color: var(--text-dark-primary);
}

[data-theme="dark"] .legal-content {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content ul,
[data-theme="dark"] .legal-content li {
    color: var(--text-dark-secondary);
}

[data-theme="dark"] .legal-content strong {
    color: var(--text-dark-primary);
}

[data-theme="dark"] .legal-content h3 {
    color: var(--primary-color);
}

[data-theme="dark"] .legal-modal-body::-webkit-scrollbar-track {
    background: var(--bg-dark-secondary);
}

/* Responsive para modales legales */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .legal-modal-header {
        padding: 1.5rem;
    }
    
    .legal-modal-header h2 {
        font-size: 1.5rem;
        padding-right: 50px;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .legal-content ul {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 10px;
    }
    
    .legal-modal-header {
        padding: 1rem;
    }
    
    .legal-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .legal-content {
        padding: 1rem;
    }
}
/* 
Modales Legales */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.legal-modal-content {
    background-color: var(--bg-white);
    margin: 2% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.legal-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-modal-close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.legal-content {
    padding: 2rem;
    line-height: 1.7;
}

.legal-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.legal-content h3:first-of-type {
    margin-top: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::marker {
    color: var(--primary-color);
}

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Scrollbar personalizado para el modal */
.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Responsive para modales legales */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .legal-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .legal-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}

/* Tema oscuro para modales legales */
[data-theme="dark"] .legal-modal-content {
    background-color: var(--bg-dark);
    color: var(--text-light-theme);
}

[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content strong {
    color: var(--text-light-theme);
}

[data-theme="dark"] .legal-content ul {
    color: var(--text-muted-dark);
}

[data-theme="dark"] .legal-content h3 {
    color: var(--accent-color);
    border-bottom-color: var(--border-dark);
}

[data-theme="dark"] .legal-modal-body::-webkit-scrollbar-track {
    background: var(--bg-darker);
}/
* Modales de Paquetes */
.package-modal {
    display: none;
    position: fixed;
    z-index: 9999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.package-modal-content {
    background-color: var(--bg-white);
    margin: 3% auto;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: packageModalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes packageModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.package-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.package-modal-header.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.package-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.package-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.package-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.package-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.package-modal-body {
    padding: 0;
    max-height: calc(85vh - 140px);
    overflow-y: auto;
}

.package-info {
    padding: 2rem;
}

.package-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--bg-light), #f1f5f9);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.package-price.premium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.package-price .from-text {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

.package-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.package-price.premium .amount {
    color: #d97706;
}

.package-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.contact-invitation {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.contact-invitation h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.contact-invitation h3 i {
    margin-right: 0.5rem;
}

.contact-invitation p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.email-template {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.email-template h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.email-template ul {
    margin: 0;
    padding-left: 1.5rem;
}

.email-template li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.email-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.email-btn.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.email-btn.premium:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.email-btn i {
    margin-right: 0.5rem;
}

/* Responsive para modales de paquetes */
@media (max-width: 768px) {
    .package-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .package-modal-header {
        padding: 1.5rem;
    }
    
    .package-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .package-modal-icon {
        font-size: 2.5rem;
    }
    
    .package-info {
        padding: 1.5rem;
    }
    
    .contact-invitation {
        padding: 1.5rem;
    }
    
    .package-price .amount {
        font-size: 2rem;
    }
    
    .contact-steps {
        gap: 0.8rem;
    }
    
    .step {
        padding: 0.8rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Tema oscuro para modales de paquetes */
[data-theme="dark"] .package-modal-content {
    background-color: var(--bg-dark);
    color: var(--text-light-theme);
}

[data-theme="dark"] .contact-invitation {
    background-color: var(--bg-darker);
}

[data-theme="dark"] .step {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-dark);
}

[data-theme="dark"] .email-template {
    background-color: var(--bg-dark);
    border-left-color: var(--accent-color);
}

[data-theme="dark"] .package-price {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    border-color: var(--accent-color);
}

[data-theme="dark"] .package-price.premium {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border-color: #f59e0b;
}

/* Scrollbar personalizado para modales de paquetes */
.package-modal-body::-webkit-scrollbar {
    width: 8px;
}

.package-modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.package-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.package-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}/
* Estilos adicionales para el formulario de contacto */
.contact-form button[type="submit"] {
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.contact-form button[type="submit"] .fas {
    margin-right: 0.5rem;
}

/* Estados de validación */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

/* Placeholder mejorado */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Animación de focus */
.form-group {
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

/* Estilos para modo oscuro del formulario */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: var(--bg-darker);
    border-color: var(--border-dark);
    color: var(--text-light-theme);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-muted-dark);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive para el formulario */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Evita zoom en iOS */
    }
}