/* css/style.css - Versión moderna y vanguardista */
:root {
    --primary-color: #1a3a5f;
    --primary-dark: #0f243d;
    --primary-light: #2c5aa0;
    --secondary-color: #4a90e2;
    --accent-color: #00d4ff;
    --accent-dark: #00a8cc;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Moderno */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section Moderna */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle span {
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.floating-card span {
    font-size: 0.875rem;
    font-weight: 600;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    top: 10%;
    right: 20%;
    animation: float 3s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation: float 3s ease-in-out infinite 1s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.arrow {
    width: 2px;
    height: 20px;
    background: white;
    margin: 0 auto;
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* About Modern */
.about-modern {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-modern .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.values-modern {
    margin-top: 3rem;
}

.values-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image-modern {
    position: relative;
}

.image-container {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-xl);
	background-image: url(assets/images/about/equipo-patagonia.jpg);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.experience-badge {
    background: var(--gradient-accent);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.years {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.label {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Services Modern */
.services-modern {
    padding: 6rem 0;
    background: var(--light-color);
}

.services-grid-modern {
    display: grid;
    gap: 2rem;
}

.service-card-modern {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-modern:hover::before {
    width: 8px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-features li {
    background: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-image {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-image img {
    transform: scale(1.1);
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Brands Section */
.brands-section {
    padding: 4rem 0;
    background: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.brand-logo-modern {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.brand-logo-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-logo-modern img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo-modern:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .about-content-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-card-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .modern-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {

        grid-template-columns: 1fr;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Agregar estos estilos al CSS existente */

/* Header corregido */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo styles */
.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

/* Navigation */
.modern-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Footer Moderno */
.modern-footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item span:first-child {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Responsive para Header y Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .modern-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .modern-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.75rem 0;
    }

    .logo-text {
        display: none;
    }

    .modern-footer {
        padding: 3rem 0 0;
    }
}
/* Agregar estos estilos al CSS existente */

/* Page Hero común para todas las páginas */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Estilos específicos para Quiénes Somos */
.about-story {
    padding: 6rem 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 500;
}

.story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.focus-section {
    padding: 6rem 0;
    background: white;
}

.focus-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.focus-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.focus-image img {
    width: 100%;
    height: auto;
    display: block;
}

.focus-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.focus-list {
    list-style: none;
    margin: 2rem 0;
}

.focus-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.focus-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.focus-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-top: 2rem;
}

/* Estilos para Servicios */
.services-detailed {
    padding: 6rem 0;
    background: var(--light-color);
}

.service-detailed-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-detailed-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-main-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.service-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.service-features-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-column ul {
    list-style: none;
}

.feature-column li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-column i {
    color: var(--accent-color);
}

.service-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.domotica-benefits {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 12px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.process-section {
    padding: 6rem 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Estilos para Clientes */
.clients-types {
    padding: 6rem 0;
    background: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.client-type-card {
    background: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.client-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.client-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.client-features {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.client-features li {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.testimonials-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.success-cases {
    padding: 6rem 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-card {
    background: var(--light-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.case-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat .label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Estilos para Contacto */
.contact-info-section {
    padding: 6rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.method-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.method-content a,
.method-content span {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.method-content a:hover {
    color: var(--accent-color);
}

.contact-form-section {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.map-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.map-container {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.map-placeholder {
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.coverage-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.coverage-area h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.coverage-area ul {
    list-style: none;
    text-align: left;
}

.coverage-area li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.coverage-area li:last-child {
    border-bottom: none;
}

.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--light-color);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .story-content,
    .focus-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values-grid,
    .process-steps,
    .testimonials-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-features-detailed {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .values-grid,
    .process-steps,
    .testimonials-grid,
    .cases-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .service-main-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .coverage-areas {
        grid-template-columns: 1fr;
    }
    
    .service-image-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-detailed-card {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
}
/* CSS actualizado para el header */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem; /* Reducido el gap */
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0; /* Evita que el logo se reduzca */
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

/* Navigation - Más compacto */
.modern-nav {
    display: flex;
    align-items: center;
    margin-left: auto; /* Empuja el menú hacia la izquierda */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Reducido el gap entre items del menú */
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem; /* Texto ligeramente más pequeño */
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1.25rem;
    }
    
    .nav-list li a {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .modern-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        display: flex !important;
        gap: 0;
    }

    .modern-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-list li a {
        font-size: 1rem;
        padding: 0.75rem 0;
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    .logo-text {
        display: none; /* Oculta el texto del logo en móviles muy pequeños */
    }
    
    .modern-nav {
        top: 70px;
    }
}
/* CSS actualizado para el logo imagen */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo-modern {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 50px; /* Altura fija para el logo */
    width: auto; /* Ancho automático para mantener proporción */
    max-width: 200px; /* Ancho máximo para evitar que sea muy grande */
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Navigation - Más compacto */
.modern-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1.25rem;
    }
    
    .nav-list li a {
        font-size: 0.8rem;
    }
    
    .logo-image {
        height: 45px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .modern-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        display: flex !important;
        gap: 0;
    }

    .modern-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-list li a {
        font-size: 1rem;
        padding: 0.75rem 0;
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-image {
        height: 40px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 140px;
    }
    
    .modern-nav {
        top: 70px;
    }
}

/* Asegurar que el header tenga suficiente espacio en móviles */
@media (max-width: 768px) {
    .modern-header {
        padding: 0;
    }
    
    .header-content {
        min-height: 80px;
    }
}
/* Agregar estos estilos al CSS existente */

/* Header con gradiente azul a blanco */
.modern-header {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 30%, white 55%, white 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    min-height: 80px;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-image-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(74, 144, 226, 0.5);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.logo-container:hover .logo-image-wrapper {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: #bfdbfe; /* blue-200 equivalente */
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-top: 0.25rem;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151; /* gray-700 equivalente */
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link.active {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Header Spacer */
.header-spacer {
    height: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .logo-main {
        font-size: 1.25rem;
    }
    
    .logo-image-wrapper {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        display: none;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
        display: block;
        color: var(--text-color);
    }

    .nav-link.active {
        border-bottom: none;
        background: var(--light-color);
        border-radius: 4px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .logo-text {
        display: none;
    }
    
    .header-content {
        min-height: 70px;
        padding: 0.25rem 0;
    }
    
    .header-spacer {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .logo-image-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .header-content {
        min-height: 65px;
    }
    
    .header-spacer {
        height: 65px;
    }
    
    .modern-header {
        background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 40%, white 60%, white 100%);
    }
}

/* Efecto cuando se hace scroll */
.modern-header.scrolled .logo-main {
    color: var(--primary-dark);
    text-shadow: none;
}

.modern-header.scrolled .logo-sub {
    color: var(--primary-light);
}

.modern-header.scrolled .logo-image-wrapper {
    border-color: var(--primary-color);
}
/* Estilos para la imagen del logo */
.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 4px;
}

/* Si reemplazas el icono, ajusta estos estilos */
.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Opcional: Si quieres eliminar el icono completamente */
.logo-icon {
    display: none; /* Agrega esta línea si quieres ocultar el icono */
}
/* Agregar estos estilos al CSS existente */

/* Logo con imagen personalizada */
.logo-custom-image {
    width: 80px; /* AJUSTA ESTE VALOR para el ancho */
    height: 80px; /* AJUSTA ESTE VALOR para el alto */
    object-fit: contain; /* Mantiene la proporción de la imagen */
    border-radius: 6px; /* Esquinas ligeramente redondeadas */
    transition: all 0.3s ease;
}

/* Efecto hover en la imagen */
.logo-modern:hover .logo-custom-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Ajustes para el contenedor del logo */
.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Ocultar el icono original (si todavía está en el HTML) */
.logo-icon {
    display: none !important;
}

/* Responsive - Ajustar tamaño en tablets */
@media (max-width: 1024px) {
    .logo-custom-image {
        width: 45px; /* Tamaño reducido para tablet */
        height: 45px;
    }
}

/* Responsive - Ajustar tamaño en móviles */
@media (max-width: 768px) {
    .logo-custom-image {
        width: 40px; /* Tamaño reducido para móvil */
        height: 40px;
    }
    
    .logo-text {
        display: none; /* Opcional: ocultar texto en móviles muy pequeños */
    }
}

/* Responsive - Móviles muy pequeños */
@media (max-width: 480px) {
    .logo-custom-image {
        width: 35px;
        height: 35px;
    }
}
/* Agregar estos estilos al CSS existente */

/* Reorganización de la sección Quiénes Somos */
.about-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-images-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contenedor de imagen principal */
.main-image-container {
    margin-bottom: 0;
}

/* Valores debajo de la imagen principal */
.values-modern {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.values-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Imagen secundaria */
.secondary-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.secondary-image-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.secondary-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.secondary-image-container:hover .secondary-image {
    transform: scale(1.05);
}

/* Features Grid ajustado */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Texto principal mejorado */
.about-text-modern .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-text-modern p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images-modern {
        gap: 1.5rem;
    }
    
    .values-modern {
        padding: 1.5rem;
    }
    
    .feature-item,
    .value-item {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-content-modern {
        gap: 2rem;
    }
    
    .about-images-modern {
        gap: 1rem;
    }
    
    .values-modern {
        padding: 1rem;
    }
}
/* Agregar estos estilos al CSS existente */

/* Sección unificada de Features y Valores */
.features-values-section {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Features Grid Unificado */
.features-grid-unified {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item-unified {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item-unified:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon-unified {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item-unified:hover .feature-icon-unified {
    transform: scale(1.1);
}

.feature-item-unified h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item-unified p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

/* Valores Unificados */
.values-modern-unified {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.values-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.values-list-unified {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.value-item-unified {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.value-item-unified:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.value-number-unified {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.value-item-unified h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.value-item-unified p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

/* Ajustes para la sección about principal */
.about-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text-modern .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
}

.about-text-modern p {
    line-height: 1.7;
    margin-bottom: 0;
}

.about-image-modern {
    position: relative;
}

.image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.experience-badge {
    background: var(--gradient-accent);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.years {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.label {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-values-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content-modern {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-content-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-values-section {
        margin-top: 3rem;
    }
    
    .feature-item-unified {
        padding: 1.25rem;
    }
    
    .values-modern-unified {
        padding: 1.5rem;
    }
    
    .value-item-unified {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .features-values-section {
        margin-top: 2rem;
    }
    
    .feature-item-unified {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .values-modern-unified {
        padding: 1rem;
    }
    
    .value-item-unified {
        padding: 1rem 0.5rem;
    }
    
    .image-overlay {
        padding: 1rem;
    }
    
    .experience-badge {
        padding: 0.75rem 1rem;
    }
    
    .years {
        font-size: 1.5rem;
    }
}
/* Agregar estos estilos al CSS existente */

/* Stats Section con fondo azul */
.stats-section-blue {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.svg') center/cover;
    opacity: 0.1;
}

.stats-section-blue .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stats-section-blue .stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-section-blue .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats-section-blue .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-section-blue .stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Efectos de partículas opcionales */
.stats-section-blue .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-section-blue .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-section-blue .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-section-blue {
        padding: 4rem 0;
    }
    
    .stats-section-blue .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-section-blue .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stats-section-blue .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-section-blue .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-section-blue {
        padding: 3rem 0;
    }
    
    .stats-section-blue .stat-number {
        font-size: 2rem;
    }
}
/* ===== STATS SECTION CON FONDO AZUL ===== */
.stats-section-blue {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0.6;
}

.stats-section-blue .container {
    position: relative;
    z-index: 2;
}

.stats-section-blue .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-section-blue .stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stats-section-blue .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.stats-section-blue .stat-item:hover::before {
    left: 100%;
}

.stats-section-blue .stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stats-section-blue .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.stats-section-blue .stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.stats-section-blue .stat-item:hover .stat-number::after {
    width: 60px;
}

.stats-section-blue .stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.4;
}

/* Efecto de partículas decorativas */
.stats-section-blue .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-section-blue .stats-grid {
        gap: 1.5rem;
    }
    
    .stats-section-blue .stat-item {
        padding: 2rem 1.25rem;
    }
    
    .stats-section-blue .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .stats-section-blue .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-section-blue .stat-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .stats-section-blue {
        padding: 4rem 0;
    }
    
    .stats-section-blue .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stats-section-blue .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .stats-section-blue .stat-number {
        font-size: 3rem;
    }
    
    .stats-section-blue .stat-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .stats-section-blue {
        padding: 3rem 0;
    }
    
    .stats-section-blue .stat-item {
        padding: 1.75rem 1.25rem;
    }
    
    .stats-section-blue .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-section-blue .stat-label {
        font-size: 0.95rem;
    }
}

/* Animación sutil para toda la sección */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-section-blue .stats-grid {
    animation: fadeInUp 0.8s ease-out;
}