/* ══════════════════════════════════════════════════════════
   CUEROS BELÉN — Estilos Premium con Tema Claro/Oscuro
   ══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Tema Claro) ─── */
:root,
[data-theme="light"] {
    --color-primary: #0F0F0F;
    --color-secondary: #D6C6B3;
    --color-accent: #B89A6A;
    --color-accent-light: #cdb58a;
    --color-background: #F8F6F2;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-accent-text: #7B6539;
    --color-white: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F0EDE8;
    --color-border: rgba(15, 15, 15, 0.08);
    --color-border-strong: rgba(15, 15, 15, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
    --navbar-bg: rgba(248, 246, 242, 0.92);
    --navbar-scrolled: rgba(248, 246, 242, 0.98);
    --card-hover-shadow: 0 12px 40px rgba(0,0,0,0.12);
    --overlay-gradient: linear-gradient(135deg, rgba(15,15,15,0.7), rgba(15,15,15,0.3));
    --transition-speed: 0.4s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Tema Oscuro ─── */
[data-theme="dark"] {
    --color-primary: #F8F6F2;
    --color-secondary: #3A322A;
    --color-accent: #B89A6A;
    --color-accent-light: #D4B88A;
    --color-background: #0F0F0F;
    --color-text: #E8E4DF;
    --color-text-light: #A8A2A0;
    --color-accent-text: #C9A96E;
    --color-white: #1A1A1A;
    --color-surface: #1A1A1A;
    --color-surface-alt: #222222;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);
    --navbar-bg: rgba(15, 15, 15, 0.92);
    --navbar-scrolled: rgba(15, 15, 15, 0.98);
    --card-hover-shadow: 0 12px 40px rgba(184, 154, 106, 0.15);
    --overlay-gradient: linear-gradient(135deg, rgba(15,15,15,0.85), rgba(15,15,15,0.5));
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    transition: background-color var(--transition-speed) var(--transition-ease),
                color var(--transition-speed) var(--transition-ease);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Tipografía ─── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
    transition: color var(--transition-speed) var(--transition-ease);
}

/* ─── Animaciones ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-ease), transform 0.8s var(--transition-ease);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--transition-ease), transform 0.8s var(--transition-ease);
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--transition-ease), transform 0.8s var(--transition-ease);
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}


/* ─── Screen Reader Only ─── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.5s var(--transition-ease);
}

.navbar.scrolled {
    background: var(--navbar-scrolled);
    padding: 12px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    font-size: 24px;
    color: var(--color-accent);
    transition: transform 0.5s ease;
}

.nav-logo:hover .logo-icon {
    transform: rotate(90deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    transition: color var(--transition-speed) var(--transition-ease);
}

.navbar:not(.scrolled) .logo-name {
    color: #fff;
}

.logo-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.85);
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--transition-ease);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

/* Botón tema */
.theme-toggle {
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar:not(.scrolled) .theme-toggle {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.navbar:not(.scrolled) .theme-toggle .theme-icon {
    color: #fff;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.05);
    border-color: var(--color-accent);
}

.theme-icon {
    position: absolute;
    color: var(--color-text);
    transition: all 0.4s var(--transition-ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .dark-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="light"] .light-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="dark"] .light-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .dark-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Hamburguesa */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar:not(.scrolled) .nav-hamburger span {
    background: #fff;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ══════════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--transition-ease);
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--slide-bg);
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
    will-change: transform;
}

.slide.active::before {
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,15,15,0.3) 0%,
        rgba(15,15,15,0.5) 50%,
        rgba(15,15,15,0.7) 100%
    );
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 18%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    color: #fff;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.slide-label {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.slide-label::before,
.slide-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

.slide-label::before { right: 100%; }
.slide-label::after  { left: 100%; }

.slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.slide-content p {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 42px;
    background: transparent;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-ease);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--transition-ease);
    z-index: -1;
}

.btn-primary:hover {
    border-color: var(--color-accent);
    color: #fff;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Controles del slider */
.slider-controls {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
}

.dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.2);
}

.dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.dot.active::after {
    border-color: rgba(184, 154, 106, 0.4);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}


/* ══════════════════════════════════════════════════════════
   CRAFT BANNER
   ══════════════════════════════════════════════════════════ */
.craft-banner {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 60px 0;
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.craft-item {
    padding: 20px;
    position: relative;
}

.craft-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border-strong);
}

.craft-item:last-child::after {
    display: none;
}

.craft-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.craft-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.craft-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════
   SECTIONS COMMON
   ══════════════════════════════════════════════════════════ */
.products-section {
    padding: 100px 0 80px;
    background: var(--color-background);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.products-section.section-alt {
    background: var(--color-surface-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent-text);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 16px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.5;
}

.section-divider.left-aligned {
    justify-content: flex-start;
}

.divider-diamond {
    color: var(--color-accent);
    font-size: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}


/* ══════════════════════════════════════════════════════════
   FILTER TABS
   ══════════════════════════════════════════════════════════ */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    background: transparent;
    border: 1.5px solid var(--color-border-strong);
    cursor: pointer;
    transition: all 0.4s var(--transition-ease);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition-ease);
    z-index: 0;
}

.filter-btn span,
.filter-btn {
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}


