@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}

a:hover {
    color: #3c98ff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* ===== HEADER ===== */
.stm-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all .3s ease;
}

.stm-header__row_color {
    background: transparent;
    transition: background .3s ease, box-shadow .3s ease;
    padding: 0 15px;
}

.stm-header.stm-header_sticky .stm-header__row_color {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.stm-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.stm-header__cell_left {
    display: flex;
    align-items: center;
}

.stm-header__cell_right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stm-header__element {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.stm-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stm-navigation ul li {
    position: relative;
}

.stm-navigation ul li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #293742;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color .3s;
    position: relative;
}

.stm-header.stm-header_sticky .stm-navigation ul li a {
    color: #293742;
}

/* White navigation text on home hero */
.home-header .stm-navigation ul li a {
    color: #293742;
}

.home-header.stm-header_sticky .stm-navigation ul li a {
    color: #293742;
}

.stm-navigation ul li a:hover,
.stm-navigation ul li.current-menu-item a {
    color: #3c98ff;
}

.stm-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #3c98ff;
    transform: scaleX(0);
    transition: transform .3s;
}

.stm-navigation ul li a:hover::after,
.stm-navigation ul li.current-menu-item a::after {
    transform: scaleX(1);
}

/* WhatsApp Button */
.btn_cotiza {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .3s;
    white-space: nowrap;
}

.btn_cotiza:hover {
    background: #1da851;
    color: #fff;
}

.btn_cotiza i {
    margin-right: 8px;
    font-size: 18px;
}

.btn_cotiza .btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn_cotiza .btn__text small {
    font-weight: 400;
    font-size: 11px;
    text-transform: none;
    opacity: .9;
}

/* ===== MOBILE HEADER ===== */
.stm_mobile__header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1001;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.stm_mobile__header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stm_mobile__logo img {
    height: 35px;
}

.stm_mobile__switcher {
    cursor: pointer;
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stm_mobile__switcher span {
    display: block;
    height: 3px;
    background: #293742;
    border-radius: 2px;
    transition: all .3s;
}

.stm_mobile__switcher.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.stm_mobile__switcher.active span:nth-child(2) {
    opacity: 0;
}

.stm_mobile__switcher.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    margin-top: 70px;
    padding: 0 15px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hero-carousel .carousel-slides {
    position: relative;
    width: 100%;
    height: 450px;
}

.hero-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-carousel .carousel-slide.active {
    opacity: 1;
}

.hero-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-carousel .carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-carousel .carousel-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
}

.hero-carousel .carousel-dots span.active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
}

.section--grey {
    background: #f5f5f5;
}

.section--dark {
    background: #293742;
    color: #fff;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #293742;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: #777;
    text-align: center;
    margin-bottom: 40px;
}

/* ===== ABOUT / INSTITUCIONAL ===== */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: #293742;
}

.about-text .company-name {
    font-weight: 700;
    color: #3c98ff;
}

/* ===== PARTNERS ===== */
.partners-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.partners-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    opacity: .8;
    transition: all .3s;
}

.partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-item img {
    max-height: 50px;
    width: auto;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: all .3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.product-card img {
    width: 100%;
    display: block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .3s;
}

.btn-primary {
    background: #3c98ff;
    color: #fff;
    border-color: #3c98ff;
}

.btn-primary:hover {
    background: #2176d4;
    border-color: #2176d4;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #293742;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-icon i {
    margin-right: 10px;
    font-size: 18px;
}

.btn-extended {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.btn-extended .btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-extended .btn__text span {
    font-weight: 600;
    font-size: 14px;
}

.btn-extended .btn__text small {
    font-weight: 400;
    font-size: 11px;
    opacity: .8;
}

/* ===== TITLE BOX ===== */
.stm_titlebox {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0 40px;
    margin-top: 60px;
}

.stm_titlebox::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.65);
}

.stm_titlebox__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stm_titlebox__title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.stm_titlebox__breadcrumbs {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.stm_titlebox__breadcrumbs a {
    color: rgba(255,255,255,.7);
}

.stm_titlebox__breadcrumbs a:hover {
    color: #fff;
}

.stm_titlebox__breadcrumbs .separator {
    margin: 0 8px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 50px 0;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #293742;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #293742;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ===== FEATURES / BENEFITS LIST ===== */
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #3c98ff;
}

.feature-item i {
    color: #3c98ff;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 14px;
    color: #555;
}

/* ===== FORM STYLES ===== */
.form-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.form-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #293742;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #293742;
    margin-bottom: 5px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
    transition: border-color .3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3c98ff;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group .radio-group {
    display: flex;
    gap: 20px;
    padding-top: 8px;
}

.form-group .radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    cursor: pointer;
}

