/* ============================================
   BAJASOFT - ESTILOS GLOBALES
   Estilo: Startup moderno, limpio, minimalista
   ============================================ */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }

p { color: #4a4a68; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* COLORES */
:root {
    --primary: #1F5CAA;
    --primary-dark: #164785;
    --primary-light: #e8f0fc;
    --accent: #00c2a8;
    --dark: #1a1a2e;
    --gray: #6b7280;
    --light-gray: #f4f6f9;
    --white: #ffffff;
    --border: #e5e7eb;
}

/* BOTONES */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.link-arrow:hover {
    color: var(--primary-dark);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 0;
}

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

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > li > a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-links > li > a:hover {
    color: var(--primary);
}

.nav-links .arrow {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--dark);
    transition: background 0.2s ease;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links > li:last-child {
        border-bottom: none;
        margin-top: 16px;
    }
    
    .nav-links > li > a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }
    
    /* Mobile Dropdown */
    .dropdown .arrow {
        float: right;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--light-gray);
        margin: 0;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    /* Mobile CTA Button */
    .nav-links .btn-nav {
        width: 100%;
        text-align: center;
        padding: 14px 20px !important;
        font-size: 1rem;
    }
    
    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 85%;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
}

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

.hero-text h1 {
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text > p {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary) !important;
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 6px;
}

/* ============================================
   TARGET (Para quién)
   ============================================ */
