@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins:wght@300;400;500;600&display=swap');

/* ==============================
   DESIGN TOKENS
   ============================== */
:root {
    /* Brand Colors */
    --pink: #e63c7a;
    --pink-hover: #d22b68;
    --pink-light: rgba(230, 60, 122, 0.08);

    /* WhatsApp */
    --wa-green: #25D366;
    --wa-green-hover: #1ebe5d;
    --wa-shadow: rgba(37, 211, 102, 0.35);

    /* Warm Neutrals */
    --brown-dark: #3d2c1e;
    --brown-medium: #6b5646;
    --brown-light: #9a8a7b;
    --beige: #f5f0eb;
    --beige-dark: #ede5db;
    --cream: #faf8f5;
    --white: #ffffff;

    /* Card borders */
    --gold-border: #c8b08a;

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Sizing */
    --header-height: 72px;
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);

    /* Transitions — duraciones cortas para fluidez */
    --ease: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==============================
   RESET & BASE
   ============================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: var(--font-body);
    color: var(--brown-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--brown-dark);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1.2rem;
    color: var(--brown-medium);
    font-size: 1rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==============================
   UTILITY
   ============================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Secciones fuera de viewport no se renderizan hasta acercarse */
.section {
    padding: 6rem 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.section-beige {
    background-color: var(--beige);
}

.section-dark {
    background-color: var(--brown-dark);
}

.section-dark p,
.section-dark .contact-label {
    color: var(--brown-light);
}

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

.w-full {
    width: 100%;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-title--left {
    text-align: left;
}

.section-title--light {
    color: var(--white);
}

.title-accent {
    width: 50px;
    height: 3px;
    background-color: var(--pink);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.title-accent--left {
    margin-left: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--brown-light);
    margin-bottom: 3rem;
    font-style: italic;
}

/* Scroll animations — solo opacity y transform (GPU) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px) translateZ(0);
    transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* ==============================
   BUTTONS — solo propiedades baratas
   ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transform: translateZ(0);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn i,
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--pink);
    color: var(--white);
    border-color: var(--pink);
}

.btn-primary:hover {
    background-color: var(--pink-hover);
    border-color: var(--pink-hover);
    transform: translateY(-2px) translateZ(0);
}

.btn-whatsapp {
    background-color: var(--wa-green);
    color: var(--white);
    border-color: var(--wa-green);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background-color: var(--wa-green-hover);
    border-color: var(--wa-green-hover);
    transform: translateY(-2px) translateZ(0);
}

.btn-outline {
    background: transparent;
    color: var(--pink);
    border-color: var(--pink);
}

.btn-outline:hover {
    background: var(--pink);
    color: var(--white);
    transform: translateY(-2px) translateZ(0);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) translateZ(0);
}

.btn-white {
    background: var(--white);
    color: var(--brown-dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px) translateZ(0);
}

.btn-sm {
    padding: 0.55rem 1.4rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==============================
   HEADER — sin backdrop-filter pesado al inicio
   ============================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    transform: translateZ(0);
    will-change: transform;
}

.header.scrolled {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.logo img {
    height: 44px;
    width: auto;
}

.desktop-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--brown-medium);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.2s ease;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--brown-dark);
    cursor: pointer;
    padding: 0.5rem;
}

/* ==============================
   MOBILE NAV — transform en vez de right (GPU)
   ============================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transform: translateX(100%) translateZ(0);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
    transform: translateX(0) translateZ(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-logo {
    height: 36px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--brown-dark);
    cursor: pointer;
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-nav-links a {
    display: block;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brown-dark);
    transition: color 0.15s ease;
}

.mobile-nav-links a:hover {
    color: var(--pink);
}

.mobile-nav-cta {
    color: var(--pink) !important;
}

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.mobile-nav-footer p {
    font-size: 0.85rem;
    color: var(--brown-light);
    margin-bottom: 1rem;
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-socials .social-icon {
    width: 40px;
    height: 40px;
}

.mobile-socials .social-icon i {
    width: 18px;
    height: 18px;
}

/* ==============================
   HERO
   ============================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ==============================
   HISTORIA
   ============================== */
.story-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: start;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--brown-medium);
}

.story-text strong {
    color: var(--brown-dark);
}

.story-quote {
    margin-top: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--pink);
}

.story-quote p {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--brown-dark);
    line-height: 1.7;
}

.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.story-logo {
    max-width: 320px;
    width: 100%;
}

/* ==============================
   ¿POR QUÉ MIGUITAS? - Feature Cards
   ============================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transform: translateZ(0);
    transition: transform 0.25s var(--ease-premium);
}

.feature-card:hover {
    transform: translateY(-4px) translateZ(0);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--brown-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--brown-medium);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==============================
   FILTER BUTTONS
   ============================== */
.product-filters,
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.55rem 1.6rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--brown-medium);
    cursor: pointer;
    transform: translateZ(0);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--brown-dark);
    color: var(--brown-dark);
    transform: translateY(-2px) translateZ(0);
}

.filter-btn.active {
    background: var(--brown-dark);
    color: var(--white);
    border-color: var(--brown-dark);
    transform: translateY(-2px) translateZ(0);
}

