* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
  }
  
  header {
    background-color: #1e293b;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre logo y texto */
  }
  .logo-container img {
    height: 40px; /* Reducimos el tamaño del logo */
    width: auto;
  }
  nav {
    display: flex;
    gap: 20px;
  }
  
  nav a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #38bdf8;
  }
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  @media (max-width: 860px) {
    .menu-toggle {
      display: block;
    }
  
    nav {
      display: none;
      flex-direction: column;
      background-color: #1e293b;
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      padding: 10px 0;
    }
  
    nav.active {
      display: block;
    }
  
    .nav-links {
      text-align: center;
      gap: 0;
    }
  
    nav a {
      padding: 10px 0;
      display: block;
    }
  }
/* estilo hero*/
.hero {
    background: linear-gradient(
        rgba(44, 62, 80, 0.85),  /*Overlay azul oscuro semi-transparente */
        rgba(44, 62, 80, 0.95)   /*Capa superior más oscura */
    ),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80&sat=-30');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;  /* Efecto parallax */
    background-blend-mode: multiply;
    position: relative;
    height: 90vh;
    min-height: 600px;
    padding: 120px 30px 30px;
    margin-top: 70px;

    display: flex;
    align-items: center;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);  /* Fondo más transparente */
    backdrop-filter: blur(5px);  /* Efecto vidrio esmerilado */
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h1 {
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);

    /*color: #2c3e50;*/
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 800px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
/* Mejoras adicionales */

.hero-description {
    position: relative;
    padding-left: 30px;
    color: #4a5568;
    font-size: 1.0rem;
    line-height: 1.2;
    margin-bottom: 10px;
    max-width: 800px;
}

.cta-button {
    display: inline-block;
    background: #2c3e50;
    color: white !important;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
}

.cta-button:hover {
    background: #ffffff;
    color: #2c3e50 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44,62,80,0.2);
}
/*agregada*/
@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .hero-content {
        padding: 25px;
    }
}  
/* Estilos Servicios */
.services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    color: #4a5568;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(44, 62, 80, 0.05);
    padding: 20px;
    border-radius: 50%;
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .services {
        padding: 50px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}
/* Estilos Quien Soy */
.about {
    padding: 80px 20px;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-content {
    padding-left: 30px;
}

.highlight-box {
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #2c3e50;
    margin: 30px 0;
    border-radius: 5px;
}

.cta-outline {
    background: transparent !important;
    color: #2c3e50 !important;
    border: 2px solid #2c3e50;
}

.cta-outline:hover {
    background: #2c3e50 !important;
    color: white !important;
}

/* Estilos Testimonios */
.testimonials {
    padding: 80px 20px;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

blockquote {
    color: #4a5568;
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid #e2e8f0;
    padding-left: 15px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Estilos Blog Unificados */
.blog {
    padding: 80px 20px;
    background: #f8f9fa;
    position: relative;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.blog-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(44,62,80,0.15);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-link:hover h3 {
    color: #3498db;
}

.blog-link:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #4a5568;
}

.blog-meta .author {
    font-weight: 500;
    color: #2c3e50;
}

.blog-meta .likes {
    color: #e74c3c;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

/* Efecto de borde dinámico */
.blog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #3498db;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-card:hover::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {
    .blog {
        padding: 50px 15px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-image {
        height: 180px;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
}

/* Estilos Descargas */
.downloads {
    padding: 80px 20px;
    background: #ffffff;
}

.downloads-container {
    max-width: 1200px;
    margin: 0 auto;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.download-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44,62,80,0.15);
}

.download-image {
    height: 200px;
    background: #f8f9fa;
}

.download-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-content {
    padding: 25px;
}

.download-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.download-content p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    background: #2c3e50 !important;
    border: none !important;
}

.download-btn i {
    margin-left: 10px;
    font-size: 1.1rem;
}

.download-btn:hover {
    background: #83b1da !important;
}

/* Responsive */
@media (max-width: 768px) {
    .downloads {
        padding: 50px 15px;
    }
    
    .download-image {
        height: 180px;
    }
    
    .download-content {
        padding: 20px;
    }
}
/* Estilos Footer */
.footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Estilos Generales Mejorados */
.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.2);
}

/* Efecto X/Twitter */
.x-social .icon-container {
    background: #000000;
}

.x-social i {
    color: white;
    font-size: 1.8rem;
    z-index: 2;
}

.x-effect {
    position: absolute;
    width: 130%;
    height: 3px;
    background: white;
    transform: rotate(-45deg);
    transition: all 0.4s ease;
    opacity: 0;
}

.x-social:hover .x-effect {
    opacity: 1;
    animation: x-slide 0.6s forwards;
}

@keyframes x-slide {
    0% { transform: rotate(-45deg) translateX(-100%); }
    100% { transform: rotate(-45deg) translateX(100%); }
}

/* Efecto Facebook */
.fb-social .icon-container {
    background: #1877f2;
}

.fb-social i {
    color: white;
    font-size: 2rem;
}

.fb-shine {
    position: absolute;
    width: 30px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transform: skewX(-30deg);
    transition: all 0.5s ease;
    left: -50%;
}

.fb-social:hover .fb-shine {
    left: 150%;
}

/* Efecto Instagram */
.ig-social .icon-container {
    background: #f09433;
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.ig-social i {
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.ig-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 25%,
        rgba(255,255,255,0.2) 50%,
        transparent 75%
    );
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Hover Effects */
.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:hover .social-name {
    opacity: 1;
    text-shadow: 0 2px 5px rgba(255,255,255,0.3);
}
/* nesw */
.newsletter-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(236, 231, 231, 0.1);
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #afc54b;
    text-decoration: none;
    transition: color 0.3s ease;
}
/* Mensaje de respuesta */
#response-message {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}
/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* Estilos para la ventana modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Contenido del modal */
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
}

/* Botón para cerrar el modal */
.close-btn {
    color: red;
    float: right;
    font-size: 24px;
    cursor: pointer;
}
