/* ==========================================================================
   SAO ELEVACIÓN - LANDING PAGE V2 - DESIGN SYSTEM
   ========================================================================== */

/* --- 1. VARIABLES & TOKENS --- */
:root {
    /* Colors - Brand */
    --clr-primary-900: #003B5C;
    /* Darker navy */
    --clr-primary-500: #005581;
    /* Corporate Blue (Base) */
    --clr-primary-400: #007BBF;
    /* Light Blue */

    --clr-accent: #00E676;
    /* Zoomlion Aurora Green - Vibrant highlight */
    --clr-accent-dim: rgba(0, 230, 118, 0.15);
    /* Green glow */

    --clr-danger: #FF4500;
    /* Urgency Orange/Red */
    --clr-danger-hover: #E03E00;

    --clr-wa: #25D366;
    /* WhatsApp Green */

    /* Colors - Neutrals */
    --clr-dark: #111827;
    /* Near black */
    --clr-gray-800: #1F2937;
    --clr-gray-600: #4B5563;
    --clr-gray-300: #D1D5DB;
    --clr-gray-100: #F3F4F6;
    --clr-light: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Layout & Utilities */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --max-width: 1200px;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 85, 129, 0.15);

    /* UX & Accessibility */
    --focus-ring: 0 0 0 3px rgba(0, 230, 118, 0.6);
}

/* Accessibility Focus States */
*:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--border-radius-sm);
}

/* Respect user preferences for animation */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- 2. RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-gray-800);
    background-color: var(--clr-gray-100);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.eyebrow {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.w-100 {
    width: 100%;
}

/* --- 3. COMPONENTS --- */

/* Typography Utils */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--clr-danger);
    margin-bottom: var(--space-md);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-header p {
    color: var(--clr-gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--clr-danger);
    color: var(--clr-light);
}

.btn-primary:hover {
    background-color: var(--clr-danger-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.btn-secondary {
    background-color: var(--clr-primary-500);
    color: var(--clr-light);
}

.btn-secondary:hover {
    background-color: var(--clr-primary-900);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary-500);
    border: 2px solid var(--clr-primary-500);
}

.btn-outline:hover {
    background-color: var(--clr-primary-500);
    color: var(--clr-light);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg) translateX(-150%);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(30deg) translateX(-150%);
    }

    20% {
        transform: rotate(30deg) translateX(150%);
    }

    100% {
        transform: rotate(30deg) translateX(150%);
    }
}

/* Glassmorphism utility */
.glassmorphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* --- 4. HEADER & NAV --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clr-gray-300);
    transition: var(--transition-base);
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-primary-900);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-danger);
    transition: var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-primary-900);
    cursor: pointer;
}

/* Mobile Menu — white side-panel (v2 style) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 20, 40, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    padding: var(--space-2xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: right var(--transition-base);
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f1f5f9;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--clr-primary-900);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.close-menu:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
    margin-bottom: auto;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-primary-900);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.mobile-link:hover {
    color: var(--clr-danger);
    border-bottom-color: var(--clr-danger);
}

/* Mobile CTA link — destaca visualmente como acción */
.mobile-link--cta {
    color: var(--clr-danger) !important;
    font-weight: 700;
    border-bottom-color: var(--clr-danger) !important;
}

.mobile-contact {
    margin-top: 2rem;
}

/* Info de contacto en menú móvil */
.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--clr-gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-contact-link i {
    color: var(--clr-primary-500);
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.mobile-contact-link:hover {
    color: var(--clr-primary-900);
}

/* --- 5. HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #003B5C;
    /* Fallback de color corporativo */
    background-image: url('assets/img/Banner-1.jpg');
    background-size: cover;
    background-position: center right;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Gradient from dark blue on left to transparent on right for readability */
    background: linear-gradient(90deg, rgba(0, 59, 92, 0.95) 0%, rgba(0, 59, 92, 0.85) 45%, rgba(0, 59, 92, 0.2) 100%);
}

.hero-content {
    max-width: 650px;
    color: var(--clr-light);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--clr-light);
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.hero-content p strong {
    color: var(--clr-accent);
}

/* --- 5.5 APPLE STYLE DEMO --- */
.apple-demo {
    height: 300vh;
    position: relative;
    background: #000;
    margin-top: -30px;
    z-index: 5;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.apple-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.apple-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.1s linear, opacity 0.1s linear;
    will-change: transform, opacity;
}

