/* =============================================
   TRANSPORTES Y EXCAVACIONES J&M
   Premium Construction Machinery Rental Website
   ============================================= */

/* === CSS Variables === */
:root {
    --orange: #e79b24;
    --orange-dark: #c47f0a;
    --orange-light: #f5be5e;
    --orange-glow: rgba(231, 155, 36, 0.3);
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f1f3;
    --gray-200: #e2e4e8;
    --gray-300: #c8ccd4;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --font-main: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Bebas Neue', 'Barlow Condensed', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --shadow-orange: 0 8px 30px rgba(231, 155, 36, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Preloader === */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #ffffff 0%, #fef3e0 30%, #f5d89a 60%, var(--orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner { text-align: center; }

.preloader-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 28px;
    filter: drop-shadow(0 4px 25px rgba(196, 127, 10, 0.3));
    animation: preloader-fade-in 1s ease-out forwards;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: rgba(80, 60, 20, 0.6);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: preloader-fade-in 1.2s ease-out 0.3s both;
}

.preloader-line {
    width: 60px;
    height: 3px;
    background: var(--orange-dark);
    border-radius: 2px;
    margin: 0 auto;
    animation: preloader-fade-in 1.4s ease-out 0.5s both;
}

@keyframes preloader-fade-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.loader-bar {
    display: none;
}

.loader-bar-fill {
    display: none;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 110px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.1));
}

.navbar.scrolled .nav-logo-img { height: 75px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.08em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.4) 70%, rgba(10,10,10,0.85) 100%),
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(231, 155, 36, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}


.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(231, 155, 36, 0.1);
    border: 1px solid rgba(231, 155, 36, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--gray-400);
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(231, 155, 36, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before { left: 100%; }

.btn-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-full { width: 100%; justify-content: center; }

/* === Hero Stats === */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--orange);
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--orange);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-700);
}

/* === Scroll Indicator === */
.hero-scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--orange);
    border-radius: 3px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* === Modern Section Transitions === */

/* Catalogo (gray-900) → Galeria (gray-50): angled bottom */
.catalogo-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--gray-50);
    clip-path: polygon(0 100%, 100% 40%, 100% 100%);
    z-index: 6;
    pointer-events: none;
}

/* Galeria (gray-50) → Promos (black): angled bottom */
.galeria-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--black);
    clip-path: polygon(0 40%, 100% 100%, 0 100%);
    z-index: 6;
    pointer-events: none;
}

/* Promos (black) → Testimonios (gray-50): angled bottom */
.promos-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--gray-50);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
    pointer-events: none;
}

/* Testimonios (gray-50) → Nosotros (about-hero dark): no visible transition needed */

/* Nosotros (gray-50) → Contacto (gray-900): angled bottom */
.nosotros-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--gray-900);
    clip-path: polygon(0 100%, 100% 40%, 100% 100%);
    z-index: 6;
    pointer-events: none;
}

/* Contacto (gray-900) → Footer (light): gradient */
.contacto-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gray-50));
    z-index: 6;
    pointer-events: none;
}

/* === Sections === */
.section {
    padding: 80px 0;
    position: relative;
}

/* Catálogo: dark industrial steel bg */
.catalogo-section {
    background: var(--gray-900);
    color: var(--white);
    position: relative;
    padding-bottom: 120px;
}
.catalogo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
}
.catalogo-section .section-title { color: var(--white); }
.catalogo-section .section-desc { color: var(--gray-400); }

/* Galería: warm earth tones */
.galeria-section {
    background: var(--gray-50);
    position: relative;
    padding-bottom: 120px;
}
.galeria-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231,155,36,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Promos: dark bold bg */
.promos-section {
    background: var(--black);
    color: var(--white);
    position: relative;
}
.promos-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(231,155,36,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(231,155,36,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Nosotros: light bg, padding handled by redesign */
.nosotros-section {
    background: var(--gray-50);
    position: relative;
}

/* Contacto: dark immersive */
.contacto-section {
    background: var(--gray-900);
    color: var(--white);
    position: relative;
}
.contacto-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(231,155,36,0.07) 0%, transparent 50%);
    pointer-events: none;
}
.contacto-section .section-title { color: var(--white); }
.contacto-section .section-desc { color: var(--gray-400); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(231, 155, 36, 0.08);
    border: 1px solid rgba(231, 155, 36, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
}

/* === Catálogo Filters === */
.catalogo-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.catalogo-filter {
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.catalogo-filter:hover {
    color: var(--orange);
    border-color: var(--orange);
    background: rgba(231,155,36,0.08);
}

.catalogo-filter.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-orange);
}

