/* =========================
   0) VARIABLES + RESET
========================= */
:root {
    --blue: #529928;
    --link-blue: #529928;
    --cta-yellow: #529928;
    --text: #0f172a;
    --muted: rgba(15, 23, 42, .75);
    --border: rgba(15, 23, 42, .10);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}





html {
  scroll-behavior: smooth;     /* scroll suave nativo */
  scroll-padding-top: 110px;   /* evita que el header tape el inicio (ajusta) */
}

/* Respeto a usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}





html { scroll-behavior: smooth; scroll-padding-top: 110px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 120px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 128px; }
}




html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
}

body.privacy-modal-open {
    overflow: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

/* =========================
   1) HEADER
   1.1 TOPBAR
========================= */
.topbar {
    background: var(--blue);
    height: 34px;
    display: flex;
    align-items: center;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar__spacer {
    flex: 1;
}

.topbar__nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.topbar__link {
    color: #fff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    opacity: .95;
    white-space: nowrap;
}

.topbar__link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================
   1.2 MAINBAR (logo + nav + burger)
========================= */
.mainbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 3000;
}

.mainbar__inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 160px;
}

.brand__logo {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* =========================
   1.3 NAV (desktop)
========================= */
.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--link-blue);
    text-decoration: none;
}

.nav__icon:hover {
    background: rgba(11, 105, 167, .08);
}

.nav__link {
    color: var(--link-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.nav__link:hover {
    text-decoration: underline;
}

.intranet-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f7517;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
    isolation: isolate;
}

.intranet-cta__bubble {
    position: absolute;
    right: 8px;
    top: calc(100% + 13px);
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 260px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(82, 153, 40, .22);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 252, 244, .94));
    color: #2f7517;
    font-size: 11.5px;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: .01em;
    box-shadow: 0 18px 36px rgba(47, 117, 23, .16), 0 4px 12px rgba(255, 255, 255, .70) inset;
    transform: translateY(0);
    animation: intranetBubbleFloat 3.6s ease-in-out infinite;
    pointer-events: none;
}

.intranet-cta__bubble::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #529928;
    box-shadow: 0 0 0 5px rgba(82, 153, 40, .13);
    flex: 0 0 auto;
}

.intranet-cta__bubble::after {
    content: "";
    position: absolute;
    right: 28px;
    top: -6px;
    width: 12px;
    height: 12px;
    background: rgba(247, 252, 244, .96);
    border-left: 1px solid rgba(82, 153, 40, .22);
    border-top: 1px solid rgba(82, 153, 40, .22);
    transform: rotate(45deg);
}

.intranet-cta__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 12px 20px 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .36);
    background: linear-gradient(135deg, #65ad36 0%, #3f8f20 52%, #2f7517 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .01em;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(47, 117, 23, .28), 0 1px 0 rgba(255, 255, 255, .28) inset;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.intranet-cta__button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, .28) 36%, transparent 60%);
    transform: translateX(-130%);
    animation: intranetButtonShine 4.4s ease-in-out infinite;
}

.intranet-cta__icon {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    flex: 0 0 auto;
}

.intranet-cta__icon svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.intranet-cta__button > span,
.intranet-cta__button {
    z-index: 1;
}

.intranet-cta:hover .intranet-cta__button {
    box-shadow: 0 22px 42px rgba(47, 117, 23, .34), 0 1px 0 rgba(255, 255, 255, .30) inset;
    transform: translateY(-2px);
}

.intranet-cta:hover .intranet-cta__bubble {
    animation-play-state: paused;
    transform: translateY(-2px);
}

.intranet-cta:focus-visible {
    outline: 3px solid rgba(82, 153, 40, .34);
    outline-offset: 4px;
    border-radius: 999px;
}

@keyframes intranetBubbleFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes intranetButtonShine {
    0%,
    58% {
        transform: translateX(-130%);
    }

    78%,
    100% {
        transform: translateX(130%);
    }
}

