:root {
    --color-primary: #003F6E;
    --color-secondary: #0FB6CC;
    --color-dark: #1A1449;
    --color-accent-orange: #FF6710;
    --color-gray-light: #CCCCCC;
    --font-primary: 'Montserrat', sans-serif;
    --bs-primary: var(--color-primary);
    --bs-secondary: var(--color-secondary);
    --bs-link-color: var(--color-primary);
    --bs-link-hover-color: var(--color-secondary);
    --bs-primary-rgb: 0, 63, 110;
    --bs-secondary-rgb: 15, 182, 204;
    --bs-body-font-family: var(--font-primary);
    --bs-body-color: var(--color-dark);
    --bs-body-font-weight: 400;
    --bs-body-bg: #F5F5F7;
}

body {
    font-weight: 400;
    color: var(--color-dark);
    background-color: var(--bs-body-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--color-primary);
}

.font-light {
    font-weight: 300;
}

em, i, .font-italic {
    font-style: italic;
}

.cookie-banner {
    display: none;
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    font-size: 0.9rem;
    margin: 0;
    padding-right: 1rem;
}

.cookie-banner .cookie-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-banner .cookie-link:hover {
    color: #FFFFFF;
}

.cookie-banner #cookie-accept {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 50px;
}

.cookie-banner #cookie-accept:hover {
    background-color: #e65c0e;
    border-color: #e65c0e;
}

.cookie-banner #cookie-reject {
    background-color: transparent;
    border-color: var(--color-gray-light);
    color: var(--color-gray-light);
    font-weight: 500;
    border-radius: 50px;
}

.cookie-banner #cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

