@charset "utf-8";

/* ==========================================================================
   WOODNER DECO - Estilos Personalizados (Sin Tailwind)
   ========================================================================== */

/* CSS Custom Properties - Colors */
:root {
    --color-on-surface: #303030;
    --color-on-tertiary-container: #292b1b;
    --color-surface-container: #fbf9f7;
    --color-surface-container-low: #f8f5f2;
    --color-surface-container-high: #efece9;
    --color-secondary: #575757;
    --color-primary-container: #e36b2c;
    --color-on-primary-container: #ffffff;
    --color-on-surface-variant: #574239;
    --color-surface-container-highest: #e4e2e1;
    --color-tertiary: #6b6c5b;
    --color-on-secondary-container: #313030;
    --color-secondary-fixed: #e5e2e1;
    --color-on-tertiary: #ffffff;
    --color-outline: #a68b80;
    --color-outline-variant: #d4c4bc;
    --color-background: #F5F2EE;
    --color-primary: #E36B2C;
    --color-surface-tint: #E36B2C;
    --color-inverse-surface: #303030;
    --color-on-background: #1c1b1b;
    --color-on-primary: #ffffff;
    --color-surface: #F5F2EE;
    --color-surface-dim: #ede9e5;
    --color-surface-variant: #dfc0b4;
    
    /* Spacing */
    --spacing-margin-mobile: 16px;
    --spacing-margin-desktop: 32px;
    --spacing-section-gap: 120px;
    --spacing-gutter: 24px;
    --spacing-unit: 8px;
    --spacing-container-max: 1360px;
    
    /* Border Radius */
    --radius-default: 0rem;
    --radius-lg: 0.125rem;
    --radius-xl: 0.25rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--color-background);
    color: var(--color-on-surface);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body::selection {
    background-color: rgba(227, 107, 44, 0.2);
}

/* Typography */
.font-display-lg {
    font-family: 'Libre Caslon Text', serif;
}

.font-headline-lg {
    font-family: 'Libre Caslon Text', serif;
}

.font-headline-md {
    font-family: 'Libre Caslon Text', serif;
}