/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--transition-ease);
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--color-accent);
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-ease);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    background: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.classic-badge {
    background: var(--color-primary);
}

[data-theme="dark"] .product-badge.classic-badge {
    background: var(--color-secondary);
    color: var(--color-accent);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--transition-ease);
    z-index: 1;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    padding: 14px 32px;
    background: rgba(255,255,255,0.95);
    color: #0F0F0F;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-ease);
}

.product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--color-accent);
    color: #fff;
}

.product-info {
    padding: 24px;
}

.product-category {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-text);
    font-weight: 700;
}

.product-name {
    font-size: 20px;
    font-weight: 500;
    margin: 8px 0;
    transition: color var(--transition-speed) var(--transition-ease);
}

.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-accent-text);
}


/* ══════════════════════════════════════════════════════════
   PARALLAX BANNER
   ══════════════════════════════════════════════════════════ */
.parallax-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.85) 0%,
        rgba(15, 15, 15, 0.7) 50%,
        rgba(15, 15, 15, 0.85) 100%
    );
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px;
    color: #fff;
}

.parallax-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 16px;
}

.parallax-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.parallax-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    margin-bottom: 50px;
    line-height: 1.8;
}

.parallax-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--color-accent);
}

.stat-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}


/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.about-section {
    padding: 120px 0;
    background: var(--color-background);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    z-index: 2;
    border: 6px solid var(--color-background);
    overflow: hidden;
    transition: border-color var(--transition-speed) var(--transition-ease);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 3;
    background: var(--color-accent);
    color: #fff;
    padding: 24px;
    text-align: center;
    min-width: 120px;
}

.exp-number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-text strong {
    color: var(--color-accent-text);
    font-weight: 700;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text);
}

.feature-icon {
    color: var(--color-accent);
    font-size: 8px;
}


/* ══════════════════════════════════════════════════════════
   PROCESS SECTION
   ══════════════════════════════════════════════════════════ */
.process-section {
    padding: 100px 0;
    background: var(--color-surface);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 0 30px;
    position: relative;
    flex: 1;
    max-width: 280px;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--color-border-strong);
    margin-bottom: 16px;
    line-height: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1.5px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-accent);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    background: var(--color-accent);
    color: #fff;
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.process-connector {
    width: 60px;
    height: 1px;
    background: var(--color-border-strong);
    margin-top: 95px;
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials-section {
    padding: 100px 0;
    background: var(--color-surface-alt);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.testimonial-card {
    background: var(--color-surface);
    padding: 40px;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--transition-ease);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.testimonial-stars {
    color: var(--color-accent-text);
    font-size: 16px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 600;
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text);
}

.author-location {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
    letter-spacing: 1px;
}


/* ══════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════ */
.contact-section {
    padding: 120px 0;
    background: var(--color-background);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-text {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--color-accent);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    background: var(--color-accent);
    color: #fff;
}

.method-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.method-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 2px;
}

/* Formulario */
.contact-form-wrapper {
    background: var(--color-surface);
    padding: 48px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    resize: none;
}

.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 16px;
    font-size: 14px;
    color: var(--color-text-light);
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--color-surface-alt);
    padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(184, 154, 106, 0.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 11px;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--color-accent);
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 2px solid var(--color-accent);
    cursor: pointer;
    transition: all 0.4s var(--transition-ease);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition-ease);
    z-index: 0;
}

.btn-submit span,
.btn-submit svg {
    position: relative;
    z-index: 1;
}

.btn-submit:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-submit:hover {
    border-color: var(--color-primary);
}


/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
    background: #0F0F0F;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer .nav-logo {
    margin-bottom: 20px;
}

.footer .logo-name {
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(6px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}


/* ══════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .process-grid {
        flex-wrap: wrap;
        gap: 30px;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s var(--transition-ease);
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 18px;
        letter-spacing: 4px;
        color: var(--color-primary) !important;
    }

    .nav-hamburger {
        display: flex;
    }

    .craft-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .craft-item::after {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .parallax-stats {
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .about-img-secondary {
        width: 150px;
        height: 150px;
        right: -10px;
        bottom: -15px;
    }

    .about-experience {
        left: -10px;
        top: -10px;
        padding: 16px;
    }

    .exp-number {
        font-size: 32px;
    }

    .slider-controls {
        bottom: 40px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 600px;
    }

    .slide-content {
        bottom: 22%;
    }

    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .craft-grid {
        grid-template-columns: 1fr;
    }

    .parallax-stats {
        flex-direction: column;
    }

    .filter-tabs {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 11px;
    }

    .process-step {
        flex: 0 0 100%;
    }
}

/* ─── Transiciones suaves para el tema ─── */
.navbar,
.craft-banner,
.products-section,
.about-section,
.process-section,
.testimonials-section,
.contact-section,
.product-card,
.testimonial-card,
.contact-method,
.contact-form-wrapper,
.form-group input,
.form-group textarea,
.form-group select,
.step-icon {
    transition: background-color var(--transition-speed) var(--transition-ease),
                border-color var(--transition-speed) var(--transition-ease),
                color var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
}

/* ─── Selección de texto ─── */
::selection {
    background: var(--color-accent);
    color: #fff;
}

::-moz-selection {
    background: var(--color-accent);
    color: #fff;
}

/* ─── Scrollbar personalizado ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}