@media (max-width: 767.98px) {
    .cookie-banner .container {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .cookie-banner p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}

.main-navbar .navbar-brand img {
    width: 170px !important;
    max-height: 80px !important;
    height: auto;
    object-fit: contain;
}

@media (min-width: 992px) {
    .main-navbar .container {
        width: 80%;
        max-width: 1320px;
    }
}

@media (max-width: 991.98px) {
    .main-navbar .container {
        width: 90%;
    }
}

.main-navbar {
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out, box-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

.main-navbar:not(.navbar-scrolled) .navbar-nav .nav-link,
.main-navbar:not(.navbar-scrolled) .navbar-brand {
    color: #ffffff !important;
}

.main-navbar:not(.navbar-scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.main-navbar:not(.navbar-scrolled) .navbar-toggler {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.main-navbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-navbar.navbar-scrolled .navbar-nav .nav-link,
.main-navbar.navbar-scrolled .navbar-brand {
    color: var(--color-dark) !important;
}

.main-navbar.navbar-scrolled .btn-cta-header {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #fff !important;
}

.main-navbar.navbar-scrolled .btn-cta-header:hover {
    background-color: #0d9aae !important;
    border-color: #0d9aae !important;
}

.main-navbar.navbar-hidden {
    transform: translateY(-100%);
}

main {
    padding-top: 0;
}

body {
    padding-top: 0;
}

.navbar-nav .nav-link.active,
.offcanvas-body .nav-link.active {
    color: var(--color-accent-orange) !important;
    font-weight: 700;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    color: var(--color-accent-orange) !important;
    background-color: transparent !important;
}

.dropdown-menu .dropdown-item.active:hover,
.dropdown-menu .dropdown-item.active:focus {
    color: var(--color-accent-orange) !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.main-navbar:not(.navbar-scrolled) .navbar-nav .nav-link.active {
    color: var(--color-accent-orange) !important;
}

.nav-item.dropdown .nav-link.active {
    color: var(--color-accent-orange) !important;
    font-weight: 700;
}

.offcanvas-body .navbar-nav {
    padding-left: 10px;
}

.offcanvas-body .navbar-nav .nav-link {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.offcanvas-body .dropdown-menu {
    border: none;
    padding-left: 1rem;
}

.btn-cta-header {
    border-radius: 25px;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #fff !important;
}

.btn-cta-header:hover {
    background-color: #0d9aae !important;
    border-color: #0d9aae !important;
}

@media (min-width: 992px) and (max-width: 960.98px) {
    .btn-cta-header .cta-text-full {
        display: none;
    }
}

.navbar-toggler {
    background-color: var(--color-secondary) !important;
    border-radius: 50% !important;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.offcanvas-header .offcanvas-title {
    display: none;
}

.offcanvas-header {
    justify-content: flex-end;
    border-bottom: none !important;
    padding-top: 1rem;
    padding-right: 1rem;
}

#mobileMenuOffcanvas {
    --bs-offcanvas-width: 320px;
}

.offcanvas-body .btn-primary {
    border-radius: 25px !important;
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #fff !important;
}

.offcanvas-body .btn-primary:hover {
    background-color: #0d9aae !important;
    border-color: #0d9aae !important;
}

.footer-light {
    color: var(--color-dark);
    font-size: 0.85rem;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.footer-card-wrapper {
    background-color: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-light .footer-heading {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    margin-bottom: 1rem;
}

.footer-light .footer-subheading {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: none;
    margin-bottom: 0.5rem !important;
}

.footer-light .footer-link {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-light .footer-link:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

.footer-light .footer-description {
    color: #555;
    line-height: 1.6;
    max-width: 350px;
    margin-bottom: 1.5rem !important;
}

.footer-light .footer-contact-info i,
.footer-light a.footer-link i {
    color: var(--color-primary);
    width: 20px;
    margin-right: 0.75rem !important;
    flex-shrink: 0;
    text-align: center;
}

.footer-light .footer-contact-info li {
    display: flex;
    align-items: flex-start;
}

.footer-light .footer-contact-info li span {
    flex-grow: 1;
}

.footer-light .col-lg-3.col-md-6 a.footer-link {
    display: inline-flex;
    align-items: center;
}

.footer-light .footer-social-icon {
    color: var(--color-dark);
    font-size: 1.3rem;
    transition: color 0.2s ease-in-out;
}

.footer-light .footer-social-icon:hover {
    color: var(--color-secondary);
}

.footer-link-cta {
    display: inline-flex;
    align-items: center;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    font-size: 0.85rem;
}

.footer-link-cta i.fa-whatsapp {
    color: var(--color-primary);
    font-size: 1rem;
    margin-right: 0.5rem !important;
    transition: color 0.2s ease-in-out;
}

.footer-link-cta:hover {
    color: var(--color-secondary);
}

.footer-link-cta:hover i.fa-whatsapp {
    color: var(--color-secondary);
}

.footer-light .footer-divider {
    border-color: rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.footer-light .footer-bottom-row {
    font-size: 0.8rem;
    padding-top: 1rem;
}

.footer-light .footer-copyright {
    color: #6c757d;
}

.footer-light .footer-bottom-links a {
    color: #6c757d;
}

.footer-light .footer-bottom-links a:hover {
    color: var(--color-secondary);
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-card-wrapper {
        padding: 2rem 1.5rem;
    }
    .footer-light .col-md-6:not(:first-child) {
        text-align: center;
    }
    .footer-light .col-lg-4.col-md-6 {
        text-align: center;
    }
    .footer-light a[href="index.php"] {
        display: inline-block;
    }
    .footer-light .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-light .footer-social-links {
        text-align: center;
    }
    .footer-light .list-unstyled {
        display: inline-block;
        text-align: left;
        padding-left: 0;
    }
    .footer-light .footer-contact-info li,
    .footer-light .col-lg-3.col-md-6 .footer-link-cta,
    .footer-light .col-lg-3.col-md-6 a.footer-link[href^="mailto:"] {
        justify-content: center;
        display: inline-flex;
        width: auto;
        text-align: left;
    }
    .footer-light .col-lg-3.col-md-6 p {
        text-align: center;
    }
    .footer-copyright,
    .footer-bottom-links {
        text-align: center !important;
    }
    .footer-bottom-links {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-card-wrapper {
        padding: 2rem 1rem;
    }
    .footer-light .col-lg-4,
    .footer-light .col-lg-2,
    .footer-light .col-lg-3,
    .footer-light .footer-heading,
    .footer-light .footer-subheading,
    .footer-light .footer-social-links,
    .footer-light .footer-copyright,
    .footer-light .footer-bottom-links {
        text-align: center !important;
    }
    .footer-light a[href="index.php"] {
        display: inline-block;
        text-align: center;
    }
    .footer-light .footer-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .footer-light .col-lg-2 .list-unstyled {
        text-align: center;
        padding-left: 0;
        display: inline-block;
    }
    .footer-light .col-lg-2 .list-unstyled li {
        text-align: center;
    }
    .footer-light .footer-contact-info {
        padding-left: 0;
        display: inline-block;
        text-align: center;
        width: 100%;
    }
    .footer-light .footer-contact-info li {
        display: block !important;
        text-align: center !important;
        margin-bottom: 0.75rem;
        justify-content: center !important;
        width: auto;
    }
    .footer-light .footer-contact-info li i {
        display: block;
        margin: 0 auto 0.25rem auto;
        width: auto;
    }
    .footer-light .footer-contact-info li span {
        display: block;
        text-align: center;
        width: 100%;
    }
    .footer-light .col-lg-3.col-md-6 .footer-link-cta,
    .footer-light .col-lg-3.col-md-6 a.footer-link[href^="mailto:"] {
        justify-content: center !important;
        display: flex;
        width: 100%;
        text-align: left;
    }
    .footer-light .col-lg-3.col-md-6 p {
        text-align: center !important;
    }
    .footer-light .col-lg-4,
    .footer-light .col-lg-2,
    .footer-light .col-lg-3 {
        margin-bottom: 2rem !important;
    }
    .footer-bottom-row .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    .footer-bottom-links a {
        display: inline-block;
        margin-bottom: 0.25rem;
        margin-right: 1rem !important;
    }
    .footer-bottom-links a:last-child {
        margin-right: 0 !important;
    }
}

.hero-con-video {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-con-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-con-video .container {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 50px;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
}

@media (max-width: 767.98px) {
    .hero-con-video .container {
        padding-top: 80px;
        padding-bottom: 30px;
    }
}

#hero-servicios-page.hero-con-video .container {
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-con-video h1.display-4 {
    font-size: 48px;
    color: #fff;
}

.hero-con-video p.lead {
    font-size: 22px;
    color: #fff;
}

@media (max-width: 767.98px) {
    .hero-con-video h1.display-4 {
        font-size: 32px;
    }
    .hero-con-video p.lead {
        font-size: 19px;
    }
}

.hero-con-video .btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    text-align: center;
    font-size: 0.9rem;
}

.hero-con-video .btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

.hero-con-video .btn-outline-light {
    border-width: 2px;
    border-color: #FFFFFF;
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    text-align: center;
    font-size: 0.9rem;
}

.hero-con-video .btn-outline-light:hover {
    background-color: #FFFFFF;
    color: var(--color-primary);
}

.text-highlight {
    color: var(--color-accent-orange);
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.counter-text {
    font-size: 0.9rem;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
    .counter-number {
        font-size: 2.5rem;
    }
    .counter-text {
        font-size: 0.8rem;
    }
    .row.text-center.mt-5.pt-4.border-top > div {
        margin-bottom: 1.5rem !important;
    }
}

.service-card {
    position: relative;
    border: none;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    border-radius: 0.75rem;
    min-height: 290px;
    transition: transform 0.3s ease-in-out;
}

#service-card-mercancia {
    background-image: url('../img/seguro-mercancia.webp');
}

#service-card-contenedor {
    background-image: url('../img/seguro-contenedores.webp');
}

#service-card-responsabilidad {
    background-image: url('../img/seguro-responsabilidad-civil-logistico.webp');
}

#service-card-ambiental {
    background-image: url('../img/servicio/daño-ambiental.webp');
}

.service-card .card-img-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background-color 0.3s ease-in-out;
}

.service-card .card-title {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.service-card .card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .btn-outline-light {
    border-color: var(--color-accent-orange);
    color: var(--color-accent-orange);
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    max-width: fit-content;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    --bs-btn-color: var(--color-accent-orange);
    --bs-btn-border-color: var(--color-accent-orange);
    --bs-btn-hover-color: #FF8533;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: #FF8533;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--color-accent-orange);
    --bs-btn-active-border-color: var(--color-accent-orange);
    --bs-btn-disabled-color: var(--color-accent-orange);
    --bs-btn-disabled-border-color: var(--color-accent-orange);
}

.service-card:hover {
    transform: scale(1.02);
}

.service-card:hover .card-img-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}

.nosotros-video-section .lead {
    color: var(--color-dark);
}

.btn-nosotros-ver-mas {
    border-radius: 25px !important;
    background-color: var(--color-accent-orange) !important;
    border-color: var(--color-accent-orange) !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 500;
    padding: 0.6rem 1.5rem !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-nosotros-ver-mas:hover {
    background-color: #E65C00 !important;
    border-color: #E65C00 !important;
    color: #fff !important;
}

.btn-nosotros-ver-mas i {
    font-size: 0.8em;
    vertical-align: middle;
}

.logo-carousel-section {
    background-color: transparent;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-carousel-track {
    display: flex;
    width: calc(200px * 10);
    animation: scrollLogos 30s linear infinite;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo-slide {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    box-sizing: content-box;
}

.logo-slide img {
    max-height: 80px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5));
    }
}

.hero-con-imagen {
    width: 100%;
    min-height: 70vh;
    background-image: url('../img/Barco.webp');
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center center;
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-con-imagen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-con-imagen .container {
    position: relative;
    z-index: 2;
}

.hero-con-imagen h1,
.hero-con-imagen p {
    color: #FFFFFF !important;
}

.hero-con-imagen h1 {
    font-size: 3rem;
}

.hero-con-imagen .hero-cta {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.3s;
    color: #fff;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    text-decoration: none;
}

.hero-con-imagen .hero-cta:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

@media (max-width: 992px) {
    .hero-con-imagen {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .hero-con-imagen h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-con-imagen h1 {
        font-size: 2rem;
    }
    .hero-con-imagen .hero-cta {
        font-size: 0.9rem;
        padding: 10px 24px;
    }
}

.accordion-flush {
    padding-top: 1.5rem;
}

.accordion-flush .accordion-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.accordion-flush .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--color-primary);
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.15);
}

#accordionNosotros.accordion-flush .accordion-item:first-child {
    border-top-width: 1px !important;
}

#accordionNosotros.accordion-flush .accordion-item:last-child {
    border-bottom-width: 1px !important;
}

.accordion-flush .accordion-header {
    margin-bottom: 0;
}

.accordion-flush .accordion-button {
    background-color: var(--color-white);
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 500;
    box-shadow: none;
    text-align: left;
    color: var(--color-primary);
    transition: all 0.3s ease-in-out;
}

.accordion-flush .accordion-button:hover {
    background-color: var(--bs-body-bg);
}

.accordion-flush .accordion-button:not(.collapsed) {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem 0.5rem 0 0;
}

.accordion-flush .accordion-button::after {
    filter: invert(62%) sepia(50%) saturate(1217%) hue-rotate(136deg) brightness(91%) contrast(90%);
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.accordion-flush .accordion-button:not(.collapsed)::after {
    filter: brightness(0%) invert(100%);
}

.accordion-flush .accordion-body {
    background-color: var(--color-white);
    padding: 1.5rem;
    color: var(--bs-body-color);
    border-radius: 0 0 0.5rem 0.5rem;
}

.accordion-flush .accordion-body p {
    margin-bottom: 0.5rem;
}

#sociosTab {
    border-bottom: none;
}

.socio-logo-tab {
    background-color: transparent;
    border: 2px solid transparent;
    padding: 1.5rem 1rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.socio-logo-tab img {
    max-width: 100%;
    max-height: 70px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.socio-logo-tab.active {
    background-color: var(--color-white);
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.1);
    transform: scale(1.05);
    border-color: var(--color-accent-orange) !important;
    border-width: 2px;
    border-style: solid;
    border-bottom-color: var(--color-accent-orange) !important;
}

.socio-logo-tab:not(.active):hover {
    transform: scale(1.05);
}

.tab-content .tab-pane p.lead {
    font-weight: 500;
    margin-bottom: 1rem;
}

.tab-content .tab-pane {
    transition: opacity .3s linear;
}

.diferenciador-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease-in-out, border-color 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.diferenciador-card .card-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.diferenciador-card .card-icon {
    margin-bottom: 1.5rem;
}

.diferenciador-card .card-icon img {
    max-height: 48px;
    width: auto;
}

.diferenciador-card .card-title {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    min-height: 3.5em;
    flex-grow: 1;
}

.diferenciador-card .card-text {
    display: none;
}

.diferenciador-card .card-cta {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-orange);
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: color 0.3s ease;
}

.diferenciador-card .card-cta:hover {
    color: var(--color-primary);
}

.diferenciador-card .card-details {
    display: none;
    padding: 0;
    background-color: transparent;
    color: #FFFFFF;
    text-align: left;
    font-size: 0.9rem;
    height: auto;
    overflow-y: hidden;
}

.diferenciador-card .card-details h5 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.diferenciador-card .card-details .cobertura-lista-simple-card {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
}

.diferenciador-card .card-details .cobertura-lista-simple-card li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.diferenciador-card .card-details .cobertura-icon {
    color: var(--color-accent-orange);
    margin-right: 0.75rem;
    margin-top: 0.15em;
    font-size: 0.9em;
}

.diferenciador-card.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.15);
}

.diferenciador-card.active .card-visible {
    display: none;
}

.diferenciador-card.active .card-details {
    display: block;
}

.text-orange {
    color: var(--color-accent-orange);
}

.capacitacion-icon-box {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background-color: var(--color-white);
}

.capacitacion-icon-box {
    background-color: var(--color-accent-orange);
}

#sloganCarousel .carousel-item {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sloganCarousel .slogan-image {
    max-height: 100px;
    width: auto;
}

.gallery-ticker-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.galeria-swiper {
    width: 100%;
    height: 200px;
}

.galeria-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.galeria-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
}

