/*
Theme Name: Cooperativa Modelo
Theme URI: https://cooperativamodelo.com.br
Author: Sua Agência
Author URI: https://sua-agencia.com.br
Description: Tema WordPress premium para cooperativas agroindustriais. Site institucional + e-commerce + portal de cliente + rede social interna dos cooperados, tudo em um único pacote. Sistema de comunidade com moderação tripla (filtro de palavras, fila manual, integração com Sightengine AI para detecção automática de conteúdo impróprio). Posts com fotos múltiplas e vídeos do YouTube embed. Compatível com WooCommerce, Elementor, ACF, Yoast, Contact Form 7, Akismet e Nextend Social Login.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cooperativa-modelo
Domain Path: /languages
Tags: business, food-and-drink, e-commerce, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/* ============================================
   COOPERATIVA MODELO — DESIGN SYSTEM
   Tema: Agroindustrial premium / editorial
   ============================================ */

:root {
    --green-900: #143d20;
    --green-800: #1c5530;
    --green-700: #2a7a44;
    --green-600: #3a9a5a;
    --green-500: #56b876;
    --green-50:  #ecf6ef;

    --earth-900: #3a2418;
    --earth-700: #6b4426;
    --earth-500: #a17249;

    --gold:      #d4a44b;
    --gold-light:#e8c779;

    --cream:     #faf6ee;
    --paper:     #fdfbf6;
    --ink:       #1a1f1c;
    --ink-soft:  #4a5550;
    --muted:     #8a948f;
    --line:      #e6e3da;
    --white:     #ffffff;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Manrope', -apple-system, sans-serif;

    --shadow-sm: 0 1px 3px rgba(20,40,30,.06), 0 1px 2px rgba(20,40,30,.04);
    --shadow-md: 0 8px 30px rgba(20,40,30,.08), 0 2px 8px rgba(20,40,30,.04);
    --shadow-lg: 0 20px 60px rgba(20,40,30,.15), 0 8px 20px rgba(20,40,30,.08);

    --container: 1280px;
    --radius:    14px;
    --radius-lg: 24px;
    --header-h:  84px;
}

/* Dark mode */
[data-theme="dark"] {
    --paper: #0e1612;
    --cream: #15211b;
    --white: #1a2a22;
    --ink: #e8eee9;
    --ink-soft: #b3beb6;
    --muted: #7a8580;
    --line: #2a3a32;
    --green-50: #1f3528;
}

/* ============ 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(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--green-900);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 1000;
}
.skip-link:focus { left: 8px; }

.reading-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--gold);
    z-index: 999;
    transition: width .1s linear;
}

/* ============ TOPBAR ============ */
.topbar {
    background: var(--green-900);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__contact i { color: var(--gold-light); font-size: 12px; }
.topbar__right { display: flex; gap: 20px; align-items: center; }
.topbar__quote-btn {
    color: var(--green-900);
    background: var(--gold);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: all .25s ease;
}
.topbar__quote-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: all .25s ease;
    color: rgba(255,255,255,.85);
}
.topbar__social a:hover { background: var(--gold); color: var(--green-900); }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline-flex; } }

/* ============ HEADER ============ */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
    width: 44px;
    height: 44px;
    color: var(--green-700);
    flex-shrink: 0;
}
.logo__mark svg, .logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.logo__name--accent {
    color: var(--green-700);
    font-style: italic;
    font-weight: 700;
}
.logo--light .logo__name { color: var(--white); }
.logo--light .logo__name--accent { color: var(--gold-light); }
.logo--light .logo__mark { color: var(--gold-light); }

.nav ul { display: flex; gap: 4px; align-items: center; }
.nav li { position: relative; }
.nav a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: 8px;
    position: relative;
    transition: all .25s ease;
    display: inline-block;
}
.nav a:hover { color: var(--green-700); background: var(--green-50); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav a.active { color: var(--green-800); }
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav a.active::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.nav__cta, .menu-item-cta > a {
    background: var(--green-700);
    color: var(--white) !important;
    margin-left: 8px;
}
.nav__cta:hover, .menu-item-cta > a:hover { background: var(--green-800) !important; }

/* Submenu */
.nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    z-index: 50;
}
.nav li:hover > .sub-menu { display: block; }
.nav .sub-menu li { width: 100%; }
.nav .sub-menu a { width: 100%; }

