/* Visual refinements layered over the existing Gates layout and corporate green. */
:root {
    --it-green: #41ac09;
    --it-action: #2d780c;
    --it-ink: #202c37;
    --it-text: #52606b;
    --it-line: #dce4e8;
    --it-soft: #f4f7f8;
}
[hidden] { display: none !important; }
body { font-family: 'Open Sans', Arial, sans-serif; font-size: 15px; color: var(--it-text); }
body, li, address { line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; color: var(--it-ink); line-height: 1.3; letter-spacing: -.025em; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin-bottom: 18px; }
.text-justify { text-align: left; }
a { color: var(--it-action); }
a:hover { color: #205a08; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--it-green); outline-offset: 4px;
}
.container { padding-right: 20px; padding-left: 20px; }
.pad-container, .pad-container2 { padding-top: 68px; padding-bottom: 68px; }
.inner-banner .pad-container { padding-top: 44px; padding-bottom: 44px; }
.inner-banner h1 { margin-bottom: 10px; color: var(--it-ink); font-size: 36px; letter-spacing: -.025em; }
.inner-banner h3 { color: var(--it-text); font-size: 17px; font-weight: 400; line-height: 1.6; }
.inner-banner { padding: 0; max-height: none; height: auto; border-bottom: 1px solid var(--it-line); background: var(--it-soft); }
.header-nav { background: #fff; }
.header-nav.sticky { box-shadow: 0 4px 24px rgba(21, 39, 45, .09); }
.logo img { max-width: 100%; object-fit: contain; }
.navbar-nav > li > a { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.navbar-nav .dropdown-menu { border-radius: 0 0 8px 8px; box-shadow: 0 12px 28px rgba(21,39,45,.14); }
.top-contact li .content p { margin-bottom: 0; }
.mobile-menu { cursor: pointer; min-width: 44px; min-height: 44px; text-align: center; }
.btn, input.btn-submit, button.btn-submit {
    border-radius: 6px; padding: 13px 22px; font-size: 14px; font-weight: 600;
    line-height: 1.4; letter-spacing: 0; text-transform: none; min-height: 46px;
    background: var(--it-action); color: #fff; border: 1px solid transparent;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.btn:hover, input.btn-submit:hover, button.btn-submit:hover {
    background: #205a08; color: #fff; box-shadow: 0 5px 15px rgba(35,95,10,.16);
}
.btn.btn-gray { background: #edf2f4; color: var(--it-ink); border-color: var(--it-line); }
.btn.btn-gray:hover { background: #e0e9ec; }
:disabled { cursor: wait; opacity: .65; }

/* The seven-slide hero keeps its photographs and content positions. */
.banner > ul > li::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(10,28,36,.9), rgba(10,28,36,.58) 48%, rgba(10,28,36,.08));
}
.banner .caption, .banner .tp-caption { z-index: 2 !important; }
.banner .caption.upper, .banner .tp-caption.upper {
    background: transparent; border-left: 3px solid var(--it-green); padding: 10px 0 10px 26px;
}
.banner .upper h3 { color: #d2eec9; font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.banner .upper h2 { color: #fff; font-size: 48px; line-height: 1.18; letter-spacing: -.035em; text-transform: none; margin: 12px 0 18px; }
.banner .upper h2 span { color: #a9e78d; }
.banner .upper p { color: #eff5f7; font-size: 17px; line-height: 1.65; font-weight: 400; margin: 0; }
.banner .caption .btn, .banner .tp-caption .btn { padding: 14px 24px; font-size: 15px; margin-top: 0; color: #fff; }
.hero-static { height: 475px; }
.hero-static-container { height: 475px !important; }
.hero-static > ul { display: block !important; position: relative; height: 100%; padding: 0; margin: 0; list-style: none; }
.hero-static > ul > li { display: none !important; }
.hero-static > ul > li:first-child {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
    transform: none !important; background: url('../images/content/slider-soluciones-ti.webp') center / cover;
}
.hero-static > ul > li:first-child > img, .hero-static .defaultimg, .hero-static .tp-bannertimer { display: none !important; }
.hero-static .caption, .hero-static .tp-caption {
    position: absolute !important; opacity: 1 !important; visibility: visible !important;
    transform: none !important; left: max(24px, calc((100% - 1170px) / 2)) !important;
    white-space: normal !important;
}
.hero-static .upper { top: 85px !important; }
.hero-static .caption:not(.upper), .hero-static .tp-caption:not(.upper) { top: 340px !important; }
.home-cta { display: inline-block; margin-top: 18px; }
.company-professional { display: block; width: 100%; max-width: 444px; height: auto; margin: 0 auto; }

/* Service blocks and catalog cards share spacing and restrained borders. */
.services-box-2 .content p { line-height: 1.8; }
.services-box-2 h3 { margin-bottom: 12px; }
.services-box-3 { min-height: 220px; padding-top: 36px; padding-bottom: 36px; }
.services-box-3 > i { font-size: 40px; }
.services-box-3 h3 a, .services-box-3 h3 a:hover { color: inherit; }
.services-box-3 h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.services-box-3 .content p { color: #e0e7eb; line-height: 1.75; }
.box-dark { background: #24343e; }
.box-dark.color1 { background: #20303a; }
.box-dark.color2 { background: #293e48; }
.box-dark { padding: 32px 28px; }
.box-dark:hover, .box-dark.color1:hover, .box-dark.color2:hover { background: #304854; color: #fff; }
.box-dark .services-box-3 { display: flex; align-items: flex-start; gap: 18px; padding: 0; }
.box-dark .services-box-3 i { flex: 0 0 48px; width: 48px; height: 56px; padding: 0; margin: 0; float: none; font-size: 40px; color: #a9e78d; }
.box-dark .services-box-3 .content { flex: 1; min-width: 0; padding: 0; }
.box-dark .services-box-3 .content h3 { font-size: 23px; line-height: 1.35; color: #fff; margin: 0 0 16px; }
.box-dark .services-box-3 .content h3::before { display: none; }
.box-dark .services-box-3 .content p { color: #e0e7eb; line-height: 1.75; padding-top: 0; margin-bottom: 0; }
.product-grid .post, .owlcarousel .post {
    border: 1px solid var(--it-line) !important; border-radius: 10px; overflow: hidden; background: #fff;
    box-shadow: 0 3px 12px rgba(21,39,45,.04); transition: box-shadow .2s, transform .2s;
}
.product-grid .post:hover, .owlcarousel .post:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(21,39,45,.1); }
.product-grid figure img, .owlcarousel figure img { width: 100%; height: 190px; object-fit: cover; background: var(--it-soft); }
.post[data-product-id="1"] figure img, .post[data-product-id="2"] figure img, .post[data-product-id="7"] figure img { object-fit: contain; padding: 14px; background: #fff; }
.product-grid .post-content, .owlcarousel .post-content { padding: 20px; }
.product-grid .post .post-content { margin-top: 0; padding: 20px; }
.product-grid .post .post-content h3 a { font-size: inherit; line-height: inherit; }
.product-grid .post-content h3, .owlcarousel .post-content h3 { font-size: 17px; min-height: 45px; line-height: 1.4; }
.product-grid .price, .owlcarousel .price, .product-details > .price { color: var(--it-action); font-size: 15px; font-weight: 600; }
.product-grid figure .btn, .owlcarousel figure .btn { padding: 10px 14px; min-height: 40px; font-size: 13px; }
.product-grid .post figure { position: relative; margin: 0; padding-bottom: 44px; }
.product-grid .post figure a.btn, .product-grid .post figure:hover a.btn {
    opacity: 1; bottom: 0; min-height: 44px; padding: 12px 6px; border-radius: 0;
    font-size: 13px; line-height: 1.4;
}
.product-grid .post figure:hover img { transform: none; opacity: 1; }
.product-details h1 { font-size: 30px; }
.product-details h1 span { font-size: 13px; letter-spacing: 0; }
.product-details h1 > span { display: block; float: none; margin-top: 8px; font-weight: 500; line-height: 1.5; }
.product-details .quantity { display: inline-flex; align-items: stretch; }
.product-details .quantity .minus, .product-details .quantity .plus {
    position: static; float: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--it-line);
    color: var(--it-ink); background: var(--it-soft); font-size: 20px;
}
.product-details .quantity .qty { width: 60px; height: 44px; margin: 0; padding: 6px; text-align: center; border-color: var(--it-line); }
.catalog-detail-image { width: 100%; max-height: 400px; object-fit: contain; background: var(--it-soft); border-radius: 10px; }
.sidebar .circled li.bg { border-radius: 5px; margin-bottom: 6px; }
.sidebar .title-left { font-size: 19px; margin-top: 24px; }

/* Visible labels and matching control sizes improve both form variants. */
.field-label { display: block; margin: 0 0 7px; color: var(--it-ink); font-size: 13px; line-height: 1.5; font-weight: 600; }
form[data-mail-form] input:not([type="hidden"]):not([type="submit"]), form[data-mail-form] textarea {
    box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 14px !important;
    border: 1px solid #bac8cf; border-radius: 6px; background: #fff; color: var(--it-ink);
    font-size: 15px; line-height: 1.6; font-weight: 400; margin-bottom: 14px;
}
form[data-mail-form] textarea { min-height: 110px; resize: vertical; }
form[data-mail-form] input:focus, form[data-mail-form] textarea:focus { border-color: var(--it-action); box-shadow: 0 0 0 3px rgba(65,172,9,.12); }
form[data-mail-form] input::placeholder, form[data-mail-form] textarea::placeholder { color: #74838d !important; opacity: 1; }
.q-form { padding: 16px; background: var(--it-soft); }
.q-form-title { border-radius: 10px 10px 0 0; }
.q-form-container {
    position: relative; top: 0; float: none; width: 100%; max-width: 340px;
    margin: 36px auto 0;
    border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(21,39,45,.1);
}
.q-form-title { background: var(--it-action); padding: 12px 16px; }
.q-form-title .content h3 { line-height: 1.3; font-size: 18px; margin: 0; }
.q-form-title p { color: #e3efdc; font-size: 12px; margin-bottom: 3px; }
.q-form-title i { height: 40px; padding-top: 4px; margin-right: 12px; padding-right: 12px; font-size: 26px; }
.q-form > form > .row { margin-left: 0; margin-right: 0; }
.q-form .field-label { font-size: 12px; margin-bottom: 4px; }
.q-form form[data-mail-form] input:not([type="hidden"]):not([type="submit"]) {
    min-height: 40px; height: 40px; padding: 8px 12px !important; font-size: 14px; margin-bottom: 10px;
}
.q-form form[data-mail-form] textarea {
    min-height: 72px; height: 72px; padding: 8px 12px !important; font-size: 14px; margin-bottom: 10px;
}
.q-form form input.btn-submit, .form-container form input.btn-submit {
    min-width: 160px; min-height: 46px; border-radius: 6px; background: var(--it-action);
    color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; padding: 13px 22px;
}
.q-form form input.btn-submit:hover, .form-container form input.btn-submit:hover { background: #205a08; }
.q-form form input.btn-submit { min-height: 40px; padding: 10px 16px; font-size: 13px; }
.form-container > .response:empty { display: none; }
form[data-mail-form] .alert { border-radius: 6px; line-height: 1.6; font-size: 14px; }
form[data-mail-form] .alert-success { background: #edf7e8; color: #235b0b; border-color: #bedcae; }
form[data-mail-form] .alert-warning { background: #fff5e8; color: #754308; border-color: #e9cc9f; }
.small { font-size: 13px; line-height: 1.7; }

.footer { background: #1e2c35; color: #c2cdd4; }
.footer .pad-container { padding-top: 54px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 22px; }
.footer p, .footer li { color: #c2cdd4; font-size: 14px; line-height: 1.8; }
.footer a, .footer .widget a { color: #d2dce1; }
.footer a:hover { color: #b5e89d; }
.footer .contact .content p { margin-bottom: 7px; }
.footer .timing p { font-size: 13px; }
.footer .social-icons li[hidden] { display: none; }
.footer .widget.r-pad50 { padding-right: 25px; }
.footer-links a { font-size: 13px; }
.bot-subscribe { background: #2b414b; }
.bot-subscribe .field-label, .footer .field-label { color: #e5edf1; }
.bot-subscribe form[data-mail-form] .btn-submit, .footer form[data-mail-form] .btn-submit.alt {
    top: 0; left: 0; width: auto; height: auto; min-width: 145px; min-height: 46px;
    padding: 13px 20px; border-radius: 6px; color: #fff; background: var(--it-action);
    font-size: 14px; line-height: 1.4; text-transform: none;
}
.bot-subscribe h3 { font-size: 24px; line-height: 1.4; }
.btn-whatsapp {
    position: fixed; top: auto; left: auto; right: 20px; bottom: 24px; z-index: 1000;
    width: 58px; height: 58px; line-height: 1; border-radius: 50%; background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
}
.btn-whatsapp a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.btn-whatsapp img { width: 44px; height: 44px; object-fit: contain; }
#toTop { right: 28px; bottom: 98px; }

@media (min-width: 768px) and (max-width: 1199px) {
    .navbar-nav > li > a { padding-left: 10px; padding-right: 10px; font-size: 13px; }
    .banner .upper h2 { font-size: 40px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .product-grid.col3 .post { width: 48%; margin-left: 2%; margin-bottom: 20px; }
}
@media (max-width: 767px) {
    body { font-size: 15px; }
    h1 { font-size: 29px; } h2 { font-size: 25px; } h3 { font-size: 21px; }
    .container { padding-left: 20px; padding-right: 20px; }
    .pad-container, .pad-container2 { padding-top: 40px; padding-bottom: 40px; }
    .inner-banner .pad-container { padding-top: 30px; padding-bottom: 30px; }
    .inner-banner h1 { font-size: 29px; }
    .header-nav .navbar-collapse { clear: both; float: none !important; max-height: 65vh; overflow-y: auto; }
    .navbar-nav > li > a { padding: 13px 16px; min-height: 46px; }
    .navbar-nav .dropdown-menu { box-shadow: none; }
    .logo img { max-width: 190px; max-height: 65px; }
    .hero-static { height: 440px; }
    .hero-static .upper { top: 62px !important; width: calc(100% - 48px) !important; padding-left: 18px; box-sizing: border-box; }
    .hero-static .caption, .hero-static .tp-caption { left: 24px !important; }
    .hero-static .upper h3 { font-size: 12px !important; line-height: 1.6 !important; letter-spacing: .08em; }
    .hero-static .upper h2 { font-size: 32px !important; line-height: 1.2 !important; letter-spacing: -.03em; margin: 10px 0 16px; }
    .hero-static .upper p { font-size: 15px !important; line-height: 1.7 !important; white-space: normal !important; }
    .hero-static .caption:not(.upper), .hero-static .tp-caption:not(.upper) { top: 335px !important; }
    .hero-static .caption .btn { font-size: 14px !important; padding: 13px 20px !important; min-height: 46px; }
    .hero-static-container { height: 440px !important; }
    .services-box-3 { min-height: 0; padding-top: 30px; padding-bottom: 30px; }
    .q-form-container { margin-top: 28px; }
    .form-container .l-pad40, .l-pad30 { padding-left: 0; }
    .product-grid .post-content h3 { min-height: 0; }
    .product-grid.col3 { margin-left: 0; margin-bottom: 0; }
    .product-grid.col3 .post { width: 100%; margin-left: 0; margin-bottom: 20px; }
    .product-grid figure img { height: 210px; }
    .product-details h1 { margin-top: 24px; font-size: 27px; }
    .footer .widget { margin-bottom: 28px; }
    .footer .widget.r-pad50 { padding-right: 0; }
    .footer .timing p { font-size: 13px; }
    .bg-darker-gray .text-right { text-align: left; }
    .btn-whatsapp { width: 52px; height: 52px; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
    .btn-whatsapp img { width: 40px; height: 40px; }
    #toTop { right: 20px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