/* CTA */
.cta {
    margin-left: 10px;
    background: var(--cta-yellow);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .10) inset;
    white-space: nowrap;
}

.cta:hover {
    filter: brightness(.98);
}

/* =========================
   1.4 BURGER (desktop hidden)
========================= */
.burger {
    display: none;
    border: 0;
    background: transparent;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* OJO: tu HTML tiene 3 spans, pero nosotros usamos solo el 1ro como “linea base”
   y dibujamos arriba/abajo con ::before/::after (esto evita bugs) */
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    position: relative;
}

.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform .18s ease, top .18s ease;
}

.burger span::before {
    top: -7px;
}

.burger span::after {
    top: 7px;
}

/* ocultamos spans 2 y 3 para que no haya conflictos */
.burger span:nth-child(2),
.burger span:nth-child(3) {
    display: none;
}

/* animación X cuando aria-expanded=true */
.burger[aria-expanded="true"] span {
    background: transparent;
}

.burger[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =========================
   2) HERO SLIDER
========================= */
.hero {
    width: 100%;
    padding: 0;
    background: #fff;
}

.hero__slider {
    position: relative;
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #fff;
    border-radius: 0;
}

.hero__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 700ms ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* dots */
.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .65);
}

.dot.is-active {
    background: rgba(255, 255, 255, .95);
}

/* =========================
   3) HERO TIPO LOS PORTALES (lp-hero)
========================= */
.lp-hero__top {
    background: #fff;
}

.lp-hero__top-inner {
    padding: 26px 18px 18px;
}

.lp-hero__top-inner--right {
    display: flex;
    justify-content: center;
}

.lp-hero__title {
    margin: 0;
    font-weight: 900;
    color: var(--blue);
}

.lp-hero__title--md {
    text-align: center;
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.12;
    max-width: 100%;
}

.lp-hero__body {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

/* background */
.lp-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("./imagenes/img3.jpeg");
    background-size: cover;
    background-position: 85% center;
    filter: none;
    z-index: 0;
}

.lp-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, .75) 0%,
            rgba(255, 255, 255, .40) 20%,
            rgba(255, 255, 255, .10) 40%,
            rgba(255, 255, 255, 0) 100%);
}

.lp-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 26px;
    padding-top: 18px;
    padding-bottom: 24px;
    align-items: start;
}

.lp-hero__form {
    width: 100%;
}

.lead-form__card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(82, 153, 40, .20);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lead-form__header {
    margin-bottom: 18px;
    color: #16351d;
}

.lead-form__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(82, 153, 40, .10);
    color: #3f8f20;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.lead-form__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
    color: #16351d;
}

.lead-form__intro {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
    color: rgba(22, 53, 29, .74);
}

.lead-form__group {
    margin-bottom: 14px;
}

.lead-form__label {
    display: block;
    color: #16351d;
    font-weight: 900;
    font-size: 13px;
    margin: 0 0 8px;
}

.lead-form__input,
.lead-form__select {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, .14);
    background: #f8faf7;
    padding: 10px 13px;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lead-form__input:focus,
.lead-form__select:focus {
    background: #fff;
    border-color: rgba(82, 153, 40, .72);
    box-shadow: 0 0 0 4px rgba(82, 153, 40, .14);
}

.lead-form__terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(22, 53, 29, .78);
    font-size: 12.5px;
    line-height: 1.25;
    margin: 12px 0 8px;
}

.lead-form__checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #529928;
}

.lead-form__link {
    color: #2f7517;
    font-weight: 900;
    text-decoration: underline;
}