.hamburger {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 24px;
        transform: translateY(-150%);
        transition: transform .35s ease;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.open { transform: translateY(0); }
    .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav a { display: block; padding: 14px 18px; }
    .nav .sub-menu { position: static; box-shadow: none; padding: 0 0 0 16px; }
    .nav li:hover > .sub-menu { display: block; }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: var(--green-900);
}
.hero__slider { position: relative; height: 100%; }
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}
.hero__slide.active { opacity: 1; z-index: 2; }
.hero__content {
    color: var(--white);
    max-width: 720px;
}
.hero__slide.active .hero__content { animation: heroFadeIn 1s .2s ease both; }
.hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 24px;
    color: var(--gold-light);
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
}
.hero__subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.5;
    color: rgba(255,255,255,.88);
    max-width: 560px;
    margin-bottom: 32px;
    font-weight: 300;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

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

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    z-index: 5;
    transition: all .25s ease;
    display: none;
}
@media (min-width: 768px) { .hero__arrow { display: block; } }
.hero__arrow:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

.hero__dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero__dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transition: all .3s ease;
}
.hero__dots button.active {
    background: var(--gold);
    width: 36px;
    border-radius: 5px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .02em;
    transition: all .25s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    border: none;
}
.btn--primary {
    background: var(--gold);
    color: var(--green-900);
    box-shadow: 0 8px 24px rgba(212,164,75,.35);
}
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--ghost {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--dark { background: var(--green-800); color: var(--white); }
.btn--dark:hover { background: var(--green-900); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--green-900); }
.btn--light:hover { background: var(--cream); transform: translateY(-2px); }
.btn--large { padding: 18px 36px; font-size: 15px; }

/* ============ TRUST STRIP ============ */
.trust {
    background: var(--cream);
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.trust__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.trust__item { display: flex; gap: 16px; align-items: center; }
.trust__item i {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.trust__item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--ink);
    font-weight: 600;
}
.trust__item span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

/* ============ SECTION HEAD ============ */
.section-head {
    text-align: center;
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.section-head--secondary { margin-top: 80px; }
.section-head__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--green-700);
    margin-bottom: 16px;
    padding: 6px 18px;
    background: var(--green-50);
    border-radius: 999px;
}
.section-head__eyebrow--light {
    background: rgba(255,255,255,.12);
    color: var(--gold-light);
    border: 1px solid rgba(255,255,255,.2);
}
.section-head__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-head__title em {
    font-style: italic;
    color: var(--green-700);
    font-weight: 400;
}
.section-head__sub {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
    font-weight: 300;
}

/* ============ PRODUTOS ============ */
.products { padding: 100px 0; background: var(--paper); }
.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .35s ease;
    border: 1px solid var(--line);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-500);
}
.product-card__media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-50), var(--cream));
    position: relative;
}
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--green-900);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 999px;
    margin-bottom: 12px;
}
.product-card__body h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.2;
}
.product-card__body p {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 16px;
    flex: 1;
}
.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: gap .25s ease;
}
.product-card__link:hover { gap: 12px; color: var(--green-800); }

.products__action { text-align: center; margin-top: 56px; }

/* ============ ABOUT ============ */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
    position: relative;
    overflow: hidden;
}
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) { .about__inner { grid-template-columns: 1fr; gap: 50px; } }

.about__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.about__media img {
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    width: 100%;
}
.about__badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--gold);
    color: var(--green-900);
    padding: 28px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transform: rotate(-3deg);
}
.about__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
}
.about__badge span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 16px 0 24px;
}
.about__title em { font-style: italic; color: var(--green-700); font-weight: 400; }
.about__content p {
    font-size: 16px;
    color: var(--ink-soft);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__pillars {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about__pillars li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.about__pillars i {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about__pillars strong {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--ink);
}
.about__pillars span { font-size: 14px; color: var(--ink-soft); }

/* ============ NEWSLETTER ============ */
.newsletter {
    background: var(--green-800);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212,164,75,.15), transparent 50%);
}
.newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}
@media (max-width: 768px) { .newsletter__inner { grid-template-columns: 1fr; } }