.catalogo-filter i { font-size: 0.85rem; }

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Catálogo === */
.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(231, 155, 36, 0.2);
}

.product-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card-img img { transform: scale(1.08); }

.product-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    pointer-events: none;
}


.product-cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-cat-badge i { font-size: 0.7rem; color: var(--orange); }

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* === Gallery Professional === */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    background: transparent;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.gallery-filter.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-orange);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-card.hidden {
    display: none;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.1);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-cat {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    padding: 3px 10px;
    background: rgba(231,155,36,0.15);
    border-radius: 50px;
    width: fit-content;
}

.gallery-card-overlay h3 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 4px;
    transform: translateY(15px);
    transition: var(--transition);
}

.gallery-card-overlay p {
    color: var(--gray-300);
    font-size: 0.85rem;
    transform: translateY(15px);
    transition: var(--transition) 0.05s;
}

.gallery-card:hover .gallery-card-overlay h3,
.gallery-card:hover .gallery-card-overlay p { transform: translateY(0); }

/* === Promotions - Horizontal Layout === */
.promos-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.promo-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(231,155,36,0.2);
}

.promo-card-img {
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    position: relative;
}

.promo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.promo-card:hover .promo-card-img img { transform: scale(1.06); }

.promo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    animation: promo-pulse 2s ease-in-out infinite;
}

@keyframes promo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231,155,36,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(231,155,36,0); }
}

.promo-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-card-body .promo-tag {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
    width: fit-content;
}

.promo-card-body h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.1;
}

.promo-card-body p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.promo-card:nth-child(even) { direction: rtl; }
.promo-card:nth-child(even) > * { direction: ltr; }

/* === Testimonios Section === */
.testimonios-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.testimonios-slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.testimonios-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonio-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(231, 155, 36, 0.15);
}

.testimonio-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.testimonio-stars i {
    color: #f59e0b;
    font-size: 0.9rem;
}

.testimonio-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 24px;
    position: relative;
}

.testimonio-text::before {
    content: '\201C';
    position: absolute;
    top: -16px;
    left: -4px;
    font-size: 3rem;
    color: var(--orange);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-100);
}

.testimonio-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonio-author h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.testimonio-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

.testimonios-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonios-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.testimonios-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.testimonios-dots {
    display: flex;
    gap: 8px;
}

.testimonios-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonios-dot.active {
    background: var(--orange);
    transform: scale(1.2);
}

/* === About / Nosotros - Premium Redesign === */
.nosotros-section {
    padding: 0 0 120px 0 !important;
}

/* About Hero Banner */
.about-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-hero-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Stats Row */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: -50px auto 60px;
    position: relative;
    z-index: 5;
}

.about-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.about-stat:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(231,155,36,0.15);
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--gray-900);
    letter-spacing: 0.02em;
}

.about-stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--orange);
}

.about-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 600;
}

/* About Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.about-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gray-900);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(231,155,36,0.2);
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(231,155,36,0.1), rgba(231,155,36,0.05));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    margin-bottom: 12px;
}

.about-feature h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Premium Cards */
.about-card-premium {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.about-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange), var(--orange-light));
}

.about-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(231,155,36,0.15);
}