.lead-form__trust {
    margin: 0 0 12px;
    color: rgba(22, 53, 29, .68);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.lead-form__btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 50px;
    height: auto;
    padding: 12px 16px;
    border-radius: 8px;
    border: 0;
    background: linear-gradient(135deg, #529928, #0f9b39);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 155, 57, .28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.lead-form__btn::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -45%;
    z-index: -1;
    width: 42%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    animation: leadButtonShine 2.8s ease-in-out infinite;
}

.lead-form__btn:hover {
    filter: brightness(1.03);
    box-shadow: 0 18px 34px rgba(15, 155, 57, .34);
    transform: translateY(-1px);
}

.lead-form__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(82, 153, 40, .22), 0 18px 34px rgba(15, 155, 57, .34);
}

@keyframes leadButtonShine {
    0%,
    32% {
        transform: translateX(0) skewX(-18deg);
        opacity: 0;
    }

    44% {
        opacity: 1;
    }

    68%,
    100% {
        transform: translateX(360%) skewX(-18deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lead-form__btn::before {
        animation: none;
    }
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 22px;
}

.privacy-modal[hidden] {
    display: none;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .56);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.privacy-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(720px, calc(100vh - 44px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    padding: 30px;
    color: #16351d;
}

.privacy-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 8px;
    background: #f8faf7;
    color: #16351d;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.privacy-modal__eyebrow {
    display: inline-flex;
    margin: 0 44px 10px 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(82, 153, 40, .10);
    color: #3f8f20;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.privacy-modal__title {
    margin: 0 44px 16px 0;
    font-size: 26px;
    line-height: 1.12;
    color: #16351d;
}

.privacy-modal__content {
    overflow: auto;
    padding-right: 4px;
}

.privacy-modal__dialog p {
    margin: 0 0 14px;
    color: rgba(22, 53, 29, .78);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 650;
}

.privacy-modal__list {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.privacy-modal__list li {
    position: relative;
    padding-left: 22px;
    color: rgba(22, 53, 29, .78);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 650;
}

.privacy-modal__list li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #529928;
}

.privacy-modal__accept {
    width: 100%;
    flex: 0 0 auto;
    min-height: 48px;
    margin-top: 14px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #529928, #0f9b39);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 560px) {
    .privacy-modal {
        padding: 14px;
    }

    .privacy-modal__dialog {
        padding: 24px 18px 18px;
    }

    .privacy-modal__title {
        font-size: 23px;
    }
}

/* =========================
   4) BOTÓN WHATSAPP FLOTANTE
========================= */
.whatsapp-menu {
    position: relative;
    display: inline-flex;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.whatsapp-menu--float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
}

.wa-float {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 0;
    display: grid;
    place-items: center;
    background: #25D366;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .22);
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

.wa-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.wa-float:hover {
    filter: brightness(.98);
}

@media (max-width: 560px) {
    .whatsapp-menu--float {
        display: none;
    }
}

.whatsapp-menu__panel {
    position: absolute;
    min-width: 230px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    background: #25D366;
    box-shadow: 0 18px 42px rgba(17, 27, 33, .24);
    z-index: 10000;
}

.whatsapp-menu__panel[hidden] {
    display: none;
}

.whatsapp-menu__panel--float {
    right: 0;
    bottom: calc(100% + 10px);
}

.whatsapp-menu__panel--topbar {
    left: 0;
    top: calc(100% + 8px);
}

.whatsapp-menu__panel::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #25D366;
    border-right: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    transform: rotate(45deg);
}

.whatsapp-menu__panel--float::after {
    right: 22px;
    bottom: -6px;
}

.whatsapp-menu__panel--topbar::after {
    left: 12px;
    top: -6px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .28);
    border-top: 1px solid rgba(255, 255, 255, .28);
}

.whatsapp-menu__item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    line-height: 1.25;
}

.whatsapp-menu__item:hover,
.whatsapp-menu__item:focus-visible {
    background: rgba(255, 255, 255, .14);
    outline: none;
}

.whatsapp-menu__role {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}

.whatsapp-menu__number {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .14);
}

/* =========================
   5) PROYECTOS (CARDS COVER)
========================= */
.seccion-proyectos-cover {
    padding-top: 80px;
    padding-bottom: 56px;
    background: #EAF6EE;
}

