/* =================================================================
   Tu Marca de Moda — Catálogo de Moda
   Hoja de estilos principal
   ----------------------------------------------------------------
   Paleta: Teal fresco + Rosa polvo — juvenil y sofisticada
   Base:     Marfil cálido (#f6f5f2)
   Acento:   Teal (#2b8a8a)
   Secundario: Rosa polvo (#d4889a)
   Detalle:   Verde salvia (#9caf88)
   =================================================================


   Estructura:
   1.  Variables y reset
   2.  Tipografía base
   3.  Navbar
   4.  Hero
   5.  Catálogo (grid de productos)
   6.  CTA Banner
   7.  Contacto / Footer
   8.  Burbuja de WhatsApp
   9.  Lightbox
   10. Modal de formulario
   11. Animaciones y utilidades
   12. Responsive
   ================================================================= */


/* =================================================================
   1. VARIABLES Y RESET
   ================================================================= */

:root {
    /* Paleta teal + rosa polvo — fresca, juvenil y sofisticada */
    --color-bg:          #f6f5f2;       /* Fondo marfil cálido */
    --color-bg-alt:      #efece7;       /* Fondo alternativo */
    --color-surface:     #ffffff;       /* Tarjetas */
    --color-surface-hi:  #fdfcfb;       /* Tarjetas hover */
    --color-text:        #2d3142;       /* Texto principal (slate oscuro) */
    --color-text-muted:  #6b7280;       /* Texto secundario */
    --color-text-dim:    #a8acb5;       /* Texto tenue */
    --color-accent:      #2b8a8a;       /* Teal */
    --color-accent-hi:   #3aa0a0;       /* Teal claro */
    --color-accent-dk:   #1e6e6e;       /* Teal oscuro */
    --color-secondary:  #d4889a;       /* Rosa polvo */
    --color-secondary-hi:#e4a0b0;      /* Rosa claro */
    --color-tertiary:    #9caf88;       /* Verde salvia */
    --color-success:     #6ba368;       /* Verde */
    --color-warning:     #e0a050;       /* Ámbar */
    --color-error:       #d4654f;       /* Terracota */
    --color-border:      #e5e2dc;       /* Borde sutil */
    --color-border-hi:   #d0ccc4;       /* Borde hover */
    --color-whatsapp:    #25d366;       /* Verde WhatsApp */

    /* Tipografía */
    --font-serif:   'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espaciado (sistema de 8px) */
    --space-1:  8px;
    --space-2:  16px;
    --space-3:  24px;
    --space-4:  32px;
    --space-5:  48px;
    --space-6:  64px;
    --space-7:  96px;
    --space-8:  128px;

    /* Radios */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Transiciones */
    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --ease-lux:   cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:   200ms;
    --dur:        350ms;
    --dur-slow:   600ms;

    /* Sombras */
    --shadow-sm:  0 2px 12px rgba(45, 49, 66, 0.06);
    --shadow-md:  0 8px 28px rgba(45, 49, 66, 0.10);
    --shadow-lg:  0 20px 60px rgba(45, 49, 66, 0.14);
}

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

html {
    scroll-behavior: smooth;
}


/* =================================================================
   2. TIPOGRAFÍA BASE
   ================================================================= */

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease);
}

ul {
    list-style: none;
}

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


/* =================================================================
   3. NAVBAR
   ================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                padding var(--dur) var(--ease);
    padding: var(--space-3) 0;
}

.navbar--scrolled {
    background-color: rgba(246, 245, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-2) 0;
}

.navbar__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.navbar__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: all var(--dur) var(--ease);
}

.navbar__logo:hover .navbar__logo-mark {
    background-color: var(--color-accent);
    color: #fff;
}

.navbar__logo-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--color-text);
}

.navbar__links {
    display: flex;
    gap: var(--space-4);
}

.navbar__links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    padding: 4px 0;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--dur) var(--ease);
}

.navbar__links a:hover {
    color: var(--color-text);
}

.navbar__links a:hover::after {
    width: 100%;
}

.navbar__cta {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-accent);
    padding: 10px 24px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.navbar__cta:hover {
    background-color: var(--color-accent-hi);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(43, 138, 138, 0.35);
}


/* =================================================================
   4. HERO
   ================================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #efece7 0%, #f6f5f2 40%, #e8eef0 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(43, 138, 138, 0.12) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 136, 154, 0.10) 0%, transparent 60%);
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    from { transform: scale(1) rotate(0deg); }
    to   { transform: scale(1.15) rotate(15deg); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 var(--space-4);
    animation: heroFadeIn 1.2s var(--ease-lux) both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.hero__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-accent);
}

.hero__logo-divider {
    width: 1px;
    height: 48px;
    background-color: var(--color-border-hi);
}

.hero__logo-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--color-text);
    text-align: left;
    line-height: 1.3;
}

.hero__season {
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.hero__title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.hero__subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto var(--space-5);
    line-height: 1.7;
}

.hero__btn {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    border: 1.5px solid var(--color-accent);
    padding: 14px 40px;
    border-radius: 100px;
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.hero__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
    z-index: -1;
}

.hero__btn:hover {
    color: #fff;
    border-color: var(--color-accent);
}

.hero__btn:hover::before {
    transform: scaleX(1);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    z-index: 2;
}

.hero__scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.3); opacity: 0.5; }
    50%      { transform: scaleY(1);   opacity: 1; }
}


/* =================================================================
   5. CATÁLOGO (GRID DE PRODUCTOS)
   ================================================================= */

.catalog {
    padding: var(--space-8) var(--space-4);
    max-width: 1400px;
    margin: 0 auto;
}