.galeria-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-servicio {
    width: 100%;
    min-height: 70vh;
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center center;
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-mercancia {
    background-image: url('../img/servicio/seguro-mercancia-hero.webp');
}

.hero-rc {
    background-image: url('../img/servicio/seguro-responsabilidad-civil.webp');
}

.hero-servicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-servicio .container {
    position: relative;
    z-index: 2;
}

.hero-servicio h1,
.hero-servicio p {
    color: #FFFFFF;
}

.hero-servicio h1 {
    font-size: 3rem;
}

@media (max-width: 992px) {
    .hero-servicio {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .hero-servicio h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-servicio h1 {
        font-size: 2rem;
    }
    .hero-servicio .d-flex.gap-3 {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-servicio .btn-outline-light {
        width: auto;
        display: inline-block;
    }
}

.icon-link-box {
    display: block;
    padding: 2rem 1.5rem;
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-gray-light);
    border-radius: 0.5rem;
    background-color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.icon-link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.1);
    border-color: var(--color-accent-orange);
}

.icon-link-box .icon i {
    transition: transform 0.3s ease;
}

.icon-link-box:hover .icon i {
    transform: scale(1.1);
}

.icon-link-box h5 {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.icon-link-box:hover h5 {
    color: var(--color-primary);
}

.icon-link-box p.small {
    color: var(--color-accent-orange) !important;
    transition: color 0.3s ease;
}

.cobertura-lista-simple {
    list-style: none;
    padding-left: 0;
}

.cobertura-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cobertura-icon {
    color: var(--color-accent-orange);
    margin-right: 0.75rem;
    margin-top: 0.15em;
    font-size: 0.9em;
}

#coberturasCarousel .carousel-inner {
    min-height: 650px;
}

.carousel-controls-bottom .btn {
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent-orange);
    color: var(--color-accent-orange);
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.carousel-controls-bottom .btn:hover,
.carousel-controls-bottom .btn:active {
    background-color: var(--color-accent-orange);
    color: #FFFFFF;
    box-shadow: none;
}

.carousel-controls-bottom .btn:focus {
    box-shadow: none;
}

.todo-riesgo-list {
    column-count: 2;
    column-gap: 2rem;
}

.cobertura-item {
    break-inside: avoid-column;
}

@media (max-width: 768px) {
    .todo-riesgo-list {
        column-count: 1;
    }
}

#coberturasCarousel .carousel-item.active.carousel-item-start,
#coberturasCarousel .carousel-item.active.carousel-item-end {
    display: block;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    transition: opacity 0.6s ease-out;
}