.text-label-sm {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.text-label-lg {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.text-body-lg {
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
}

.text-body-md {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
}

.text-display-lg {
    font-size: 72px;
    line-height: 80px;
    letter-spacing: -0.01em;
    font-weight: 300;
}

.text-headline-lg {
    font-size: 40px;
    line-height: 48px;
    font-weight: 400;
}

.text-headline-md {
    font-size: 28px;
    line-height: 36px;
    font-weight: 400;
}

.text-display-lg-mobile {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.01em;
    font-weight: 300;
}

.font-body-lg {
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
}

.italic {
    font-style: italic;
}

/* Color Utilities */
.text-primary {
    color: var(--color-primary);
}

.text-on-surface {
    color: var(--color-on-surface);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-white {
    color: #ffffff;
}

.bg-background {
    background-color: var(--color-background);
}

.bg-surface-container {
    background-color: var(--color-surface-container);
}

.bg-surface-container-low {
    background-color: var(--color-surface-container-low);
}

.bg-surface-dim {
    background-color: var(--color-surface-dim);
}

.bg-white {
    background-color: #ffffff;
}

.bg-on-surface {
    background-color: var(--color-on-surface);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-black {
    background-color: #000000;
}

/* Spacing Utilities */
.py-section-gap {
    padding-top: var(--spacing-section-gap);
    padding-bottom: var(--spacing-section-gap);
}

.px-margin-mobile {
    padding-left: var(--spacing-margin-mobile);
    padding-right: var(--spacing-margin-mobile);
}

.py-5 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py-6 {
    padding-top: 24px;
    padding-bottom: 24px;
}

.py-14 {
    padding-top: 56px;
    padding-bottom: 56px;
}

.py-16 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.py-20 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.px-8 {
    padding-left: 32px;
    padding-right: 32px;
}

.px-10 {
    padding-left: 40px;
    padding-right: 40px;
}

.px-12 {
    padding-left: 48px;
    padding-right: 48px;
}

.px-14 {
    padding-left: 56px;
    padding-right: 56px;
}

.px-16 {
    padding-left: 64px;
    padding-right: 64px;
}

.px-20 {
    padding-left: 80px;
    padding-right: 80px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.py-5 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py-8 {
    padding-top: 32px;
    padding-bottom: 32px;
}

.py-10 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 20px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-10 {
    margin-bottom: 40px;
}

.mb-12 {
    margin-bottom: 48px;
}

.mb-14 {
    margin-bottom: 56px;
}

.mb-16 {
    margin-bottom: 64px;
}

.mb-20 {
    margin-bottom: 80px;
}

.mt-1 {
    margin-top: 4px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-6 {
    margin-top: 24px;
}

.mt-8 {
    margin-top: 32px;
}

.mt-12 {
    margin-top: 48px;
}

.mt-14 {
    margin-top: 56px;
}

.ml-4 {
    margin-left: 16px;
}

.mr-3 {
    margin-right: 12px;
}

.mt-10 {
    margin-top: 40px;
}

.mb-24 {
    margin-bottom: 96px;
}

.pb-1 {
    padding-bottom: 4px;
}

.pb-10 {
    padding-bottom: 40px;
}

.bottom-10 {
    bottom: 40px;
}

.bottom-14 {
    bottom: 56px;
}

.bottom-16 {
    bottom: 64px;
}

/* Layout Utilities */
.container {
    max-width: var(--spacing-container-max);
    margin-left: auto;
    margin-right: auto;
}

.max-w-container-max {
    max-width: var(--spacing-container-max);
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex-row {
    flex-direction: row;
}

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

.items-start {
    align-items: flex-start;
}

.items-baseline {
    align-items: baseline;
}

.items-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
}

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

.gap-3 {
    gap: 12px;
}

.gap-4 {
    gap: 16px;
}

.gap-1 {
    gap: 4px;
}

.gap-6 {
    gap: 24px;
}

.gap-px {
    gap: 1px;
}

.gap-8 {
    gap: 32px;
}

.gap-10 {
    gap: 40px;
}

.gap-12 {
    gap: 48px;
}

.gap-14 {
    gap: 56px;
}

.gap-16 {
    gap: 64px;
}

.gap-20 {
    gap: 80px;
}

.gap-24 {
    gap: 96px;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.h-10 {
    height: 40px;
}

.h-12 {
    height: 48px;
}

.h-20 {
    height: 80px;
}

.h-28 {
    height: 112px;
}

.h-auto {
    height: auto;
}

.w-auto {
    width: auto;
}

.w-12 {
    width: 48px;
}

.w-20 {
    width: 80px;
}

.w-9 {
    width: 36px;
}

.h-1 {
    height: 4px;
}

.w-8 {
    width: 32px;
}

.w-4 {
    width: 16px;
}

.w-1 {
    width: 4px;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-3-4 {
    aspect-ratio: 3 / 4;
}

/* Positioning */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.-bottom-8 {
    bottom: -32px;
}

.-left-8 {
    left: -32px;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Border Utilities */
.border {
    border: 1px solid var(--color-outline-variant);
}

.border-b {
    border-bottom: 1px solid var(--color-outline-variant);
}

.border-t {
    border-top: 1px solid var(--color-outline-variant);
}

.border-on-surface {
    border-color: var(--color-on-surface);
}

.border-outline-variant {
    border-color: var(--color-outline-variant);
}

.border-white {
    border-color: #ffffff;
}

.border-primary {
    border-color: var(--color-primary);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Text Utilities */
.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-0-4em {
    letter-spacing: 0.4em;
}

.tracking-0-3em {
    letter-spacing: 0.3em;
}

.tracking-0-2em {
    letter-spacing: 0.2em;
}

.tracking-0-05em {
    letter-spacing: 0.05em;
}

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

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

.text-3xl {
    font-size: 30px;
}

.text-2xl {
    font-size: 24px;
}

.text-xl {
    font-size: 20px;
}

.text-base {
    font-size: 16px;
}

.text-sm {
    font-size: 14px;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.75;
}

.leading-none {
    line-height: 1;
}

/* Background Opacity */
.bg-outline-variant-30 {
    background-color: rgba(212, 196, 188, 0.3);
}

.bg-background-90 {
    background-color: rgba(245, 242, 238, 0.9);
}

.bg-white-45 {
    background-color: rgba(255, 255, 255, 0.45);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-primary-5 {
    background-color: rgba(227, 107, 44, 0.05);
}

/* Text Opacity */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-primary-80 {
    color: rgba(227, 107, 44, 0.8);
}

.text-outline-variant-50 {
    color: rgba(212, 196, 188, 0.5);
}

/* Border Opacity */
.border-outline-variant-30 {
    border-color: rgba(212, 196, 188, 0.3);
}

.border-white-40 {
    border-color: rgba(255, 255, 255, 0.4);
}

/* Flex Shrink */
.flex-shrink-0 {
    flex-shrink: 0;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

/* Backdrop Blur */
.backdrop-blur-sm {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Transitions */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.transition-none {
    transition: none;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-400 {
    transition-duration: 400ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

/* Hover States */
.hover\:text-primary:hover {
    color: var(--color-primary);
}

.hover\:bg-primary:hover {
    background-color: var(--color-primary);
}

.hover\:bg-white:hover {
    background-color: #ffffff;
}

.hover\:bg-on-surface:hover {
    background-color: var(--color-on-surface);
}

.hover\:text-white:hover {
    color: #ffffff;
}

.hover\:text-on-surface:hover {
    color: var(--color-on-surface);
}

.hover\:border-primary:hover {
    border-color: var(--color-primary);
}

.hover\:border-on-surface:hover {
    border-color: var(--color-on-surface);
}

.hover\:grayscale-0:hover {
    filter: grayscale(0);
}

/* Active States */
.active\:scale-95:active {
    transform: scale(0.95);
}

/* Group Hover */
.group:hover .group-hover\:text-primary {
    color: var(--color-primary);
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(4px);
}

.group:hover .group-hover\:translate-x-2 {
    transform: translateX(8px);
}

.group:hover .group-hover\:border-primary {
    border-color: var(--color-primary);
}

.group:hover .group-hover\:bg-primary-5 {
    background-color: rgba(227, 107, 44, 0.05);
}

/* Focus Within */
.focus-within\:border-primary:focus-within {
    border-color: var(--color-primary);
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Grayscale */
.grayscale {
    filter: grayscale(100%);
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Space */
.space-y-2 > * + * {
    margin-top: 8px;
}

.space-y-3 > * + * {
    margin-top: 12px;
}

.space-y-5 > * + * {
    margin-top: 20px;
}

.space-y-8 > * + * {
    margin-top: 32px;
}

.space-y-10 > * + * {
    margin-top: 40px;
}

/* Inline Flex */
.inline-flex {
    display: inline-flex;
}

/* Block */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

/* Theme */
.light {
    color-scheme: light;
}

/* Responsive display */
@media (min-width: 1280px) {
    .xl\:block {
        display: block;
    }
}

/* Hidden */
.hidden {
    display: none;
}

/* Order */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Shadow */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Positioning utilities */
.left-4 {
    left: 16px;
}

.left-8 {
    left: 32px;
}

.right-4 {
    right: 16px;
}

.right-8 {
    right: 32px;
}

.top-1-2 {
    top: 50%;
}

/* Transform */
.-translate-y-1-2 {
    transform: translateY(-50%);
}

/* Padding utilities */
.p-10 {
    padding: 40px;
}

.p-14 {
    padding: 56px;
}

/* Hover states (plain class names) */
.hover-bg-white:hover {
    background-color: #ffffff;
}

.hover-bg-primary:hover {
    background-color: var(--color-primary);
}

.hover-bg-on-surface:hover {
    background-color: var(--color-on-surface);
}

.hover-text-on-surface:hover {
    color: var(--color-on-surface);
}

.hover-text-white:hover {
    color: #ffffff;
}

/* Group hover utilities */
.group:hover .group-hover-text-primary {
    color: var(--color-primary);
}

.group:hover .group-hover-border-primary {
    border-color: var(--color-primary);
}

.group:hover .group-hover-bg-primary-5 {
    background-color: rgba(227, 107, 44, 0.05);
}

.group-hover-translate-x-1 {
    transform: translateX(4px);
}

.group-hover-translate-x-2 {
    transform: translateX(8px);
}

/* Placeholder */
.placeholder\:text-outline-variant-50::placeholder {
    color: rgba(212, 196, 188, 0.5);
}

/* Ring */
.focus\:ring-0:focus {
    outline: none;
}

/* Resize */
.resize-none {
    resize: none;
}

/* Appearance */
.appearance-none {
    appearance: none;
}

/* ============================================
   MODAL DE COLECCIONES
   ============================================ */
/* Modal — lightbox elegante */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.modal-overlay.active { opacity: 1; }
.modal-overlay.hidden { display: none; }

.modal-container {
    background: #151515;
    width: 100%;
    max-width: 1200px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    flex-shrink: 0;
}

.modal-header h3 {
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Carousel — takes remaining height */
#modal-carousel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Main image — fills remaining space without scroll */
.modal-main-wrapper {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-main-img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.modal-main-img.fade {
    opacity: 0;
}

/* Arrows — appear on hover */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: opacity 0.35s, background 0.25s, transform 0.25s;
    z-index: 2;
    opacity: 0;
}

.modal-main-wrapper:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Counter pill */
.modal-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.06em;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}

/* Thumbnails strip */
.modal-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 16px 28px 20px;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-thumbnails::-webkit-scrollbar {
    height: 0;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.3;
    border: 2px solid transparent;
    transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
    flex-shrink: 0;
}

.modal-thumb:hover {
    opacity: 0.65;
    transform: translateY(-2px);
}

.modal-thumb.active {
    opacity: 1;
    border-color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .modal-overlay {
        padding: 0;
    }

    .modal-container {
        max-height: 100dvh;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        transform: translateY(16px) scale(0.97);
    }

    .modal-main-img {
        max-height: 70vh;
        max-height: 70dvh;
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-header h3 {
        font-size: 13px;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
        opacity: 1;
        background: rgba(255, 255, 255, 0.12);
    }

    .carousel-prev { left: 12px; }
    .carousel-next { right: 12px; }

    .modal-thumb {
        width: 52px;
        height: 52px;
    }

    .modal-thumbnails {
        padding: 12px 16px 16px;
        gap: 8px;
        justify-content: flex-start;
    }
}

/* Nav link active */
.nav-link.active {
    color: var(--color-primary);
}

/* Text Decoration */
.border-b-2 {
    border-bottom-width: 2px;
}

/* Line Height */
.leading-1-05 {
    line-height: 1.05;
}

/* Responsive Utility Classes */
.hidden-desktop {
    display: none;
}

.hidden-mobile {
    display: none;
}

.hidden-block {
    display: none;
}

/* Active Scale */
.active-scale-95:active {
    transform: scale(0.95);
}

/* Button padding */
.py-2-5 {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Opacity utilities (unique ones) */
.bg-white-40 {
    background-color: rgba(255, 255, 255, 0.4);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.bg-black-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Progress bar */
.h-2px {
    height: 2px;
}

/* Filter buttons */
.filter-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}

/* Gallery item selector (for JS filtering) */
.gallery-item {
    display: block;
}

/* Hero dot indicator */
.hero-dot {
    border: none;
    background: none;
    cursor: pointer;
}

/* Responsive flex row */
.sm-flex-row {
    flex-direction: row;
}

/* Form styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

.focus-within-border-primary:focus-within {
    border-color: var(--color-primary);
}

.focus-ring-0:focus {
    outline: none;
    box-shadow: none;
}

.placeholder-text-outline-variant-50::placeholder {
    color: rgba(166, 139, 128, 0.5);
}

/* Button hover states */
.hover-border-primary:hover {
    border-color: var(--color-primary);
}

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

.hover-border-on-surface:hover {
    border-color: var(--color-on-surface);
}

.hover-text-white:hover {
    color: #ffffff;
}

.hero-minimal-gradient {
    background: linear-gradient(to right, rgba(245,242,238,0.95) 0%, rgba(245,242,238,0.4) 50%, rgba(245,242,238,0) 100%);
}

.hero-dark-gradient {
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.gallery-card {
    background: #ffffff;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.text-kern {
    letter-spacing: 0.15em;
}

.line-accent {
    width: 40px;
    height: 1px;
    background-color: #E36B2C;
}

/* Category grid hover */
.cat-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 828 / 1003;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card:hover img {
    transform: scale(1.07);
}



/* Guarantee badge */
.guarantee-badge {
    border: 1px solid #d4c4bc;
    padding: 32px;
    text-align: center;
}

/* Sofa highlight strip */
.sofa-highlight {
    background: linear-gradient(135deg, #1c1b1b 0%, #303030 100%);
}

/* Team cards */
.team-card {
    border-top: 1px solid #d4c4bc;
    padding-top: 24px;
}

/* Mobile menu */
#mobile-menu {
    display: none;
}

#mobile-menu.open {
    display: block;
}

/* Scroll animation reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slider transition classes */
#slides-track {
    width: 500%;
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    width: calc(100% / 5);
}

.slide-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#hero-progress {
    transition: width 0.1s linear;
}

/* Fade in up keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-\[fadeInUp_1\.2s_ease_forwards\] {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    background-color: var(--color-on-surface);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-primary);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-outline {
    border: 1px solid var(--color-on-surface);
    color: var(--color-on-surface);
    background: transparent;
    padding: 0.625rem 2rem;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--color-on-surface);
    color: white;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-on-surface);
    border-bottom: 1px solid var(--color-on-surface);
    padding-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.btn-link .icon-arrow {
    transition: transform 0.3s ease;
}

.btn-link:hover .icon-arrow {
    transform: translateX(8px);
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.nav-link {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-on-surface);
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* ============================================
   CONTACTO / FORMULARIO
   ============================================ */
.contact-header {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 6rem;
    padding: 0 var(--spacing-margin-mobile);
}

.contact-subtitle {
    color: var(--color-secondary);
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
}

.contact-form {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 var(--spacing-margin-mobile);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    border-bottom: 1px solid var(--color-outline-variant);
    transition: border-color 0.3s ease;
}

.form-field:focus-within {
    border-bottom-color: var(--color-primary);
}

.form-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 600;
}

.form-input {
    background: transparent;
    border: none;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 16px;
    color: var(--color-on-surface);
    font-family: 'Manrope', sans-serif;
    outline: none;
}

.form-input::placeholder {
    color: rgba(166, 139, 128, 0.5);
}

.form-textarea {
    height: 8rem;
    resize: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: white;
    padding: 6rem 0;
    border-top: 1px solid rgba(212, 196, 188, 0.3);
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: var(--spacing-container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-margin-mobile);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 var(--spacing-margin-desktop);
        gap: 5rem;
    }
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 2rem;
}

.footer-copyright {
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-title {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-on-surface);
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-list a {
    color: var(--color-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-primary);
}

.footer-contact-info {
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   SECCIONES CON FONDO DE IMAGEN
   ============================================ */
.section-with-bg {
    position: relative;
    background-image: url('../assets/images/Descansopng.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(245, 242, 238, 0.92);
    z-index: 0;
}

.section-with-bg > * {
    position: relative;
    z-index: 1;
}

.section-testimonios-bg {
    position: relative;
    background-image: url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-testimonios-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.90);
    z-index: 0;
}

.section-testimonios-bg > * {
    position: relative;
    z-index: 1;
}

.section-asesoria-cards-bg {
    position: relative;
    background-image: url('../assets/images/asesoria.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-asesoria-cards-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(248, 245, 242, 0.93);
    z-index: 0;
}

.section-asesoria-cards-bg > * {
    position: relative;
    z-index: 1;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