.titulo-cover {
    font-size: clamp(22px, 2.4vw, 36px);
    text-align: center;
    margin-bottom: 34px;
    font-weight: 900;
    color: #4B9B1D;
    font-family: "Roboto", sans-serif;
    position: relative;
}

.titulo-cover::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: #4B9B1D;
    margin: 12px auto 0;
    border-radius: 999px;
}

.contenedor-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
    gap: 26px;
    padding: 10px 20px 0;
}

.card-cover {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
    text-decoration: none;
    color: inherit;
}

.imagen-cover {
    position: relative;
    width: 100%;
    height: 330px;
    background-size: cover;
    background-position: center;
}

.estado-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4B9B1D;
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 3;
    letter-spacing: .2px;
}

.contenido-cover {
    position: absolute;
    left: 14px;
    bottom: 14px;
    color: #fff;
    z-index: 2;
}

.contenido-cover .categoria {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 13px;
    opacity: .95;
}

/* ⚠️ (opcional) Este pseudo requiere FontAwesome cargado.
   Si no lo cargas, verás un cuadrito. Puedes eliminarlo si quieres. */
.contenido-cover .categoria::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.contenido-cover h3 {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.footer-card-verde {
    background: #4B9B1D;
    padding: 12px 14px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-ver-mas {
    background: #fff;
    color: #111827;
    font-weight: 900;
    font-size: 13px;
    padding: 9px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .08) inset;
}

.card-cover:hover .btn-ver-mas {
    filter: brightness(.98);
}

/* =========================
   6) GALERÍA DE VIDEOS
========================= */
.video-gallery {
    padding: 34px 0 46px;
}

.video-gallery__title {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 900;
    color: var(--blue);
}

.video-card {
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
}

.video-card__thumb {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: block;
}

.video-card__img {
    width: 100%;
    height: clamp(240px, 42vw, 520px);
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

.video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 58px;
    border-radius: 14px;
    background: rgba(255, 0, 0, 0.92);
    display: grid;
    place-items: center;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
}

.video-card__play svg {
    width: 34px;
    height: 34px;
    fill: #fff;
    margin-left: 2px;
}

.video-card__thumb:hover .video-card__play {
    filter: brightness(.98);
}

.video-card__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-card__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}




.video-card__cta {
    background: #fff;
    padding: 12px 14px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(15, 23, 42, .10);
}

.video-card__channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 13px;
    text-decoration: none;
    color: #111827;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 0, 0, .10);
    border: 1px solid rgba(255, 0, 0, .18);
}

.video-card__channel:hover {
    filter: brightness(.98);
}



/* =========================
   7) TESTIMONIOS (lp-testi)
========================= */
.lp-testi {
    background: #f1fff3;
    padding: 48px 20px 70px;
}

.lp-testi__inner {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-testi__viewport {
    overflow: hidden;
    width: 100%;
}

.lp-testi__track {
    display: flex;
    gap: 18px;
    transition: transform .45s ease;
    will-change: transform;
}

.lp-testi__card {
    flex: 0 0 calc((100% - 36px) / 3);
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
}

.lp-testi__photo {
    height: 330px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
}

.lp-testi__bubble {
    margin: -48px auto 0;
    width: calc(100% - 44px);
    background: #fff;
    border-radius: 16px;
    padding: 18px 18px 14px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, .12);
    position: relative;
}

.lp-testi__quote {
    margin: 0 0 8px;
    font-weight: 800;
    color: var(--blue);
    font-size: 14.5px;
    text-align: center;
}

.lp-testi__text {
    margin: 0;
    color: #0f172a;
    font-size: 12.2px;
    line-height: 1.35;
    text-align: center;
}

.lp-testi__meta {
    margin-top: 12px;
    text-align: right;
    color: var(--blue);
    font-size: 11.5px;
}

.lp-testi__meta strong {
    display: block;
    font-weight: 800;
    color: var(--blue);
}