#coberturasCarousel .carousel-item-next.carousel-item-start,
#coberturasCarousel .carousel-item-prev.carousel-item-end {
    position: relative;
    z-index: 1;
}

#coberturasCarousel .carousel-item {
    min-height: 400px;
    padding-bottom: 40px;
}

#coberturasCarousel .carousel-inner {
    position: relative;
}

#coberturasCarousel .carousel-item {
    transition: opacity 1s ease-in-out;
}

#hero-servicio .btn-primary,
#cta-seguro .btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    text-align: center;
    font-size: 0.9rem;
}

#hero-servicio .btn-primary:hover,
#cta-seguro .btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

#hero-servicio .btn-outline-light {
    border-width: 2px;
    border-color: #FFFFFF;
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    text-align: center;
    font-size: 0.9rem;
}

#hero-servicio .btn-outline-light:hover {
    background-color: #FFFFFF;
    color: var(--color-primary);
}

#cta-seguro .cta-final-image-bg {
    position: relative;
    background: url('../img/cotizacion.webp') center center no-repeat;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
}

#cta-seguro .cta-final-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    border-radius: inherit;
}

#cta-seguro .cta-final-image-bg h2,
#cta-seguro .cta-final-image-bg p,
#cta-seguro .cta-final-image-bg a {
    position: relative;
    z-index: 1;
}

