@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

:root {
    --bs-primary: #6AA233;
    --bs-primary-rgb: 106, 162, 51;

    --bs-link-color: #6AA233;
    --bs-link-hover-color: #5b8f2d;

    --bs-secondary: #F09930;
    --bs-secondary-rgb: 240, 153, 48;

    --bs-link-color-rgb: 106, 162, 51;
    --bs-link-hover-color-rgb: 0, 0, 0;

    --bs-verde-1: #A8C686;
    --bs-verde-2: #3F5E1E;
}

body {
    font-family: 'Mulish', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
}

p {
    color: #4b4c4d;
}

a,
.box-link a img {
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Quicksand", serif !important;
    font-weight: 400;
}

.fw-bolder {
    font-weight: 600 !important;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    font-weight: 700;
    /* bold manual */
}

.h1,
h1 {
    font-size: 2.30rem;
    line-height: 1em;
}

.h6,
h6,
.fs-6 {
    font-size: 1.10rem !important;
    line-height: 1.5em;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover {
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

.border-secondary {
    border-color: var(--bs-secondary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.btn-outline-secondary {
    color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.btn-outline-secondary:hover {
    background: var(--bs-secondary) !important;
    color: #fff !important;
}

/* Particularidades */

.h45 {
    font-size: 1.40rem;
}

.verde-1 {
    color: var(--bs-verde-1);
}

.verde-2 {
    color: var(--bs-verde-2);
}

.verde-3 {
    color: #609794 !important;
}

a:hover.text-white {
   opacity: .7;
}

.social a{
color: var(--bs-verde-2);
}

/* Header */
.header-senda {
    transition: box-shadow .3s;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Menú desktop */
.small-menu .menu-link {
    font-size: .95rem;
    font-weight: 600;
    transition: all .25s;
    font-family: 'Quicksand', sans-serif !important;
    color: #444 !important;
    transition: color .25s;
    padding: 20px 15px;
}

.small-menu .menu-link:hover {
    color: var(--bs-primary) !important;
}

.submenu {
    top: 100%;
    left: 0;
    min-width: 220px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0px;
}

.submenu.columnas {
    min-width: 750px;
    opacity: 0;
    transform: translateY(10px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
}

.position-relative:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.submenu .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: .95rem;
    color: #777;
    border-radius: 0.25rem;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #eee;
}

.submenu .dropdown-item:hover {
    /*background-color: rgba(var(--bs-primary-rgb), 0.07);*/
    color: var(--bs-primary);
}

/* Subrayado con distancia */
.underline-custom:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    /* grosor de la línea */
    text-underline-offset: 8px;
    /* distancia desde el texto */
    text-decoration-color: var(--bs-link-color);
    /* opcional: color */
}

/* CTA botones */
.btn-cta-outline,
.btn-cta-whatsapp,
.btn-cta-main {
    font-weight: 600;
    border-radius: 50px;
    padding: .45rem 1.15rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: transform .25s, box-shadow .25s;
}

.btn-cta-outline:hover,
.btn-cta-whatsapp:hover,
.btn-cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, .12);
}

.btn-cta-whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
}

.mobile-menu.open {
    display: block;
}

.mobile-link {
    display: block;
    padding: .75rem 0;
    font-size: 1rem;
    font-family: 'Mulish', sans-serif !important;
    font-weight: 600;
    color: #666 !important;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
}

.mobile-link:hover {
    color: var(--bs-primary);
}

#panelCita {
    position: fixed;
    top: 170px;
    right: 0;
    background: var(--bs-secondary);
    color: #fff;
    padding: 9px 22px;
    border-radius: 14px 0 0 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 9999;
}

/* Hover */
#panelCita:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(240, 153, 48, .35);
}

/* Sticky al hacer scroll */
.sticky-panel {
    top: 170px !important;
}

.bg-hero {
    background: url("../../assets/img/panel25.jpg") center/cover no-repeat;
}

.bg-h1 {
    background-color: #ffffffa3;
    padding: 5%;
}

.animate-home-block {
    opacity: 0;
    transform: translateY(100px);
    animation: fadeUp 1.5s ease-out forwards;
    animation-delay: 0.9s;
    /* puedes ajustarlo */
}

.box-link a img {
    max-width: 70px;
}

.box-link a h4 {
    font-size: 17px !important;
    font-weight: 600;
    color: var(--bs-verde-1);
    transition: all 0.25s ease-in-out;
}

.box-link a:hover h4 {
    color: var(--bs-primary) !important;
}

.box-link a:hover img {
    opacity: 100% !important;
}

.box-icon h5 {
    color: var(--bs-verde-2);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-team {
    background: #0F5956 url("../../assets/img/bg-team.jpg") center/cover no-repeat;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A8C686;
    background-color: #fff;
}

.bg-team-box {
    background-color: #0849469e;
    border-radius: 20px !important;
}

.quote_ {
    opacity: 0.1;
    margin-top: -100px;
    margin-bottom: -70px;
}

.separator-arrow {
    position: relative;
    height: 40px;
    background-color: #f1f4f1;
}

.bg-contact {
    background-color: #202629;
    border-bottom: 1px solid #dee2e652;
}

.bg-item {
    background-color: #f1f4f1;
}

.separator-arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 40px solid #f1f4f1;
}

/* md down */
@media (max-width: 768px) {
    #panelCita {
        top: 170px;
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 12px 0 0 12px;
    }

    .bg-offset-hero::after {
        width: 100%;
    }
}

/* lg down */
@media (max-width: 991.98px) {
    ...
}

/* xl down */
@media (max-width: 1199.98px) {}

/* xxl down */
@media (max-width: 1399.98px) {
    .small-menu .menu-link {
        padding: 20px 10px !important;
    }
}