:root {
    --primary-color: #2d2727;
    --primary-soft: #f4efea;
    --text-color: #221d1d;
    --muted-color: #6c6767;
    --border-color: rgba(45, 39, 39, 0.12);
}

body {
    font-family: 'Arimo', sans-serif;
    color: var(--text-color);
    background: #fcfaf8;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: #171313;
}

.navbar-brand,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.site-logo {
    display: block;
    width: auto;
    height: 44px;
    max-width: 220px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .site-logo {
        height: 36px;
        max-width: 180px;
    }
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: #171313;
    --bs-btn-hover-border-color: #171313;
    --bs-btn-active-bg: #171313;
    --bs-btn-active-border-color: #171313;
}

.eyebrow {
    display: inline-block;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-slide {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.hero-content {
    max-width: 640px;
    padding: 6rem 0;
}

.hero-content h1,
.hero-content .lead,
.hero-content .eyebrow {
    color: #fff;
}

.hero-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
}

.hero-section .swiper-pagination-bullet-active {
    background: #fff;
}

.page-hero {
    background:
        radial-gradient(circle at top right, rgba(45, 39, 39, 0.08), transparent 35%),
        linear-gradient(180deg, #fff, #f8f4f0);
}

.section-heading {
    max-width: 700px;
}

.home-banner-frame {
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 3rem;
    border-radius: 2rem;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.home-banner-content {
    max-width: 520px;
}

.home-banner .eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.service-groups {
    display: grid;
    gap: 4rem;
}

.service-group-image {
    padding: 0.5rem;
    background: linear-gradient(180deg, #fff, #f3ebe4);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    box-shadow: 0 24px 60px rgba(45, 39, 39, 0.08);
    overflow: hidden;
}

.service-group-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 1.5rem;
}

.service-group-copy {
    max-width: 640px;
}

.service-card {
    position: relative;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 39, 39, 0.28);
}

.service-index {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted-color);
}

.feature-list .list-group-item {
    border-color: var(--border-color);
    background: transparent;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.image-frame {
    padding: 1rem;
    background: linear-gradient(180deg, #fff, #f3ebe4);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
}

.embed-frame {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    min-height: 520px;
}

.embed-frame iframe {
    display: block;
    width: 100%;
    min-height: 520px;
}

.gallery-frame {
    padding: 1rem;
    background: linear-gradient(180deg, #fff, #f3ebe4);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
}

.gallery-main {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
}

.gallery-main img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumbnail:hover {
    opacity: 0.9;
    border-color: var(--primary-color);
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-soft);
}

.gallery-main-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.gallery-main-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.gallery-main-swiper .swiper-slide {
    width: 100%;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.gallery-main-swiper .swiper-slide img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.gallery-main-swiper .swiper-button-next,
.gallery-main-swiper .swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #fff !important;
    background: rgba(45, 39, 39, 0.45) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(4px);
    z-index: 30 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    margin-top: 0 !important;
}

.gallery-main-swiper .swiper-button-next {
    right: 20px !important;
}

.gallery-main-swiper .swiper-button-prev {
    left: 20px !important;
}

.gallery-main-swiper .swiper-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.gallery-main-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.gallery-main-swiper .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.gallery-main-swiper .swiper-button-next::after,
.gallery-main-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 991.98px) {
    .gallery-main-swiper .swiper-slide img {
        height: 300px;
    }
}

.contact-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
}

.form-control {
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    border-color: rgba(45, 39, 39, 0.18);
}

.form-control:focus {
    border-color: rgba(45, 39, 39, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(45, 39, 39, 0.08);
}

.site-footer {
    color: #f6eee7;
    background-color: #201919;
    background-image:
        linear-gradient(180deg, rgba(22, 17, 17, 0.72), rgba(34, 27, 27, 0.78)),
        url('/assets/bg-footer-blindado.avif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, top left;
}

.site-footer .eyebrow,
.site-footer h2,
.site-footer h3 {
    color: #fff4eb;
}

.footer-muted,
.footer-bottom {
    color: rgba(246, 238, 231, 0.78);
}

.footer-list li + li {
    margin-top: 0.8rem;
}

.footer-list,
.footer-list li {
    color: rgba(246, 238, 231, 0.86);
}

.footer-list a {
    text-decoration: none;
    color: #fff4eb;
}

.footer-list a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 244, 235, 0.22);
    border-radius: 50%;
    color: #fff4eb;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-link svg {
    width: 1.1rem;
    height: 1.1rem;
}

.social-link:hover {
    color: #201919;
    background-color: #fff4eb;
    border-color: #fff4eb;
}

.footer-bottom {
    border-color: rgba(255, 244, 235, 0.18) !important;
}

@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 64vh;
    }

    .hero-content {
        padding: 4rem 0;
    }

    .home-banner-frame {
        min-height: 220px;
        padding: 2rem;
    }

    .service-groups {
        gap: 3rem;
    }

    .service-group-image {
        padding: 0.35rem;
    }

    .service-group-image img {
        min-height: 320px;
    }
}

.custom-carousel {
    width: 100%;
    overflow: hidden;
}

.custom-carousel .swiper-slide {
    height: auto;
    display: flex;
}

.custom-carousel .service-card {
    width: 100%;
}

.custom-carousel .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Address Cards & Links */
.link-hover-primary {
    transition: color 0.2s ease-in-out;
}

.link-hover-primary:hover {
    color: var(--primary-color) !important;
}

.link-hover-primary:hover svg {
    transform: translate(1px, -1px);
    transition: transform 0.2s ease-in-out;
}

.address-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}