#cta-seguro .cta-final-image-bg h2 {
    color: #FFFFFF !important;
}

#cta-seguro .cta-final-image-bg p {
    color: #FFFFFF !important;
}

#cta-seguro .btn-primary {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    text-align: center;
    font-size: 0.9rem;
}

#cta-seguro .btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

#coberturas-slider {
    background-color: var(--bs-body-bg);
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.cobertura-slide-card {
    background-color: transparent !important;
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cobertura-card-riesgo,
.cobertura-card-convenio,
.cobertura-card-viaje {
    border: 2px solid var(--color-accent-orange);
}

.cobertura-card-costos-rca {
    border: 2px solid var(--color-secondary);
    background: url('../img/servicio/rc-ambiental-fabrica.webp') center center / cover no-repeat;
}

.cobertura-card-costos-rca::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    z-index: 0;
}

.cobertura-card-costos-rca h5 {
    position: relative;
    z-index: 1;
    color: var(--color-primary) !important;
}

.cobertura-card-costos-rca .cobertura-item span {
    position: relative;
    z-index: 1;
    color: var(--color-dark) !important;
}

.cobertura-card-costos-rca .cobertura-icon {
    position: relative;
    z-index: 1;
}

.cobertura-slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: inherit;
    z-index: 0;
}

