:root {
    /* Color Palette */
    --clr-bg: #F8F6F4;          /* Soft cream */
    --clr-surface: #FFFFFF;     /* White cards/header */
    --clr-primary: #A28271;     /* Nude/rose-brown from logo "ÁLAMO" */
    --clr-primary-dark: #8C6F5F;
    --clr-text-main: #3B3835;   /* Dark taupe */
    --clr-text-muted: #7A746F;
    --clr-wa: #25D366;          /* WhatsApp green */
    --clr-wa-dark: #128C7E;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing & Utilities */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 4px 12px rgba(59, 56, 53, 0.05);
    --shadow-md: 0 8px 24px rgba(59, 56, 53, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-text-main);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 120px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--clr-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--clr-surface);
    color: var(--clr-text-main);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--clr-surface);
    color: var(--clr-surface);
}

.btn-outline:hover {
    background-color: var(--clr-surface);
    color: var(--clr-text-main);
}

/* Specific product WhatsApp button outline */
.btn-wa-outline {
    width: 100%;
    border: 1px solid #EAE5E2;
    color: var(--clr-text-main);
    background: transparent;
    padding: 10px;
    font-size: 0.75rem;
    margin-top: auto;
}
.btn-wa-outline:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff;
}

/* Image utility */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}
.rounded-image {
    border-radius: var(--border-radius);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.logo.text-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--clr-text-main);
    text-transform: uppercase;
}

.navbar.scrolled .logo.text-logo {
    font-size: 1.4rem;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-socials {
    display: flex;
    gap: 15px;
}

.nav-socials a {
    color: var(--clr-text-main);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-socials a:hover {
    color: var(--clr-primary);
    transform: scale(1.1);
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image copy 32.webp') center/cover no-repeat;
    z-index: -2;
    filter: blur(1.5px);
    transform: scale(1.1);
    animation: zoom-bg 20s infinite alternate ease-in-out;
}

@keyframes zoom-bg {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.25); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(248, 246, 244, 0.3), var(--clr-bg));
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--clr-primary);
    margin-bottom: 24px;
    display: block;
    font-weight: 500;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto 48px;
    color: var(--clr-text-muted);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero-actions { flex-direction: column; gap: 15px; }
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }
}

/* --- PRODUCTS (Catalog) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--clr-surface);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image-wrapper {
    position: relative;
    padding-top: 135%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.btn-wa-overlay {
    background: #fff;
    color: #000;
}

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--clr-primary);
    margin-bottom: 20px;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.product-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-muted);
    border: 1px solid #eee;
    padding: 4px 8px;
    border-radius: 2px;
}

/* --- EDITORIAL BANNER --- */
.editorial-banner {
    background: url('image copy 18.webp') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    margin: 80px 0;
}

.editorial-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.editorial-content {
    position: relative;
    z-index: 10;
}

.editorial-content h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 30px;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--clr-primary);
    color: #fff;
    padding: 100px 0 40px;
}

.footer h3, .footer p, .footer a {
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.renderbyte-link {
    font-weight: 800;
    background: linear-gradient(90deg, #00D2FF, #9D50BB, #F06292, #00D2FF);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    filter: none;
    transition: var(--transition);
    display: inline-block;
    animation: flow-gradient 5s linear infinite;
}

@keyframes flow-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.renderbyte-link:hover {
    filter: blur(0px);
    transform: scale(1.1);
    opacity: 1;
}

/* --- FLOATING WA BUTTON --- */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--clr-wa);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
    z-index: 999;
}

/* --- DYNAMIC BACKGROUND --- */
.has-dynamic-bg {
    position: relative;
    overflow-x: hidden;
}

.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #fffcf9 0%, var(--clr-bg) 100%);
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    transition: all 1s ease;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--clr-primary);
    top: -10%;
    left: -10%;
    animation: move-1 25s infinite alternate ease-in-out;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: #E8DFD8;
    bottom: -15%;
    right: -10%;
    animation: move-2 30s infinite alternate ease-in-out;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--clr-primary-dark);
    top: 40%;
    right: 15%;
    opacity: 0.2;
    animation: move-3 20s infinite alternate ease-in-out;
}

@keyframes move-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.2); }
}

@keyframes move-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-120px, -80px) rotate(45deg); }
}

@keyframes move-3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-150px, 100px); }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .hero-logo-img { max-width: 250px; }
    .bg-shape { filter: blur(40px); opacity: 0.3; }
}
/* --- CAROUSEL & GALLERY UPDATES --- */

.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    opacity: 0;
    color: var(--clr-text-main);
}

.product-card:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

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

/* Indicators */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Admin Gallery Preview */
.image-preview-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #EAE5E2;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
