/* ============================================================
   CASA KINDÉBALUC S.R.L. — Estilos principales
   Paleta: rojo institucional / verde agrícola / blanco / grises
   ============================================================ */

:root {
    --red: #C01B2E;
    --red-dark: #8E0E1D;
    --red-light: #E84860;
    --green: #2F6B24;
    --green-dark: #1B4314;
    --green-deep: #0F2610;
    --green-light: #4C8C3B;
    --cream: #F7F8F3;
    --gray-soft: #EFF1EA;
    --line: #E3E7DC;
    --ink: #1A2219;
    --muted: #5F6C5E;
    --white: #ffffff;
    --wa: #25D366;
    --wa-dark: #128C7E;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 14px rgba(15, 38, 16, .07);
    --shadow-md: 0 12px 34px rgba(15, 38, 16, .12);
    --shadow-lg: 0 22px 60px rgba(15, 38, 16, .16);
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-h: 78px;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; }

.container { max-width: 1240px; }

/* ---------- Botones ---------- */
.btn {
    font-family: var(--font-head);
    font-weight: 600;
    border-radius: 12px;
    padding: .72rem 1.45rem;
    border: 2px solid transparent;
    transition: all .25s ease;
    letter-spacing: .01em;
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 22px rgba(192, 27, 46, .30);
}
.btn-red:hover, .btn-red:focus {
    background: var(--red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(192, 27, 46, .38);
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 8px 22px rgba(47, 107, 36, .30);
}
.btn-green:hover, .btn-green:focus { background: var(--green-dark); color: #fff; transform: translateY(-2px); }

.btn-wa {
    background: var(--wa);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .32);
}
.btn-wa:hover, .btn-wa:focus { background: var(--wa-dark); color: #fff !important; transform: translateY(-2px); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--cream); }

.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.btn-sm { padding: .45rem 1rem; border-radius: 10px; font-size: .85rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--green-deep);
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    padding: .45rem 0;
    position: relative;
    z-index: 60;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar__left span, .topbar__right > span { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.3rem; }
.topbar i { color: var(--green-light); }
.topbar__social a {
    color: rgba(255,255,255,.85);
    display: inline-flex;
    width: 26px; height: 26px;
    align-items: center; justify-content: center;
    border-radius: 6px;
    margin-left: .25rem;
    transition: all .2s;
}
.topbar__social a:hover { background: var(--red); color: #fff; }

/* ---------- Navbar ---------- */
.navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.navbar-wrap.scrolled { box-shadow: var(--shadow-sm); }
.navbar { padding: .6rem 0; min-height: var(--nav-h); }

.brand-logo { border-radius: 14px; box-shadow: var(--shadow-sm); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; margin-left: .55rem; }
.brand-text strong { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.navbar-nav .nav-link {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .92rem;
    color: var(--ink);
    padding: .55rem .8rem;
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: .8rem; right: .8rem; bottom: .2rem;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--red); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - var(--nav-h)); min-height: 560px; max-height: 900px; }
.hero .swiper, .hero .swiper-wrapper, .hero .swiper-slide { height: 100%; }

.hero__slide { position: relative; overflow: hidden; }
.hero__bg img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroZoom 9s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(9, 26, 12, .82) 0%, rgba(9, 26, 12, .55) 45%, rgba(9, 26, 12, .25) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    display: flex; align-items: center;
    height: 100%;
    padding: 4rem 0;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--font-head);
    font-size: .8rem; font-weight: 500;
    padding: .42rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}
.hero__badge i { color: var(--green-light); }
.hero__title {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    max-width: 820px;
    margin-bottom: 1.1rem;
}
.hero__subtitle {
    color: rgba(255,255,255,.88);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    max-width: 640px;
    margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__pagination { bottom: 26px !important; }
.hero__pagination .swiper-pagination-bullet {
    width: 26px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,.45);
    transition: all .3s;
}
.hero__pagination .swiper-pagination-bullet-active { background: var(--red); width: 42px; }

.hero__nav { position: absolute; right: 3rem; bottom: 3.2rem; z-index: 5; display: flex; gap: .5rem; }
.hero__arrow {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.1);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }

/* ---------- Secciones ---------- */
.section { padding: 5.5rem 0; }
.section--tint { background: var(--cream); }