.about-card-premium.mission::before { background: linear-gradient(to bottom, #e79b24, #f5be5e); }
.about-card-premium.vision::before { background: linear-gradient(to bottom, #3b82f6, #60a5fa); }
.about-card-premium.values::before { background: linear-gradient(to bottom, #10b981, #34d399); }

.about-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.about-card-icon-lg {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-card-premium.mission .about-card-icon-lg {
    background: rgba(231,155,36,0.1);
    color: var(--orange);
}
.about-card-premium.vision .about-card-icon-lg {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}
.about-card-premium.values .about-card-icon-lg {
    background: rgba(16,185,129,0.1);
    color: #10b981;
}

.about-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.about-card-premium p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    padding-left: 68px;
}

/* About CTA */
.about-cta {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--gray-900), var(--black));
    border-radius: var(--radius-xl);
    margin-bottom: 80px;
}

.about-cta h3 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.about-cta p {
    color: var(--gray-400);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

/* === Contact === */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(231, 155, 36, 0.3);
    transform: translateX(4px);
    background: rgba(255,255,255,0.06);
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.info-card p a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.info-card p a:hover {
    color: var(--orange);
}

.contacto-form {
    background: rgba(255,255,255,0.04);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

.form-group { margin-bottom: 20px; }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    font-size: 0.9rem;
    z-index: 1;
    transition: var(--transition);
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
    outline: none;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--gray-500);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-glow);
}

.input-wrapper input:focus + i,
.input-wrapper:focus-within i {
    color: var(--orange);
}

.textarea-wrapper { align-items: flex-start; }
.textarea-wrapper i { top: 16px; }

textarea { resize: vertical; min-height: 120px; }

.form-response {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

.form-response.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

/* === Footer === */
.footer {
    background: var(--gray-50);
    color: var(--gray-600);
    position: relative;
    padding-top: 40px;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--gray-600);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 8px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--orange);
    font-size: 0.85rem;
    width: 16px;
}

.footer-contact p a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact p a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    border-top: none;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2s ease-in-out infinite;
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--white);
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* === Scroll Animations === */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* === Product Card Animation Stagger === */
.product-card, .promo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition), border-color var(--transition);
}

.product-card.visible, .promo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */

/* --- Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
    .about-content-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .catalogo-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .promo-card { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .contacto-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Tablet portrait / Large phones (768px) --- */