.lp-testi__meta span {
    display: block;
    opacity: .9;
}

.lp-testi__nav {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    color: var(--blue);
    flex: 0 0 auto;
}

.lp-testi__nav:hover {
    filter: brightness(.98);
}

/* =========================
   8) MISION / VISION / VALORES
========================= */
.mvv-section {
    padding: 58px 0 64px;
    background:
        radial-gradient(circle at top left, rgba(82, 153, 40, .18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #eef9ea 100%);
}

.mvv-section__head {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

.mvv-section__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(82, 153, 40, .12);
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.mvv-section__title {
    margin: 16px 0 10px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    font-weight: 900;
}

.mvv-section__intro {
    margin: 0;
    color: rgba(15, 23, 42, .78);
    font-size: 15px;
    line-height: 1.65;
}

.mvv-slider {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mvv-slider__viewport {
    width: 100%;
    overflow: hidden;
}

.mvv-slider__track {
    display: flex;
    transition: transform .45s ease;
    will-change: transform;
}

.mvv-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.mvv-card {
    min-height: 520px;
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(82, 153, 40, .96) 0%, rgba(104, 170, 55, .96) 48%, rgba(247, 250, 240, .98) 100%);
    color: #ffffff;
    box-shadow: 0 24px 48px rgba(39, 63, 22, .18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: "";
    position: absolute;
    inset: auto -90px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    filter: blur(8px);
}

.mvv-card--values {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 240, .98) 100%);
    color: #0f172a;
}

.mvv-card__kicker {
    display: inline-flex;
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.mvv-card--values .mvv-card__kicker {
    background: rgba(82, 153, 40, .12);
    border-color: rgba(82, 153, 40, .2);
    color: var(--blue);
}

.mvv-card__title {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 900;
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.mvv-card__title::selection,
.mvv-card__title::-moz-selection {
    background: transparent;
    color: inherit;
}

.mvv-card__text,
.mvv-card__lead {
    margin: 0;
    max-width: 860px;
    font-size: 17px;
    line-height: 1.85;
    position: relative;
    z-index: 1;
}

.mvv-card__lead {
    color: rgba(15, 23, 42, .76);
    margin-bottom: 28px;
}

.mvv-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
    position: relative;
    z-index: 1;
}

.mvv-value {
    padding: 0 0 0 18px;
    border-left: 4px solid rgba(82, 153, 40, .22);
}

.mvv-value__title {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 23px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
}

.mvv-value__text {
    margin: 0;
    color: rgba(15, 23, 42, .84);
    font-size: 15px;
    line-height: 1.72;
}

.mvv-slider__nav {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .14);
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.mvv-slider__nav:hover {
    filter: brightness(.98);
}

.mvv-slider__dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mvv-slider__dot {
    min-width: 110px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .8);
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

.mvv-slider__dot.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

/* =========================
   9) DOS PROMOS (conócenos + podcast)
========================= */
.two-promos {
    background: #ffffff;
    padding: 40px 0 52px;
}

.two-promos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.promo-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .12);
}

.promo-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.promo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .55) 100%);
}

.promo-card__overlay--light {
    background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .22) 100%);
}

.promo-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.promo-card__content--bottom {
    justify-content: flex-end;
}

.promo-card__title {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: .2px;
    text-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.promo-card__subtitle {
    margin: 10px 0 18px;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.15;
    text-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.promo-card__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 12px 18px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, .75);
    background: rgba(0, 0, 0, .18);
    font-size: 34px;
    font-weight: 900;
    margin: 6px 0 14px;
}

.promo-card__foot {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    opacity: .95;
    text-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.promo-card__btn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .30);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    backdrop-filter: blur(6px);
}

.promo-card__btn:hover {
    filter: brightness(.98);
}

.promo-card__btn--youtube {
    background: rgba(255, 255, 255, .90);
    color: #111827;
    border: 0;
}

.yt-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    background: #ff0000;
    color: #fff;
}