.apple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.apple-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: var(--clr-light);
    font-family: var(--font-heading);
    opacity: 0;
    text-align: center;
    width: 90%;
    max-width: 1000px;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.apple-text.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.apple-text.exit {
    opacity: 0;
    transform: translate(-50%, -60%);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--space-xl);
}

.hero-cta .btn-outline {
    color: var(--clr-light);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.hero-cta .btn-outline:hover {
    border-color: var(--clr-light);
    background: rgba(255, 255, 255, 0.1);
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-item i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

/* --- 6. BENEFICIOS --- */
.benefits {
    padding: var(--space-2xl) 0;
    background-color: var(--clr-light);
    position: relative;
    /* Angled top separator */
    margin-top: -30px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    z-index: 10;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-base);
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--clr-primary-500);
    box-shadow: var(--shadow-lg);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(0, 85, 129, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--clr-primary-500);
    font-size: 2rem;
    transition: var(--transition-base);
}

.benefit-card:hover .icon-wrap {
    background: var(--clr-primary-500);
    color: var(--clr-light);
}

/* --- 7. CATALOGO --- */
.catalog {
    padding: var(--space-2xl) 0;
    background-color: var(--clr-gray-100);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--clr-light);
    border: 1px solid var(--clr-gray-300);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-gray-600);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--clr-primary-500);
    color: var(--clr-light);
    border-color: var(--clr-primary-500);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: var(--space-xl);
}

.catalog-card {
    background: var(--clr-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--clr-danger);
    color: var(--clr-light);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.card-badge.premium {
    background: var(--clr-accent);
    color: var(--clr-dark);
}

.card-img-wrap {
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid var(--clr-gray-100);
}

.card-img-wrap img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.catalog-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    color: var(--clr-primary-500);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--clr-gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.features-list {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-gray-800);
}

.features-list i {
    color: var(--clr-primary-500);
    font-size: 0.8rem;
}

.card-footer {
    margin-top: auto;
}

/* --- 8. PROMO BANNER --- */
.promo-banner {
    position: relative;
    padding: var(--space-2xl) 0;
    background: var(--clr-primary-900);
    color: var(--clr-light);
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--clr-primary-500);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.promo-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.promo-text h2 {
    color: var(--clr-light);
}

/* --- 9. FOOTER --- */
.footer {
    background: var(--clr-light);
    color: var(--clr-gray-800);
    padding: var(--space-xl) 0 2rem;
    border-top: 1px solid var(--clr-gray-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: var(--space-xl);
}

.footer-logo {
    height: auto;
    max-width: 160px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary-900);
}

.social-links a:hover {
    background: var(--clr-primary-500);
    color: var(--clr-light);
}

.footer-links h3 {
    color: var(--clr-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--clr-gray-600);
}

.footer-links ul li i {
    margin-top: 5px;
    color: var(--clr-primary-500);
}

.footer-links ul li a {
    color: var(--clr-gray-600);
}

.footer-links ul li a:hover {
    color: var(--clr-primary-500);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--clr-gray-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--clr-gray-600);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.footer-bottom-links a {
    color: var(--clr-gray-600);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--clr-primary-500);
    text-decoration: underline;
}

.separator {
    color: var(--clr-gray-300);
}

@media (min-width: 768px) {
    .footer-bottom-links {
        margin-top: 0;
    }
}

/* --- 10. FLOATING WSAB --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--clr-wa);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.floating-wa .tooltip {
    position: absolute;
    right: 80px;
    background: var(--clr-dark);
    color: var(--clr-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    white-space: nowrap;
}

.floating-wa .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--clr-dark);
}

.floating-wa:hover .tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- 11. ANIMATIONS --- */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 12. RESPONSIVE --- */
@media (max-width: 992px) {

    .nav-links,
    .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-bg {
        background-position: center;
    }

    .hero-overlay {
        background: rgba(0, 59, 92, 0.85);
        /* Darker on mobile for text readability */
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .promo-banner::before {
        display: none;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .trust-indicators {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- 13. PROCESS STEPS --- */
.process-section {
    padding: var(--space-2xl) 0;
    background-color: var(--clr-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-base);
    border-top: 4px solid var(--clr-primary-500);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--clr-primary-500), var(--clr-primary-400));
    color: var(--clr-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 15px rgba(0, 85, 129, 0.3);
}

.process-step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--clr-gray-600);
    font-size: 0.95rem;
}

/* --- 14. CONTACT FORM --- */
.contact-section {
    padding: var(--space-2xl) 0;
    background: var(--clr-gray-100);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info>p {
    color: var(--clr-gray-600);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.contact-perks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--clr-gray-800);
}

.perk-item i {
    color: var(--clr-primary-500);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-gray-800);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--clr-gray-300);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: var(--clr-light);
    transition: var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5563' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--clr-primary-500);
    box-shadow: 0 0 0 3px rgba(0, 85, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- 17. NEWSLETTER --- */
.newsletter-section {
    background: var(--clr-gray-100);
    padding: var(--space-xl) 0;
}

.newsletter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--clr-primary-900);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-content h2 {
    color: var(--clr-light);
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px var(--focus-ring);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-container {
        padding: 2rem;
    }
}