.section-tag {
    display: inline-flex;
    align-items: center; gap: .5rem;
    font-family: var(--font-head);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--red);
    margin-bottom: .6rem;
}
.section-tag::before { content: ''; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head.text-center .section-tag::after { content: ''; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.section-title span { color: var(--green); }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 680px; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -58px; }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}
.stat-card {
    padding: 1.8rem 1.5rem;
    text-align: center;
    position: relative;
}
.stat-card:not(:last-child)::after {
    content: '';
    position: absolute; right: 0; top: 25%; bottom: 25%;
    width: 1px; background: var(--line);
}
.stat-card__icon {
    width: 52px; height: 52px;
    margin: 0 auto .8rem;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: #fff;
    font-size: 1.25rem;
}
.stat-card__num {
    font-family: var(--font-head);
    font-size: 2rem; font-weight: 800;
    color: var(--red);
    line-height: 1.1;
}
.stat-card__label { font-size: .85rem; color: var(--muted); margin-top: .3rem; }

@media (max-width: 991px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat-card:nth-child(2)::after { display: none; } }
@media (max-width: 575px) { .stats { margin-top: -30px; } }

/* ---------- About preview ---------- */
.about-preview__media { position: relative; }
.about-preview__img { box-shadow: var(--shadow-lg); width: 100%; min-height: 380px; object-fit: cover; }
.about-preview__badge {
    position: absolute; left: -18px; bottom: 28px;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: .9rem 1.3rem;
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column;
    font-family: var(--font-head);
}
.about-preview__badge strong { font-size: 1.15rem; font-weight: 800; }
.about-preview__badge span { font-size: .72rem; opacity: .85; }

.about-preview__features { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; }
.about-preview__features li { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; color: var(--ink); font-weight: 500; }
.about-preview__features i { color: var(--green); }
.about-preview__cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Service cards ---------- */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.7rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--green-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 24px rgba(47, 107, 36, .25);
}
.service-card__title { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card__text { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.service-card__link { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--red); }
.service-card__link i { transition: transform .25s; }
.service-card__link:hover i { transform: translateX(4px); }

.service-card--detailed { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card--detailed .service-card__img { position: relative; height: 210px; overflow: hidden; }
.service-card--detailed .service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card--detailed:hover .service-card__img img { transform: scale(1.06); }
.service-card--detailed .service-card__icon {
    position: absolute; left: 1.4rem; bottom: -30px;
    margin: 0;
    box-shadow: var(--shadow-md);
}
.service-card--detailed .service-card__body { padding: 3.1rem 1.7rem 1.8rem; }
.service-card--detailed .service-card__body h3 { font-size: 1.12rem; }

/* ---------- Category cards ---------- */
.category-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: all .3s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.category-card__img { position: relative; height: 170px; overflow: hidden; }
.category-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card:hover .category-card__img img { transform: scale(1.08); }
.category-card__icon {
    position: absolute; left: 1.1rem; bottom: -26px;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    border: 3px solid #fff;
}
.category-card__body { padding: 2.4rem 1.3rem 1.3rem; }
.category-card__body h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.category-card__body p { color: var(--muted); font-size: .85rem; margin-bottom: .7rem; }
.category-card__link { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--green); }
.category-card__link i { transition: transform .25s; }
.category-card:hover .category-card__link i { transform: translateX(4px); }

/* ---------- Product cards ---------- */
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: all .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card__img {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: var(--cream);
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__img img { transform: scale(1.07); }
.product-card__brand {
    position: absolute; top: .8rem; left: .8rem;
    background: rgba(15, 38, 16, .82);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .68rem; font-weight: 600;
    font-family: var(--font-head);
    padding: .25rem .65rem;
    border-radius: 50px;
    letter-spacing: .03em;
}
.product-card__body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-card__category {
    font-size: .7rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--green);
    margin-bottom: .35rem;
}
.product-card__title { font-size: .98rem; margin-bottom: .45rem; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--red); }
.product-card__text { color: var(--muted); font-size: .85rem; flex: 1; }
.product-card__actions { display: flex; gap: .5rem; margin-top: .8rem; }
.product-card__actions .btn { flex: 1; }

/* ---------- Brands strip ---------- */
.brands-strip { padding: 4.5rem 0; background: #fff; }
.brands-swiper .swiper-slide {
    display: flex; align-items: center; justify-content: center;
    padding: .5rem;
}
.brands-swiper img {
    filter: grayscale(100%);
    opacity: .75;
    transition: all .3s;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    max-width: 230px;
    height: auto;
}
.brands-swiper img:hover { filter: grayscale(0); opacity: 1; box-shadow: var(--shadow-sm); }

.link-more { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--red); }
.link-more i { transition: transform .25s; }
.link-more:hover i { transform: translateX(4px); }