/* =========================
   9) FOOTER (lp-footer)
========================= */
.lp-footer {
    background: var(--blue);
    color: #fff;
    padding-top: 46px;
}

.lp-footer a {
    color: #fff;
    text-decoration: none;
}

.lp-footer a:hover {
    text-decoration: underline;
}

.lp-footer__top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 46px;
    padding-bottom: 44px;
    align-items: start;
}

.lp-footer__brand img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.lp-footer__text p {
    margin: 0 0 6px;
    font-size: 13px;
    opacity: .95;
}

.lp-footer__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 900;
}

.lp-footer__book-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.lp-footer__book-link:hover {
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.14));
}

.lp-footer__book-link img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex: 0 0 54px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 8px;
}

.lp-footer__book-link span {
    display: grid;
    gap: 4px;
}

.lp-footer__book-link strong {
    font-size: 15px;
    line-height: 1.15;
}

.lp-footer__book-link small {
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.88;
}

.lp-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.lp-footer__list li,
.lp-footer__list a,
.lp-footer__list span {
    font-size: 13px;
    opacity: .95;
}

.lp-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.lp-footer__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
    display: grid;
    place-items: center;
}

.lp-footer__icon svg {
    width: 18px;
    height: 18px;
    fill: var(--blue);
}

.lp-footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, .22);
}

.lp-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 18px;
    font-size: 13px;
    opacity: .95;
}

.lp-footer__sep {
    opacity: .65;
}

/* =========================
   10) RESPONSIVE (AGRUPADO)
========================= */
@media (max-width: 980px) {
    .topbar__nav {
        gap: 14px;
    }

    .nav__link {
        font-size: 12.5px;
    }

    .lp-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .lp-testi__card {
        flex-basis: calc((100% - 18px)/2);
    }
}

@media (max-width: 980px) {

    /* header + menu móvil */
    .burger {
        display: inline-flex;
        width: 46px;
        height: 46px;
        margin-left: auto;
        border: 1px solid rgba(15, 23, 42, .12);
        background: rgba(255, 255, 255, .92);
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 22px rgba(15, 23, 42, .10);
        z-index: 6000;
    }

    #mainMenu.nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;

        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        background: #fff;
        padding: 14px;
        border-radius: 14px;
        border: 1px solid rgba(15, 23, 42, .12);
        box-shadow: 0 18px 35px rgba(15, 23, 42, .16);
        z-index: 3500;
    }

    #mainMenu.nav.is-open {
        display: flex;
    }

    #mainMenu .nav__icon {
        display: none;
    }

    #mainMenu .nav__link,
    #mainMenu .cta,
    #mainMenu .intranet-cta {
        width: 100%;
    }

    #mainMenu .intranet-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 6px;
    }

    #mainMenu .intranet-cta__bubble {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: none;
        justify-content: center;
        white-space: normal;
        text-align: center;
        border-radius: 14px;
        animation: none;
    }

    #mainMenu .intranet-cta__bubble::after {
        top: auto;
        right: 28px;
        bottom: -6px;
        border-top: 0;
        border-left: 0;
        border-right: 1px solid rgba(82, 153, 40, .22);
        border-bottom: 1px solid rgba(82, 153, 40, .22);
    }

    #mainMenu .intranet-cta__button {
        width: 100%;
        min-height: 48px;
    }

    /* hero + lp-hero */
    .hero__slider {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .lp-hero__content {
        grid-template-columns: 1fr;
    }

    .lp-hero__body {
        min-height: auto;
    }

    .lp-hero__top-inner--right {
        justify-content: center;
    }

    .lp-hero__title--md {
        text-align: center;
        max-width: 100%;
    }

    .mvv-card {
        min-height: 0;
        padding: 28px;
    }

    .mvv-card__text,
    .mvv-card__lead {
        font-size: 16px;
    }

    .mvv-values {
        grid-template-columns: 1fr;
    }

    /* promos */
    .two-promos__grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        min-height: 320px;
    }
}