.cobertura-card-riesgo {
    background: url('../img/servicio/todo-riesgo.webp') center center / cover no-repeat;
}

.cobertura-card-convenio {
    background: url('../img/servicio/bajo-convenio.webp') center center / cover no-repeat;
}

.cobertura-card-viaje {
    background: url('../img/servicio/continuacion-viaje.webp') center center / cover no-repeat;
}

.cobertura-slide-card h2,
.cobertura-slide-card ul {
    position: relative;
    z-index: 1;
}

.cobertura-lista-simple {
    list-style: none;
    padding-left: 0;
}

.cobertura-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-dark);
}

.cobertura-icon {
    color: var(--color-accent-orange);
    margin-right: 0.75rem;
    margin-top: 0.15em;
    font-size: 0.9em;
}

.todo-riesgo-list {
    column-count: 2;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .todo-riesgo-list {
        column-count: 1;
    }
}

#coberturasCarousel .carousel-item {
    min-height: auto;
    padding-bottom: 40px;
}

.cobertura-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--color-primary);
}

.cobertura-icon {
    color: var(--color-accent-orange);
    margin-right: 0.75rem;
    margin-top: 0.15em;
    font-size: 0.9em;
}

.hero-rca {
    background-image: url('../img/servicio/seguro-responsabilidad-civil-ambiental.webp');
}

.hero-rc {
    background-image: url('../img/servicio/seguro-responsabilidad-civil.webp');
}

.cobertura-card-costos-rca {
    background: url('../img/servicio/contaminacion.webp') center center / cover no-repeat;
}

.hero-contenedor {
    background-image: url('../img/servicio/contenedor.webp');
}

.coverage-tabs {
    border-bottom: none;
    margin-bottom: 1rem;
}

.coverage-tabs .nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-gray-light);
    background-color: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.coverage-tabs .nav-link:not(.active):hover {
    color: var(--color-dark);
}

.coverage-tabs .nav-link.active {
    color: #FFFFFF;
    background-color: var(--color-secondary);
    box-shadow: 0 4px 10px rgba(var(--bs-secondary-rgb), 0.3);
}

.coverage-tab-content {
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 2px solid var(--color-secondary);
    margin-top: 1rem;
}

.coverage-tab-content .cobertura-lista-simple-rc {
    margin-top: 0 !important;
}

.tipo-contenedor-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
}

.tipo-contenedor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(var(--bs-primary-rgb), 0.2);
    border-color: var(--color-primary);
}

