/* ====================================================
   EASY BAGS - Hoja de estilos principal
   ==================================================== */

/* ---------- VARIABLES ---------- */
:root {
    --green-900: #1b4332;
    --green-800: #2d6a4f;
    --green-700: #40916c;
    --green-500: #74c69d;
    --green-300: #b7e4c7;
    --green-100: #d8f3dc;
    --kraft-300: #e9d8a6;
    --kraft-200: #f4e8d0;
    --cream: #fefae0;
    --bg: #fbfaf3;
    --text: #1b3327;
    --text-soft: #4a6358;
    --line: #e3ddc7;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(27, 67, 50, 0.06);
    --shadow-md: 0 12px 32px rgba(27, 67, 50, 0.10);
    --shadow-lg: 0 24px 60px rgba(27, 67, 50, 0.14);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --container: 1200px;
    --transition: 280ms cubic-bezier(.4, 0, .2, 1);
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--green-900);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { color: var(--text-soft); }

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.2rem, 4vw, 2rem);
}

.section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green-700);
    background: var(--green-100);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.accent {
    color: var(--green-700);
    background: linear-gradient(120deg, transparent 0% 60%, var(--green-100) 60% 100%);
    padding: 0 .15em;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.96rem;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(45, 106, 79, 0.28);
}
.btn-primary:hover {
    background: var(--green-900);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(45, 106, 79, 0.36);
}

.btn-ghost {
    background: var(--white);
    color: var(--green-900);
    border-color: var(--line);
}
.btn-ghost:hover {
    border-color: var(--green-700);
    color: var(--green-700);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--green-900);
}

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(251, 250, 243, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.05rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--green-900);
}
.logo > img { height: 80px; width: auto; display: block; object-fit: contain; }
.logo-foot > img { height: 80px; width: auto; }
@media (max-width: 760px) {
    .logo > img { height: 60px; }
}
.logo-mark {
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
}
.logo-mark img { width: 36px; height: 36px; display: block; }
.logo-foot .logo-mark img { width: 32px; height: 32px; }
.logo-text strong { color: var(--green-700); }

.main-nav ul {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}
.main-nav a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding-block: 0.5rem;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-700); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--green-700);
    border-radius: 50%;
}

.nav-cta { padding: 0.7rem 1.3rem; font-size: 0.9rem; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--green-900);
    border-radius: 2px;
    transition: all var(--transition);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding-block: clamp(3rem, 7vw, 6rem);
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(116, 198, 157, 0.18), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("../img/leaves-pattern.svg");
    background-size: cover;
    background-position: center;
    opacity: .14;
}
.leaf {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, var(--green-300), var(--green-700));
    border-radius: 70% 30% 70% 30%;
    filter: blur(40px);
    opacity: 0.35;
}
.leaf-1 { width: 280px; height: 280px; top: -80px; left: -100px; }
.leaf-2 { width: 380px; height: 380px; bottom: -120px; right: -120px; opacity: 0.25; }
.leaf-3 { width: 200px; height: 200px; top: 40%; right: 30%; opacity: 0.2; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content .eyebrow { margin-bottom: 1.4rem; }
.hero-content h1 { margin-bottom: 1.4rem; }
.hero-content .lead {
    font-size: 1.12rem;
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.hero-bullets li {
    font-size: 0.92rem;
    color: var(--text-soft);
}
.hero-bullets strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--green-800);
    line-height: 1;
    margin-bottom: 0.2rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.bag-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.4rem;
    box-shadow: var(--shadow-lg);
    width: min(100%, 380px);
    aspect-ratio: 3/3.4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transform: rotate(-3deg);
    transition: transform var(--transition);
}
.bag-card:hover { transform: rotate(0deg) translateY(-4px); }
.bag-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius);
}
.bag-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}
.bag-tag {
    align-self: flex-start;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.floating-badge {
    position: absolute;
    bottom: 8%;
    left: -2%;
    background: var(--white);
    color: var(--green-800);
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-700);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(64, 145, 108, 0.18);
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(64, 145, 108, 0.18); }
    50% { box-shadow: 0 0 0 8px rgba(64, 145, 108, 0.05); }
}