.form-group .radio-group input[type="radio"] {
    accent-color: #3c98ff;
}

.form-group .checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.form-group .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    cursor: pointer;
}

.form-group .checkbox-group input[type="checkbox"] {
    accent-color: #3c98ff;
}

.btn-submit {
    background: #3c98ff;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
}

.btn-submit:hover {
    background: #2176d4;
}

/* ===== TAB SYSTEM ===== */
.tabs-container {
    margin: 30px 0;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.tab-btn {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #777;
    background: none;
    border: none;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3c98ff;
    transform: scaleX(0);
    transition: transform .3s;
}

.tab-btn.active {
    color: #293742;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: #293742;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== SOAT VALIDATOR ===== */
.soat-validator {
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
}

.soat-validator p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.soat-input-group {
    display: flex;
    gap: 10px;
}

.soat-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
}

.soat-input-group input:focus {
    border-color: #3c98ff;
    outline: none;
}

/* ===== FOOTER ===== */
.stm-footer {
    background: #1c252c;
    color: rgba(255,255,255,.7);
    padding: 50px 0 0;
}

.stm-footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact-item i {
    color: #3c98ff;
    font-size: 16px;
    margin-top: 3px;
    min-width: 18px;
}

.footer-contact-item a {
    color: rgba(255,255,255,.7);
}

.footer-contact-item a:hover {
    color: #3c98ff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 18px;
    transition: all .3s;
}

.footer-social a:hover {
    background: #3c98ff;
    color: #fff;
}

.footer-instagram {
    margin-top: 15px;
}

.footer-instagram iframe {
    max-width: 100%;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
}

.footer-bottom strong {
    color: rgba(255,255,255,.7);
}

/* ===== VIDEO ===== */
.stm_video:hover .play-btn {
    background: #2176d4;
    transform: translate(-50%,-50%) scale(1.1);
}

/* ===== SPACER UTILITY ===== */
.stm_spacer {
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-carousel {
        margin-top: 60px;
    }

    .hero-carousel .carousel-slides {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .stm-header {
        display: none;
    }

    .stm_mobile__header {
        display: block;
    }

    .stm_titlebox {
        margin-top: 50px;
        padding: 50px 0 25px;
    }

    .stm_titlebox__title {
        font-size: 22px;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .hero-carousel .carousel-slides {
        height: 250px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .content-section {
        padding: 35px 0;
    }

    .content-section h2 {
        font-size: 22px;
    }

    .content-section h3 {
        font-size: 18px;
    }

    .about-text {
        text-align: left;
    }

    .about-text p {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-section {
        padding: 35px 0;
    }

    .form-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .tabs-nav {
        flex-direction: column;
        gap: 0;
    }

    .tab-btn {
        text-align: left;
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
        font-size: 13px;
    }

    .tab-btn::after {
        display: none;
    }

    .tab-btn.active {
        background: #f8f9fa;
    }

    .soat-input-group {
        flex-direction: column;
    }

    .partner-item img {
        max-height: 32px;
    }

    .partner-item {
        padding: 8px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 14px;
    }

    .btn_cotiza {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn_cotiza .btn__text small {
        display: none;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .form-group .radio-group {
        flex-direction: column;
        gap: 8px;
    }

    .stm_video {
        height: 240px !important;
    }

    .mis-vis-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .stm-footer {
        padding: 35px 0 0;
    }

    .footer-instagram iframe {
        width: 100% !important;
        max-width: 100%;
    }

    .hero-carousel .carousel-slides {
        height: 200px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .soat-validator h2 {
        font-size: 20px !important;
    }

    .soat-validator p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 20px;
    }

    .stm_titlebox__title {
        font-size: 18px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .stm_video {
        height: 200px !important;
    }
}

/* ===== MOBILE NAV OVERLAY ===== */
.stm-header__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 999;
}

.stm-header__overlay.active {
    display: block;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #293742;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.mobile-nav ul li a:hover {
    color: #3c98ff;
    background: #f8f9fa;
}

.mobile-nav .mobile-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #25D366;
    color: #fff;
    font-weight: 600;
}

.mobile-nav .mobile-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37,211,102,.4);
    z-index: 9999;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(37,211,102,.5);
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 64px;
    background: #fff;
    color: #293742;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 14px;
        right: 14px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}
