/* Isix logo: colored on light backgrounds, white on dark */

.brand-logo--on-dark {
    filter: brightness(0) invert(1);
}

.brand-logo-switcher .brand-logo--dark {
    display: none;
    filter: brightness(0) invert(1);
}

@media (prefers-color-scheme: dark) {
    .brand-logo-switcher .brand-logo--light {
        display: none;
    }

    .brand-logo-switcher .brand-logo--dark {
        display: inline-block;
    }
}

html[data-theme='light'] .brand-logo-switcher .brand-logo--dark {
    display: none;
}

html[data-theme='light'] .brand-logo-switcher .brand-logo--light {
    display: inline-block;
}

html[data-theme='dark'] .brand-logo-switcher .brand-logo--light {
    display: none;
}

html[data-theme='dark'] .brand-logo-switcher .brand-logo--dark {
    display: inline-block;
}

/* Home banner — min 700px tall (theme-style hero) */
.banner-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    min-height: 700px;
    background: linear-gradient(40deg, #1887d8 0%, #00b0f0 100%);
}

.banner-container .banner-carousel,
.banner-container .banner-carousel .carousel-inner,
.banner-container .banner-carousel .carousel-item {
    min-height: 700px;
}

.banner-container .banner-carousel .embed-responsive.embed-responsive-16by9::before {
    display: none;
}

.banner-container .banner-carousel .embed-responsive.embed-responsive-16by9 {
    min-height: 700px;
    height: 700px;
}

.banner-container .banner-carousel .embed-responsive-item {
    object-fit: cover;
    object-position: center center;
}

.banner-bottom-shape {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-height: 120px;
    z-index: 3;
    pointer-events: none;
    display: block;
}

/* Home page — alternating section backgrounds */
.home-section--tint {
    background-color: rgba(23, 134, 216, 0.1);
}

.home-section--white {
    background-color: #fbfbfd;
}

.banner-next-section {
    position: relative;
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

.banner-next-section .container {
    background-color: transparent;
}

.banner-next-section .home-block-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: "NunitoBold", "Nunito", sans-serif;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .banner-next-section .home-block-title {
        font-size: 1.875rem;
    }
}

/* Theme sets h2 { margin-bottom: 70px } globally — keep block headings compact */
.banner-next-section h2.home-block-title {
    margin-bottom: 1rem;
}

/* Footer — tighter line spacing */
.footer .footer-heading {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.footer .footer-quick-links {
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.footer .footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    margin-bottom: 0.35rem !important;
}

.footer .footer-links-row li {
    margin-bottom: 0;
    line-height: 1.35;
}

.footer .footer-links li a {
    line-height: 1.35;
}

.footer .contact-links li {
    margin-bottom: 0.4rem !important;
    line-height: 1.35;
}

.footer .contact-links li:last-child {
    margin-bottom: 0 !important;
}

.footer .footer-social {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    padding-top: 0.25rem;
}

.footer .footer-social a {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.footer .footer-social a:hover {
    opacity: 0.85;
}

.footer .row.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.footer .row.text-white p {
    line-height: 1.35;
}

.footer .footer-bottom-bar p {
    line-height: 1.35;
}

.footer .footer-powered-by {
    font-size: 0.875rem;
}

.footer .footer-powered-by a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.footer .footer-powered-by a:hover {
    text-decoration: underline;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* Product cards — slightly smaller titles than theme default h2 (home + listing) */
.feature-item .card .card-title {
    font-size: 1.15rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .feature-item .card .card-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .feature-item .card .card-title {
        font-size: 1.25rem;
    }
}

/* Home sections — tighter external spacing */
.feature-section {
    margin-bottom: 2rem !important;
}

.testimonial-section--gray {
    margin-bottom: 2rem !important;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.testimonial-section--gray .container,
.testimonial-section--gray .slick-slider,
.testimonial-section--gray .slick-list,
.testimonial-section--gray .slick-track {
    background-color: transparent;
}

.testimonial-section--gray .testimonial-section__title {
    margin-top: 0;
    margin-bottom: 1.75rem;
}

.testimonial-section--gray .testimonial-section__footer-link {
    margin-top: 0.5rem;
}

.home-faq-section {
    margin-bottom: 2rem !important;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* Testimonials — remove theme min-height gap in card body */
.testimonial-section .testimonial-item {
    padding: 0 12px 1rem;
}

.testimonial-section .testimonial-item .card .card-body {
    min-height: 0;
    padding: 1rem 1.25rem 0.75rem;
}

.testimonial-section .testimonial-item .card .card-footer {
    padding: 0.5rem 1.25rem 1rem;
    font-size: 1rem;
    line-height: 1.35;
}

.testimonial-section .testimonial-item .card .card-body .card-text {
    font-size: 0.9rem;
    line-height: 1.45;
}

.testimonial-section .slick-track {
    display: flex !important;
    align-items: stretch;
}

.testimonial-section .slick-slide {
    height: auto;
}

.testimonial-section .slick-slide > div {
    height: 100%;
}

.testimonial-section .testimonial-item .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-section .testimonial-item .card .card-body {
    flex: 1 1 auto;
}

/* HTML sitemap — sections stacked; 3 links per row inside each */
.sitemap-xml-note {
    font-size: 0.95rem;
}

.sitemap-xml-note .zmdi {
    margin-right: 0.35rem;
}

.sitemap-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.sitemap-section--bordered {
    border-bottom: 1px solid #e9ecef;
}

.sitemap-column-title {
    font-size: 1.35rem;
    font-family: "NunitoBold", "Nunito", sans-serif;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    text-align: left;
}

.sitemap-link-row {
    margin-bottom: 0.5rem;
}

.sitemap-link-row:last-child {
    margin-bottom: 0;
}

.sitemap-link-cell {
    margin-bottom: 0.75rem;
}

.sitemap-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

.sitemap-link:hover .sitemap-link-icon {
    color: #1269b3;
}

.sitemap-link-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sitemap-link-label {
    word-break: break-word;
}

/* Draggable WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
}

.whatsapp-float.is-dragging {
    cursor: grabbing;
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