/* ---------- MARQUEE ---------- */
.marquee {
    background: var(--green-900);
    color: var(--cream);
    overflow: hidden;
    padding-block: 1.1rem;
    border-block: 1px solid rgba(255, 255, 255, 0.05);
}
.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scroll 32s linear infinite;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}
.marquee-track span:nth-child(odd) { color: var(--green-300); font-weight: 700; }
.marquee-track span:nth-child(even) { color: var(--green-500); }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- VALUE GRID ---------- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.value-card {
    background: var(--white);
    padding: 2rem 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all var(--transition);
    position: relative;
}
.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--green-300);
    box-shadow: var(--shadow-md);
}
.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--green-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { margin-bottom: 0.55rem; font-size: 1.2rem; }
.value-card p { font-size: 0.95rem; }

/* ---------- CATEGORÍAS ---------- */
.categories { background: var(--white); }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}

.cat-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
}
.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-300);
}

.cat-illo {
    aspect-ratio: 5/3.6;
    position: relative;
    overflow: hidden;
    background: var(--green-100);
}
.cat-illo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 600ms ease;
    display: block;
}
.cat-card:hover .cat-illo img { transform: scale(1.06); }
.cat-illo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 600ms ease;
}

/* Las antiguas reglas .cat-illo-N y la silueta ::after se removieron porque ahora cada
   tarjeta usa una foto real del producto. */

.cat-body { padding: 1.6rem 1.6rem 1.8rem; }
.cat-body h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.cat-body p { font-size: 0.94rem; margin-bottom: 1rem; }
.cat-link {
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.92rem;
    transition: gap var(--transition);
}
.cat-card:hover .cat-link { color: var(--green-900); }

/* ---------- STATS ---------- */
.stats {
    background: var(--green-900);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(116, 198, 157, 0.18), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(183, 228, 199, 0.12), transparent 50%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    color: var(--green-300);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: rgba(254, 250, 224, 0.78);
    font-size: 0.96rem;
    font-weight: 500;
}

/* ---------- PROCESS ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    counter-reset: step;
}
.step {
    background: var(--white);
    padding: 2rem 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    position: relative;
    transition: all var(--transition);
}
.step:hover { box-shadow: var(--shadow-md); }
.step-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--green-300);
    line-height: 1;
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; }

/* ---------- TESTIMONIOS ---------- */
.testimonials { background: var(--cream); }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}
.testi-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--line);
}
.testi-card::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 24px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--green-300);
    line-height: 1;
}
.testi-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}
.testi-card footer { display: flex; flex-direction: column; gap: 0.1rem; }
.testi-card strong { color: var(--green-900); font-weight: 700; }
.testi-card span { font-size: 0.85rem; color: var(--text-soft); }

/* ---------- CTA BAND ---------- */
.cta-band {
    background:
        linear-gradient(135deg, var(--green-800), var(--green-700));
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    top: -200px;
    right: -150px;
    border-radius: 50%;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}
.cta-inner h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-self: end;
}
.cta-actions .btn-primary {
    background: var(--white);
    color: var(--green-900);
}
.cta-actions .btn-primary:hover { background: var(--cream); }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--green-900);
    color: rgba(254, 250, 224, 0.78);
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.foot-col h4 {
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.foot-col p { font-size: 0.94rem; margin: 1rem 0 1.4rem; line-height: 1.65; color: rgba(254, 250, 224, 0.65); }
.foot-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-col a { font-size: 0.94rem; transition: color var(--transition); }
.foot-col a:hover { color: var(--green-300); }

.logo-foot { color: var(--cream); }
.logo-foot .logo-text strong { color: var(--green-300); }
.logo-foot .logo-mark { color: var(--green-300); }

.socials { display: flex; gap: 0.75rem; }
.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: all var(--transition);
}
.socials a:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: rgba(254, 250, 224, 0.78);
    margin-bottom: 0.7rem;
}
.contact-list svg { flex-shrink: 0; margin-top: 4px; color: var(--green-300); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-block: 1.4rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom small {
    font-size: 0.82rem;
    color: rgba(254, 250, 224, 0.55);
}

/* ---------- WHATSAPP FLOATING ---------- */
.wa-float {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 99;
    transition: all var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }
.wa-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: ripple 2s infinite;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   PÁGINAS INTERIORES
   ===================================================== */

/* ---------- PAGE HEADER ---------- */
.page-hero {
    padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse at top, rgba(116, 198, 157, 0.16), transparent 60%),
        var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/leaves-pattern.svg");
    background-size: cover;
    background-position: center;
    opacity: .12;
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 820px; margin: 0 auto 1.2rem; }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.86rem;
    color: var(--text-soft);
    justify-content: center;
    margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb span { opacity: 0.5; }

