/* =========================================================
   FX AUTOMATION
   INDUSTRIAL SUPPLY - STORE
   VERSION: 2.0 - PROFESSIONAL ENHANCED
========================================================= */

/* =========================================================
   IMPORTS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

/* =========================================================
   VARIABLES (Sistema de Diseño Mejorado)
========================================================= */
:root {
    /* --- Colores Base --- */
    --fx-blue: #1557c7;
    --fx-blue-light: #2474e8;
    --fx-blue-dark: #0d3f96;
    --fx-blue-rgb: 21, 87, 199; /* Para uso con rgba() */

    --fx-dark: #101820;
    --fx-text: #27313a;
    --fx-text-light: #58636d;
    --fx-text-lighter: #7b858e;

    --fx-white: #ffffff;
    --fx-off-white: #fafbfc;
    --fx-gray-100: #f5f7f9;
    --fx-gray-200: #e9edf1;
    --fx-gray-300: #d9dfe5;

    --fx-border: #e2e7eb;

    /* --- Sombras --- */
    --fx-shadow-sm: 0 4px 15px rgba(16, 24, 32, 0.04);
    --fx-shadow-md: 0 8px 30px rgba(16, 24, 32, 0.055);
    --fx-shadow-lg: 0 18px 45px rgba(16, 24, 32, 0.11);
    --fx-shadow-xl: 0 25px 60px rgba(16, 24, 32, 0.15);

    /* --- Tipografía --- */
    --fx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fx-font-heading: 'Manrope', 'Inter', -apple-system, sans-serif;

    /* --- Layout --- */
    --fx-container-max: 1380px;
    --fx-gutter: 40px;
    --fx-header-height: 84px;

    /* --- Transiciones --- */
    --fx-transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    --fx-transition-slow: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);

    /* --- Bordes --- */
    --fx-border-radius: 0;
}

/* =========================================================
   RESET & BASE (Más robusto)
========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--fx-white);
    color: var(--fx-text);
    font-family: var(--fx-font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

:focus-visible {
    outline: 2px solid var(--fx-blue);
    outline-offset: 2px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* =========================================================
   SCROLLBAR (Mejorada)
========================================================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--fx-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--fx-gray-300);
    border: 2px solid var(--fx-gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--fx-blue);
}

/* =========================================================
   UTILITY CONTAINER (Refactorizado)
========================================================= */
.store-container,
.store-header-inner,
.store-cta-content,
.store-footer-main,
.store-footer-bottom {
    width: min(calc(100% - var(--fx-gutter) * 2), var(--fx-container-max));
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   HEADER (Mejorado con backdrop-filter)
========================================================= */
.store-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--fx-header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fx-border);
    box-shadow: var(--fx-shadow-sm);
    transition: background var(--fx-transition), box-shadow var(--fx-transition);
}

.store-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   BRAND
========================================================= */
.store-brand {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.store-brand img {
    width: 145px;
    height: 62px;
    object-fit: contain;
}

/* =========================================================
   NAVIGATION (Mejorada)
========================================================= */
.store-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.store-navigation > a:not(.store-contact-button) {
    position: relative;
    color: var(--fx-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color var(--fx-transition);
}

.store-navigation > a:not(.store-contact-button)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--fx-blue);
    transform: translateX(-50%);
    transition: width var(--fx-transition);
}

.store-navigation > a:not(.store-contact-button):hover {
    color: var(--fx-blue);
}

.store-navigation > a:not(.store-contact-button):hover::after,
.store-navigation > a.active::after {
    width: 100%;
}

.store-navigation > a.active {
    color: var(--fx-blue);
}

/* --- Botón CTA en Nav --- */
.store-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1.5rem;
    background: var(--fx-blue);
    color: var(--fx-white) !important;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all var(--fx-transition);
    white-space: nowrap;
}

.store-contact-button::after {
    content: "→";
    font-size: 1rem;
    transition: transform var(--fx-transition);
}

.store-contact-button:hover {
    background: var(--fx-blue-dark);
    color: var(--fx-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--fx-blue-rgb), 0.2);
}

.store-contact-button:hover::after {
    transform: translateX(3px);
}

/* =========================================================
   MOBILE HEADER BUTTON
========================================================= */
.store-mobile-button {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fx-border);
    background: var(--fx-white);
    color: var(--fx-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--fx-transition);
    flex-shrink: 0;
}

.store-mobile-button:hover {
    border-color: var(--fx-blue);
    color: var(--fx-blue);
}

/* =========================================================
   HERO (Refactorizado)
========================================================= */
.store-hero {
    position: relative;
    min-height: 690px;
    margin-top: var(--fx-header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--fx-white);
}

.store-hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
}

