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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1a2a3a;
}

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

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 1rem;
    gap: 2rem;
}

header .container .logo {
    margin-right: 0;
    flex-shrink: 0;
}

header .container nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

header .container .header-actions {
    margin-left: 0;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 28px;
    color: #1e3c72;
}

.logo span {
    color: #00a8e8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #1a2a3a;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00a8e8;
}



/* Botones con degradado */
.btn-primary {
    background: linear-gradient(135deg, #0890CD, #155B94) !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0A7EB8, #114C7B) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(30, 117, 183, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1E75B7;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #1E75B7;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(30, 117, 183, 0.1);
    color: #0A4F8A;
    border-color: #0A4F8A;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background-image: url('uploads/software.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-features span {
    background: rgba(255,255,255,0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #1e3c72;
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.phone-badge {
    background: rgba(255,255,255,0.95);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.phone-badge i {
    color: #00a8e8;
    font-size: 24px;
}

.phone-badge span {
    color: #1e3c72;
    font-weight: 600;
}

/* ============================================
   SECCIÓN ABOUT MEJORADA (NUEVA)
   ============================================ */
.about {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.about .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
}

.about .section-title .highlight {
    color: #1E75B7;
    position: relative;
}

.about .title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.about .decoration-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1E75B7, transparent);
}

.about .decoration-dot {
    color: #1E75B7;
    font-size: 1.2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text-large {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 30px;
}

.about-text-large strong {
    color: #1E75B7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 15px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(30,117,183,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.85rem;
    color: #6c7a91;
    line-height: 1.4;
}

.about-text-highlight {
    font-size: 1rem;
    line-height: 1.7;
    color: #1e3c72;
    background: linear-gradient(135deg, #e8f4fd, #d4ecfa);
    padding: 20px 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #1E75B7;
}

.about-text-small {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a6e8a;
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eef2f7;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1E75B7;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c7a91;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.image-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    border-radius: 30px;
    transform: rotate(6deg);
    transition: transform 0.3s ease;
}

.image-wrapper:hover .image-bg-gradient {
    transform: rotate(3deg);
}

.image-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72, #2a4a7a);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .image-content {
    transform: scale(0.98);
}

.image-content > i {
    font-size: 100px;
    color: rgba(255,255,255,0.9);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    animation: float 3s ease-in-out infinite;
}

.floating-icon i {
    font-size: 24px !important;
}

.floating-icon.icon-1 { top: 15%; left: -10%; animation-delay: 0s; }
.floating-icon.icon-1 i { color: #61DAFB; }
.floating-icon.icon-2 { bottom: 20%; right: -10%; animation-delay: 0.5s; }
.floating-icon.icon-2 i { color: #007396; }
.floating-icon.icon-3 { top: 40%; right: -5%; animation-delay: 1s; }
.floating-icon.icon-3 i { color: #00758F; }
.floating-icon.icon-4 { bottom: 35%; left: -5%; animation-delay: 1.5s; }
.floating-icon.icon-4 i { color: #777BB4; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   SECCIÓN SERVICES (NUEVA)
   ============================================ */
.services {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow-x: hidden;
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.services .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
}

.services .section-title .highlight {
    color: #1E75B7;
}

.services .section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #5a6e8a;
    font-size: 1rem;
    line-height: 1.6;
}

.services-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    padding-bottom: 20px;
}

.services-wrapper::-webkit-scrollbar {
    height: 6px;
}

.services-wrapper::-webkit-scrollbar-track {
    background: #e0e7ef;
    border-radius: 10px;
}

.services-wrapper::-webkit-scrollbar-thumb {
    background: #1E75B7;
    border-radius: 10px;
}

.services-horizontal {
    display: flex;
    gap: 25px;
    min-width: min-content;
}

.service-card {
    flex: 0 0 280px;
    background: white;
    padding: 28px 22px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E75B7, #0A4F8A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30,117,183,0.15);
}

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

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(5deg);
}

.service-icon i {
    font-size: 30px;
    color: white;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, #1E75B7, #0A4F8A);
    border-radius: 3px;
}

.service-card ul {
    list-style: none;
    margin-top: 12px;
}

.service-card ul li {
    padding: 6px 0;
    color: #4a5b7a;
    font-size: 0.85rem;
    position: relative;
    padding-left: 18px;
    transition: transform 0.2s ease;
}

.service-card ul li:hover {
    transform: translateX(5px);
    color: #1E75B7;
}

.service-card ul li::before {
    content: "▹";
    color: #1E75B7;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 0.8rem;
}

/* ============================================
   WHY US SECTION (TU VERSIÓN MEJORADA)
   ============================================ */
.why-us {
    padding: 80px 0;
    background: white;
}

.why-us h2 {
    text-align: center;
    font-size: 36px;
    color: #1e3c72;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    text-align: center;
    padding: 35px 25px;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    border-color: #1E75B7;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(30, 117, 183, 0.3);
}

.why-icon i {
    font-size: 36px;
    color: white;
}

.why-card h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-card p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   TECHNOLOGIES SECTION (CARRUSEL MODERNO)
   ============================================ */
.technologies {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72, #00a8e8);
    color: white;
}

.technologies .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.technologies .section-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.technologies .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.technologies .section-title .highlight {
    color: #ffd700;
}

.technologies .section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.carousel-track-wrapper {
    overflow: hidden;
    flex: 1;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-slide {
    flex: 0 0 280px;
    background: white;
    border-radius: 28px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #1e3c72;
}

.tech-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

.tech-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.tech-slide:hover .tech-icon-large {
    transform: scale(1.05);
}

.tech-icon-large i {
    font-size: 42px;
    color: white;
}

.tech-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tech-description {
    font-size: 0.85rem;
    color: #6c7a91;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tech-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 5px 14px;
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    color: white;
    border-radius: 20px;
    font-weight: 500;
}

.carousel-btn {
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #1e3c72;
}

.carousel-btn:hover {
    background: #1E75B7;
    color: white;
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    border-radius: 10px;
    background: white;
}

/* ============================================
   PORTFOLIO SECTION (CON TOGGLE)
   ============================================ */
.portfolio {
    padding: 80px 0;
    background: white;
}

.portfolio h2 {
    font-size: 36px;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-icon {
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    padding: 30px;
    text-align: center;
}

.portfolio-icon i {
    font-size: 48px;
    color: white;
}

.portfolio-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    color: #1e3c72;
}

.description-text {
    padding: 0 20px;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

.description-full {
    display: none;
}

.btn-toggle {
    background: none;
    border: none;
    color: #1E75B7;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 0;
    font-weight: 500;
}

.btn-toggle:hover {
    text-decoration: underline;
}

.portfolio-tech {
    padding: 10px 20px;
    font-size: 0.8rem;
    color: #1E75B7;
}

.portfolio-link {
    display: inline-block;
    margin: 10px 20px 20px;
    color: #1E75B7;
    text-decoration: none;
    font-weight: 500;
}

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

/* ============================================
   TESTIMONIALS SECTION (CON TOGGLE)
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: #f0f7fc;
}

.testimonials h2 {
    font-size: 36px;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-card i {
    font-size: 32px;
    color: #1E75B7;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card .description-text {
    padding: 0;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    margin-top: 15px;
    font-size: 1rem;
    color: #1e3c72;
}

.testimonial-card small {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #6c7a91;
}

/* ============================================
   CONTACT SECTION (TU VERSIÓN)
   ============================================ */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    font-size: 36px;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 20px;
}

.contact-subtitle {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: #1E75B7;
}

.info-item p {
    color: #2c3e50;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1E75B7;
}

.contact-form button {
    width: fit-content;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72, #00a8e8);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta .btn-primary {
    background: white;
    color: #1e3c72;
}

.cta .btn-primary:hover {
    background: #f0f0f0;
    color: #1e3c72;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.cta .btn-secondary {
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background: white;
    color: #1e3c72;
}

/* ============================================
   FOOTER (TU VERSIÓN)
   ============================================ */
footer {
    background: #1a2a3a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #00a8e8;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #00a8e8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #1E75B7, #0A4F8A);
    transform: translateY(-2px);
}

/* ============================================
   MODAL (TU VERSIÓN MEJORADA)
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e3c72;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/*  RESPONSIVE (ACTUALIZADO) */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .services,
    .technologies,
    .portfolio,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    .service-card {
        flex: 0 0 260px;
        padding: 20px 16px;
    }
    
    .tech-slide {
        flex: 0 0 260px;
        padding: 25px 15px;
    }
    
    .tech-icon-large {
        width: 65px;
        height: 65px;
    }
    
    .tech-icon-large i {
        font-size: 34px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
    }
    
    .floating-icon i {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        display: none;
    }
    
    .tech-slide {
        flex: 0 0 85%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-icon {
        display: none;
    }
    
    .image-content > i {
        font-size: 60px;
    }
    
    .contact-grid {
        padding: 25px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 1200px) {
    .services-wrapper {
        overflow-x: visible;
    }
    
    .services-horizontal {
        justify-content: center;
    }
    
    .service-card {
        flex: 0 0 260px;
    }
}

/* Animaciones */
.service-card,
.portfolio-card,
.testimonial-card,
.why-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

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