.newsletter__text h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 8px;
    font-weight: 500;
}
.newsletter__text p { color: rgba(255,255,255,.75); font-size: 15px; }

.newsletter__form {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--shadow-md);
}
.newsletter__form input {
    flex: 1;
    border: none;
    padding: 14px 22px;
    font-size: 15px;
    background: transparent;
    outline: none;
    color: var(--ink);
}
.newsletter__form button {
    background: var(--green-800);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s ease;
}
.newsletter__form button:hover { background: var(--green-900); }

/* ============ RECEITAS ============ */
.recipes { padding: 100px 0; background: var(--paper); }
.recipes__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 28px;
}
@media (max-width: 900px) {
    .recipes__grid { grid-template-columns: 1fr 1fr; }
    .recipe-card--featured { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .recipes__grid { grid-template-columns: 1fr; } }

.recipe-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.recipe-card__media {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.recipe-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.recipe-card:hover .recipe-card__media img { transform: scale(1.08); }
.recipe-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.recipe-card__date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--green-700);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.recipe-card__body h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 12px;
    flex: 1;
}
.recipe-card__body h3 a { color: inherit; }
.recipe-card__body h3 a:hover { color: var(--green-700); }
.recipe-card__body p {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 14px;
}
.recipe-card--featured { grid-row: span 2; }
.recipe-card--featured .recipe-card__media { aspect-ratio: 4/3; }
.recipe-card--featured .recipe-card__body h3 { font-size: 28px; }

.recipe-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ============ MEMORIAL / CTA ============ */
.memorial {
    padding: 0;
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}
.memorial__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,55,30,.92), rgba(20,55,30,.7) 60%, rgba(76,45,15,.6));
}
.memorial__inner { position: relative; width: 100%; padding: 100px 0; }
.memorial__content {
    position: relative;
    max-width: 640px;
    z-index: 1;
}
.memorial__content h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 16px 0 20px;
}
.memorial__content p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin-bottom: 32px;
    font-weight: 300;
}

/* ============ REPRESENTANTES ============ */
.reps { padding: 100px 0; background: var(--cream); }
.reps__form {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr auto;
    gap: 16px;
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    align-items: end;
    max-width: 980px;
    margin: 0 auto;
}
@media (max-width: 780px) {
    .reps__form { grid-template-columns: 1fr; }
    .reps__form .btn { width: 100%; justify-content: center; }
}
.reps__field { display: flex; flex-direction: column; gap: 6px; }
.reps__field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green-700);
}
.reps__field input, .reps__field select {
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    transition: all .25s ease;
}
.reps__field input:focus, .reps__field select:focus {
    outline: none;
    border-color: var(--green-500);
    background: var(--white);
}

.reps__result {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.reps__result-card {
    background: var(--white);
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.reps__result-card i {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reps__result-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 4px;
}
.reps__result-card span {
    display: block;
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.reps__result-card a {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-700);
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

/* ============ INSTAGRAM ============ */
.instagram { padding: 100px 0; background: var(--paper); }
.instagram__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.instagram__item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: var(--green-50);
}
.instagram__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: all .4s ease;
}
.instagram__item span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,55,30,.7);
    color: var(--white);
    font-size: 32px;
    opacity: 0;
    transition: opacity .3s ease;
}
.instagram__item:hover img { transform: scale(1.1); }
.instagram__item:hover span { opacity: 1; }

