/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #8B5CF6;
    --color-secondary: #3B82F6;
    --color-dark: #181414;
    --color-dark-light: #111111;
    --color-gray: #86868b;
    --color-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
}

/* Light Theme - CORREGIDO */
body.light-theme {
    background: #ffffff;
    color: #000000;
}

body.light-theme .navbar {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid #e0e0e0;
}

body.light-theme .nav-links a {
    color: #333333;
    font-weight: 500;
}

body.light-theme .nav-links a:hover {
    color: #000000;
}

/* Foto de Javier con calidez y recorte */
.member-photo.javier-photo {
    overflow: hidden;
    border-radius: 16px;
}

.member-photo.javier-photo img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.2) contrast(1.08) brightness(1.05) sepia(0.15);
    transition: transform 0.5s ease, filter 0.5s ease;
    margin: -10%;
}

.member-photo.javier-photo:hover img {
    transform: scale(1.03);
    filter: saturate(1.25) contrast(1.1) brightness(1.08) sepia(0.12);
}

body.light-theme .logo.dark {
    color: #000000;
}

body.light-theme .section-title,
body.light-theme .page-title {
    color: #000000;
}

body.light-theme .section-subtitle,
body.light-theme .page-subtitle {
    color: #555555;
}

body.light-theme .service-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

body.light-theme .service-card h3 {
    color: #000000;
}

body.light-theme .service-card p,
body.light-theme .service-card li {
    color: #444444;
}

body.light-theme .case-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

body.light-theme .case-card h3 {
    color: #000000;
}

body.light-theme .case-card p {
    color: #444444;
}

body.light-theme .footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

body.light-theme .footer-logo.dark,
body.light-theme .footer p.dark {
    color: #000000;
}

/* Equipo Section - Layout de dos cuadros */
.equipo-section {
    padding: 80px 0;
    background: #ffffff;
}

.equipo-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
}

.team-member {
    background: #f8f8f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.member-photo {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.08);
}

.member-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.member-role {
    font-size: 16px;
    font-weight: 600;
    color: #8B5CF6;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 24px;
    flex: 1;
}

.member-contact {
    margin-top: auto;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #8B5CF6;
    color: #8B5CF6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #8B5CF6;
    color: white;
}

/* Contact Page - Hero with background image */
.contact-page .page-hero.contact-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page .page-hero.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contact-page .page-hero.contact-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-page .page-hero.contact-hero .page-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-page .page-hero.contact-hero .page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
}

.contact-page .contacto-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-page .contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-page .contacto-info h2 {
    font-size: 32px;
    color: #000000;
    margin-bottom: 16px;
}

.contact-page .contacto-info > p {
    color: #555555;
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-page .contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-page .contacto-item {
    display: flex;
    flex-direction: column;
}

.contact-page .contacto-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8B5CF6;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-page .contacto-item a,
.contact-page .contacto-item span {
    font-size: 18px;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.contact-page .contacto-item a:hover {
    color: #8B5CF6;
}

.contact-page .contacto-formulario {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 20px;
}

.contact-page .form-group {
    margin-bottom: 24px;
}

.contact-page .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: #ffffff;
    color: #000000;
}

.contact-page .form-group input:focus,
.contact-page .form-group select:focus,
.contact-page .form-group textarea:focus {
    outline: none;
    border-color: #8B5CF6;
}

.contact-page .btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-page .btn-submit:hover {
    transform: translateY(-2px);
}

.contact-page .form-success {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .equipo-section .container {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        height: 300px;
    }
    
    .contact-page .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(20px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
}

.logo span {
    font-style: italic;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-white);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 60%);
    filter: blur(80px);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-gray);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-metrics {
    display: flex;
    gap: 48px;
}

.metric-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 14px;
    color: var(--color-gray);
}

/* Servicios Section */
.servicios {
    padding: 120px 0;
    background: var(--color-dark-light);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--color-gray);
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.service-card.featured {
    background: var(--gradient-primary);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 8px 0;
    color: var(--color-gray);
    padding-left: 24px;
    position: relative;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* Casos Section */
.casos {
    padding: 120px 0;
}

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

.case-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.case-logo {
    font-size: 56px;
    margin-bottom: 20px;
}

.case-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--color-gray);
    margin-bottom: 20px;
}