/* ---------- PRODUCTOS ---------- */
.product-filter {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--green-700); color: var(--green-700); }
.filter-btn.active {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-300);
}

.product-img {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-img svg { width: 60%; height: 70%; transition: transform 600ms ease; }
.product-card:hover .product-img svg { transform: scale(1.06) rotate(-2deg); }

.product-img.bg-1 { background: linear-gradient(135deg, #d8f3dc, #b7e4c7); }
.product-img.bg-2 { background: linear-gradient(135deg, #f4e8d0, #e9d8a6); }
.product-img.bg-3 { background: linear-gradient(135deg, #ffeacc, #f4a261); }
.product-img.bg-4 { background: linear-gradient(135deg, #b7e4c7, #74c69d); }
.product-img.bg-5 { background: linear-gradient(135deg, #2d6a4f, #40916c); }
.product-img.bg-6 { background: linear-gradient(135deg, #1b4332, #40916c); }
.product-img.bg-7 { background: linear-gradient(135deg, #fbf3d4, #d4a373); }
.product-img.bg-8 { background: linear-gradient(135deg, #cce3de, #95d5b2); }

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--green-800);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-body { padding: 1.4rem 1.5rem 1.6rem; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.product-body p { font-size: 0.92rem; margin-bottom: 1rem; min-height: 3em; }

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.price-from {
    font-size: 0.78rem;
    color: var(--text-soft);
    display: block;
}
.price-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--green-800);
    font-weight: 700;
}
.product-cta {
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.88rem;
}

/* ---------- MATERIALES ---------- */
.materials { background: var(--cream); }
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}
.material-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    text-align: center;
    transition: all var(--transition);
}
.material-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.material-swatch {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: inset 0 -8px 16px rgba(0,0,0,0.08);
}
.material-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.material-card p { font-size: 0.88rem; }

/* ---------- COLORES ---------- */
.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}
.color-chip {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: inset 0 -4px 8px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
    transition: transform var(--transition);
    cursor: pointer;
}
.color-chip:hover { transform: scale(1.15) translateY(-3px); }

/* ---------- NOSOTROS ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img {
    border-radius: var(--radius-xl);
    aspect-ratio: 4/4.5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-top: 3rem;
}
.mv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green-700);
}
.mv-card h3 {
    font-size: 1.4rem;
    color: var(--green-800);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    margin-top: 3rem;
}
.value-item {
    text-align: center;
    padding: 1.6rem;
}
.value-item-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--green-100);
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.value-item h4 { font-size: 1.1rem; margin-bottom: 0.4rem; font-family: var(--font-display); }

/* ---------- FÁBRICA AUTOMATIZADA ---------- */
.factory-section { background: var(--cream); }
.factory-card {
    position: relative;
    background:
        linear-gradient(180deg, #fbfaf3 0%, #f4f0db 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem 3rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.factory-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/leaves-pattern.svg");
    background-size: cover;
    background-position: center;
    opacity: .08;
    pointer-events: none;
}
.factory-leaf {
    position: absolute;
    top: 1.4rem;
    left: 1.6rem;
    z-index: 2;
    transform: rotate(-12deg);
}
.factory-brand {
    position: absolute;
    top: 1.6rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    z-index: 2;
}
.factory-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--green-900);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    position: relative;
    z-index: 1;
}
.factory-image {
    margin: 1.5rem auto 2rem;
    max-width: 95%;
    position: relative;
    z-index: 1;
}
.factory-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 28px rgba(0,0,0,.12));
}
.factory-text {
    max-width: 540px;
    margin: 0 0 1.4rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
    font-weight: 600;
    text-align: center;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}
.factory-credit {
    display: block;
    color: var(--green-700);
    font-weight: 700;
    font-size: 0.78rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}
@media (max-width: 720px) {
    .factory-card { padding: 4.5rem 1.5rem 1.5rem; }
    .factory-leaf { top: 1rem; left: 1rem; }
    .factory-leaf svg { width: 44px; height: 44px; }
    .factory-brand { top: 1rem; right: 1rem; width: 48px; height: 48px; }
}

/* ---------- PERSONALIZACIÓN ---------- */
.custom-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.custom-step:nth-child(even) .custom-text { order: 2; }
.custom-step .step-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--green-300);
    line-height: 1;
    margin-bottom: 1rem;
}
.custom-step h2 { margin-bottom: 1rem; }
.custom-step .visual {
    background: linear-gradient(135deg, var(--green-100), var(--green-300));
    border-radius: var(--radius-xl);
    aspect-ratio: 5/4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.custom-step:nth-child(2) .visual { background: linear-gradient(135deg, var(--kraft-200), var(--kraft-300)); }
.custom-step:nth-child(3) .visual { background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: var(--cream); }
.custom-step:nth-child(4) .visual { background: linear-gradient(135deg, var(--cream), var(--green-100)); }

/* ---------- CONTACTO ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}
.contact-info-card {
    background: var(--green-900);
    color: var(--cream);
    padding: 2.6rem;
    border-radius: var(--radius-lg);
    height: fit-content;
}
.contact-info-card h2 { color: var(--cream); margin-bottom: 0.8rem; }
.contact-info-card p { color: rgba(254, 250, 224, 0.78); margin-bottom: 2rem; }

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-info-item-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-300);
    flex-shrink: 0;
}
.contact-info-item h4 {
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.25rem;
    font-weight: 700;
}
.contact-info-item p {
    color: var(--cream);
    margin: 0;
    font-size: 0.96rem;
}

.contact-form {
    background: var(--white);
    padding: 2.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.contact-form > p { margin-bottom: 1.8rem; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-900);
}
.field input, .field select, .field textarea {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg);
    font: inherit;
    color: var(--text);
    transition: all var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--green-700);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--green-100);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--green-800);
    color: var(--white);
    border-radius: 999px;
    font-weight: 600;
    transition: all var(--transition);
    margin-top: 0.5rem;
}
.form-submit:hover {
    background: var(--green-900);
    transform: translateY(-2px);
}

.map-block {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.map-block iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item.is-open { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.faq-q {
    width: 100%;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    color: var(--green-900);
    font-size: 1.02rem;
    gap: 1rem;
}
.faq-q::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--green-700);
    transition: transform var(--transition);
    font-weight: 300;
    flex-shrink: 0;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease, padding 400ms ease;
    padding: 0 1.5rem;
}
.faq-item.is-open .faq-a {
    padding: 0 1.5rem 1.4rem;
    max-height: 400px;
}
.faq-a p { font-size: 0.96rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 980px) {
    .hero-grid,
    .about-grid,
    .custom-step,
    .contact-grid,
    .mv-grid,
    .field-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .custom-step:nth-child(even) .custom-text { order: 0; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cta-actions { justify-self: center; }
}

@media (max-width: 760px) {
    .menu-toggle { display: flex; }
    .nav-cta { display: none; }
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        transform: translateY(-110%);
        transition: transform 400ms ease;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .main-nav.is-open { transform: translateY(0); }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }
    .main-nav a {
        padding: 0.9rem 1rem;
        border-radius: 12px;
        display: block;
    }
    .main-nav a.active::after { display: none; }
    .main-nav a.active { background: var(--green-100); color: var(--green-800); }

    .hero { padding-block: 2.5rem; }
    .hero-bullets { gap: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .footer-bottom .container { justify-content: center; text-align: center; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section { padding-block: 3rem; }
    .floating-badge { left: 5%; }
}

@media (max-width: 480px) {
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .product-filter { gap: 0.4rem; }
    .filter-btn { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
    .contact-info-card, .contact-form { padding: 1.8rem; }
}
