
:root {
    --primary: #6B1D2F;
    --primary-dark: #3D0F1B;
    --secondary: #B8B8B8;
    --dark: #1C1C1E;
    --light: #F5F0EB;
    --white: #ffffff;
    --gray: #7A7A7A;
    --gold: #C9A84C;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--dark);
            background: var(--white);
            line-height: 1.6;
            overflow-x: hidden;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        
        /* Section labels */
        .section-label {
            color: var(--primary) !important;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            margin-bottom: 20px;
            display: block;
            position: relative;
        }
        
        .section-label::after {
            content: '';
            display: block;
            width: 40px;
            height: 3px;
            background: var(--gold);
            margin: 12px auto 0;
            border-radius: 2px;
        }

        
        /* Botones - estilos consolidados */
        .btn-primary, .btn-secondary {
            display: inline-block;
            padding: 16px 32px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            border-radius: 24px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .btn-primary {
            background: var(--primary);
            color: var(--white);
            border: none;
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--dark) !important;
            border: 1px solid var(--gray);
        }
        
        .btn-secondary:hover {
            border-color: var(--gold);
            background: var(--gold);
            color: var(--white) !important;
        }

        /* Apple-style Typography */
        h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; }
        
        /* Header - Apple Style */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        
        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 14px;
        }
        
        .logo-text {
            font-size: 18px;
            font-weight: 600;
            color: var(--dark);
            letter-spacing: -0.02em;
        }
        
        nav {
            display: flex;
            gap: 32px;
        }
        
        nav a {
            color: var(--gray);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s ease;
        }
        
        nav a:hover { color: var(--gold); }
        
        .header-cta {
            padding: 10px 20px;
            background: var(--dark);
            color: white;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: 20px;
            transition: all 0.2s ease;
        }
        
        .header-cta:hover {
            background: var(--primary);
            transform: scale(1.02);
        }
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 120px 24px 80px;
            background: linear-gradient(rgba(0,0,0,0.55), rgba(114,35,56,0.45)),
                        linear-gradient(135deg, #3D0F1B, #6B1D2F, #1C1C1E);
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            max-width: 900px;
            position: relative;
            z-index: 1;
        }
        
        .hero-badge {
            display: inline-block;
            padding: 8px 20px;
            background: var(--gold);
            color: var(--dark) !important;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border-radius: 20px;
            margin-bottom: 24px;
        }
        
        .hero h1 {
            font-size: clamp(48px, 8vw, 80px);
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -0.03em;
            color: #fff;
        }
        
        .hero p {
            font-size: 20px;
            color: rgba(255,255,255,0.85);
            max-width: 600px;
            margin: 0 auto 40px;
            line-height: 1.7;
        }
        
        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        


        /* Features Section */
        .features {
            padding: 120px 24px;
            background: var(--white);
        }
        
        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 80px;
        }
        
        .section-title {
            font-size: clamp(36px, 5vw, 56px);
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }
        
        .section-desc {
            font-size: 18px;
            color: var(--gray);
            line-height: 1.7;
        }
        
        .features-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
        }
        
        .feature-card {
            padding: 40px 32px;
            background: var(--white);
            border-radius: 24px;
            text-align: center;
            transition: all 0.4s ease;
            border: 1px solid transparent;
        }
        
        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.08);
            border-color: var(--gold);
        }
        

        
        .feature-card h3 {
            font-family: 'Inter', sans-serif;
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
        }
        
        .feature-card p {
            color: var(--gray);
            font-size: 15px;
        }

        /* About Section */
        .about {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 700px;
        }
        
        .about-image {
            background: url('/assets/oficina.jpg') center/cover;
            position: relative;
        }
        
        .about-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, transparent 50%, rgba(0,0,0,0.1));
        }
        
        .about-content {
            padding: 80px 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: var(--secondary);
        }
        
        .about-content h2 {
            font-size: 42px;
            color: var(--dark);
            margin-bottom: 24px;
            line-height: 1.2;
        }
        
        .about-content h2 span {
            color: var(--primary);
        }
        
        .about-content p {
            color: rgba(0,0,0,0.6);
            font-size: 17px;
            margin-bottom: 16px;
            line-height: 1.8;
        }

        /* Services Section */
        .services {
            padding: 120px 24px;
            background: var(--light);
        }
        
        .services-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        
        .service-card {
            background: var(--white);
            padding: 40px 32px;
            border-radius: 24px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        
        .service-card:hover {
            border-color: var(--gold);
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            transform: translateY(-4px);
        }
        
        .service-icon {
            width: 56px;
            height: 56px;
            background: var(--light);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 22px;
            color: var(--primary);
        }
        
        .service-card h3 {
            font-family: 'Inter', sans-serif;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        /* Custom Sections */
        .custom-section {
            padding: 100px 24px;
            background: var(--white);
        }
        
        .custom-content {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .custom-reverse .custom-content {
            grid-template-columns: 1fr 1fr;
        }
        
        .custom-reverse .custom-image {
            order: 2;
        }
        
        .custom-reverse .custom-text {
            order: 1;
        }
        
        .custom-image {
            min-height: 400px;
            background-size: cover;
            background-position: center;
            border-radius: 24px;
        }
        
        .custom-text h2 {
            font-size: 42px;
            margin-bottom: 20px;
            color: var(--dark);
        }
        
        .custom-text p {
            font-size: 17px;
            color: var(--gray);
            line-height: 1.8;
        }

        /* Stats Section - estilo hero */
        .stats {
            padding: 100px 24px;
            background: linear-gradient(135deg, #1C1C1E 0%, #3d1a24 50%, var(--primary) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .stats .section-label {
            color: #fff !important;
        }
        
        .stats-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }
        
        .stat-item {
            padding: 40px 24px;
            border-radius: 20px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.08);
            transition: transform 0.3s ease, background 0.3s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-4px);
            background: rgba(255,255,255,0.1);
        }
        
        .stat-item h3 {
            font-size: 56px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 4px;
            font-family: 'Inter', sans-serif;
        }
        
        .stat-item p {
            color: rgba(255,255,255,0.6);
            font-size: 15px;
        }
        
        /* Testimonials Section */
        .testimonials {
            padding: 120px 24px;
            background: var(--light);
        }
        
        .testimonials-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }
        
        .testimonial-card {
            padding: 40px;
            background: var(--white);
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            position: relative;
            transition: transform 0.3s ease;
        }
        
        .testimonial-card:hover {
            transform: translateY(-4px);
        }
        
        .testimonial-card::before {
            content: '"';
            font-size: 80px;
            font-family: 'Playfair Display', serif;
            color: var(--primary);
            opacity: 0.3;
            position: absolute;
            top: 20px;
            left: 30px;
            line-height: 1;
        }
        
        .testimonial-text {
            font-size: 16px;
            color: var(--gray);
            line-height: 1.8;
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .testimonial-avatar {
            width: 48px;
            height: 48px;
            background: var(--gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 16px;
        }
        
        .testimonial-info h4 {
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-weight: 600;
        }
        
        .testimonial-info p {
            font-size: 13px;
            color: var(--gray);
        }
        
        /* CTA Section */
        .cta {
            padding: 100px 24px;
            background: var(--primary-dark);
            text-align: center;
            position: relative;
        }
        
        .cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gold);
        }
        
        .cta h2 {
            font-size: 42px;
            color: var(--white);
            margin-bottom: 16px;
        }
        
        .cta p {
            font-size: 18px;
            color: rgba(255,255,255,0.7);
            margin-bottom: 32px;
        }
        
        .cta .btn-primary {
            background: var(--gold);
            color: var(--dark);
            font-weight: 600;
        }
        
        .cta .btn-primary:hover {
            background: var(--white);
            color: var(--primary-dark);
        }
        
        /* Contact Section */
        .contact {
            padding: 120px 24px;
            background: var(--white);
        }
        
        .contact-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 48px;
            text-align: center;
        }
        
        .contact-item {
            padding: 32px 24px;
            background: var(--light);
            border-radius: 20px;
            transition: transform 0.3s ease;
        }
        
        .contact-item:hover {
            transform: translateY(-4px);
        }
        
        .contact-item h4 {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--primary);
            margin-bottom: 12px;
        }
        
        .contact-item p {
            color: var(--gray);
            font-size: 16px;
        }

        /* Footer */
        footer {
            padding: 40px 24px;
            background: var(--secondary);
            border-top: 1px solid rgba(0,0,0,0.08);
            text-align: center;
        }
        
        footer p {
            color: rgba(0,0,0,0.4);
            font-size: 14px;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .about { grid-template-columns: 1fr; }
            .about-image { min-height: 400px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            nav { display: none; }
        }
        
        @media (max-width: 768px) {
            .features-grid { grid-template-columns: 1fr; }
        }
        
        @media (max-width: 640px) {
            .hero h1 { font-size: 40px; }
            .hero p { font-size: 17px; }
            .section-title { font-size: 32px; }
            .stats-grid { grid-template-columns: 1fr; }
            .about-content { padding: 60px 24px; }
        }

        /* Feature icon img */
        .feature-img-icon {
            width: 48px;
            height: 48px;
            object-fit: contain;
            display: block;
            margin: 0 auto 24px;
        }

        /* Servicios API - Tabs con Documentos */
        .servicios-api {
            padding: 120px 24px;
            background: var(--light);
        }

        .servicios-api-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 48px;
        }

        .servicios-api-tab {
            padding: 10px 24px;
            border-radius: 100px;
            border: 1.5px solid var(--gray);
            background: transparent;
            color: var(--gray);
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .servicios-api-tab:hover {
            border-color: var(--gold);
            color: var(--gold);
        }

        .servicios-api-tab.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        .servicio-doc-card {
            max-width: 720px;
            margin: 0 auto;
            background: var(--white);
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.08);
            overflow: hidden;
            border-left: 4px solid var(--primary);
            animation: fadeInUp 0.4s ease;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .servicio-doc-header {
            padding: 32px 40px 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            border-bottom: 1px solid var(--light);
        }

        .servicio-doc-icon {
            width: 48px;
            height: 48px;
            background: var(--light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            flex-shrink: 0;
            color: var(--primary);
        }

        .servicio-doc-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 600;
            color: var(--dark);
        }

        .servicio-doc-body {
            padding: 24px 40px 40px;
        }

        .servicio-doc-body h4 {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--primary);
            margin-bottom: 16px;
        }

        .doc-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 0;
            border-bottom: 1px solid var(--light);
            font-size: 15px;
            color: var(--dark);
        }

        .doc-item:last-child {
            border-bottom: none;
        }

        .doc-item i {
            color: var(--primary);
            font-size: 16px;
            width: 20px;
            text-align: center;
        }

        .doc-item-empty {
            text-align: center;
            padding: 32px;
            color: var(--gray);
            font-size: 15px;
        }

        .servicios-api-counter {
            text-align: center;
            margin-top: 24px;
            font-size: 14px;
            color: var(--gray);
        }

        .servicios-api-status {
            text-align: center;
            padding: 60px 24px;
            color: var(--gray);
        }

        .servicios-api-status i {
            font-size: 40px;
            margin-bottom: 16px;
            display: block;
        }

        .servicios-api-status .btn-retry {
            margin-top: 16px;
            padding: 10px 24px;
            border-radius: 100px;
            border: 1px solid var(--primary);
            background: transparent;
            color: var(--primary);
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .servicios-api-status .btn-retry:hover {
            background: var(--primary);
            color: white;
        }

        /* WhatsApp Float */
        .whatsapp-float {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 56px;
            height: 56px;
            background: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            z-index: 999;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
            color: white;
        }
    
        .hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); } .hero .btn-secondary:hover { background: rgba(255,255,255,.12); } .brand-name { color: var(--primary); font-family: 'Playfair Display', serif; font-size: 23px; }
        .brand-name strong { color: var(--gold); }
        .feature-symbol { font-size: 36px; color: var(--primary); margin-bottom: 20px; }
        .service-link { display: inline-block; margin-top: 18px; color: var(--primary); font-weight: 600; }
        .contact-item a { color: inherit; overflow-wrap: anywhere; }
        section[id] { scroll-margin-top: 100px; }
        @media (max-width: 600px) {
            .hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); } .hero .btn-secondary:hover { background: rgba(255,255,255,.12); } .brand-name { font-size: 18px; }
            .header-inner { flex-wrap: wrap; gap: 12px; }
            nav { order: 3; width: 100%; justify-content: center; }
        }
    