/* ============ FOOTER ============ */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,.7);
    padding-top: 70px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
}
@media (max-width: 980px) {
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255,255,255,.85);
    margin: 20px 0;
}
.footer__tagline strong {
    color: var(--gold-light);
    font-style: normal;
    font-weight: 700;
}
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all .25s ease;
}
.footer__social a:hover { background: var(--gold); color: var(--green-900); transform: translateY(-3px); }

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col a {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    transition: all .2s ease;
}
.footer__col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__contact li {
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.footer__contact i { color: var(--gold-light); margin-top: 4px; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
    font-size: 13px;
}
.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__credit strong { color: var(--gold-light); }

/* ============ MODAL ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal.open { display: flex; animation: modalFadeIn .3s ease; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20,55,30,.7);
    backdrop-filter: blur(8px);
}
.modal__dialog {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 540px;
    width: calc(100% - 40px);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp .35s ease;
}
.modal__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.modal__close:hover { background: var(--green-700); color: var(--white); transform: rotate(90deg); }
.modal__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 6px;
}
.modal__title em { font-style: italic; color: var(--green-700); }
.modal__sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.quotes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.quote {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--white);
}
.quote span { font-size: 14px; color: var(--ink-soft); }
.quote strong {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--green-800);
    font-weight: 700;
}

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

/* ============ FLOATS ============ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37,211,102,.4);
    z-index: 50;
    transition: all .3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(8deg); }

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    z-index: 49;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--green-900); transform: translateY(-3px); }

.theme-toggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 49;
    border: 1px solid var(--line);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
    50% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: var(--green-800);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 300;
    transition: transform .35s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #b03a3a; }

/* ============ REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ============ PAGES ============ */
.page-hero {
    background: linear-gradient(135deg, var(--green-900), var(--green-800));
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,.8);
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb {
    display: inline-flex;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-bottom: 24px;
    letter-spacing: .05em;
    flex-wrap: wrap;
    justify-content: center;
}
.breadcrumb a:hover { color: var(--gold-light); }

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

/* Single product */
.single-product {
    padding: 80px 0;
    background: var(--paper);
}
.single-product__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 900px) { .single-product__grid { grid-template-columns: 1fr; gap: 40px; } }
.single-product__media img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.single-product__category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--green-700);
    margin-bottom: 12px;
}
.single-product__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
}
.single-product__excerpt {
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 24px;
    line-height: 1.6;
}
.single-product__specs {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
}
.single-product__specs h4 {
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 12px;
}
.single-product__specs ul li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.single-product__specs ul li:last-child { border-bottom: none; }
.single-product__specs strong { color: var(--ink); }

/* Filter */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}
.filter-btn {
    padding: 10px 22px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--white);
    transition: all .25s ease;
    cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}

.search-bar {
    max-width: 480px;
    margin: 0 auto 40px;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 14px 22px 14px 50px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-size: 15px;
    background: var(--white);
}
.search-bar i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--ink);
}
.contact-info p { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; }
.contact-block {
    display: flex;
    gap: 16px;
    padding: 18px;
    margin-bottom: 14px;
    background: var(--cream);
    border-radius: var(--radius);
    border-left: 3px solid var(--green-700);
}
.contact-block i {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-block strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 4px;
}
.contact-block span { font-size: 14px; color: var(--ink-soft); }

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green-700);
    margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    background: var(--paper);
    transition: all .25s ease;
    color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--green-500);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 30px; top: 0; bottom: 0;
    width: 2px;
    background: var(--green-500);
}
.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 40px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px; top: 6px;
    width: 18px; height: 18px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--green-500);
}
.timeline-year {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--green-700);
    margin-bottom: 6px;
}
.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 19px;
    margin-bottom: 6px;
    color: var(--ink);
}
.timeline-content p { font-size: 15px; color: var(--ink-soft); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.value-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    text-align: center;
    transition: all .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-500); }
.value-card i {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--green-50);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}
.value-card h4 {
    font-family: var(--font-display);
    font-size: 19px;
    margin-bottom: 10px;
}
.value-card p { font-size: 14px; color: var(--ink-soft); }

/* WordPress core classes */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; padding-top: 8px; }
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute;
    width: 1px; word-wrap: normal !important;
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; margin: 24px 0; }
.gallery img { border-radius: 8px; }

/* Comments */
.comments-area { max-width: 760px; margin: 60px auto; padding: 0 24px; }
.comments-area h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 24px; }
.comment-list { padding: 0; }
.comment-body { background: var(--cream); padding: 20px; border-radius: 12px; margin-bottom: 16px; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    transition: all .25s ease;
}
.pagination a:hover, .pagination .current {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}

/* Cookie consent */
.cookie-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--green-900);
    color: var(--white);
    padding: 20px 24px;
    z-index: 998;
    transform: translateY(110%);
    transition: transform .4s ease;
    box-shadow: 0 -10px 40px rgba(0,0,0,.2);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-bar p { font-size: 14px; line-height: 1.5; max-width: 720px; }
.cookie-bar a { color: var(--gold-light); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar__btn {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}
.cookie-bar__btn--accept { background: var(--gold); color: var(--green-900); }
.cookie-bar__btn--decline { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.2); }