.target {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.target-text {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

.target-text strong {
    color: var(--dark);
}

/* ============================================
   SERVICIOS
   ============================================ */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services h2,
.process h2,
.difference h2,
.cases h2 {
    text-align: center;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   TECNOLOGÍAS (Lo que puede contener tu software)
   ============================================ */
.tech-capabilities {
    padding: 80px 0;
    background: var(--light-gray);
}

.tech-capabilities h2 {
    text-align: center;
    margin-bottom: 12px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.tech-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tech-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
}

.tech-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.tech-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.tech-item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

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

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        padding: 24px 20px;
    }
}

/* ============================================
   MÉTRICAS
   ============================================ */
.metrics {
    padding: 60px 0;
    background: var(--primary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   PROCESO
   ============================================ */
.process {
    padding: 80px 0;
    background: var(--light-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.process-step {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    position: relative;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.process-step h3 {
    margin-bottom: 12px;
    color: var(--dark);
}

.process-step p {
    font-size: 0.95rem;
}

.process-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary-light);
    padding: 16px 24px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.process-note img {
    width: 24px;
    height: 24px;
}

.process-note p {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
}

/* PROCESO MINIMALISTA */
.process-minimal {
    padding: 100px 0;
    background: var(--white);
}

.process-minimal h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.process-timeline {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 60px 0 50px;
}

.timeline-item {
    text-align: center;
    max-width: 240px;
}

.timeline-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.15;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--gray);
}

.process-tagline {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .timeline-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   DIFERENCIA
   ============================================ */
.difference {
    padding: 80px 0;
    background: var(--white);
}

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

.difference h2 {
    text-align: left;
    margin-bottom: 30px;
}

.difference-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.difference-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
}

.difference-list .check {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.difference-image img {
    border-radius: 14px;
}

/* ============================================
   ADDON / CREDENCIALES STARTUP
   ============================================ */
.addon-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.addon-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.addon-image img {
    border-radius: 6px;
}

.addon-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.addon-text h2 {
    text-align: left;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.addon-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.addon-uses {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.addon-uses span {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--dark);
}

.addon-list {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 16px;
}

@media (max-width: 968px) {
    .addon-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .addon-text h2 {
        text-align: center;
    }
    
    .addon-uses {
        justify-content: center;
    }
}

/* ============================================
   CASO DE ÉXITO MINIMALISTA
   ============================================ */
.cases-minimal {
    padding: 100px 0;
    background: var(--white);
}

.case-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.case-highlight-image img {
    border-radius: 6px;
}

.case-highlight-content h2 {
    text-align: left;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.case-highlight-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark);
    margin-bottom: 12px;
}

.case-title-blue {
    font-size: 2rem !important;
    color: var(--primary) !important;
}

.section-title-left {
    text-align: left;
    margin-bottom: 40px;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.case-highlight-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.case-highlight-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.highlight-stat {
    display: flex;
    flex-direction: column;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .case-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .case-highlight-content h2 {
        text-align: center;
    }
    
    .case-highlight-stats {
        justify-content: center;
    }
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20bd5a;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   CASOS DE ÉXITO
   ============================================ */
.cases {
    padding: 80px 0;
    background: var(--white);
}

.cases h2 {
    margin-bottom: 40px;
}

.case-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 40px 40px 40px 0;
}

.case-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.case-content > p {
    margin-bottom: 20px;
}

.case-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.cta-content {
    text-align: center;
}

.cta h2 {
    margin-bottom: 16px;
    color: var(--dark);
}

.cta .cta-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: var(--gray);
}

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

.cta-phone {
    display: block;
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--gray);
}

.cta-phone a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-whatsapp:hover {
    background: #20bd5a;
}

.footer-phone {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-grid,
    .process-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .difference-content,
    .credentials-content {
        grid-template-columns: 1fr;
    }
    
    .difference h2 {
        text-align: center;
    }
    
    .credentials-image {
        order: -1;
    }
    
    .case-card {
        grid-template-columns: 1fr;
    }
    
    .case-content {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   PÁGINAS INTERNAS - HERO PEQUEÑO
   ============================================ */
.page-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 16px;
    color: var(--dark);
}

.page-hero h1 span {
    color: var(--primary);
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* SECCIÓN DE CONTENIDO GENÉRICO */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background: var(--light-gray);
}

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

.content-grid.reverse .content-image {
    order: -1;
}

.content-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 16px;
}

.content-text ul {
    margin: 20px 0;
}

.content-text ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.content-image img {
    border-radius: 14px;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid.reverse .content-image {
        order: 0;
    }
    
    .content-text h2 {
        text-align: center;
    }
}

/* ============================================
   PAGE HERO CON GRADIENTE (SERVICIOS)
   ============================================ */
.page-hero-gradient {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
}

.page-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-hero-content.centered {
    display: block;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-text h1 {
    margin-bottom: 16px;
    color: var(--dark);
}

.page-hero-text h1 span {
    color: var(--primary);
}

.page-hero-text .hero-lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 28px;
}

.page-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-hero-image img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.page-hero-gradient .hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.page-hero-content.centered .hero-cta {
    justify-content: center;
}

@media (max-width: 768px) {
    .page-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .page-hero-gradient .hero-cta {
        justify-content: center;
    }
    
    .page-hero-image {
        order: -1;
    }
    
    .page-hero-image img {
        max-height: 240px;
    }
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   SHOWCASE SECTION (SOFTWARE)
   ============================================ */
.showcase-section {
    padding: 80px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.showcase-main h2 {
    text-align: left;
    margin-bottom: 16px;
}

.showcase-lead {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.showcase-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.feature-item:hover {
    background: var(--primary-light);
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.feature-item span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

.showcase-visual img {
    border-radius: 6px;
}

@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-main h2 {
        text-align: center;
    }
    
    .showcase-lead {
        text-align: center;
    }
    
    .showcase-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .showcase-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TECH STRIP
   ============================================ */
.tech-strip {
    padding: 40px 0;
    background: var(--light-gray);
}

.tech-content {
    text-align: center;
}

.tech-content h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.tech-content p {
    font-size: 1rem;
    color: var(--gray);
}

/* ============================================
   CREDENCIALES PAGE - ESTILOS ESPECÍFICOS
   ============================================ */
.credential-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.credential-type {
    padding: 28px;
    background: var(--light-gray);
    border-radius: 14px;
    text-align: center;
}

.credential-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 6px;
    margin: 0 auto 16px;
}

.credential-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.credential-type h3 {
    margin-bottom: 8px;
    color: var(--dark);
}

.credential-type p {
    font-size: 0.95rem;
}

/* USES SECTION */
.uses-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.uses-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-card {
    background: var(--white);
    padding: 28px;
    border-radius: 14px;
    text-align: center;
}

.use-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 6px;
    margin: 0 auto 16px;
}

.use-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.use-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.use-card p {
    font-size: 0.9rem;
}

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

@media (max-width: 480px) {
    .uses-grid {
        grid-template-columns: 1fr;
    }
    
    .credential-types {
        grid-template-columns: 1fr;
    }
}

/* HOW SECTION */
.how-section {
    padding: 80px 0;
}

.how-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.how-step {
    text-align: center;
}

.how-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.how-step h3 {
    margin-bottom: 8px;
    color: var(--dark);
}

.how-step p {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .how-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* SPECS SECTION */
.specs-section {
    padding: 60px 0;
    background: var(--dark);
}

.specs-content h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

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

/* NOTE SECTION */
.note-section {
    padding: 40px 0;
}

.note-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--primary-light);
    border-radius: 6px;
    max-width: 700px;
    margin: 0 auto;
}

.note-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.note-box p {
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0;
}

/* ============================================
   SOFTWARE A LA MEDIDA - NUEVAS SECCIONES
   ============================================ */

/* MODULES SECTION (Construimos lo que imaginas) */
.modules-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title-center {
    text-align: center;
    margin-bottom: 42px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.module-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 92, 170, 0.1);
}

.module-image {
    width: 100%;
    height: 140px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--light-gray);
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.module-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* INCLUDES SECTION (Qué incluye tu software) */
.includes-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.include-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.include-item img {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.store-badges img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0;
}

.include-item h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.include-item p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* COMPATIBLE SECTION */
.compatible-section {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.compatible-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 24px;
}

.compatible-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.compatible-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.compatible-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.compatible-item:hover img {
    opacity: 1;
}

.compatible-item span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* PROBLEMS SECTION (Problemas en maquilas) */
.problems-section {
    padding: 80px 0;
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.problem-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}

.problem-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.problem-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light-gray);
}

.problem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.problem-content {
    flex: 1;
}

.problem-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.problem-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.solution {
    padding: 12px;
    background: var(--primary-light);
    border-radius: 4px;
}

.solution-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 4px;
}