.tipo-contenedor-card img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-height: 150px;
    object-fit: contain;
}

.tipo-contenedor-card h5 {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--color-dark);
}

.alert-info {
    background-color: rgba(var(--bs-secondary-rgb), 0.1) !important;
    border-left: 5px solid var(--color-secondary) !important;
    border-radius: 0.5rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05) !important;
    color: var(--color-dark) !important;
    border-color: transparent !important;
}

.alert-info .fas {
    color: var(--color-secondary) !important;
    font-size: 2.25rem !important;
}

.coberturas-slider .carousel-inner {
    min-height: 480px;
}

.cobertura-slide-card {
    background-color: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--color-accent-orange);
    border-radius: 1rem;
    padding: 3.5rem 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

.cobertura-slide-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1;
}

.cobertura-slide-card > * {
    position: relative;
    z-index: 2;
}

.cobertura-slide-card h2,
.cobertura-slide-card h5 {
    color: var(--color-primary);
}

.cobertura-lista-simple {
    padding-left: 0;
}

.cobertura-lista-simple.text-center li {
    justify-content: center;
}

.slide-contenedor-riesgo {
    background: url('../img/servicio/contenedores-rojos.webp') center center / cover no-repeat;
}

.slide-contenedor-tipos {
    background: url('../img/servicio/contenedores-apilados.webp') center center / cover no-repeat;
}

.cobertura-item .cobertura-icon {
    color: var(--color-accent-orange);
}

@media (max-width: 767.98px) {
    .cobertura-slide-card {
        padding: 2.5rem 1rem;
        min-height: auto;
    }
    .cobertura-slide-card h2 {
        font-size: 1.8rem;
    }
    .cobertura-slide-card h5 {
        font-size: 1.2rem;
    }
}

.coverage-tabs .nav-link#platino-tab.active {
    background-color: var(--color-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 10px var(--color-primary);
}

#lista-servicios .service-card {
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lista-servicios .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

#lista-servicios .service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 0.75rem;
    z-index: 1;
}

#lista-servicios .service-card > * {
    position: relative;
    z-index: 2;
}

#lista-servicios .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
}

#lista-servicios .service-card:hover::before {
    transform: scale(1.05);
}

#lista-servicios .service-card .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

#lista-servicios .service-card .btn-outline-light:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

#lista-servicios .service-mercancia::before {
    background-image: url('../img/servicio/seguro-mercancia-hero.webp');
}

#lista-servicios .service-contenedor::before {
    background-image: url('../img/servicio/contenedor.webp');
}

#lista-servicios .service-rc::before {
    background-image: url('../img/servicio/seguro-responsabilidad-civil.webp');
}

#lista-servicios .service-rca::before {
    background-image: url('../img/servicio/daño-ambiental.webp');
}

.hero-contacto {
    background-image: url('../img/contacto.webp');
}

.hero-cotizar {
    background-image: url('../img/cotizar.webp');
}

.service-selector-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-selector-group .btn-outline-primary {
    border-color: var(--color-gray-light);
    color: var(--color-dark);
    border-radius: 50px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.service-selector-group .btn-outline-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white;
}

.service-selector-group .btn-check:checked + .btn-outline-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.service-selector-group .btn-check:focus + .btn-outline-primary,
.service-selector-group .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem var(--color-primary);
    border-color: var(--color-primary);
}

.contact-form-modern .form-control {
    background-color: #FFFFFF;
    border: 1px solid var(--color-gray-light);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form-modern .form-label {
    font-weight: 500;
    color: var(--color-dark);
}

#formulario-contacto .contact-form-modern .btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    font-size: 1.4rem;
    width: 100%;
}

#formulario-contacto .contact-form-modern .btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

#ubicaciones .ubicacion-card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid var(--color-gray-light);
    transition: all 0.3s ease;
}

#ubicaciones .ubicacion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.1);
    border-color: var(--color-primary);
}

#ubicaciones .ubicacion-card h5 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

#ubicaciones .ubicacion-card p.small {
    color: var(--color-dark);
    margin-bottom: 0;
    line-height: 1.6;
}

#ubicaciones .ubicacion-pais {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

#ubicaciones .ubicacion-pais img {
    width: 20px;
    height: auto;
    margin-right: 0.5rem;
    border-radius: 2px;
}

#ubicaciones .ubicacion-pais span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
}