/* ---------- Why us ---------- */
.why-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    height: 100%;
    text-align: center;
    transition: all .3s;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: transparent; }
.why-card__icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    color: var(--red);
    background: rgba(192, 27, 46, .08);
    border: 2px dashed rgba(192, 27, 46, .25);
    transition: all .3s;
}
.why-card:hover .why-card__icon { background: var(--red); color: #fff; border-style: solid; transform: rotate(8deg); }
.why-card h3 { font-size: 1.05rem; margin-bottom: .55rem; }
.why-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

/* ---------- Galería ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}
.gallery-grid__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}
.gallery-grid__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.gallery-grid__item:hover img { transform: scale(1.08); }
.gallery-grid__item--wide { grid-column: span 2; }
.gallery-grid__item--tall { grid-row: span 2; }
.gallery-grid__item--normal { grid-column: span 1; grid-row: span 1; }
.gallery-grid__zoom {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.6);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(192, 27, 46, .9);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: all .3s;
}
.gallery-grid__item:hover .gallery-grid__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-grid__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.2rem 1rem .8rem;
    background: linear-gradient(transparent, rgba(9, 26, 12, .85));
    color: #fff;
    font-size: .85rem;
    font-family: var(--font-head);
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s;
    display: flex; flex-direction: column;
}
.gallery-grid__item:hover .gallery-grid__caption { opacity: 1; transform: none; }
.gallery-grid__caption small { font-family: var(--font-body); font-weight: 400; opacity: .8; }

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; } .gallery-grid__item--wide { grid-column: span 1; } }

/* ---------- Testimonios ---------- */
.testimonials { background: var(--green-deep); position: relative; overflow: hidden; }
.testimonials::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 140, 59, .18), transparent 70%);
    top: -120px; right: -100px;
}
.testimonials::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 27, 46, .14), transparent 70%);
    bottom: -140px; left: -120px;
}
.testimonials .section-tag, .testimonials .section-title, .testimonials .section-title span { position: relative; z-index: 2; }
.testimonials .section-title { color: #fff; }
.testimonials .section-title span { color: var(--green-light); }

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    height: 100%;
    margin: .5rem 0 1.5rem;
    color: rgba(255,255,255,.92);
    transition: all .3s;
}
.testimonial-card:hover { background: rgba(255,255,255,.1); }
.testimonial-card__stars { color: #FFB020; margin-bottom: 1rem; letter-spacing: .15em; }
.testimonial-card__star--off { color: rgba(255,255,255,.25); }
.testimonial-card__text { font-size: .98rem; font-style: italic; }
.testimonial-card__footer { display: flex; align-items: center; gap: .9rem; margin-top: 1.3rem; }
.testimonial-card__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.testimonial-card__footer strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.testimonial-card__footer span { font-size: .8rem; opacity: .7; }

.testimonials-swiper__pagination { position: static; margin-top: 1rem; }
.testimonials-swiper__pagination .swiper-pagination-bullet { background: rgba(255,255,255,.4); }
.testimonials-swiper__pagination .swiper-pagination-bullet-active { background: var(--red); }

/* ---------- Blog cards ---------- */
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: all .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-card__img { position: relative; display: block; height: 200px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.07); }
.post-card__category {
    position: absolute; top: .9rem; left: .9rem;
    background: var(--red);
    color: #fff;
    font-size: .7rem; font-weight: 600;
    font-family: var(--font-head);
    padding: .3rem .8rem;
    border-radius: 50px;
}
.post-card__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.post-card__title { font-size: 1.05rem; margin-bottom: .5rem; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--red); }
.post-card__text { color: var(--muted); font-size: .88rem; flex: 1; }
.post-card__link { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--green); margin-top: .7rem; }
.post-card__link i { transition: transform .25s; }
.post-card__link:hover i { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm) !important;
    margin-bottom: .8rem;
    overflow: hidden;
    box-shadow: none;
}
.faq-accordion .accordion-button {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    color: var(--ink);
    background: #fff;
    padding: 1.1rem 1.3rem;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--red); background: rgba(192, 27, 46, .05); }
.faq-accordion .accordion-button::after { filter: none; color: var(--red); }
.faq-accordion .accordion-body { color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { padding-top: 0; }
.cta-banner__card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex; align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}
.cta-banner__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(9, 26, 12, .88) 0%, rgba(9, 26, 12, .6) 55%, rgba(9, 26, 12, .25) 100%);
}
.cta-banner__content { position: relative; z-index: 2; padding: 3rem 3.5rem; max-width: 640px; }
.cta-banner__content h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.cta-banner__content p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255,255,255,.8); }