.catalog__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.catalog__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.catalog__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: var(--space-3);
}

.catalog__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

/* --- Tarjeta de producto moderna --- */
.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-lux),
                box-shadow var(--dur) var(--ease);
    opacity: 0;
    transform: translateY(40px);
}

.product-card--visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card--hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-lux);
}

.product-card:hover .product-card__image {
    transform: scale(1.08);
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 49, 66, 0.45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-3);
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__zoom-hint {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-accent);
    padding: 6px 18px;
    border-radius: 100px;
    transform: translateY(12px);
    transition: transform var(--dur) var(--ease);
}

.product-card:hover .product-card__zoom-hint {
    transform: translateY(0);
}

.product-card__body {
    padding: var(--space-3);
}

.product-card__title {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--color-text);
}

.product-card__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --- Botón "Ver más" --- */
.catalog__more-wrap {
    text-align: center;
    margin-top: var(--space-6);
}

.catalog__more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    background-color: transparent;
    border: 1.5px solid var(--color-border-hi);
    padding: 14px 36px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.catalog__more-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.catalog__more-btn--expanded {
    display: none;
}

.catalog__more-arrow {
    font-size: 1.2rem;
    line-height: 1;
}


/* =================================================================
   6. CTA BANNER
   ================================================================= */

.cta-banner {
    padding: var(--space-7) var(--space-4);
    background: linear-gradient(135deg, #2b8a8a 0%, #1e6e6e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: var(--space-2);
    color: #fff;
}

.cta-banner__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-4);
}

.cta-banner__btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    background-color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.cta-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}


/* =================================================================
   7. CONTACTO / FOOTER
   ================================================================= */

.contact {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-7) var(--space-4) 0;
}

.contact__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-5);
    padding-bottom: var(--space-6);
}

.contact__brand {
    max-width: 320px;
}

.contact__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.contact__logo-name {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-1);
}

.contact__tagline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.contact__info h4 {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
    font-family: var(--font-sans);
    font-weight: 500;
}

.contact__info ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact__info li {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact__info a {
    color: var(--color-text-muted);
}

.contact__info a:hover {
    color: var(--color-accent);
}

.contact__icon {
    color: var(--color-accent);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact__bottom {
    border-top: 1px solid var(--color-border);
    padding: var(--space-3) 0;
    text-align: center;
}

.contact__bottom p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    letter-spacing: 1px;
}


/* =================================================================
   8. BURBUJA DE WHATSAPP
   ================================================================= */

.whatsapp-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 90;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
    animation: bubblePulse 2.5s ease-in-out infinite;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-bubble__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background-color: #e74c3c;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg);
    animation: badgeBounce 0.5s var(--ease-lux) 1s both;
}

@keyframes bubblePulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@keyframes badgeBounce {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}


/* =================================================================
   9. LIGHTBOX
   ================================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox--open {
    display: flex;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 30, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn var(--dur) var(--ease) both;
}

.lightbox__content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxIn var(--dur) var(--ease-lux) both;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox__image {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.lightbox__caption {
    text-align: center;
    margin-top: var(--space-3);
    max-width: 600px;
}

.lightbox__title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: var(--space-1);
}

.lightbox__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease);
}

.lightbox__close:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: rotate(90deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__nav:hover {
    background-color: var(--color-accent);
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* =================================================================
   10. MODAL DE FORMULARIO
   ================================================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-3);
}

.modal--open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn var(--dur) var(--ease) both;
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-5);
    animation: modalIn var(--dur) var(--ease-lux) both;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease);
}

.modal__close:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: rotate(90deg);
}

.modal__header {
    margin-bottom: var(--space-4);
    padding-right: var(--space-4);
}

.modal__title {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.modal__subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --- Formulario --- */
.order-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.order-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-form__label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.order-form__input {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: var(--color-bg-alt);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.order-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(43, 138, 138, 0.12);
}

.order-form__select-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-form__select {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text);
    background-color: var(--color-bg-alt);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.order-form__select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(43, 138, 138, 0.12);
}

.order-form__select option {
    padding: 8px;
}

.order-form__select-hint {
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

.order-form__submit {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-accent);
    border: none;
    padding: 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    margin-top: var(--space-1);
}

.order-form__submit:hover {
    background-color: var(--color-accent-hi);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(43, 138, 138, 0.35);
}

.order-form__success {
    display: none;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-success);
    background-color: rgba(107, 163, 104, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    margin-top: var(--space-1);
}

.order-form__success--show {
    display: block;
    animation: fadeIn var(--dur) var(--ease) both;
}


/* =================================================================
   11. ANIMACIONES Y UTILIDADES
   ================================================================= */

/* Respeto a usuarios con preferencia de menos movimiento */
@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;
    }
}


/* =================================================================
   12. RESPONSIVE
   ================================================================= */

@media (max-width: 900px) {
    .navbar__links {
        display: none;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .contact__brand {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .navbar__logo-text {
        display: none;
    }

    .navbar__cta {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .hero__logo {
        flex-direction: column;
        gap: var(--space-1);
    }

    .hero__logo-divider {
        width: 48px;
        height: 1px;
    }

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

    .catalog {
        padding: var(--space-6) var(--space-2);
    }

    .catalog__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-2);
    }

    .product-card__title {
        font-size: 1.15rem;
    }

    .product-card__desc {
        font-size: 0.8rem;
    }

    .lightbox__nav {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }

    .lightbox__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }

    .lightbox__title {
        font-size: 1.4rem;
    }

    .modal__dialog {
        padding: var(--space-4);
    }

    .modal__title {
        font-size: 1.5rem;
    }

    .whatsapp-bubble {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }
}