.store-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.store-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 25%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.5) 65%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.store-hero .store-container {
    position: relative;
    z-index: 3;
    min-height: 690px;
    display: flex;
    align-items: center;
}

.store-hero-content {
    max-width: 700px;
    padding-top: 2rem;
}

/* =========================================================
   LABEL (Unificado)
========================================================= */
.store-label,
.store-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: var(--fx-blue);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.store-label span {
    width: 32px;
    height: 2px;
    background: var(--fx-blue);
}

.store-section-label::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--fx-blue);
}

/* =========================================================
   HERO TITLE
========================================================= */
.store-hero h1 {
    max-width: 750px;
    margin-bottom: 1.5rem;
    color: var(--fx-dark);
    font-family: var(--fx-font-heading);
    font-size: clamp(3rem, 5.4vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.store-hero h1 span {
    display: block;
    color: var(--fx-blue);
}

.store-hero-content > p {
    max-width: 580px;
    margin-bottom: 2rem;
    color: var(--fx-text-light);
    font-size: clamp(1rem, 1vw, 1.125rem);
    line-height: 1.8;
}

/* =========================================================
   HERO BUTTONS (Sistema unificado)
========================================================= */
.store-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-btn-primary,
.store-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 52px;
    padding: 0 2rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all var(--fx-transition);
    cursor: pointer;
    white-space: nowrap;
}

.store-btn-primary {
    background: var(--fx-blue);
    color: var(--fx-white);
    box-shadow: 0 6px 18px rgba(var(--fx-blue-rgb), 0.18);
}

.store-btn-primary:hover {
    background: var(--fx-blue-dark);
    color: var(--fx-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--fx-blue-rgb), 0.25);
}

.store-btn-secondary {
    background: var(--fx-white);
    border-color: var(--fx-gray-300);
    color: var(--fx-blue);
}

.store-btn-secondary:hover {
    background: var(--fx-off-white);
    border-color: var(--fx-blue);
    color: var(--fx-blue);
    transform: translateY(-3px);
}

/* =========================================================
   AVAILABILITY (Mejorado)
========================================================= */
.store-availability {
    position: absolute;
    left: 0;
    bottom: 0;
    min-width: 410px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--fx-border);
    border-right: 1px solid var(--fx-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.availability-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #27a35b;
    box-shadow: 0 0 0 6px rgba(39, 163, 91, 0.1);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(39, 163, 91, 0.1); }
    50% { box-shadow: 0 0 0 8px rgba(39, 163, 91, 0.05); }
}

.store-availability strong {
    display: block;
    color: var(--fx-dark);
    font-family: var(--fx-font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
}

.store-availability small {
    display: block;
    margin-top: 0.125rem;
    color: var(--fx-text-lighter);
    font-size: 0.625rem;
}

/* =========================================================
   INTRODUCTION (Refactorizado)
========================================================= */
.store-introduction {
    padding: clamp(4rem, 10vh, 6.25rem) 0 clamp(2.5rem, 6vh, 4.375rem);
    background: var(--fx-white);
}

.store-section-header {
    display: grid;
    grid-template-columns: 55px 1fr 0.75fr;
    gap: 1.5rem;
    align-items: start;
}

.store-section-number {
    color: var(--fx-gray-300);
    font-family: var(--fx-font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
}

.store-section-label {
    margin-bottom: 0.75rem;
}

.store-section-header h2 {
    max-width: 750px;
    color: var(--fx-dark);
    font-family: var(--fx-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.store-section-header h2 span {
    color: var(--fx-blue);
}

.store-section-header > p {
    padding-top: 2rem;
    color: var(--fx-text-light);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* =========================================================
   CATEGORIES (Refactorizado)
========================================================= */
.store-categories {
    padding: 1.25rem 0 clamp(4rem, 10vh, 7.5rem);
    background: var(--fx-white);
}

.store-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem;
}

/* =========================================================
   CATEGORY CARD (Mejorada)
========================================================= */
.store-category-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 440px;
    overflow: hidden;
    background: var(--fx-white);
    border: 1px solid var(--fx-border);
    box-shadow: var(--fx-shadow-sm);
    transition: all var(--fx-transition);
}

.store-category-card:hover {
    border-color: var(--fx-gray-300);
    transform: translateY(-6px);
    box-shadow: var(--fx-shadow-lg);
}

/* =========================================================
   CATEGORY IMAGE (Mejorada)
========================================================= */
.store-category-image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: var(--fx-gray-100);
}

.store-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.store-category-card:hover .store-category-image img {
    transform: scale(1.05);
}

.store-category-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(16, 24, 32, 0.04),
        rgba(16, 24, 32, 0.2)
    );
}