.footer__cta {
    background: linear-gradient(90deg, var(--red), var(--red-dark));
    padding: 2.6rem 0;
}
.footer__cta-title { color: #fff; font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: .3rem; }
.footer__cta-text { color: rgba(255,255,255,.85); }

.footer__main { padding: 4.5rem 0 3rem; }
.footer__brand { display: inline-flex; align-items: center; margin-bottom: 1.1rem; }
.footer__brand img { border-radius: 14px; }
.footer__brand .brand-text strong { color: #fff; }
.footer__brand .brand-text small { color: rgba(255,255,255,.55); }
.footer__about { font-size: .9rem; color: rgba(255,255,255,.62); margin-bottom: 1.2rem; max-width: 360px; }

.footer__social { display: flex; gap: .5rem; }
.footer__social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: .95rem;
    transition: all .25s;
}
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }

.footer__heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: .6rem;
}
.footer__heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); border-radius: 2px; }

.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .55rem; }
.footer__links a { color: rgba(255,255,255,.65); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.footer__links a i { font-size: .7rem; color: var(--green-light); transition: all .2s; }
.footer__links a:hover { color: #fff; }
.footer__links a:hover i { transform: translateX(3px); }

.footer__contact { list-style: none; padding: 0; margin: 0; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: .7rem; font-size: .9rem; }
.footer__contact i { color: var(--green-light); margin-top: .3rem; }
.footer__contact a { color: rgba(255,255,255,.75); }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.1rem 0;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.footer__bottom a { color: rgba(255,255,255,.65); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 100;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
    transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float__pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 3px solid var(--wa);
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(9, 26, 12, .85) 0%, rgba(9, 26, 12, .55) 60%, rgba(9, 26, 12, .3) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 5.5rem 0 5rem; max-width: 800px; }
.page-hero__tag {
    display: inline-flex;
    font-family: var(--font-head);
    font-size: .75rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.page-hero__title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero__subtitle { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-top: .8rem; }
.page-hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; }
.page-hero__wave svg { display: block; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: .8rem 0;
}
.breadcrumb { margin: 0; font-size: .85rem; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--red); }
.breadcrumb-item.active { color: var(--ink); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: #b9c2b4; }

/* ---------- Sidebar ---------- */
.products-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.products-sidebar__search { margin-bottom: 1.4rem; }
.products-sidebar__search .form-control {
    border: 1px solid var(--line);
    border-radius: 12px 0 0 12px;
    padding: .65rem .9rem;
    font-size: .9rem;
}
.products-sidebar__search .btn { border-radius: 0 12px 12px 0; }
.products-sidebar__title {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: .8rem;
}
.products-sidebar__list {
    list-style: none; padding: 0; margin: 0 0 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.products-sidebar__list li { border-bottom: 1px solid var(--line); }
.products-sidebar__list li:last-child { border-bottom: 0; }
.products-sidebar__list a {
    display: flex; align-items: center; gap: .7rem;
    padding: .72rem 1rem;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
}
.products-sidebar__list a i { color: var(--green); width: 18px; text-align: center; }
.products-sidebar__list a span { margin-left: auto; background: var(--cream); font-size: .72rem; padding: .1rem .5rem; border-radius: 50px; font-weight: 600; }
.products-sidebar__list li:hover a, .products-sidebar__list li.active a { background: var(--red); color: #fff; }
.products-sidebar__list li:hover a i, .products-sidebar__list li.active a i { color: #fff; }
.products-sidebar__list li.active a span { background: rgba(255,255,255,.2); color: #fff; }

.products-sidebar__help {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}
.products-sidebar__help i { font-size: 2rem; color: var(--green-light); margin-bottom: .6rem; }
.products-sidebar__help h4 { color: #fff; font-size: 1rem; }
.products-sidebar__help p { font-size: .85rem; opacity: .85; }

.products-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: .8rem;
    margin-bottom: 1.5rem;
    padding: .8rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 3.2rem; color: var(--line); margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 1.3rem; }

/* ---------- Product detail ---------- */
.product-detail__main { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.product-detail__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: .6rem; }
.product-detail__brand { color: var(--green); font-size: .95rem; }
.product-detail__sku { color: var(--muted); font-size: .82rem; }
.product-detail__desc { color: var(--muted); font-size: 1rem; }
.product-detail__note {
    display: flex; gap: .8rem; align-items: flex-start;
    background: rgba(255, 176, 32, .1);
    border: 1px solid rgba(255, 176, 32, .3);
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;
    font-size: .88rem;
    margin: 1.2rem 0;
}
.product-detail__note i { color: #E08E00; font-size: 1.2rem; margin-top: .15rem; }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.product-detail__features h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.product-detail__features ul { padding-left: 1.2rem; }
.product-detail__features li { margin-bottom: .35rem; color: var(--muted); }

/* ---------- Service detail / sidebar ---------- */
.service-detail__icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    margin-bottom: 1.4rem;
}
.service-detail__content { color: var(--muted); }
.service-detail__content h2, .service-detail__content h3 { color: var(--ink); margin-top: 1.6rem; font-size: 1.2rem; }
.service-detail__content ul { padding-left: 1.2rem; }
.service-detail__content li { margin-bottom: .4rem; }
.service-detail__cta {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    margin-top: 2.5rem;
}
.service-detail__cta h3 { font-size: 1.15rem; }
.service-detail__cta p { color: var(--muted); }
.service-detail__cta .btn { margin-right: .5rem; margin-bottom: .5rem; }

.sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 1.1rem; }
.sidebar-card__list { list-style: none; padding: 0; margin: 0; }
.sidebar-card__list li { border-bottom: 1px solid var(--line); }
.sidebar-card__list li:last-child { border-bottom: 0; }
.sidebar-card__list a { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; color: var(--ink); }
.sidebar-card__list a > i:first-child { color: var(--green); font-size: 1.1rem; width: 22px; text-align: center; }
.sidebar-card__list a > i:last-child { margin-left: auto; color: var(--line); }
.sidebar-card__list a span { display: flex; flex-direction: column; line-height: 1.35; }
.sidebar-card__list a strong { font-size: .9rem; }
.sidebar-card__list a small { color: var(--muted); font-size: .78rem; }
.sidebar-card__list a:hover strong { color: var(--red); }
.sidebar-card__list a:hover > i:last-child { color: var(--red); transform: translateX(3px); transition: all .2s; }

.sidebar-card__posts { list-style: none; padding: 0; margin: 0; }
.sidebar-card__posts li { margin-bottom: .9rem; }
.sidebar-card__posts a { display: flex; gap: .8rem; align-items: center; color: var(--ink); }
.sidebar-card__posts img { width: 68px; height: 52px; object-fit: cover; border-radius: 8px; }
.sidebar-card__posts span { display: flex; flex-direction: column; line-height: 1.35; }
.sidebar-card__posts strong { font-size: .83rem; }
.sidebar-card__posts small { color: var(--muted); font-size: .75rem; }

.sidebar-contact {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: var(--radius);
    padding: 1.6rem;
    color: #fff;
}
.sidebar-contact h3 { color: #fff; font-size: 1.02rem; margin-bottom: .5rem; }
.sidebar-contact p { font-size: .9rem; opacity: .9; margin-bottom: 1rem; }

/* ---------- Contacto ---------- */
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card__icon {
    width: 58px; height: 58px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    background: rgba(47, 107, 36, .1);
    color: var(--green);
}
.contact-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.contact-card p { margin-bottom: .4rem; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--red); }
.contact-card__hint { font-size: .78rem; color: var(--muted); }

.contact-form-wrap .form-control, .contact-form-wrap .form-select {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .7rem .95rem;
    font-size: .94rem;
}
.contact-form-wrap .form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(47, 107, 36, .12);
}
.contact-form-wrap .form-label { font-weight: 600; font-size: .88rem; }

.contact-map-wrap { position: sticky; top: calc(var(--nav-h) + 20px); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-info-box {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    margin-top: 1rem;
}
.contact-info-box h3 { font-size: 1rem; }
.contact-info-box p { color: var(--muted); margin-bottom: .8rem; }

/* ---------- Blog detail ---------- */
.post-detail__meta {
    display: flex; flex-wrap: wrap; gap: 1.2rem;
    font-size: .84rem; color: var(--muted);
    margin-bottom: 1.6rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.post-detail__content { color: var(--muted); }
.post-detail__content h2, .post-detail__content h3 { color: var(--ink); margin-top: 1.8rem; font-size: 1.3rem; }
.post-detail__content p { margin-bottom: 1.1rem; }
.post-detail__content ul, .post-detail__content ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.post-detail__content li { margin-bottom: .4rem; }
.post-detail__content img { border-radius: var(--radius); margin: 1rem 0; }
.post-detail__content blockquote {
    border-left: 4px solid var(--green);
    background: var(--cream);
    padding: 1rem 1.4rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}
.post-detail__share {
    display: flex; align-items: center; gap: .6rem;
    margin-top: 2.2rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
}
.post-detail__share span { font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-right: .4rem; }
.post-detail__share a {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--cream);
    color: var(--ink);
    font-size: 1rem;
    transition: all .25s;
}
.post-detail__share a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 860px; margin: 3rem auto 0; }
.timeline::before {
    content: '';
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(var(--red), var(--green));
    transform: translateX(-50%);
    border-radius: 3px;
}
.timeline__item { position: relative; width: 50%; padding: 0 2.5rem 2.8rem; }
.timeline__item:nth-child(odd) { left: 0; text-align: right; }
.timeline__item:nth-child(even) { left: 50%; text-align: left; }
.timeline__dot {
    position: absolute; top: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--red);
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    box-shadow: var(--shadow-sm);
}
.timeline__item:nth-child(odd) .timeline__dot { right: -22px; }
.timeline__item:nth-child(even) .timeline__dot { left: -22px; }
.timeline__year {
    font-family: var(--font-head);
    font-size: 1.35rem; font-weight: 800;
    color: var(--green);
    margin-bottom: .3rem;
}
.timeline__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
}
.timeline__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.timeline__card h3 { font-size: 1rem; margin-bottom: .4rem; }
.timeline__card p { color: var(--muted); font-size: .88rem; margin: 0; }

@media (max-width: 767px) {
    .timeline::before { left: 22px; }
    .timeline__item, .timeline__item:nth-child(odd), .timeline__item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 2rem 3.5rem; }
    .timeline__item:nth-child(odd) .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 0; right: auto; }
}

