:root {
    --sapphire: #305070;
    --royal-blue: #112250;
    --quicksand: #E0C58F;
    --swan-wing: #F5F0E9;
    --shellstone: #CBC2B2;
    --ink: #2B2B2B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--swan-wing);
    color: var(--ink);
}

h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Cinzel', serif;
    color: var(--royal-blue);
    letter-spacing: .03em;
}

a {
    text-decoration: none;
}

.section-space {
    padding: 90px 0;
}

.navbar {
    background: rgba(245, 240, 233, 0.96) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(17, 34, 80, 0.08);
}

.navbar-brand {
    color: var(--royal-blue) !important;
    font-weight: 600;
    font-size: 1rem;
}

.navbar .nav-link {
    color: var(--royal-blue) !important;
    font-weight: 500;
    position: relative;
    margin-left: .5rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--sapphire) !important;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: .15rem;
    height: 2px;
    background: var(--quicksand);
    transform: scaleX(0);
    transform-origin: left;
    transition: .25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.btn-main {
    background-color: var(--sapphire);
    border: 1px solid var(--sapphire);
    color: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(17, 34, 80, 0.12);
    transition: .25s ease;
}

.btn-main:hover {
    background-color: var(--royal-blue);
    border-color: var(--royal-blue);
    color: #fff;
}

.btn-outline-brand {
    border: 1px solid var(--royal-blue);
    color: var(--royal-blue);
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
    transition: .25s ease;
}

.btn-outline-brand:hover {
    background-color: var(--royal-blue);
    color: #fff;
}

.eyebrow {
    color: var(--sapphire);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.soft-divider {
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: var(--quicksand);
    margin: 1rem 0 1.4rem;
}

.page-hero,
.hero-home {
    background:
        radial-gradient(circle at top right, rgba(224, 197, 143, .18), transparent 25%),
        radial-gradient(circle at left bottom, rgba(48, 80, 112, .10), transparent 30%),
        var(--swan-wing);
}

.hero-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
}

.page-hero {
    padding: 150px 0 70px;
}

.display-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.lead-custom {
    color: #555;
    max-width: 40rem;
    font-size: 1.05rem;
}

.visual-card,
.info-card,
.service-card,
.contact-card,
.value-card,
.team-card,
.brand-card,
.stat-card {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 34, 80, 0.08);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(17, 34, 80, 0.06);
}

.visual-card {
    padding: 1.5rem;
}

.main-visual {
    min-height: 420px;
}

.shape-box {
    min-height: 360px;
    border-radius: 28px;
    background: rgba(203, 194, 178, .22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-cluster {
    width: 220px;
    height: 220px;
    position: relative;
}

.icon-cluster .a,
.icon-cluster .b,
.icon-cluster .c,
.icon-cluster .d {
    position: absolute;
    background: rgba(17, 34, 80, .12);
}

.icon-cluster .a {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    right: 18px;
    top: 70px;
}

.icon-cluster .b {
    width: 74px;
    height: 56px;
    border-radius: 16px;
    left: 110px;
    bottom: 32px;
    transform: rotate(-8deg);
}

.icon-cluster .c {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    left: 20px;
    top: 90px;
    clip-path: polygon(50% 0%, 61% 33%, 95% 33%, 68% 54%, 79% 88%, 50% 67%, 21% 88%, 32% 54%, 5% 33%, 39% 33%);
}

.icon-cluster .d {
    width: 74px;
    height: 54px;
    left: 70px;
    top: 18px;
    border-radius: 50% 50% 35% 35%;
    transform: rotate(-4deg);
}

.floating-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid rgba(17, 34, 80, 0.08);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 18px 30px rgba(17, 34, 80, 0.08);
    font-size: .95rem;
    font-weight: 600;
    color: var(--royal-blue);
    margin-top: 1rem;
    margin-right: .6rem;
}

.info-card,
.service-card,
.contact-card,
.team-card,
.brand-card,
.value-card {
    padding: 1.7rem;
    height: 100%;
}

.info-card .icon-wrap,
.service-card .icon-wrap,
.contact-card .icon-wrap,
.team-card .icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(48, 80, 112, 0.10);
    color: var(--sapphire);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.mini-tag {
    display: inline-block;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(224, 197, 143, .24);
    color: var(--royal-blue);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .9rem;
}

.stat-card {
    padding: 1.2rem;
    text-align: center;
    height: 100%;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.brand-pill {
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px dashed rgba(17, 34, 80, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sapphire);
    font-weight: 600;
}

.service-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(17, 34, 80, 0.10);
}

.value-card {
    text-align: center;
    border: 2px solid rgba(17, 34, 80, .09);
}

.value-card h5 {
    margin-bottom: .5rem;
}

.list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-clean li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: .9rem;
}

.list-clean i {
    color: var(--quicksand);
    margin-top: .15rem;
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid rgba(17, 34, 80, .14);
    padding: .9rem 1rem;
    background: rgba(255,255,255,.84);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sapphire);
    box-shadow: 0 0 0 .2rem rgba(48, 80, 112, .12);
}

.contact-info a {
    color: var(--sapphire);
}

.contact-info a:hover {
    color: var(--royal-blue);
}

footer {
    background: var(--royal-blue);
    color: rgba(255,255,255,.85);
}

footer a {
    color: var(--quicksand);
    margin-left: 1rem;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .hero-home {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .main-visual {
        min-height: 320px;
        margin-top: 2rem;
    }

    .shape-box {
        min-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .section-space {
        padding: 70px 0;
    }

    .page-hero {
        padding: 130px 0 50px;
    }

    .display-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    footer .text-md-end {
        text-align: left !important;
    }

    footer a {
        display: inline-block;
        margin: .3rem .8rem .3rem 0;
    }
}

.navbar-logo {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 767.98px) { 

    .navbar-logo {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}
 }

 .image-box {
    overflow: hidden;
}

.hero-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}
.img4-custom {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.brand-logo {
    max-width: 110px;
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.brand-pill {
    min-width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    max-height: 60px;
    object-fit: contain;
}

/* ANIMACIÓN CONTINUA */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}