.store-category-number {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    color: var(--fx-white);
    font-family: var(--fx-font-heading);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* =========================================================
   CATEGORY CONTENT
========================================================= */
.store-category-content {
    padding: 2.25rem 2.25rem 1.875rem;
    display: flex;
    flex-direction: column;
}

.store-category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fx-gray-100);
    color: var(--fx-blue);
    font-size: 1.375rem;
    flex-shrink: 0;
}

.store-category-content h3 {
    margin-bottom: 0.75rem;
    color: var(--fx-dark);
    font-family: var(--fx-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.store-category-content > p {
    margin-bottom: 1rem;
    color: var(--fx-text-light);
    font-size: 0.75rem;
    line-height: 1.75;
}

.store-category-content ul {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.store-category-content li {
    position: relative;
    padding: 0.25rem 0 0.25rem 1.25rem;
    color: var(--fx-text-light);
    font-size: 0.6875rem;
}

.store-category-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--fx-blue);
    font-weight: 800;
}

/* =========================================================
   CATEGORY STATUS
========================================================= */
.store-category-status {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--fx-text-lighter);
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-top: 1px solid var(--fx-border);
}

.store-category-status i {
    color: var(--fx-blue);
    font-size: 0.875rem;
}

/* =========================================================
   ENGINEERING SECTION (Mejorada)
========================================================= */
.store-engineering {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--fx-off-white);
    border-top: 1px solid var(--fx-border);
    border-bottom: 1px solid var(--fx-border);
}

.store-engineering-image {
    min-height: 600px;
    overflow: hidden;
}

.store-engineering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-engineering-content {
    padding: clamp(3rem, 10vh, 5.5rem) 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-engineering-content h2 {
    max-width: 600px;
    margin-bottom: 1.25rem;
    color: var(--fx-dark);
    font-family: var(--fx-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.store-engineering-content h2 span {
    color: var(--fx-blue);
}

.store-engineering-content > p {
    max-width: 560px;
    margin-bottom: 1.75rem;
    color: var(--fx-text-light);
    font-size: 0.875rem;
    line-height: 1.85;
}

/* =========================================================
   ENGINEERING POINTS
========================================================= */
.store-engineering-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.store-engineering-points > div {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--fx-text);
    font-size: 0.6875rem;
    font-weight: 600;
}

.store-engineering-points i {
    flex-shrink: 0;
    color: var(--fx-blue);
    font-size: 0.875rem;
}

.store-engineering-content .store-btn-primary {
    align-self: flex-start;
}

/* =========================================================
   CTA (Mejorada)
========================================================= */
.store-cta {
    position: relative;
    padding: clamp(4rem, 10vh, 7rem) 0;
    overflow: hidden;
    background: var(--fx-white);
}

.store-cta::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100px;
    width: 45%;
    height: 100%;
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.6) 30%,
            rgba(255, 255, 255, 0) 100%
        ),
        url("../images/integracion.jpg") center / cover no-repeat;
    opacity: 0.12;
}

.store-cta-content {
    position: relative;
    z-index: 2;
}