.solution p {
    font-size: 0.85rem;
    color: var(--dark);
    margin: 0;
}

/* RESPONSIVE - SOFTWARE */
@media (max-width: 992px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .includes-grid {
        grid-template-columns: 1fr;
    }
    
    .compatible-grid {
        gap: 24px;
    }
    
    .problem-card {
        flex-direction: column;
    }
    
    .problem-image {
        width: 100%;
        height: 160px;
    }
}

/* ============================================
   APPS - NUEVAS SECCIONES
   ============================================ */

/* USECASES SECTION */
.usecases-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.usecase-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.usecase-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.usecase-image {
    width: 180px;
    flex-shrink: 0;
    background: var(--light-gray);
}

.usecase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usecase-content {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.usecase-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.usecase-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* PLATFORMS SECTION */
.platforms-section {
    padding: 80px 0;
    background: var(--white);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.platform-card {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
}

.platform-card:hover {
    box-shadow: 0 8px 24px rgba(31, 92, 170, 0.1);
}

.platform-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--light-gray);
}

.platform-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.platform-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* RESPONSIVE - APPS */
@media (max-width: 768px) {
    .usecases-grid {
        grid-template-columns: 1fr;
    }
    
    .usecase-card {
        flex-direction: column;
    }
    
    .usecase-image {
        width: 100%;
        height: 180px;
    }
    
    .usecase-content {
        padding: 20px;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WEB - SITE TYPES SECTION
   ============================================ */

.sitetypes-section {
    padding: 80px 0;
    background: var(--white);
}

.sitetypes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.sitetype-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.sitetype-card:hover {
    box-shadow: 0 8px 24px rgba(31, 92, 170, 0.1);
}

.sitetype-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--light-gray);
    overflow: hidden;
}

.sitetype-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--light-gray);
}

.sitetype-content {
    padding: 24px;
}

