/* =============================================
   FWD International - Landing Page
   Taller de Ejes y Transmisión | Tijuana
   ============================================= */

:root {
    /* Paleta FWD International - Rojo/Amarillo del logo */
    --color-bg: #0c0c0f;
    --color-bg-alt: #12121a;
    --color-surface: #1a1a22;
    --color-primary: #C41E3A;
    --color-primary-hover: #DC2626;
    --color-primary-dark: #9F1239;
    --color-accent: #FBBF24;
    --color-accent-light: #FDE68A;
    --color-gray: #6B7280;
    --color-text: #f0f0f2;
    --color-text-muted: #9ca3af;
    --color-border: rgba(255, 255, 255, 0.08);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.35);
    --radius: 12px;
    --radius-lg: 20px;
}

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

/* Focus visible para accesibilidad */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* Desactivar animación pulse en WhatsApp si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .fab-whatsapp { animation: none; }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    transition: opacity 0.5s ease;
}

/* Textura sutil para profundidad */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ Loader ============ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    margin-bottom: 1.5rem;
    animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
    animation: loader-fill 1.2s ease-in-out forwards;
}

@keyframes loader-fill {
    to { width: 100%; }
}

.loader-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--transition), padding var(--transition);
}

.header.scrolled {
    background: rgba(12, 12, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

.logo-img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    opacity: 0.9;
    margin-top: -1px;
}

.nav-badge-english {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-accent);
    padding: 0.35rem 0.75rem;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-facebook {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 119, 242, 0.2);
    color: #1877f2;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition);
}

.nav-facebook:hover {
    background: #1877f2;
    color: #fff;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

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

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

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

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-overlay.visible {
    display: block;
    opacity: 1;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.45);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-text);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-phone {
    background: var(--color-surface);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-phone:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(at 40% 20%, rgba(196, 30, 58, 0.25) 0%, transparent 50%),
        radial-gradient(at 80% 0%, rgba(251, 191, 36, 0.12) 0%, transparent 40%),
        radial-gradient(at 0% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 45%);
}

.hero-gear {
    position: absolute;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}
.hero-gear-1 {
    top: 15%;
    right: 5%;
    animation: gear-spin 30s linear infinite;
}
.hero-gear-2 {
    bottom: 20%;
    left: 0;
    font-size: 8rem;
    animation: gear-spin 25s linear infinite reverse;
}
@media (prefers-reduced-motion: reduce) {
    .hero-gear { animation: none !important; }
}
@keyframes gear-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196, 30, 58, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 100% 100%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
    filter: blur(120px);
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    bottom: 10%;
    left: -80px;
    filter: blur(100px);
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-primary-dark);
    top: 50%;
    right: 20%;
    filter: blur(80px);
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--color-accent);
    top: 30%;
    left: 10%;
    filter: blur(60px);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Animación de entrada del hero */