@media (max-width: 820px) {
    .contenedor-cards {
        grid-template-columns: 1fr;
    }

    .imagen-cover {
        height: 300px;
    }
}

@media (max-width: 620px) {
    .mvv-section {
        padding: 44px 0 50px;
    }

    .mvv-slider {
        gap: 10px;
    }

    .mvv-slider__nav {
        width: 42px;
        height: 42px;
    }

    .mvv-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .mvv-card__title {
        font-size: 28px;
    }

    .mvv-card__text,
    .mvv-card__lead {
        font-size: 15px;
        line-height: 1.72;
    }

    .mvv-value__title {
        font-size: 20px;
    }

    .mvv-value__text {
        font-size: 14px;
    }

    .lp-testi__inner {
        gap: 10px;
    }

    .lp-testi__card {
        flex-basis: 100%;
    }

    .lp-testi__photo {
        height: 320px;
    }

    .lp-testi__bubble {
        width: calc(100% - 34px);
    }
}

@media (max-width: 560px) {
    .mvv-slider {
        display: block;
    }

    .mvv-slider__nav {
        display: none;
    }

    .mvv-slider__dot {
        min-width: 0;
        flex: 1 1 0;
    }


    /* topbar: opcional oculta links 1 y 2 */
    .topbar__nav a:nth-child(1),
    .topbar__nav a:nth-child(2) {
        display: none;
    }

    /* footer móvil centrado + redes al final */
    .lp-footer__top {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
        padding-bottom: 22px;
    }

    .lp-footer__brand img {
        margin: 0 auto 12px;
    }

    .lp-footer__title {
        text-align: center;
    }

    .lp-footer__book-link {
        justify-content: center;
        text-align: left;
        max-width: 360px;
        margin: 0 auto 16px;
    }

    .lp-footer__list {
        justify-items: center;
    }

    .lp-footer__col:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lp-footer__social {
        order: 99;
        margin-top: 18px;
        justify-content: center;
        width: 100%;
    }

    .lp-footer__icon {
        width: 36px;
        height: 36px;
    }

    .lp-footer__bottom {
        justify-content: center;
        text-align: center;
    }

    /* galería videos */
    .video-gallery {
        padding: 26px 0 34px;
    }

    .video-card__play {
        width: 72px;
        height: 52px;
    }
}


/* TOPBAR 2 PARTES */
.topbar {
    background: var(--blue);
    height: 40px;
    display: flex;
    align-items: center;
}

/* ===== FIX ICONOS TOPBAR (siempre visibles) ===== */
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar__left {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

/* Caja del icono */
.topbar__icon {
    width: 32px;
    height: 32px;
    display: grid !important;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    line-height: 0;
}

/* Forzar SVG en blanco (clave) */
.topbar__icon svg {
    width: 18px;
    height: 18px;
    fill: #fff !important;
}

/* Si tu lupa/otros SVG usan stroke */
.topbar__icon svg * {
    stroke: #fff !important;
}

/* Hover pro */
.topbar__icon:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .40);
}

/* Dirección derecha */
.topbar__address {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 800;
    opacity: .95;
    white-space: nowrap;
}

.topbar__address:hover {
    opacity: 1;
    text-decoration: underline;
}


/* móvil: si quieres que no reviente */
@media (max-width: 520px) {
    .topbar__address {
        font-size: 12px;
    }
}

/* =========================
   BUSCADOR (lupa SIN borde negro)
========================= */

/* contenedor */
.search {
    position: relative;
}

/* ✅ botón lupa PRO (sin border negro) */
.search__btn {
    appearance: none;
    -webkit-appearance: none;

    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;

    background: transparent;
    padding: 0;

    width: 34px;
    height: 34px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--link-blue);
    /* el SVG usa currentColor */
    cursor: pointer;
}

/* hover sutil */
.search__btn:hover {
    background: rgba(82, 153, 40, .10);
}