.store-cta-content h2 {
    max-width: 700px;
    margin-bottom: 1.25rem;
    color: var(--fx-dark);
    font-family: var(--fx-font-heading);
    font-size: clamp(2.8rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
}

.store-cta-content h2 span {
    display: block;
    color: var(--fx-blue);
}

.store-cta-content > p {
    max-width: 560px;
    margin-bottom: 1.875rem;
    color: var(--fx-text-light);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.store-cta-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =========================================================
   FOOTER (Mejorado)
========================================================= */
.store-footer {
    padding-top: 4rem;
    background: var(--fx-white);
    border-top: 1px solid var(--fx-border);
}

.store-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
}

.store-footer-brand img {
    width: 145px;
    height: auto;
    margin-bottom: 0.75rem;
}

.store-footer-brand p {
    max-width: 280px;
    color: var(--fx-text-lighter);
    font-size: 0.6875rem;
    line-height: 1.75;
}

.store-footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.store-footer-column h4 {
    margin-bottom: 0.5rem;
    color: var(--fx-dark);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.store-footer-column a {
    color: var(--fx-text-lighter);
    font-size: 0.6875rem;
    transition: all var(--fx-transition);
}

.store-footer-column a:hover {
    color: var(--fx-blue);
    transform: translateX(3px);
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */
.store-footer-bottom {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--fx-border);
    color: var(--fx-text-lighter);
    font-size: 0.625rem;
}

/* =========================================================
   ANIMATIONS (Mejoradas)
========================================================= */
@keyframes storeFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-label {
    animation: storeFadeUp 0.7s ease both;
}

.store-hero h1 {
    animation: storeFadeUp 0.75s 0.1s ease both;
}

.store-hero-content > p {
    animation: storeFadeUp 0.75s 0.2s ease both;
}

.store-hero-actions {
    animation: storeFadeUp 0.75s 0.3s ease both;
}

.store-availability {
    animation: storeFadeUp 0.75s 0.4s ease both;
}

/* =========================================================
   MEDIA QUERIES (Jerarquía mejorada)
========================================================= */

/* --- 1400px+ (Pantallas grandes y TV) --- */
@media (min-width: 1400px) {
    :root {
        --fx-gutter: 60px;
        --fx-header-height: 96px;
    }

    .store-hero {
        min-height: 780px;
    }

    .store-hero .store-container {
        min-height: 780px;
    }

    .store-hero h1 {
        font-size: clamp(3.5rem, 5.5vw, 5.5rem);
    }

    .store-availability {
        min-width: 480px;
        padding: 1.5rem 2.5rem;
    }

    .store-category-card {
        min-height: 480px;
    }

    .store-engineering-image {
        min-height: 700px;
    }
}

/* --- 1200px (Tablet Landscape / Desktop pequeño) --- */
@media (max-width: 1200px) {
    .store-category-card {
        grid-template-columns: 40% 60%;
    }

    .store-category-content {
        padding: 2rem;
    }

    .store-category-content h3 {
        font-size: 1.125rem;
    }

    .store-footer-main {
        gap: 2.5rem;
    }
}

/* --- 992px (Tablet) --- */
@media (max-width: 992px) {
    :root {
        --fx-gutter: 25px;
        --fx-header-height: 72px;
    }

    .store-navigation {
        display: none;
    }

    .store-mobile-button {
        display: flex;
    }

    .store-hero-background {
        width: 100%;
    }

    .store-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.6) 100%
        );
    }

    .store-section-header {
        grid-template-columns: 45px 1fr;
        gap: 0.5rem;
    }

    .store-section-header > p {
        grid-column: 2;
        padding-top: 0;
        max-width: 600px;
    }

    .store-category-grid {
        grid-template-columns: 1fr;
    }

    .store-engineering {
        grid-template-columns: 1fr;
    }

    .store-engineering-image {
        min-height: 450px;
        height: 450px;
    }

    .store-engineering-content {
        padding: 4rem 3rem;
    }

    .store-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* --- 768px (Mobile Grande) --- */
@media (max-width: 768px) {
    :root {
        --fx-gutter: 20px;
        --fx-header-height: 68px;
    }

    .store-brand img {
        width: 120px;
        height: 48px;
    }

    .store-hero {
        min-height: 650px;
    }

    .store-hero .store-container {
        min-height: 650px;
    }

    .store-hero-content {
        padding-top: 2.5rem;
    }

    .store-hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .store-hero-content > p {
        font-size: 0.875rem;
    }

    .store-availability {
        min-width: 0;
        width: 100%;
        padding: 1rem 1.25rem;
    }

    .store-availability strong {
        font-size: 0.75rem;
    }

    .store-availability small {
        font-size: 0.5625rem;
    }

    .store-introduction {
        padding: 4rem 0 2.5rem;
    }

    .store-section-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .store-section-header > p {
        grid-column: auto;
        margin-top: 0.5rem;
    }

    .store-section-header h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .store-categories {
        padding: 0.75rem 0 4rem;
    }

    .store-category-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .store-category-image {
        height: 280px;
        min-height: 280px;
    }

    .store-category-content {
        padding: 2rem;
    }

    .store-engineering-image {
        min-height: 330px;
        height: 330px;
    }

    .store-engineering-content {
        padding: 3rem 2rem;
    }

    .store-engineering-points {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .store-cta {
        padding: 4rem 0;
    }

    .store-cta-content h2 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .store-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .store-cta-actions a {
        width: 100%;
        justify-content: center;
    }

    .store-footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .store-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 0;
        min-height: auto;
        gap: 0.5rem;
    }
}

/* --- 480px (Mobile Pequeño) --- */
@media (max-width: 480px) {
    :root {
        --fx-gutter: 15px;
    }

    .store-brand img {
        width: 100px;
        height: 40px;
    }

    .store-hero {
        min-height: 580px;
    }

    .store-hero .store-container {
        min-height: 580px;
    }

    .store-hero h1 {
        font-size: clamp(1.75rem, 12vw, 2.75rem);
    }

    .store-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .store-hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .store-section-header h2 {
        font-size: 2rem;
    }

    .store-category-image {
        height: 220px;
        min-height: 220px;
    }

    .store-category-content {
        padding: 1.5rem;
    }

    .store-category-content h3 {
        font-size: 1.125rem;
    }

    .store-engineering-content h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .store-cta-content h2 {
        font-size: clamp(1.75rem, 10vw, 2.75rem);
    }

    .store-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .store-cta-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   ACCESSIBILITY (Mejorada)
========================================================= */
@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;
    }
}

/* =========================================================
   FIN DEL ARCHIVO
========================================================= */