/* --- 15. TESTIMONIALS --- */
.testimonials-section {
    padding: var(--space-2xl) 0;
    background: var(--clr-primary-900);
    color: var(--clr-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: var(--clr-light);
}

.testimonials-section .eyebrow {
    color: var(--clr-accent);
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 90%;
    scroll-snap-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-md);
    /* Flex para empujar el autor siempre al fondo */
    display: flex;
    flex-direction: column;
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1; /* crece para igualar altura y empujar autor al fondo */
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-light);
}

.author-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-base);
}

.carousel-dot.active {
    background: var(--clr-accent);
    transform: scale(1.3);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .testimonials-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .testimonial-card {
        width: 100%;
        scroll-snap-align: none;
    }

    .carousel-indicators {
        display: none;
    }
}

/* --- 16. FAQ --- */
.faq-section {
    padding: var(--space-2xl) 0;
    background: var(--clr-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-dark);
    text-align: left;
    gap: 1rem;
}

.faq-question i {
    transition: transform var(--transition-base);
    color: var(--clr-primary-500);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--clr-gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- OVERRIDES FINALES MOBILE NAVBAR & DEMO RES --- */
@media (max-width: 991px) {
    .header-container {
        position: relative !important;
        justify-content: space-between !important;
        align-items: center !important;
        display: flex !important;
    }

    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        margin: 0 !important;
    }

    .header-actions .btn-primary {
        display: none !important;
        /* Hide 'Cotizar Rapido' button to save space on mobile, since WA floating is there */
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(0, 59, 92, 0.05);
        width: 44px;
        height: 44px;
        border-radius: 12px;
        color: var(--clr-primary-900);
        transition: all 0.2s ease;
        z-index: 2;
        position: relative;
    }

    .menu-toggle:hover {
        background: rgba(0, 59, 92, 0.1);
        transform: scale(1.05);
    }
}

/* Ensure the Apple Demo background looks crisp on large screens */
.apple-bg {
    background-size: cover;
    background-position: center center;
    image-rendering: -webkit-optimize-contrast;
    /* Forcer high-quality rendering */
    transform-origin: center;
}

/* =============================================
   IMÁGENES DECORATIVAS FLOTANTES
   ============================================= */

/* --- Hero: persona en gondola (derecha) --- */
.hero-float-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 92%;
    width: auto;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 75%, transparent 100%);
    animation: heroFloatIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-float-img img {
    height: 100%;
    width: auto;
    object-fit: cover;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    filter: saturate(0.7) brightness(0.85);
}

@keyframes heroFloatIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 992px) {
    .hero-float-img { display: none; }
}

/* --- Decorativo genérico --- */
.deco-img {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.deco-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: decoFloat 6s ease-in-out infinite;
}

@keyframes decoFloat {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-12px); }
}

/* Ingeniero — derecha de la sección beneficios */
.benefits {
    position: relative;
    overflow: hidden;
}

.deco-img--engineer {
    right: -30px;
    bottom: 0;
    width: 260px;
    height: 340px;
    opacity: 0.08;
    filter: grayscale(1);
    animation-delay: 0s;
}

@media (max-width: 768px) {
    .deco-img--engineer { display: none; }
}

/* =============================================
   FOOTER — CRÉDITO STRATA STUDIO
   ============================================= */
.footer-dev-credit {
    text-align: left;
    padding: 0.75rem 0;
    font-size: 0.78rem;
    color: var(--clr-gray-600);
}

@media (max-width: 768px) {
    .footer-dev-credit { text-align: center; }
}

.footer-dev-credit a {
    color: var(--clr-primary-400);
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-dev-credit a:hover {
    color: var(--clr-primary-900);
    text-decoration: underline;
}