.hero-content .hero-badges,
.hero-content .hero-title,
.hero-content .hero-text,
.hero-content .hero-cta {
    opacity: 0;
    transform: translateY(24px);
}
.hero-content.hero-visible .hero-badges { animation: fadeUp 0.6s ease forwards; }
.hero-content.hero-visible .hero-title { animation: fadeUp 0.6s 0.1s ease forwards; }
.hero-content.hero-visible .hero-text { animation: fadeUp 0.6s 0.2s ease forwards; }
.hero-content.hero-visible .hero-cta { animation: fadeUp 0.6s 0.35s ease forwards; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text .hero-highlight {
    color: var(--color-accent);
    font-weight: 600;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(196, 30, 58, 0.2);
    border: 1px solid rgba(196, 30, 58, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-accent);
}

.hero-badge-english {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: var(--color-accent-light);
}

.hero-badge i {
    font-size: 1rem;
}

.title-sub {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.title-line {
    display: block;
    color: var(--color-text-muted);
    font-weight: 400;
}

.title-accent {
    display: block;
    color: var(--color-accent);
    text-shadow: 0 0 60px rgba(251, 191, 36, 0.35), 0 0 120px rgba(251, 191, 36, 0.15);
}

.hero-text {
    max-width: 520px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
    transition: color var(--transition), border-color var(--transition);
}

.scroll-indicator:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============ Stats Bar ============ */
.stats-bar {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08) 0%, rgba(251, 191, 36, 0.04) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem;
    opacity: 0.85;
    transform: scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stats-bar.visible .stat-item {
    opacity: 1;
    transform: scale(1);
}

.stats-bar.visible .stat-item:nth-child(1) { transition-delay: 0s; }
.stats-bar.visible .stat-item:nth-child(2) { transition-delay: 0.08s; }
.stats-bar.visible .stat-item:nth-child(3) { transition-delay: 0.16s; }
.stats-bar.visible .stat-item:nth-child(4) { transition-delay: 0.24s; }

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.stat-value i {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============ Proceso ============ */
.proceso {
    background: var(--color-bg);
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.proceso-item {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(26, 26, 34, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.proceso-item:hover {
    border-color: rgba(196, 30, 58, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.proceso-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: rgba(251, 191, 36, 0.35);
    line-height: 1;
    margin-bottom: 1rem;
}

.proceso-item h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.proceso-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============ Testimonial ============ */
.testimonial {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(196, 30, 58, 0.03) 50%, var(--color-bg-alt) 100%);
}

.testimonial-quote {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-quote i.fa-quote-left {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.testimonial-quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.testimonial-quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============ Promo Banner - Diagnóstico Gratuito ============ */
.promo-banner {
    padding: 2rem 0;
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.12) 0%, rgba(251, 191, 36, 0.06) 50%, rgba(196, 30, 58, 0.1) 100%);
    border-top: 1px solid rgba(196, 30, 58, 0.2);
    border-bottom: 1px solid rgba(196, 30, 58, 0.2);
    backdrop-filter: blur(8px);
}

.promo-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.promo-badge-gratis {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-badge-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 14px;
    color: var(--color-accent);
    font-size: 1.5rem;
    animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.promo-badge-gratis i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.promo-badge-gratis strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-accent);
}

.promo-badge-gratis span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============ Promo Cambio de Aceite ============ */
.promo-aceite {
    padding: 3rem 0;
    background: var(--color-bg);
}

.promo-aceite-card {
    max-width: 420px;
    margin: 0 auto;
    background: linear-gradient(145deg, #c2410c 0%, #ea580c 35%, #f97316 70%, #fb923c 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(234, 88, 12, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}

.promo-aceite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.promo-aceite-card:hover {
    transform: scale(1.03);
    box-shadow: 0 28px 64px rgba(234, 88, 12, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

.promo-aceite-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fff;
    color: #ea580c;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-weight: bold;
}

.promo-aceite-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.promo-aceite-content h2 i {
    margin-right: 0.5rem;
}

.promo-precio {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.promo-precio span {
    font-size: 1rem;
    opacity: 0.9;
}

.promo-periodo {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.btn-accent {
    background: #fff !important;
    color: #ea580c !important;
}

.btn-accent:hover {
    background: #fff !important;
    color: #c2410c !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ============ Section Common ============ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ============ Servicios ============ */
.servicios {
    background: var(--color-bg-alt);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.servicio-card {
    background: linear-gradient(145deg, rgba(26, 26, 34, 0.9) 0%, rgba(18, 18, 26, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition-slow);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.servicio-card:hover {
    border-color: rgba(196, 30, 58, 0.5);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(196, 30, 58, 0.15);
}

.servicio-card:focus-within {
    outline: 2px solid rgba(251, 191, 36, 0.5);
    outline-offset: 2px;
}

.servicio-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.25) 0%, rgba(251, 191, 36, 0.12) 100%);
    color: var(--color-accent);
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform var(--transition);
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.05);
}

.servicio-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.servicio-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============ Nosotros ============ */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-content .section-tag {
    text-align: left;
}

.nosotros-content .section-title {
    text-align: left;
    margin-bottom: 1.25rem;
}

.nosotros-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.nosotros-list {
    list-style: none;
    margin-bottom: 2rem;
}

.nosotros-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.nosotros-list i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.nosotros-visual {
    display: flex;
    justify-content: center;
}

.nosotros-logo-wrap {
    width: 200px;
    height: 200px;
}

.nosotros-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(196, 30, 58, 0.3));
}

.nosotros-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nosotros-stat {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.nosotros-stat:hover {
    border-color: rgba(196, 30, 58, 0.4);
    transform: scale(1.02);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============ CTA Section ============ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, #DC2626 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .btn-whatsapp {
    background: #fff;
    color: #25d366;
}

.cta-buttons .btn-phone {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
}

/* ============ Contacto ============ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contacto-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.2);
    color: var(--color-accent);
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contacto-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contacto-item p,
.contacto-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition);
}

.contacto-item a:hover {
    color: var(--color-primary);
}

.contacto-english p {
    color: var(--color-accent);
}

.contacto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-contacto {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-contacto:hover {
    border-color: var(--color-primary);
    color: var(--color-accent);
}

.btn-contacto i {
    margin-right: 0.5rem;
}

.map-placeholder {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.map-placeholder:hover {
    border-color: rgba(196, 30, 58, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.7;
}

.map-placeholder p {
    color: var(--color-text-muted);
}

/* ============ Footer ============ */
.footer {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, #0a0a0e 100%);
    border-top: 1px solid var(--color-border);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.footer-brand .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    color: var(--color-text-muted);
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: #1877f2;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============ Botón flotante WhatsApp ============ */
.fab-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    overflow: hidden;
    animation: fab-pulse 2s ease-in-out infinite;
}

@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.fab-whatsapp i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.fab-whatsapp-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.fab-whatsapp:hover {
    width: auto;
    padding: 0 1.25rem;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp:hover .fab-whatsapp-text {
    max-width: 100px;
    opacity: 1;
    margin-left: 0.25rem;
}

/* ============ Modal Compartir ============ */
.modal-share {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-share.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.modal-share-content {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.modal-share-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.modal-share-content h3 i {
    margin-right: 0.5rem;
    color: var(--color-accent);
}

.modal-share-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.modal-share-input-wrap {
    display: flex;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
}

.modal-share-prefix {
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.modal-share-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
}

.modal-share-input::placeholder {
    color: var(--color-text-muted);
}

.modal-share-input:focus {
    outline: none;
}

.modal-share-input-wrap.error {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
}

.modal-share-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.modal-share-buttons .btn {
    padding: 0.6rem 1.2rem;
}

/* ============ Back to top ============ */
.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 998;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-muted);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: rgba(251, 191, 36, 0.1);
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nosotros-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-content .section-title {
        text-align: center;
    }

    .nosotros-content .section-tag {
        text-align: center;
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-menu .nav-badge-english {
        display: flex;
        margin-top: 0.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-alt);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transition: right var(--transition);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .nosotros-box {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .contacto-item {
        flex-direction: column;
        text-align: center;
    }

    .contacto-item i {
        margin: 0 auto;
    }

    .contacto-actions {
        flex-direction: column;
    }

    .contacto-actions .btn-contacto {
        width: 100%;
        justify-content: center;
    }

    .fab-whatsapp {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
    }

    .fab-whatsapp:hover .fab-whatsapp-text {
        display: none;
    }

    .fab-whatsapp:hover {
        width: 52px;
        padding: 0;
    }

    .proceso-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-quote {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote p {
        font-size: 1.05rem;
    }

    .hero-gear {
        font-size: 6rem !important;
    }

    .hero-gear-2 {
        font-size: 4rem !important;
    }

    .back-to-top {
        bottom: 4.5rem;
        right: 1rem;
    }
}