/* ---------- Misión / valores ---------- */
.mission-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.6rem;
    height: 100%;
    transition: all .3s;
}
.mission-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.mission-card__icon {
    width: 54px; height: 54px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}
.mission-card h3 { font-size: 1.08rem; margin-bottom: .6rem; }
.mission-card p { color: var(--muted); font-size: .92rem; }
.mission-card__list { list-style: none; padding: 0; margin: 0; }
.mission-card__list li { display: flex; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: .5rem; }
.mission-card__list i { color: var(--green); margin-top: .25rem; }

.about-quote {
    background: var(--cream);
    border-left: 4px solid var(--red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.3rem 1.5rem;
    position: relative;
}
.about-quote i { position: absolute; top: .8rem; right: 1rem; font-size: 2rem; color: rgba(192, 27, 46, .15); }
.about-quote p { margin: 0; font-style: italic; color: var(--ink); }

/* ---------- Galería page ---------- */
.filter-btn {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: .5rem 1.25rem;
    font-family: var(--font-head);
    font-size: .85rem; font-weight: 600;
    color: var(--ink);
    margin: .25rem;
    cursor: pointer;
    transition: all .25s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(192, 27, 46, .3); }

.blog-filters .filter-btn { text-decoration: none; }

.gallery-grid--page { grid-auto-rows: 230px; }

/* ---------- Legal ---------- */
.legal-content h2 { font-size: 1.15rem; margin-top: 1.8rem; }
.legal-content p { color: var(--muted); }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.error-page h1 { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; color: var(--red); line-height: 1; }
.error-page p { color: var(--muted); max-width: 460px; margin: 1rem auto 1.8rem; }

/* ---------- AOS fix ---------- */
[data-aos] { will-change: transform; }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }
.skiplink {
    position: absolute; left: -9999px; top: 0;
    background: var(--green-deep); color: #fff;
    padding: .7rem 1.2rem;
    z-index: 200;
}
.skiplink:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.2rem;
        margin-top: .6rem;
        border: 1px solid var(--line);
    }
    .navbar-nav .nav-link::after { display: none; }
    .hero { height: 78vh; min-height: 520px; }
    .hero__nav { display: none; }
    .section { padding: 4rem 0; }
    .products-sidebar { position: static; }
    .contact-map-wrap { position: static; }
}

@media (max-width: 575px) {
    body { font-size: 15px; }
    .hero__actions .btn { width: 100%; }
    .hero__title { font-size: 1.9rem; }
    .cta-banner__content { padding: 2rem 1.5rem; }
}