.case-tag {
    display: inline-block;
    background: rgba(139,92,246,0.2);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

/* Contacto Section */
.contacto {
    padding: 120px 0;
    background: var(--color-dark-light);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-label {
    display: block;
    font-size: 13px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-item a,
.contact-item span {
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.btn-cta {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
}

.footer-logo span {
    font-style: italic;
    font-weight: 600;
}

.footer-copy {
    color: var(--color-gray);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 24px;
    }
    
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Select moderno */
.select-wrapper {
    position: relative;
    width: 100%;
}

.modern-select {
    width: 100%;
    padding: 14px 40px 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.modern-select:hover {
    border-color: #8B5CF6;
}

.modern-select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B5CF6;
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.select-wrapper:hover .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}


/* Contact Page Full - Single Section */
.contact-page-full {
    min-height: 100vh;
}

.contact-page-full .contact-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
}

.contact-page-full .contact-nav .logo {
    color: #ffffff;
}

.contact-page-full .btn-back {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-page-full .btn-back:hover {
    background: rgba(255,255,255,0.1);
}

.contact-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0 60px;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.6) 100%);
}

.contact-form-wrapper {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-form-wrapper h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-lead {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-form-modern {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

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

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

.contact-form-modern input,
.contact-form-modern select,
.contact-form-modern textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form-modern input::placeholder,
.contact-form-modern textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form-modern input:focus,
.contact-form-modern select:focus,
.contact-form-modern textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    background: rgba(255,255,255,0.15);
}

.contact-form-modern select option {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-submit-full {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.form-success-message {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.contact-phones {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-phones p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    font-size: 14px;
}

.phone-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.phone-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.phone-links a:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .contact-form-modern .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper h1 {
        font-size: 32px;
    }
    
    .contact-form-modern {
        padding: 24px;
    }
}


/* Contact Simple - Sin distracciones */
.contact-simple {
    margin: 0;
    padding: 0;
}

.contact-hero-simple {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.contact-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.logo-simple {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    z-index: 10;
}

.logo-simple span {
    font-style: italic;
    font-weight: 600;
}

.contact-box {
    position: relative;
    z-index: 5;
    width: 90%;
    max-width: 420px;
    text-align: center;
}

.contact-box h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-box .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 30px;
}

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

.contact-box input,
.contact-box select,
.contact-box textarea {
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255,255,255,0.95);
    color: #000;
}

.contact-box input:focus,
.contact-box select:focus,
.contact-box textarea:focus {
    outline: 2px solid #8B5CF6;
}

.contact-box button {
    padding: 16px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.contact-box button:hover {
    opacity: 0.9;
}

.success-msg {
    background: #28a745;
    color: white;
    padding: 14px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
}


/* Home Transparent - Navbar transparente inicial */
.home-transparent {
    background: #ffffff;
}

.navbar.transparent {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.transparent.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.transparent .logo.white {
    color: #ffffff;
    transition: color 0.3s ease;
}

.navbar.transparent.scrolled .logo.white {
    color: #000000;
}

.navbar.transparent .nav-links a.white {
    color: #ffffff;
    transition: color 0.3s ease;
}

.navbar.transparent.scrolled .nav-links a.white {
    color: #000000;
}

.btn-contact-blue {
    background: #3B82F6;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact-blue:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.hero-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title.dark {
    color: #000000;
}

.hero-subtitle.dark {
    color: #333333;
}

.metric-number.dark {
    color: #000000;
}

.metric-label.dark {
    color: #666666;
}

.text-primary {
    color: #8B5CF6;
}


/* Texto blanco para hero oscuro */
.hero-title.white {
    color: #ffffff;
}

.hero-subtitle.white {
    color: rgba(255,255,255,0.9);
}

.metric-number.white {
    color: #ffffff;
}

.metric-label.white {
    color: rgba(255,255,255,0.8);
}

.text-white {
    color: #ffffff;
}


/* Navbar sticky blanco */
.navbar.sticky-white {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 16px 0;
}

.navbar.sticky-white .logo.black {
    color: #000000;
}

.navbar.sticky-white .nav-links a.black {
    color: #333333;
    font-weight: 500;
}

.navbar.sticky-white .nav-links a.black:hover {
    color: #000000;
}


/* Servicios con fondo crema y hover zoom */
.servicios {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 100px 0;
}

.section-title.dark {
    color: #000000;
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
}

.section-subtitle.dark {
    color: #666666;
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
}

.service-card-zoom {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-zoom:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card-zoom.featured {
    border: 2px solid #8B5CF6;
}

.service-card-zoom .service-icon-large {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card-zoom h3 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 12px;
}

.service-card-zoom p {
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-zoom ul {
    list-style: none;
}

.service-card-zoom li {
    padding: 8px 0;
    color: #444444;
    padding-left: 24px;
    position: relative;
}

.service-card-zoom li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: 700;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}


/* Servicios grid 4 columnas */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Servicios cards más anchos y visuales */
.service-card-zoom {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.service-card-zoom .service-icon-large {
    font-size: 56px;
    margin-bottom: 24px;
}

.service-card-zoom h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card-zoom p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-zoom ul {
    margin-top: auto;
}

.service-card-zoom li {
    font-size: 14px;
    padding: 6px 0;
}

/* Clientes - fotos que ocupan todo el cuadrado */
.cliente-card {
    height: 400px !important;
}

.cliente-card > div:first-child {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}


/* Servicios cards más anchos */
.service-card-zoom {
    padding: 32px 24px;
    min-height: auto;
}

.service-card-zoom .service-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-card-zoom h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card-zoom p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card-zoom li {
    font-size: 13px;
    padding: 4px 0;
}


/* Servicios cards más anchas y altas */
.service-card-zoom {
    padding: 48px 32px;
    min-height: 480px;
}

.service-card-zoom .service-icon-large {
    font-size: 64px;
    margin-bottom: 28px;
}

.service-card-zoom h3 {
    font-size: 26px;
    margin-bottom: 18px;
}

.service-card-zoom p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card-zoom li {
    font-size: 15px;
    padding: 8px 0;
}

.services-grid {
    max-width: 1600px;
    margin: 0 auto;
}


/* Servicios cards aún más anchas */
.services-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 60px !important;
}

.service-card-zoom {
    padding: 50px 40px;
    min-height: 500px;
}

.service-card-zoom .service-icon-large {
    font-size: 72px;
    margin-bottom: 30px;
}

.service-card-zoom h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.service-card-zoom p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-card-zoom li {
    font-size: 16px;
    padding: 10px 0;
}

/* Servicios Responsive y Visual */
.services-grid-responsive {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid-responsive .service-card-zoom {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.services-grid-responsive .service-card-zoom:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.services-grid-responsive .service-card-zoom.featured {
    border: 3px solid #8B5CF6;
    transform: scale(1.05);
}

.services-grid-responsive .service-card-zoom.featured:hover {
    transform: translateY(-10px) scale(1.07);
}

.services-grid-responsive .service-icon-large {
    font-size: 60px;
    margin-bottom: 24px;
    display: block;
}

.services-grid-responsive .service-card-zoom h3 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 16px;
    font-weight: 700;
}

.services-grid-responsive .service-card-zoom p {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.services-grid-responsive .service-card-zoom ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-grid-responsive .service-card-zoom li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #444444;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.services-grid-responsive .service-card-zoom li:last-child {
    border-bottom: none;
}

.services-grid-responsive .service-card-zoom li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: 700;
    font-size: 16px;
}

.services-grid-responsive .service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid-responsive {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid-responsive .service-card-zoom.featured {
        transform: scale(1);
    }
    
    .services-grid-responsive .service-card-zoom.featured:hover {
        transform: translateY(-10px) scale(1.02);
    }
}

@media (max-width: 640px) {
    .services-grid-responsive {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .services-grid-responsive .service-card-zoom {
        min-height: auto;
        padding: 30px 25px;
    }
    
    .services-grid-responsive .service-icon-large {
        font-size: 50px;
    }
    
    .services-grid-responsive .service-card-zoom h3 {
        font-size: 22px;
    }
}