.sitetype-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.sitetype-content > p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.sitetype-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitetype-features li {
    font-size: 0.85rem;
    color: var(--dark);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.sitetype-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* RESPONSIVE - WEB */
@media (max-width: 768px) {
    .sitetypes-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CREDENCIALES - NUEVAS SECCIONES
   ============================================ */

/* CARD TYPES SECTION */
.cardtypes-section {
    padding: 80px 0;
    background: var(--white);
}

.cardtype-block {
    margin-bottom: 60px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.cardtype-block:last-child {
    margin-bottom: 0;
}

.cardtype-header {
    margin-bottom: 24px;
}

.cardtype-header h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.cardtype-header p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.cardtype-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gallery-item {
    aspect-ratio: 1 / 0.63;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cardtype-features {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.cardtype-features li {
    font-size: 0.9rem;
    color: var(--dark);
    padding-left: 24px;
    position: relative;
}

.cardtype-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* CREDENTIAL USES SECTION */
.credential-uses-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.credential-uses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.credential-use-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.credential-use-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.credential-use-image {
    width: 100%;
    height: 160px;
    background: var(--light-gray);
    overflow: hidden;
}

.credential-use-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.credential-use-content {
    padding: 20px;
}

.credential-use-content h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.credential-use-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* RESPONSIVE - CREDENCIALES */
@media (max-width: 992px) {
    .cardtype-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .credential-uses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cardtype-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cardtype-features {
        flex-direction: column;
    }
}

/* ============================================
   NOSOTROS - ESTILO STARTUP
   ============================================ */

/* PROPUESTA DE VALOR */
.about-value {
    padding: 80px 0;
    background: var(--white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 30px;
}

.value-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    opacity: 0.2;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* INTRO */
.about-intro {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro h2 {
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-image {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* PARA QUIÉN */
.about-audience {
    padding: 100px 0;
    background: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.audience-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.audience-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.audience-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.audience-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.audience-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.audience-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* CLIENTES */
.clients-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
}

.clients-more {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: var(--gray);
}

/* RESPONSIVE NOSOTROS */
@media (max-width: 992px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-highlights {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================
   PROYECTOS - DISEÑO LIMPIO
   ============================================ */

/* Intro */
.projects-intro {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.intro-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
}

/* Project Card Section */
.project-card-section {
    padding: 60px 0;
    background: var(--white);
}

.project-card-section.alt {
    background: #f8f9fa;
}

.project-card {
    max-width: 1100px;
    margin: 0 auto;
}

.project-card-header {
    margin-bottom: 40px;
}

.project-info {
    max-width: 700px;
}

.project-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.project-card h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.project-info > p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    background: #e8f4fd;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

/* Features Grid */
.project-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-features-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.feature-block {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s;
}

.project-card-section.alt .feature-block {
    background: var(--white);
}

.feature-block:hover {
    border-color: var(--primary);
}

.feature-block h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-block > p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.feature-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.feature-img img {
    max-width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
}

.feature-img.phone img {
    max-height: 200px;
}

.feature-img.phone.large img {
    max-height: 280px;
}

.feature-img.phone.dual img {
    max-height: 160px;
}

/* Responsive Proyectos */
@media (max-width: 1024px) {
    .project-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-features-grid.three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-card-section {
        padding: 40px 0;
    }
    
    .project-card h2 {
        font-size: 1.75rem;
    }
    
    .project-features-grid,
    .project-features-grid.three-cols {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-block {
        padding: 20px;
    }
    
    .feature-img img {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .project-tech {
        gap: 6px;
    }
    
    .project-tech span {
        font-size: 12px;
        padding: 3px 10px;
    }
}

/* ============================================
   MODAL DE COTIZACIÓN
   ============================================ */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(4px);
}

.quote-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
}

.quote-modal.active .quote-modal-content {
    transform: translateY(0) scale(1);
}

.quote-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.quote-modal-close:hover {
    background: var(--border);
}

.quote-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--gray);
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.quote-modal-header h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.quote-modal-header p {
    color: var(--gray);
    font-size: 1rem;
}

/* FORMULARIO */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group label .required {
    color: #e74c3c;
}

.form-group label .optional {
    color: var(--gray);
    font-weight: 400;
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 92, 170, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* CHECKBOXES */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.checkbox-item input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-item input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-item input:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-item input:checked ~ .checkbox-label {
    color: var(--primary);
    font-weight: 600;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--dark);
}

.checkbox-error {
    color: #e74c3c;
    font-size: 0.8rem;
    display: none;
    margin-top: 4px;
}

/* FORM FOOTER */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-note svg {
    flex-shrink: 0;
    color: var(--accent);
}

.btn-submit {
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* SUCCESS STATE */
.quote-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #00a896);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.quote-success h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.quote-success p {
    color: var(--gray);
    margin-bottom: 24px;
}

.quote-success p strong {
    color: var(--primary);
}

/* RESPONSIVE MODAL */
@media (max-width: 768px) {
    .quote-modal-content {
        padding: 24px;
        width: 95%;
        max-height: 95vh;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 16px;
    }
    
    .form-note {
        text-align: center;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .audience-item {
        aspect-ratio: 16/9;
    }
}