/* ==========================================================================
   Base
   ========================================================================== */
:root {
    --primary: #8b1e24;
    --primary-dark: #68161b;
    --secondary: #1f1f1f;
    --dark: #151515;
    --charcoal: #242424;
    --light: #f6f6f6;
    --white: #ffffff;
    --gray: #6c757d;
    --line: rgba(31, 31, 31, 0.12);
    --green-accent: #22910d;
    --font-heading: "Manrope", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--secondary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

body::selection {
    background: var(--primary);
    color: var(--white);
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}

p {
    color: #555;
}

.section-padding {
    padding: 108px 0;
}

.section-kicker,
.eyebrow {
    color: var(--primary);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.section-heading {
    margin: 0 auto 46px;
    max-width: 760px;
    text-align: center;
}

.section-heading h2,
.intro-section h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading p {
    font-size: 1.05rem;
    margin: 16px auto 0;
    max-width: 660px;
}

.btn {
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary-custom {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-light-custom {
    border: 1px solid rgba(255, 255, 255, 0.68);
    color: var(--white);
}

.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus-visible {
    background: var(--white);
    color: var(--dark);
}

.btn-outline-dark-custom {
    border: 1px solid rgba(31, 31, 31, 0.25);
    color: var(--dark);
}

.btn-outline-dark-custom:hover,
.btn-outline-dark-custom:focus-visible {
    background: var(--dark);
    color: var(--white);
}

.text-link {
    color: var(--primary);
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--primary-dark);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-navbar {
    background: rgba(21, 21, 21, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0;
    transition: background-color 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-navbar.is-scrolled,
.site-navbar:has(.navbar-collapse.show) {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

.navbar-brand {
    align-items: center;
    color: var(--white);
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    gap: 12px;
}

.navbar-brand img {
    background: var(--white);
    border-radius: 6px;
    object-fit: cover;
}

.site-navbar.is-scrolled .navbar-brand,
.site-navbar:has(.navbar-collapse.show) .navbar-brand {
    color: var(--dark);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 14px;
    position: relative;
}

.site-navbar.is-scrolled .nav-link,
.site-navbar:has(.navbar-collapse.show) .nav-link {
    color: var(--secondary);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
    color: var(--white);
}

.site-navbar.is-scrolled .nav-link.active,
.site-navbar.is-scrolled .nav-link:hover,
.site-navbar.is-scrolled .nav-link:focus-visible,
.site-navbar:has(.navbar-collapse.show) .nav-link.active,
.site-navbar:has(.navbar-collapse.show) .nav-link:hover,
.site-navbar:has(.navbar-collapse.show) .nav-link:focus-visible {
    color: var(--primary);
}

.dropdown-menu {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
    padding: 10px;
}

.dropdown-item {
    border-radius: 4px;
    font-weight: 700;
    padding: 10px 14px;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus-visible {
    background: rgba(139, 30, 36, 0.09);
    color: var(--primary);
}

.language-switcher {
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 800;
    gap: 9px;
}

.site-navbar.is-scrolled .language-switcher,
.site-navbar:has(.navbar-collapse.show) .language-switcher {
    color: var(--gray);
}

.language-switcher a.active,
.language-switcher a:hover,
.language-switcher a:focus-visible {
    color: var(--primary);
}

.navbar-toggler {
    background: var(--white);
    border: 0;
    border-radius: 4px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section,
.page-hero,
.cta-section {
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-section {
    align-items: center;
    display: flex;
    min-height: 100svh;
    overflow: hidden;
    padding: 120px 0 86px;
}

.hero-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
    transform: scale(1.03);
    z-index: -2;
}

.hero-section::before,
.page-hero::before,
.cta-section::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48) 55%, rgba(0, 0, 0, 0.2));
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.hero-content {
    max-width: 920px;
    position: relative;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.55rem, 7vw, 5.8rem);
    max-width: 950px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.22rem);
    margin: 24px 0 0;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.page-hero {
    align-items: end;
    display: flex;
    min-height: 520px;
    padding: 160px 0 88px;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    max-width: 780px;
}

.page-hero .eyebrow,
.hero-section .eyebrow {
    color: #f1d9da;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.intro-section {
    background: var(--white);
}

.intro-section p,
.split-copy p,
.contact-section p {
    font-size: 1.05rem;
}

.image-panel {
    border-radius: 8px;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.image-panel::after {
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    content: "";
    inset: 16px;
    pointer-events: none;
    position: absolute;
}

.image-panel img {
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    width: 100%;
}

.image-panel-wide img {
    max-height: 560px;
}

.business-section,
.light-section {
    background: var(--light);
}

.business-card {
    background: var(--dark);
    border-radius: 8px;
    color: var(--white);
    height: 100%;
    min-height: 540px;
    overflow: hidden;
    position: relative;
}

.business-card img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform 500ms ease;
    width: 100%;
}

.business-card::before {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.1), rgba(21, 21, 21, 0.88));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.business-card:hover img {
    transform: scale(1.06);
}

.business-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
    min-height: 540px;
    padding: 34px;
    position: relative;
    z-index: 2;
}

.business-card-body > span {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
}

.business-card-body > i {
    color: #f0d3d5;
    font-size: 2.3rem;
    margin: 18px 0;
}

.business-card h3 {
    color: var(--white);
    font-size: 1.55rem;
}

.business-card p {
    color: rgba(255, 255, 255, 0.78);
    min-height: 110px;
}

.business-card a {
    align-items: center;
    color: var(--white);
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
}

.why-section {
    background: var(--white);
}

.value-item {
    border-top: 2px solid var(--primary);
    min-height: 240px;
    padding: 26px 10px 0 0;
}

.value-item i {
    color: var(--primary);
    font-size: 2rem;
}

.value-item h3 {
    font-size: 1.25rem;
    margin-top: 24px;
}

.dark-section {
    background: var(--dark);
    color: var(--white);
}

.dark-section h2,
.dark-section h3 {
    color: var(--white);
}

.dark-section p,
.dark-section li {
    color: rgba(255, 255, 255, 0.78);
}

.mission-title {
    font-size: 1.35rem;
    margin-bottom: 24px;
}

.mission-list {
    counter-reset: mission;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mission-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0 18px 56px;
    position: relative;
}

.mission-list li::before {
    color: #f0d3d5;
    content: counter(mission, decimal-leading-zero);
    counter-increment: mission;
    font-family: var(--font-heading);
    font-weight: 800;
    left: 0;
    position: absolute;
}

.company-info-panel,
.contact-info-panel,
.map-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 100%;
    padding: 32px;
}

.company-info-panel {
    background: var(--light);
}

.company-info-panel h2,
.contact-info-panel h2,
.map-panel h2 {
    font-size: 1.45rem;
    margin-bottom: 24px;
}

.company-info-panel dl {
    margin: 0;
}

.company-info-panel div {
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
}

.company-info-panel dt {
    color: var(--gray);
}

.company-info-panel dd {
    font-weight: 800;
    margin: 0;
}

.values-grid,
.tag-grid,
.category-grid {
    display: grid;
    gap: 16px;
}

.values-grid {
    grid-template-columns: repeat(5, 1fr);
}

.value-pill {
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 132px;
    padding: 22px;
}

.value-pill span {
    color: var(--primary);
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 18px;
}

.value-pill strong {
    display: block;
    font-family: var(--font-heading);
}

.tag-grid {
    grid-template-columns: repeat(4, 1fr);
}

.tag-grid span,
.category-grid div {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex;
    font-weight: 800;
    gap: 10px;
    min-height: 68px;
    padding: 16px 18px;
}

.tag-grid i,
.category-grid i {
    color: var(--primary);
}

.process-flow {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, 1fr);
}

.process-step {
    background: var(--dark);
    border-radius: 8px;
    color: var(--white);
    min-height: 150px;
    padding: 24px;
    position: relative;
}

.process-step:not(:last-child)::after {
    background: var(--primary);
    content: "";
    height: 2px;
    position: absolute;
    right: -14px;
    top: 50%;
    width: 14px;
}

.process-step i {
    color: #f0d3d5;
    font-size: 1.8rem;
}

.process-step span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 20px;
}

.split-row {
    align-items: center;
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    margin-bottom: 86px;
}

.split-row-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-row-reverse .split-image {
    order: 2;
}

.split-image {
    border-radius: 8px;
    max-height: 620px;
    overflow: hidden;
}

.split-image img {
    height: 100%;
    max-height: 620px;
    object-fit: cover;
    width: 100%;
}

.split-copy h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.service-list {
    display: grid;
    gap: 18px;
}

.service-list div {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

.service-list i {
    color: var(--primary);
    font-size: 1.4rem;
}

.service-list h3 {
    font-size: 1.16rem;
    margin: 8px 0 6px;
}

.category-grid {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.gallery-strip img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cta-section {
    background-attachment: fixed;
    min-height: 430px;
    padding: 108px 0;
    text-align: center;
    z-index: 1;
}

.cta-section .container {
    max-width: 760px;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(2.1rem, 5vw, 4rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
    background: var(--light);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.contact-info-item {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 16px;
    padding: 20px 0;
}

.contact-info-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-info-item .whatsapp-icon {
    color: #25d366;
}

.contact-info-item span {
    color: var(--gray);
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-info-item strong,
.contact-info-item a,
.contact-info-item address {
    color: var(--dark);
    display: block;
    font-weight: 800;
    margin: 4px 0 0;
}

.map-panel iframe {
    border: 0;
    border-radius: 8px;
    min-height: 430px;
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #101010;
    color: rgba(255, 255, 255, 0.78);
    padding: 70px 0 28px;
}

.footer-brand {
    align-items: center;
    color: var(--white);
    display: inline-flex;
    font-family: var(--font-heading);
    font-weight: 800;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand img {
    background: var(--white);
    border-radius: 6px;
    object-fit: cover;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 18px;
}

.site-footer p,
.site-footer address {
    color: rgba(255, 255, 255, 0.68);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #f0d3d5;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 52px;
    padding-top: 24px;
}

.back-to-top {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--white);
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    padding: 0;
}

/* ==========================================================================
   Animation
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .site-navbar {
        background: rgba(255, 255, 255, 0.98);
    }

    .navbar-brand,
    .navbar-nav .nav-link,
    .language-switcher {
        color: var(--dark);
    }

    .navbar-collapse {
        padding-top: 18px;
    }

    .language-switcher {
        padding: 12px 0 4px;
    }

    .section-padding {
        padding: 76px 0;
    }

    .hero-section {
        min-height: 92svh;
        padding-top: 110px;
    }

    .hero-bg,
    .cta-section {
        background-attachment: scroll;
    }

    .image-panel,
    .image-panel img {
        min-height: 420px;
    }

    .values-grid,
    .tag-grid,
    .process-flow,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .split-row,
    .split-row-reverse {
        gap: 34px;
        grid-template-columns: 1fr;
        margin-bottom: 64px;
    }

    .split-row-reverse .split-image {
        order: 0;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand span {
        font-size: 0.9rem;
        max-width: 210px;
    }

    .hero-actions,
    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .page-hero {
        min-height: 430px;
        padding: 132px 0 58px;
    }

    .section-heading {
        text-align: left;
    }

    .values-grid,
    .tag-grid,
    .process-flow,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .business-card,
    .business-card-body {
        min-height: 480px;
    }

    .business-card-body {
        padding: 26px;
    }

    .business-card p {
        min-height: 0;
    }

    .company-info-panel,
    .contact-info-panel,
    .map-panel {
        padding: 24px;
    }

    .map-panel iframe {
        min-height: 340px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-bg,
    .cta-section {
        background-attachment: scroll;
    }
}