/* ✅ foco accesible pero bonito (no borde negro) */
.search__btn:focus {
    outline: none !important;
}

.search__btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(82, 153, 40, .28) !important;
}

/* si el SVG usa stroke (tu caso) */
.search__btn svg {
    display: block;
}

.search__btn svg * {
    stroke: currentColor;
}

/* Panel sugerencias (lo tuyo, con estética) */
.search__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, 86vw);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, .16);
    padding: 12px;
    z-index: 5000;
}

.search__input {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    padding: 10px 12px;
    outline: none;
    font-weight: 700;
}

.search__input:focus {
    border-color: rgba(82, 153, 40, .35);
    box-shadow: 0 0 0 3px rgba(82, 153, 40, .18);
}

.search__hint {
    margin: 10px 2px 8px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(15, 23, 42, .70);
}

.search__list {
    display: grid;
    gap: 8px;
}

.search__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
}

.search__item:hover {
    background: rgba(82, 153, 40, .10);
    border-color: rgba(82, 153, 40, .22);
}

.search__tag {
    font-size: 11px;
    font-weight: 900;
    color: rgba(82, 153, 40, .95);
    background: rgba(82, 153, 40, .12);
    padding: 4px 8px;
    border-radius: 999px;
}

/* =========================
   HEADER INDEPENDIENTE
========================= */
.site-header {
    position: relative;
    width: 100%;
    z-index: 6000;
    background: #fff;
}

.site-header::after {
    display: none;
}

.site-header .topbar {
    display: none;
}

.site-header .topbar__inner {
    justify-content: center;
}

.site-header .topbar__left {
    justify-content: center;
}

.site-header .topbar__icon {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .34);
    box-shadow: 0 8px 18px rgba(20, 70, 15, .14);
}

.site-header .mainbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.site-header .mainbar__inner {
    max-width: min(1540px, calc(100% - 64px));
    min-height: 76px;
}

.site-header .brand__logo {
    height: 52px;
    filter: none;
}

.site-header .nav__link,
.site-header .search__btn {
    color: #3f8f20;
    text-shadow: none;
}

.site-header .nav__link {
    padding: 8px 0;
}

.site-header .nav__link:hover {
    color: #2f7517;
}

.site-header .intranet-cta__bubble {
    top: calc(100% + 13px);
    background: rgba(255, 255, 255, .90);
    border-color: rgba(82, 153, 40, .28);
    box-shadow: 0 18px 34px rgba(47, 117, 23, .14), 0 4px 12px rgba(255, 255, 255, .62) inset;
}

.site-header .intranet-cta__button {
    text-shadow: none;
}

@media (max-width: 980px) {
    .site-header::after {
        top: 0;
        height: 120px;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, .82) 0%,
            rgba(255, 255, 255, .50) 54%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .site-header .mainbar__inner {
        max-width: var(--container);
        min-height: 68px;
    }

    .site-header .brand {
        min-width: 0;
    }

    .site-header .brand__logo {
        height: 44px;
    }

    .site-header .burger {
        background: rgba(255, 255, 255, .94);
        border-color: rgba(82, 153, 40, .22);
    }

    .site-header #mainMenu.nav {
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .site-header #mainMenu .nav__link {
        color: #3f8f20;
        text-shadow: none;
    }

    .site-header #mainMenu .intranet-cta__bubble {
        box-shadow: none;
    }
}

@media (max-width: 560px) {
    .site-header .topbar {
        height: 36px;
    }

    .site-header .topbar__icon {
        width: 30px;
        height: 30px;
    }

    .site-header::after {
        top: 0;
        height: 110px;
    }

    .site-header .mainbar__inner {
        min-height: 62px;
        padding: 0 14px;
    }

    .site-header .brand__logo {
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intranet-cta__bubble,
    .intranet-cta__button::after {
        animation: none;
        transform: none;
    }

    .intranet-cta__button {
        transition: none;
    }
}
