/********** Template CSS **********/
:root {
    --primary: #7EBC12;
    --secondary: #FF0F10;
    --light: #F2F2F2;
    --dark: #1D2833;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 8px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-hero.png);
    background-position:
        0px 40%,
        right 0 top 0,
        left 50% top 0,
        left 50% top 50%,
        center bottom -1px;
    background-repeat: no-repeat;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 11px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #5A5A5A;
    border-bottom: 1px solid #5A5A5A;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 1px;
    bottom: 5px;
    left: 0;
    background: var(--primary);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -30px;
}

.section-title.text-center::after {
    width: 120px;
    left: 50%;
    margin-left: -60px;
}


/*** Domain Search ***/
.domain {
    background: url(../img/bg-domain.png) center center no-repeat;
    background-size: contain;
}


/*** Comparison ***/
@media (min-width: 992px) {
    .comparison::after {
        position: absolute;
        content: "";
        width: 1px;
        top: 56px;
        bottom: 20px;
        left: 50%;
        background: #DDDDDD;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item .position-absolute {
    background: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.footer {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-footer.png);
    background-position:
        0px 112px,
        right 0 bottom 0,
        left 50% top 80px,
        left 50% bottom 0,
        top center;
    background-repeat: no-repeat;
}

.footer p {
    font-size: 15px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .3);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Bloques de Visión y Misión */
.bg-light.rounded.shadow h3 {
    color: var(--primary);
}

.bg-light.rounded.shadow p {
    font-size: 15px;
    line-height: 1.7;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    max-width: 32rem;
    line-height: 1.5;
}

.hero-subtitle span {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.15rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    /* como una pastillita suave */
}

/* Hero: fijar altura del carrusel para que la franja blanca no cambie */
.hero-carousel {
    max-width: 520px;
    /* opcional, para que no sea gigante */
    margin-left: auto;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 420px;
    /* AJUSTA ESTE VALOR A TU GUSTO */
}

.hero-carousel .carousel-item {
    display: flex;
    align-items: flex-end;
    /* que “se apoyen” abajo todas igual */
    justify-content: center;
}

.hero-carousel .carousel-item img {
    max-height: 100%;
    width: auto;
}

/* Cuerpo de las cards de productos */
.product-card-body {
    min-height: 220px;
    /* Ajusta si quieres más / menos alto */
}

/* Párrafo dentro de la card */
.product-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    /* Más fácil de leer que centrado */
    color: #555;
    /* Un gris suave, no tan negro */
}

/* Emoji del título */
.product-icon {
    font-size: 1.4rem;
    margin-right: 0.3rem;
    vertical-align: middle;
}

/* Cards de productos: misma altura y botón abajo */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-body {
    flex: 1;
    /* ocupa todo el espacio disponible */
}

.product-card-text {
    font-size: 0.96rem;
    line-height: 1.6;
    text-align: left;
    color: #555;
}

/* footer de la card (zona del botón) */
.product-card-footer {
    border-top: 1px solid #f3f3f3;
}

/* Ícono dentro del círculo */
.product-icon {
    font-size: 1.7rem;
}

/* Círculo blanco con borde de color para que el emoji resalte */
.icon-badge {
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-badge-green {
    border-color: #63b814;
    /* verde Ralún */
}

.icon-badge-red {
    border-color: #ff2b2b;
    /* rojo Ralún */
}

.product-description {
    line-height: 1.6;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* ===========================
   Lo que nos mueve + Fundador
   =========================== */

.founder-message {
    margin-top: 10px;
}

.founder-image {
    max-width: 380px;
    margin: 0 auto;
}

.founder-card {
    border-left: 5px solid #8BC53F;
    /* Verde tipo Ralún */
}

.founder-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555555;
}

.founder-sign {
    font-size: 0.95rem;
}

.founder-sign span:first-child {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .founder-image {
        max-width: 260px;
        margin-bottom: 1.5rem;
    }
}

.founder-illustration {
    padding: 1.5rem;
}

.founder-image {
    max-width: 340px;
    /* ajusta a gusto */
}

.branch-gallery .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.branch-gallery .owl-stage {
    display: flex;
    align-items: stretch;
}

.branch-gallery .gallery-item {
    padding: 5px;
}

/* -------- ACCESIBILIDAD -------- */

/* Botón de accesibilidad dentro del navbar */
.accessibility-toggle {
    position: static;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;

    /* colores propios, para que no quede rojo */
    background-color: #0b6623 !important;  /* verde oscuro */
    border-color: #0b6623 !important;
}

.accessibility-toggle i {
    font-size: 1.3rem;
    color: #ffffff !important; /* icono blanco bien visible */
}


.accessibility-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1049;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.accessibility-panel-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.accessibility-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #00a54b;
    /* verde Ralún accesibilidad */
    color: #fff;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
}

.accessibility-panel.open {
    transform: translateX(0);
}

.accessibility-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.accessibility-panel-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.accessibility-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.accessibility-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 18px 10px;
}

.accessibility-option {
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.accessibility-option-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1.4rem;
}

.accessibility-option span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.1;
    font-weight: 600;
}

.accessibility-option small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.accessibility-option.active .accessibility-option-icon {
    background: #fff;
    color: #00a54b;
}


/* Botón dentro del navbar */
.accessibility-toggle {
    position: static;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
}

.accessibility-toggle i {
    font-size: 1.2rem;
}

.accessibility-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1049;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.accessibility-panel-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.accessibility-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    width: 260px;
    background: #00a54b;
    color: #fff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
}

.accessibility-panel.open {
    transform: translateX(0);
}

.accessibility-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.accessibility-panel-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.accessibility-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.accessibility-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 18px 10px;
}

.accessibility-option {
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.accessibility-option-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1.4rem;
}

.accessibility-option span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.1;
    font-weight: 600;
}

.accessibility-option small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.accessibility-option.active .accessibility-option-icon {
    background: #fff;
    color: #00a54b;
}

/* Efectos de accesibilidad */
body.accessibility-highlight a,
body.accessibility-highlight button,
body.accessibility-highlight .btn,
body.accessibility-highlight input,
body.accessibility-highlight textarea,
body.accessibility-highlight select,
body.accessibility-highlight [role="button"] {
    outline: 3px solid #ffd000 !important;
    box-shadow: 0 0 0 3px #ffd000 !important;
}

body.accessibility-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.accessibility-contrast * {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.accessibility-contrast .btn,
body.accessibility-contrast .btn-primary,
body.accessibility-contrast .btn-secondary {
    background-color: #000 !important;
    color: #fff !important;
}

body.accessibility-big-cursor {
    cursor: default;
}

body.accessibility-big-cursor * {
    cursor: default !important;
}

.reading-guide {
    position: fixed;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 1048;
    display: none;
}

.reading-guide.show {
    display: block;
}

.accessibility-toggle i {
    font-size: 1.8rem !important;
    color: #ffffff !important;
    line-height: 1;
}

html {
    font-size: 100% !important;
}