.page-header {
    padding: 140px 0 60px 0;
    min-height: 40vh;
    background-color: var(--color-primary);
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
}

.page-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.page-content ul {
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.75rem;
}

.selector-titulo {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    display: block;
    margin-bottom: 0.75rem;
}

.service-selector-group .btn-outline-primary {
    border-color: var(--color-gray-light);
    color: var(--color-dark);
    border-radius: 50px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.service-selector-group .btn-outline-primary:hover {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: white;
}

.service-selector-group .btn-check:checked + .btn-outline-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.service-selector-group .btn-check:focus + .btn-outline-primary,
.service-selector-group .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 103, 16, 0.5);
    border-color: var(--color-accent-orange);
}

.contact-form-modern .form-control {
    background-color: #FFFFFF;
    border: 1px solid var(--color-gray-light);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form-modern .form-label {
    font-weight: 500;
    color: var(--color-dark);
}

#formulario-cotizar .contact-form-modern .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

#formulario-cotizar .contact-form-modern .btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.cotizar-form {
    display: none;
    background-color: #FFFFFF;
    border: 1px solid var(--color-gray-light);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cotizar-form.active {
    display: block;
}

.hero-blog {
    background-image: url('../img/blog.webp');
}

#blog-list .card .btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#blog-list .card .btn-primary:hover {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.btn-volver-blog {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #FFFFFF !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-volver-blog:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-404 {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #FFFFFF !important;
    font-weight: 600;
    border-radius: 50px !important;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-404:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float,
.siniestro-float {
    position: fixed;
    right: 30px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.whatsapp-float:hover,
.siniestro-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float {
    background-color: #25D366;
    bottom: 30px;
}

.siniestro-float {
    background-color: #FF6710;
    bottom: 110px;
}

.whatsapp-float img,
.siniestro-float img {
    width: 56px;
    height: 56px;
}

.whatsapp-float .fab,
.siniestro-float .fas {
    display: none;
}

.whatsapp-float:active,
.whatsapp-float:visited,
.whatsapp-float:focus {
    background-color: #25D366 !important;
    outline: none !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.siniestro-float:active,
.siniestro-float:visited,
.siniestro-float:focus {
    background-color: #FF6710 !important;
    outline: none !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 767.98px) {
    #hero-servicios-page .container {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

#ubicaciones .ubicacion-card p.small a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

#ubicaciones .ubicacion-card p.small a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .page-header h1 {
        font-size: 2rem !important;
    }
    .page-header p.lead {
        font-size: 1.1rem !important;
    }
}

#coberturasCarousel .carousel-indicators {
    bottom: auto;
    top: -20px;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

#coberturasCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--color-gray-light);
    opacity: 1;
    height: 4px;
    width: 30px;
    margin: 0 5px;
    transition: background-color 0.3s ease;
    border-top: 0;
    border-bottom: 0;
}

#coberturasCarousel .carousel-indicators .active {
    background-color: var(--color-accent-orange);
}

.ubicacion-card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid var(--color-gray-light);
    transition: all 0.3s ease;
    width: 100%;
}

.ubicacion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.1);
    border-color: var(--color-primary);
}

.ubicacion-card h5 {
    color: var(--color-primary);
    text-align: left;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.directorio-lista {
    padding-top: 0.5rem;
    text-align: left;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.directorio-lista li {
    margin-bottom: 0.8rem;
}

.directorio-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.directorio-link:hover {
    color: var(--color-secondary);
}

.directorio-link i {
    color: var(--color-secondary);
    font-size: 1.15rem;
    width: 30px;
    margin-right: 0.75rem;
    text-align: center;
    transition: color 0.3s ease;
}

.directorio-link:hover i {
    color: var(--color-primary);
}

.ubicacion-pais {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.ubicacion-pais img {
    width: 20px;
    height: auto;
    margin-right: 0.5rem;
    border-radius: 2px;
}

.ubicacion-pais span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
}

.ubicacion-card p.small {
    color: var(--color-dark);
    margin-bottom: 0;
    line-height: 1.6;
    text-align: left;
}

.ubicacion-card p.small a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.ubicacion-card p.small a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

#formulario-contacto,
#directorio,
#ubicaciones {
    scroll-margin-top: 80px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .service-card .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem;
    }
    .service-card .card-text {
        font-size: 0.8rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    .service-card .btn-outline-light {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
    }
}