/* ==============================
   PRODUCT CARDS (sin imágenes)
   ============================== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.25s var(--ease-premium);
}

.product-card:hover {
    transform: translateY(-4px) translateZ(0);
}

.product-card-header {
    background: linear-gradient(135deg, var(--brown-dark) 0%, #5a4233 100%);
    padding: 2rem 1.5rem 1.8rem;
    color: var(--white);
}

.product-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.product-icon-wrap i {
    width: 24px;
    height: 24px;
}

.product-card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.product-price {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 1.2rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.product-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
}

.product-items li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--brown-dark);
}

.product-items li:last-child {
    border-bottom: none;
}

.product-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    flex-shrink: 0;
}

.product-cta {
    margin-top: 3rem;
}

/* ==============================
   GALERÍA — sin filter ni box-shadow en hover
   ============================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.gallery-item {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transform: translateZ(0);
    transition: transform 0.3s var(--ease-premium), opacity 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02) translateZ(0);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.95) translateZ(0);
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}

/* ==============================
   UBICACIONES
   ============================== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--white);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.25s var(--ease-premium);
}

.location-card:hover {
    transform: translateY(-4px) translateZ(0);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.location-badge.open {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.location-badge.closed {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.location-badge.open .status-dot {
    background: #34c759;
    animation: pulse-dot 2s ease-in-out infinite;
}

.location-badge.closed .status-dot {
    background: #ff3b30;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.4);
    }
}

.location-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.location-card-body {
    padding: 2rem 2.5rem 2.5rem;
}

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--brown-dark);
}

.location-detail i {
    color: var(--pink);
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.location-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.location-actions .btn {
    flex: 1;
    padding: 0.8rem;
    font-size: 0.9rem;
}

/* ==============================
   CONTACTO (sin formulario)
   ============================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transform: translateZ(0);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px) translateZ(0);
}

.contact-method--preferred {
    border-color: rgba(230, 60, 122, 0.3);
    background: rgba(230, 60, 122, 0.08);
}

.contact-method--preferred:hover {
    border-color: rgba(230, 60, 122, 0.5);
    background: rgba(230, 60, 122, 0.15);
}

.contact-method--preferred .contact-hint {
    color: var(--pink);
}

.contact-method--whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.08);
}

.contact-method--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.15);
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrap i,
.contact-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.contact-icon-wrap.whatsapp {
    background: var(--wa-green);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--wa-green);
    font-weight: 500;
    margin-top: 0.15rem;
}

.contact-method strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.contact-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-arrow i {
    width: 20px;
    height: 20px;
}

.contact-method:hover .contact-arrow {
    color: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

/* CTA Box (reemplaza formulario) */
.contact-cta-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-box-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-box-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-box-content .btn {
    margin-bottom: 0.8rem;
}

.cta-box-content .btn:last-child {
    margin-bottom: 0;
}

/* ==============================
   MARCAS — sin filter animado
   ============================== */
.brands-section {
    padding: 5rem 0;
    background: var(--cream);
}

.brands-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brown-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.brand-logo {
    height: 44px;
    object-fit: contain;
    opacity: 0.45;
    transform: translateZ(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.05) translateZ(0);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
    padding: 5rem 0 2rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 44px;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.95rem;
    color: var(--brown-light);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ==============================
   SOCIAL ICON BUTTONS
   ============================== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    transform: translateZ(0);
    transition: transform 0.2s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: rgba(255, 255, 255, 0.2);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.08) translateZ(0);
}

.social-icon i {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.social-icon--whatsapp {
    background: var(--wa-green);
}

.social-icon--instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--brown-dark);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--brown-light);
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--pink);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--brown-light);
}

/* ==============================
   WHATSAPP FLOAT
   ============================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--wa-green);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 100px;
    box-shadow: 0 4px 20px var(--wa-shadow);
    z-index: 999;
    transform: translateZ(0);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-2px) translateZ(0);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.whatsapp-float-label {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section {
        padding: 5rem 0;
    }

    .story-layout,
    .contact-layout {
        gap: 3rem;
    }

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

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

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

@media (max-width: 768px) {

    .desktop-nav,
    .header-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 550px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .story-layout {
        grid-template-columns: 1fr;
    }

    .story-visual {
        order: -1;
    }

    .story-logo {
        max-width: 200px;
        margin: 0 auto;
    }

    .section-title--left {
        text-align: center;
    }

    .title-accent--left {
        margin: 0 auto 2rem;
    }

    .product-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .gallery-item {
        height: 250px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 1rem auto 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .section-title--light {
        text-align: center;
    }

    .contact-cta-box {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-socials {
        justify-content: center;
    }

    /* WhatsApp float: icon only on mobile */
    .whatsapp-float-label {
        display: none;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    /* Desactivar parallax en móvil — menos carga de GPU */
    .hero-bg {
        will-change: auto;
    }
}

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

    .container {
        padding: 0 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .product-filters,
    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }

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

    .brands-grid {
        gap: 2rem;
    }

    .btn-lg {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

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

    .location-card-body {
        padding: 1.5rem;
    }
}

/* Reduce animaciones para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}