@media (max-width: 768px) {
    /* Container */
    .container { padding: 0 16px; }

    /* Navbar mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 24px 40px;
        gap: 0;
        transition: var(--transition-slow);
        z-index: 999;
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
        overflow-y: auto;
    }

    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; }

    .nav-link {
        font-size: 1rem;
        padding: 14px 16px;
        width: 100%;
        color: var(--gray-700);
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }

    .nav-link:last-child { border-bottom: none; }
    .nav-link:hover, .nav-link.active { color: var(--orange); background: rgba(231,155,36,0.06); }
    .nav-toggle span { background: var(--gray-700); }

    .nav-logo-img { height: 70px; }
    .navbar.scrolled .nav-logo-img { height: 55px; }

    /* Hero */
    .hero { min-height: 100vh; min-height: 100dvh; }
    .hero-content { padding: 110px 16px 60px; max-width: 100%; }
    .hero-badge { font-size: 0.78rem; padding: 6px 16px; margin-bottom: 18px; }
    .hero-title { margin-bottom: 16px; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; line-height: 1.6; }
    .hero-buttons { gap: 12px; margin-bottom: 36px; }
    .btn-lg { padding: 16px 32px; font-size: 0.95rem; }
    .hero-scroll-indicator { bottom: 50px; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.7rem; }

    /* Sections */
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 32px; }
    .section-tag { font-size: 0.75rem; padding: 5px 14px; }
    .section-desc { font-size: 0.95rem; }
    .nosotros-section { padding: 0 0 70px 0 !important; }

    /* Section transitions */
    .catalogo-section { padding-bottom: 90px; }
    .galeria-section { padding-bottom: 90px; }
    .catalogo-section::after,
    .galeria-section::after,
    .nosotros-section::after { height: 50px; }

    /* Catálogo filters */
    .catalogo-filters {
        gap: 8px;
        margin-bottom: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 4px 8px;
    }
    .catalogo-filters::-webkit-scrollbar { display: none; }
    .catalogo-filter {
        padding: 10px 20px;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Catálogo grid */
    .catalogo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-card-img { height: 180px; }
    .product-card-body { padding: 16px; }
    .product-card-body h3 { font-size: 1rem; margin-bottom: 4px; }
    .product-card-body p { font-size: 0.82rem; margin-bottom: 12px; -webkit-line-clamp: 2; line-clamp: 2; }
    .product-card-footer .price { font-size: 1rem; }
    .product-card-footer .price small { font-size: 0.65rem; }
    .btn-sm { padding: 8px 14px; font-size: 0.78rem; gap: 6px; }
    .btn-sm span { display: none; }
    .product-cat-badge { font-size: 0.65rem; padding: 4px 10px; top: 10px; left: 10px; }

    /* Gallery */
    .gallery-filters {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 4px 8px;
        margin-bottom: 24px;
    }
    .gallery-filters::-webkit-scrollbar { display: none; }
    .gallery-filter {
        padding: 10px 20px;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-card { border-radius: var(--radius-md); }
    .gallery-card-overlay { padding: 14px; opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
    .gallery-card-overlay h3 { font-size: 0.95rem; transform: none; }
    .gallery-card-overlay p { font-size: 0.75rem; transform: none; display: none; }
    .gallery-card-cat { font-size: 0.6rem; padding: 2px 8px; }

    /* Promos */
    .promo-card { grid-template-columns: 1fr; }
    .promo-card:nth-child(even) { direction: ltr; }
    .promo-card-img { min-height: 200px; }
    .promo-card-body { padding: 24px; }
    .promo-card-body h3 { font-size: 1.5rem; }
    .promo-card-body p { font-size: 0.9rem; }
    .promo-tag { font-size: 0.72rem; margin-bottom: 8px; }

    /* Testimonios */
    .testimonio-card { flex: 0 0 calc(50% - 12px); padding: 24px; }
    .testimonio-text { font-size: 0.88rem; margin-bottom: 18px; }
    .testimonio-avatar { width: 38px; height: 38px; font-size: 0.85rem; }
    .testimonio-author h4 { font-size: 0.88rem; }
    .testimonios-btn { width: 38px; height: 38px; font-size: 0.8rem; }

    /* About */
    .about-hero { min-height: 260px; }
    .about-hero-content { padding: 60px 16px; }
    .about-hero-desc { font-size: 0.95rem; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: -30px; margin-bottom: 40px; }
    .about-stat { padding: 20px 12px; }
    .about-stat-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }
    .about-stat-number { font-size: 2.2rem; }
    .about-stat-label { font-size: 0.7rem; }
    .about-content-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-subtitle { font-size: 1.6rem; }
    .about-lead { font-size: 0.95rem; }
    .about-features-grid { grid-template-columns: 1fr; gap: 12px; }
    .about-feature { padding: 16px; }
    .about-feature h4 { font-size: 1rem; }
    .about-feature p { font-size: 0.82rem; }
    .about-card-premium { padding: 24px; margin-bottom: 14px; }
    .about-card-premium p { padding-left: 0; font-size: 0.88rem; }
    .about-card-header h3 { font-size: 1.1rem; }
    .about-cta { padding: 32px 20px; margin-bottom: 40px; border-radius: var(--radius-lg); }
    .about-cta h3 { font-size: 1.5rem; }
    .about-cta p { font-size: 0.9rem; }

    /* Contact */
    .contacto-grid { grid-template-columns: 1fr; gap: 24px; }
    .contacto-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .info-card { padding: 16px; text-align: center; }
    .info-icon { width: 44px; height: 44px; font-size: 1rem; margin: 0 auto 8px; }
    .info-card h4 { font-size: 0.85rem; }
    .info-card p { font-size: 0.82rem; }
    .contacto-form { padding: 20px; }
    .input-wrapper { padding: 12px 14px; }
    .input-wrapper input,
    .input-wrapper textarea { font-size: 0.9rem; }
    .btn-full { padding: 16px; font-size: 0.95rem; }

    /* Footer */
    .footer { padding-top: 32px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
        padding-bottom: 28px;
    }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-logo { height: 64px; margin-bottom: 12px; }
    .footer-brand p { font-size: 0.85rem; max-width: 300px; }
    .footer-social { justify-content: center; }
    .footer-links { text-align: center; }
    .footer-links h4,
    .footer-contact h4 { font-size: 0.9rem; margin-bottom: 12px; }
    .footer-links a { padding: 4px 0; font-size: 0.85rem; }
    .footer-links a:hover { padding-left: 0; }
    .footer-contact { text-align: center; }
    .footer-contact p { justify-content: center; font-size: 0.85rem; }
    .footer-bottom { padding: 16px 0; font-size: 0.78rem; }

    /* WhatsApp */
    .whatsapp-float { bottom: 20px; right: 16px; width: 54px; height: 54px; font-size: 1.3rem; }
    .whatsapp-tooltip { display: none; }
}

/* --- Small phones (480px) --- */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    /* Hero */
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 0.88rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
    .btn { width: 100%; justify-content: center; }
    .btn-lg { padding: 15px 24px; font-size: 0.9rem; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-divider { width: 40px; height: 1px; }
    .stat-number { font-size: 1.8rem; }
    .hero-scroll-indicator { display: none; }

    /* Catálogo */
    .catalogo-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-card-img { height: 200px; }
    .product-card-body { padding: 16px; }
    .product-card-body h3 { font-size: 1.05rem; }
    .product-card-body p { -webkit-line-clamp: 2; line-clamp: 2; font-size: 0.84rem; }
    .product-card-footer { flex-wrap: wrap; gap: 10px; }
    .product-card-footer .price { font-size: 1.1rem; }
    .btn-sm { padding: 10px 16px; font-size: 0.8rem; }
    .btn-sm span { display: inline; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
    .gallery-card { aspect-ratio: 16/10; }

    /* About */
    .about-hero { min-height: 220px; }
    .about-stats-row { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -20px; }
    .about-stat { padding: 16px 10px; }
    .about-stat-icon { width: 38px; height: 38px; font-size: 0.95rem; }
    .about-stat-number { font-size: 1.8rem; }
    .about-stat-label { font-size: 0.65rem; letter-spacing: 0.04em; }
    .about-subtitle { font-size: 1.4rem; }
    .about-lead { font-size: 0.88rem; }
    .about-feature-icon { width: 38px; height: 38px; font-size: 0.9rem; }
    .about-card-premium { padding: 18px; }
    .about-card-icon-lg { width: 44px; height: 44px; font-size: 1rem; }
    .about-cta { padding: 26px 16px; margin-bottom: 30px; }
    .about-cta h3 { font-size: 1.3rem; }
    .about-cta p { font-size: 0.85rem; }

    /* Contact */
    .contacto-info { grid-template-columns: 1fr; gap: 10px; }
    .info-card { padding: 14px; display: flex; align-items: center; gap: 14px; text-align: left; }
    .info-icon { margin: 0; width: 40px; height: 40px; min-width: 40px; font-size: 0.9rem; }
    .info-card h4 { margin-bottom: 2px; }
    .contacto-form { padding: 16px; }

    /* Promos */
    .promo-card-body { padding: 20px; }
    .promo-card-body h3 { font-size: 1.3rem; }
    .promo-card-body p { font-size: 0.85rem; }
    .promo-card-img { min-height: 180px; }

    /* Testimonios */
    .testimonio-card { flex: 0 0 calc(100% - 0px); padding: 20px; }
    .testimonio-text { font-size: 0.85rem; }
    .testimonios-controls { margin-top: 20px; }

    /* Footer */
    .footer-grid { gap: 24px; }
    .footer-logo { height: 56px; }

    /* Preloader */
    .preloader-logo { width: 140px; height: 140px; }
    .preloader-text { font-size: 0.9rem; letter-spacing: 0.2em; }

    /* Nav */
    .nav-logo-img { height: 60px; }
    .navbar.scrolled .nav-logo-img { height: 48px; }
    .nav-menu { width: 100%; }
}

/* === Custom scrollbar === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* === Selection === */
::selection { background: var(--orange); color: var(--white); }
