:root {
    --brand-teal: #009b8d;
    --brand-teal-dark: #007d72;
    --brand-pink: #f3197c;
    --brand-pink-dark: #d8126c;
    --brand-aqua: #66c0c5;
    --brand-ink: #12373a;
    --brand-muted: #647679;
    --brand-light: #f2fafa;
    --brand-border: #dcebec;
    --nav-height: 84px;
    --proof-height: 104px;
    --shadow-sm: 0 12px 32px rgba(7, 65, 68, 0.09);
    --shadow-lg: 0 28px 70px rgba(7, 65, 68, 0.14);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    color: var(--brand-ink);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

::selection {
    color: #fff;
    background: var(--brand-pink);
}

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 2000;
    padding: 10px 16px;
    color: #fff;
    background: var(--brand-ink);
    border-radius: 0 0 10px 10px;
}

.skip-link:focus { top: 0; }

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

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--brand-pink);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-kicker::before {
    width: 28px;
    height: 3px;
    content: "";
    background: currentColor;
    border-radius: 999px;
}

.section-kicker-light { color: #fff; }

.section-title {
    color: var(--brand-ink);
    font-size: clamp(2.15rem, 4vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.section-intro {
    max-width: 700px;
    color: var(--brand-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding-inline: 1.55rem;
}

.btn-lg {
    min-height: 54px;
    padding: .85rem 1.65rem;
    font-size: .98rem;
}

.btn-brand {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-pink), #ff4b9d);
    border-color: var(--brand-pink);
    box-shadow: 0 10px 25px rgba(243, 25, 124, .22);
}

.btn-brand:hover,
.btn-brand:focus-visible {
    color: #fff;
    background: var(--brand-pink-dark);
    border-color: var(--brand-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(243, 25, 124, .3);
}

/* Navegación */
.navbar {
    min-height: var(--nav-height);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 155, 141, .08);
    transition: min-height .25s ease, box-shadow .25s ease;
}

.navbar.is-scrolled {
    min-height: 72px;
    box-shadow: 0 8px 30px rgba(4, 64, 67, .1);
}

.navbar-brand { display: flex; align-items: center; padding: 0; }

.brand-logo { display: block; object-fit: contain; }

.brand-logo-full { width: 245px; height: 58px; }

.brand-logo-mini { display: none; width: 52px; height: 52px; }

.navbar .nav-link {
    position: relative;
    color: #39595b;
    font-size: .94rem;
    font-weight: 700;
    padding: .8rem .85rem !important;
}

.navbar .nav-link::after {
    position: absolute;
    right: .85rem;
    bottom: .45rem;
    left: .85rem;
    height: 2px;
    content: "";
    background: var(--brand-pink);
    border-radius: 10px;
    transform: scaleX(0);
    transition: transform .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--brand-teal-dark); }

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--brand-ink);
    border-radius: 20px;
    content: "";
}

.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -8px; }
.menu-lines::after { position: absolute; top: 8px; }

.offcanvas { max-width: 88vw; }
.offcanvas-logo { width: 220px; height: 54px; object-fit: contain; }
.mobile-nav .nav-link { display: flex; gap: 17px; padding: 1.2rem .35rem; color: var(--brand-ink); border-bottom: 1px solid var(--brand-border); font-size: 1.18rem; font-weight: 750; }
.mobile-nav .nav-link span { color: var(--brand-pink); font-size: .72rem; letter-spacing: .08em; }
.mobile-help { background: var(--brand-light); }
.mobile-help small { color: var(--brand-muted); }
.mobile-help a { color: var(--brand-teal-dark); }

/* Carrusel principal */
.hero-section { position: relative; margin-top: var(--nav-height); }
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: calc(100svh - var(--nav-height) - var(--proof-height));
    min-height: 560px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 40, 43, .96) 0%, rgba(6, 52, 55, .84) 38%, rgba(6, 52, 55, .25) 70%, rgba(6, 52, 55, .04) 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-bottom: 70px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 9px 14px;
    color: #eaffff;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-content h1,
.hero-content h2 {
    max-width: 760px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: .96;
}

.hero-content h1 span,
.hero-content h2 span { color: #8be0df; }

.hero-lead {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .81);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.btn-hero-outline {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(6px);
}

.btn-hero-outline:hover,
.btn-hero-outline:focus-visible { color: var(--brand-ink); background: #fff; border-color: #fff; transform: translateY(-2px); }

.carousel-control-prev,
.carousel-control-next {
    top: auto;
    bottom: 39px;
    z-index: 4;
    width: 50px;
    height: 50px;
    opacity: 1;
}

.carousel-control-prev { right: 94px; left: auto; }
.carousel-control-next { right: 32px; }
.carousel-arrow { display: grid; width: 50px; height: 50px; place-items: center; color: #fff; background: rgba(9, 47, 50, .52); border: 1px solid rgba(255, 255, 255, .36); border-radius: 50%; backdrop-filter: blur(8px); }
.carousel-control-prev:hover .carousel-arrow,
.carousel-control-next:hover .carousel-arrow { background: var(--brand-pink); border-color: var(--brand-pink); }

.custom-indicators {
    right: auto;
    bottom: 24px;
    left: 50%;
    z-index: 6;
    justify-content: center;
    width: max-content;
    margin: 0;
    padding: 8px 12px;
    background: rgba(5, 40, 43, .34);
    border-radius: 999px;
    backdrop-filter: blur(7px);
    transform: translateX(-50%);
}
.custom-indicators [data-bs-target] { width: 36px; height: 4px; margin: 0 5px; background-color: #fff; border: 0; border-radius: 10px; opacity: .42; }
.custom-indicators .active { width: 70px; background-color: var(--brand-pink); opacity: 1; }

.hero-proof {
    position: relative;
    z-index: 5;
    height: var(--proof-height);
    background: #f6fbfb;
    pointer-events: none;
}

.hero-proof .row {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 18px 45px rgba(7, 65, 68, .12);
    overflow: hidden;
    pointer-events: auto;
}
.proof-item { display: flex; align-items: center; gap: 15px; min-height: 104px; padding: 22px 28px; border-right: 1px solid var(--brand-border); }
.proof-item > i { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--brand-teal); border-radius: 14px; font-size: 1.2rem; }
.proof-item:nth-child(2) > i { background: var(--brand-pink); }
.proof-item strong,
.proof-item span { display: block; }
.proof-item strong { margin-bottom: 3px; color: var(--brand-ink); font-size: .95rem; }
.proof-item span { color: var(--brand-muted); font-size: .79rem; }

/* Cotización */
.quote-section { padding-top: 112px; background: linear-gradient(180deg, #f8fdfd 0%, #fff 100%); }
.quote-form-card { position: relative; z-index: 2; padding: 38px; background: #fff; border: 1px solid var(--brand-border); border-radius: 26px; box-shadow: var(--shadow-lg); }
.quote-form-heading { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--brand-border); }
.form-step { display: block; margin-bottom: 6px; color: var(--brand-pink); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.secure-label { display: inline-flex; align-items: center; padding: 8px 13px; color: var(--brand-teal-dark); background: #e9f8f7; border-radius: 999px; font-size: .79rem; font-weight: 700; }
.form-label { color: #294b4e; font-size: .84rem; font-weight: 750; }
.form-label span { color: var(--brand-pink); }
.form-control,
.form-select { min-height: 52px; color: var(--brand-ink); background-color: #fbfdfd; border-color: #cfe0e1; border-radius: 12px; }
textarea.form-control { min-height: 138px; resize: vertical; }
.form-control:focus,
.form-select:focus { background-color: #fff; border-color: var(--brand-teal); box-shadow: 0 0 0 .25rem rgba(0, 155, 141, .12); }
.input-icon-wrap { position: relative; }
.input-icon-wrap > i { position: absolute; top: 50%; left: 16px; z-index: 3; color: var(--brand-teal); transform: translateY(-50%); }
.input-icon-wrap .form-control { padding-left: 44px; }
.form-check-input:checked { background-color: var(--brand-teal); border-color: var(--brand-teal); }
.brand-alert { display: flex; align-items: flex-start; gap: 13px; color: #075e55; background: #e5f7f4; border-color: #b4e2dc; border-radius: 14px; }
.brand-alert > i { font-size: 1.35rem; }
/* Proceso animado de contratación */
.process-experience {
    max-width: 1180px;
    margin: 82px auto 0;
}

.process-heading { margin-bottom: 45px; }
.process-heading .section-kicker { margin-bottom: 10px; }
.process-heading h3 { margin-bottom: 13px; color: var(--brand-ink); font-size: clamp(2rem, 3.7vw, 3.35rem); font-weight: 820; letter-spacing: -.045em; }
.process-heading p { max-width: 680px; margin: 0 auto; color: var(--brand-muted); font-size: 1.02rem; line-height: 1.7; }

.process-layout {
    position: relative;
}

.process-stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
}

.process-line {
    position: absolute;
    top: 31px;
    right: 12.5%;
    left: 12.5%;
    height: 4px;
    background: #dcebec;
    border-radius: 999px;
    overflow: hidden;
}

.process-line span {
    display: block;
    width: var(--process-progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-pink));
    border-radius: inherit;
    transition: width .65s cubic-bezier(.2, .75, .25, 1), height .65s cubic-bezier(.2, .75, .25, 1);
}

.process-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    color: #6d8082;
    background: transparent;
    border: 0;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

.process-step-icon {
    position: relative;
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 13px;
    place-items: center;
    color: #789092;
    background: #fff;
    border: 3px solid #dcebec;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(7, 65, 68, .08);
    font-size: 1.35rem;
    transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.process-step-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Barra vertical sin alterar las dimensiones de la tarjeta animada. */
@media (min-width: 1400px) {
    .process-experience {
        margin-right: 0;
        margin-left: auto;
    }

    .process-stepper {
        position: absolute;
        top: 0;
        right: calc(100% + .5rem);
        bottom: 0;
        width: max-content;
        margin-bottom: 0;
        grid-template-rows: repeat(4, 1fr);
        grid-template-columns: 1fr;
    }

    .process-line {
        top: 12.5%;
        right: 41px;
        bottom: 12.5%;
        left: auto;
        width: 4px;
        height: auto;
        transform: none;
    }

    .process-line span {
        width: 100%;
        height: var(--process-progress, 0%);
        background: linear-gradient(180deg, var(--brand-teal), var(--brand-pink));
    }

    .process-step {
        flex-direction: row-reverse;
        justify-content: flex-start;
        text-align: right;
    }

    .process-step-icon {
        margin-bottom: 0;
        margin-left: 13px;
    }

    .process-step-copy { align-items: flex-end; }
}

.process-step-number {
    margin-bottom: 3px;
    color: #819395;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.process-step strong { color: #4a6567; font-size: .94rem; transition: color .3s ease; }
.process-step:hover .process-step-icon { border-color: var(--brand-aqua); transform: translateY(-3px); }
.process-step:focus-visible { outline: 3px solid rgba(0, 155, 141, .28); outline-offset: 7px; border-radius: 12px; }
.process-step.is-complete .process-step-icon { color: #fff; background: var(--brand-teal); border-color: var(--brand-teal); }
.process-step.is-active .process-step-icon { color: #fff; background: linear-gradient(135deg, var(--brand-pink), #ff58a5); border-color: #fff; transform: scale(1.08); box-shadow: 0 0 0 7px rgba(243, 25, 124, .12), 0 13px 30px rgba(243, 25, 124, .25); }
.process-step.is-active .process-step-icon::after { position: absolute; inset: -12px; content: ""; border: 2px solid rgba(243, 25, 124, .2); border-radius: 50%; animation: processPulse 1.8s ease-out infinite; }
.process-step.is-active .process-step-number { color: var(--brand-pink); }
.process-step.is-active strong { color: var(--brand-ink); }

.process-stage {
    position: relative;
    background: linear-gradient(135deg, #ecf9f8 0%, #fff 48%, #fff2f8 100%);
    border: 1px solid var(--brand-border);
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.process-stage::before {
    position: absolute;
    top: -150px;
    right: -130px;
    width: 360px;
    height: 360px;
    content: "";
    background: var(--brand-pink);
    border-radius: 50%;
    opacity: .07;
}

.process-visual {
    position: relative;
    display: grid;
    min-height: 570px;
    padding: 35px;
    place-items: center;
    overflow: hidden;
}

.quote-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 520px;
    filter: drop-shadow(0 22px 28px rgba(5, 78, 80, .09));
    transition: transform .75s cubic-bezier(.2, .75, .25, 1), filter .75s ease;
}

.process-orbit { position: absolute; z-index: 1; border: 1px solid rgba(0, 155, 141, .14); border-radius: 50%; }
.orbit-one { top: 50px; left: 40px; width: 190px; height: 190px; }
.orbit-two { right: 20px; bottom: 30px; width: 250px; height: 250px; border-color: rgba(243, 25, 124, .13); }

.process-floating-status {
    position: absolute;
    right: 26px;
    bottom: 44px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12px 17px 12px 12px;
    color: var(--brand-ink);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-size: .84rem;
    transition: opacity .22s ease, transform .35s ease;
}

.process-floating-status > span { display: grid; width: 35px; height: 35px; place-items: center; color: #fff; background: var(--brand-teal); border-radius: 50%; transition: background-color .3s ease; }
.process-floating-status.is-changing { opacity: 0; transform: translateY(10px) scale(.96); }

.process-details { position: relative; z-index: 3; max-width: 460px; padding: 58px 55px 58px 35px; transition: opacity .22s ease, transform .35s ease; }
.process-details.is-changing { opacity: 0; transform: translateX(18px); }
.process-counter { display: inline-block; margin-bottom: 21px; color: var(--brand-pink); font-size: .75rem; font-weight: 850; letter-spacing: .16em; }
.process-details h4 { margin-bottom: 18px; color: var(--brand-ink); font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 830; letter-spacing: -.05em; line-height: 1.02; }
.process-details > p { margin-bottom: 25px; color: var(--brand-muted); font-size: 1.03rem; line-height: 1.75; }
.process-benefits { display: grid; gap: 11px; margin: 0 0 29px; padding: 0; list-style: none; }
.process-benefits li { display: flex; align-items: center; gap: 10px; color: #355456; font-size: .9rem; font-weight: 650; }
.process-benefits i { color: var(--brand-teal); }
.process-link { display: inline-flex; align-items: center; gap: 9px; color: #fff; padding: 13px 19px; background: var(--brand-pink); border-radius: 999px; font-size: .87rem; font-weight: 800; text-decoration: none; }
.process-link:hover { color: #fff; background: var(--brand-pink-dark); gap: 13px; transform: translateY(-2px); }
.process-autoplay { display: flex; align-items: center; gap: 8px; margin-top: 25px; padding: 0; color: #849698; background: transparent; border: 0; font: inherit; font-size: .72rem; cursor: pointer; }
.process-autoplay > span:first-child { position: relative; flex: 0 0 auto; width: 7px; height: 7px; background: var(--brand-teal); border-radius: 50%; }
.process-autoplay > span:first-child::after { position: absolute; inset: -4px; content: ""; border: 1px solid var(--brand-teal); border-radius: 50%; animation: autoplayPulse 1.8s ease-out infinite; }
.process-autoplay:hover { color: var(--brand-teal-dark); }
.process-autoplay:focus-visible { outline: 3px solid rgba(0, 155, 141, .2); outline-offset: 6px; border-radius: 4px; }
.process-autoplay.is-paused > span:first-child { background: var(--brand-pink); }
.process-autoplay.is-paused > span:first-child::after { display: none; }

.process-stage[data-active-step="1"] .quote-image { transform: translateY(-3px) scale(1.01); }
.process-stage[data-active-step="2"] .quote-image { transform: translateX(7px) scale(1.025); filter: drop-shadow(0 25px 34px rgba(0, 155, 141, .17)); }
.process-stage[data-active-step="3"] .quote-image { transform: translateY(-7px) scale(1.035); filter: drop-shadow(0 26px 36px rgba(243, 25, 124, .13)); }
.process-stage[data-active-step="4"] .quote-image { transform: translateY(-4px) scale(1.045); filter: drop-shadow(0 28px 38px rgba(0, 155, 141, .2)); }
.process-stage[data-active-step="2"] .process-floating-status > span,
.process-stage[data-active-step="4"] .process-floating-status > span { background: var(--brand-pink); }

@keyframes processPulse {
    0% { opacity: .8; transform: scale(.82); }
    100% { opacity: 0; transform: scale(1.25); }
}

@keyframes autoplayPulse {
    0% { opacity: .8; transform: scale(.7); }
    100% { opacity: 0; transform: scale(1.7); }
}

/* Contacto */
.contact-section { background: #eaf6f6; }
.contact-shell { background: var(--brand-teal); border-radius: 32px; box-shadow: var(--shadow-lg); }
.contact-info-panel { position: relative; padding: 62px 52px; color: #fff; background: linear-gradient(145deg, #006f68, var(--brand-teal)); overflow: hidden; }
.contact-info-panel > * { position: relative; z-index: 2; }
.contact-info-panel h2 { margin-bottom: 22px; font-size: clamp(2.15rem, 4vw, 3.45rem); font-weight: 820; letter-spacing: -.05em; line-height: 1.02; }
.contact-info-panel > p { color: rgba(255, 255, 255, .76); font-size: 1.05rem; line-height: 1.7; }
.contact-methods { display: grid; gap: 14px; margin-top: 38px; }
.contact-method { display: flex; align-items: center; gap: 15px; padding: 12px 0; color: #fff; text-decoration: none; }
.contact-method:hover { color: #fff; transform: translateX(4px); }
.contact-icon { display: grid; flex: 0 0 auto; width: 47px; height: 47px; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; }
.contact-method small,
.contact-method strong { display: block; }
.contact-method small { margin-bottom: 2px; color: rgba(255, 255, 255, .63); font-size: .75rem; }
.contact-method strong { font-size: .92rem; }
.contact-decoration { position: absolute; right: -90px; bottom: -90px; z-index: 1; width: 290px; height: 290px; }
.contact-decoration span { position: absolute; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; }
.contact-decoration span:nth-child(1) { inset: 0; }
.contact-decoration span:nth-child(2) { inset: 42px; }
.contact-decoration span:nth-child(3) { inset: 84px; background: rgba(243, 25, 124, .2); }
.contact-form { padding: 62px 58px; }

/* Datos generales */
.general-section {
    padding: clamp(48px, 7svh, 76px) 0;
    background:
        radial-gradient(circle at 7% 18%, rgba(102, 192, 197, .16), transparent 24%),
        radial-gradient(circle at 92% 82%, rgba(243, 25, 124, .08), transparent 25%),
        #f8fcfc;
    overflow: clip;
}

.general-directory {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: clamp(18px, 2.5svh, 28px);
}

.general-directory-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
    gap: 42px;
    align-items: end;
}

.general-directory-head .section-title {
    max-width: 720px;
    font-size: clamp(2.15rem, 3.35vw, 3.4rem);
}

.office-selector .form-label {
    margin-bottom: 7px;
    color: var(--brand-ink);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.office-selector-control { position: relative; }
.office-selector-control > i {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    color: var(--brand-teal);
    transform: translateY(-50%);
    pointer-events: none;
}

.office-selector .form-select {
    min-height: 50px;
    padding-left: 45px;
    color: var(--brand-ink);
    background-color: #fff;
    border-color: var(--brand-border);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    font-weight: 650;
}

.office-selector .form-select:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 .25rem rgba(0, 155, 141, .12);
}

.office-selector small {
    display: block;
    margin-top: 6px;
    color: var(--brand-muted);
    font-size: .73rem;
}

.office-map-shell {
    position: relative;
    width: 100%;
    height: clamp(500px, 62svh, 610px);
    min-height: 500px;
    background: #dff2f1;
    border: 1px solid rgba(0, 155, 141, .18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.office-map { width: 100%; height: 100%; }
.office-map::before {
    position: absolute;
    inset: 0;
    z-index: 1000;
    display: grid;
    color: var(--brand-muted);
    background: #edf8f7;
    content: "Cargando mapa de oficinas…";
    place-items: center;
}
.office-map.leaflet-container::before { display: none; }

.office-map .leaflet-tile-pane { filter: saturate(.72) contrast(.94) brightness(1.03); }
.office-map .leaflet-control-zoom {
    border: 0;
    box-shadow: var(--shadow-sm);
}
.office-map .leaflet-control-zoom a {
    color: var(--brand-ink);
    border: 0;
}
.office-map .leaflet-control-zoom a:first-child { border-radius: 12px 12px 0 0; }
.office-map .leaflet-control-zoom a:last-child { border-radius: 0 0 12px 12px; }
.office-map .leaflet-control-attribution { font-size: .62rem; }

.office-map-toolbar {
    position: absolute;
    top: 22px;
    left: 58px;
    z-index: 750;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-map-toolbar .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    color: var(--brand-ink);
    border: 1px solid rgba(18, 55, 58, .08);
    box-shadow: var(--shadow-sm);
}

.office-map-toolbar > span {
    padding: 9px 13px;
    color: var(--brand-teal-dark);
    background: rgba(255, 255, 255, .94);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-size: .74rem;
    font-weight: 800;
}

.office-detail-card {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 800;
    width: min(350px, calc(100% - 44px));
    background: rgba(255, 255, 255, .97);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(7, 65, 68, .2);
    backdrop-filter: blur(14px);
    transition: opacity .2s ease, transform .2s ease;
}

.office-detail-card.is-updating { opacity: .45; transform: translateY(6px); }
.office-detail-card .card-body { padding: 24px; }
.office-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.office-card-icon {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-aqua));
    border-radius: 15px;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 155, 141, .2);
}

.office-status {
    display: block;
    margin-bottom: 2px;
    color: var(--brand-pink);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.office-card-heading h3 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.32rem;
    font-weight: 820;
    letter-spacing: -.025em;
}

.office-card-location { display: flex; gap: 10px; margin-bottom: 17px; }
.office-card-location i { color: var(--brand-pink); }
.office-card-location p { margin: 0; color: var(--brand-muted); font-size: .86rem; line-height: 1.45; }

.office-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 18px;
    padding-top: 16px;
    border-top: 1px solid var(--brand-border);
}

.office-contact-list > div { min-width: 0; }
.office-contact-list .office-email-row { grid-column: 1 / -1; }
.office-contact-list dt {
    margin-bottom: 3px;
    color: var(--brand-muted);
    font-size: .68rem;
    font-weight: 700;
}
.office-contact-list dt i { margin-right: 4px; color: var(--brand-teal); }
.office-contact-list dd { margin: 0; color: var(--brand-ink); font-size: .78rem; font-weight: 750; }
.office-contact-list a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.office-contact-list a:hover { color: var(--brand-pink); }

.office-card-actions { display: flex; align-items: center; gap: 14px; }
.office-card-actions .btn { min-height: 41px; padding: .6rem 1.05rem; font-size: .78rem; }
.office-message-link { color: var(--brand-teal-dark); font-size: .77rem; font-weight: 800; text-decoration: none; }
.office-message-link:hover { color: var(--brand-pink); }
.office-data-note { display: block; margin-top: 12px; color: #8b6c77; font-size: .66rem; line-height: 1.35; }

.office-pin {
    position: relative;
    display: grid;
    width: 29px;
    height: 29px;
    color: #fff;
    background: var(--brand-teal);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    place-items: center;
    transform: rotate(-45deg);
    box-shadow: 0 6px 15px rgba(7, 65, 68, .28);
    transition: width .2s ease, height .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.office-pin i { font-size: .63rem; transform: rotate(45deg); }
.office-marker.is-active .office-pin {
    width: 35px;
    height: 35px;
    background: var(--brand-pink);
    border-width: 4px;
    box-shadow: 0 0 0 7px rgba(243, 25, 124, .18), 0 10px 25px rgba(243, 25, 124, .35);
}
.office-marker.is-active .office-pin i { font-size: .78rem; }
.office-map .leaflet-tooltip {
    padding: 6px 9px;
    color: var(--brand-ink);
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    font-size: .7rem;
    font-weight: 800;
}

.general-cta {
    position: relative;
    margin-top: clamp(8px, 1.5svh, 16px);
    margin-bottom: clamp(32px, 5svh, 58px);
    padding: 47px 52px;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-ink), #006b66);
    border-radius: 26px;
    overflow: hidden;
}
.general-cta::after {
    position: absolute;
    top: -120px;
    right: -70px;
    width: 340px;
    height: 340px;
    content: "";
    background: var(--brand-pink);
    border-radius: 50%;
    opacity: .15;
}
.general-cta .row { position: relative; z-index: 2; }
.general-cta span { color: #83dad9; letter-spacing: .13em; }
.general-cta h3 {
    margin-top: 8px;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.04em;
}
.general-cta p { color: rgba(255, 255, 255, .69); }
.general-cta .btn-light { color: var(--brand-ink); }
.general-cta .btn-light:hover {
    color: #fff;
    background: var(--brand-pink);
    border-color: var(--brand-pink);
}

/* Footer */
.site-footer { color: rgba(255, 255, 255, .68); background: #092d30; }
.footer-main { padding: 74px 0 56px; }
.footer-logo { width: min(100%, 360px); height: 80px; margin-bottom: 24px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .94; }
.footer-description { max-width: 480px; line-height: 1.75; }
.social-links { display: flex; gap: 10px; margin-top: 25px; }
.social-links a { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border-radius: 50%; text-decoration: none; }
.social-links a:hover { color: #fff; background: var(--brand-pink); transform: translateY(-3px); }
.footer-heading { margin-bottom: 20px; color: #fff; font-size: .92rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255, 255, 255, .62); font-size: .92rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 23px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .79rem; }

.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 1040; display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; color: #fff; background: var(--brand-pink); border: 3px solid rgba(255, 255, 255, .9); border-radius: 999px; box-shadow: 0 15px 35px rgba(59, 17, 39, .24); font-size: .85rem; font-weight: 800; text-decoration: none; }
.floating-contact:hover { color: #fff; background: var(--brand-pink-dark); transform: translateY(-3px); }
.floating-contact i { font-size: 1.15rem; }
.brand-toast { background: #fff; box-shadow: var(--shadow-lg); }
.brand-toast .toast-header i { color: var(--brand-teal); }

@media (max-width: 1199.98px) {
    .brand-logo-full { width: 205px; }
    .navbar .nav-link { font-size: .86rem; padding-inline: .58rem !important; }
    .proof-item { padding-inline: 19px; }
    .contact-info-panel { padding: 55px 38px; }
    .contact-form { padding: 55px 43px; }
}

/* Mantiene el carrusel y sus ventajas dentro de monitores anchos y bajos. */
@media (min-width: 992px) and (max-height: 760px) {
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        min-height: 440px;
    }

    .hero-content {
        padding-top: 14px;
        padding-bottom: 48px;
    }

    .hero-kicker {
        margin-bottom: 12px;
        padding-block: 7px;
    }

    .hero-content h1,
    .hero-content h2 {
        margin-bottom: 13px;
        font-size: clamp(2.7rem, 4.2vw, 3.85rem);
        line-height: .94;
    }

    .hero-lead {
        max-width: 590px;
        margin-bottom: 16px;
        font-size: .98rem;
        line-height: 1.42;
    }

    .hero-content .btn-lg {
        min-height: 48px;
        padding: .68rem 1.4rem;
    }

    .hero-content .d-flex.flex-wrap {
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 991.98px) {
    :root { --nav-height: 74px; }
    .section-padding { padding: 84px 0; }
    .brand-logo-full { width: 225px; height: 52px; }
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: calc(100svh - var(--nav-height));
        min-height: 690px;
    }
    .hero-overlay { background: linear-gradient(90deg, rgba(5, 40, 43, .94), rgba(5, 40, 43, .65)); }
    .hero-content { padding-bottom: 20px; }
    .hero-content h1,
    .hero-content h2 { max-width: 660px; }
    .quote-section { padding-top: 90px; }
    .process-layout { display: block; }
    .process-stepper {
        grid-template-rows: none;
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 30px;
    }
    .process-line {
        top: 31px;
        right: 12.5%;
        bottom: auto;
        left: 12.5%;
        width: auto;
        height: 4px;
    }
    .process-line span {
        width: var(--process-progress, 0%);
        height: 100%;
        background: linear-gradient(90deg, var(--brand-teal), var(--brand-pink));
    }
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .process-step-icon { margin-right: 0; margin-bottom: 13px; }
    .process-step-copy { align-items: center; }
    .process-experience { margin-top: 68px; }
    .process-visual { min-height: 470px; padding: 28px; }
    .quote-image { max-height: 440px; }
    .process-details { max-width: none; padding: 25px 48px 52px; }
    .contact-info-panel,
    .contact-form { padding: 52px 42px; }
    .general-directory-head { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: 25px; }
    .general-directory-head .section-title { font-size: clamp(2rem, 4.5vw, 2.8rem); }
    .office-detail-card { width: min(325px, calc(100% - 36px)); }
    .office-detail-card .card-body { padding: 20px; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 68px 0; }
    .section-title { font-size: 2.35rem; }
    .brand-logo-full { display: none; }
    .brand-logo-mini { display: block; }
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item { height: calc(100svh - var(--nav-height)); min-height: 690px; max-height: 820px; }
    .hero-image { object-position: 64% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(5, 40, 43, .93), rgba(5, 40, 43, .74)); }
    .hero-content h1,
    .hero-content h2 { font-size: clamp(2.8rem, 13vw, 4.1rem); }
    .hero-kicker { font-size: .68rem; }
    .hero-lead { font-size: 1.04rem; }
    .carousel-control-prev,
    .carousel-control-next { display: none; }
    .custom-indicators {
        right: auto;
        bottom: 18px;
        left: 50%;
        justify-content: center;
        transform: translateX(-50%);
    }
    .quote-form-card { padding: 28px 22px; border-radius: 20px; }
    .quote-form-heading { margin-bottom: 24px; }
    .process-experience { margin-top: 55px; }
    .process-heading { margin-bottom: 32px; }
    .process-heading h3 { font-size: 2.15rem; }
    .process-heading p { font-size: .94rem; }
    .process-stepper { margin-inline: -8px; margin-bottom: 24px; }
    .process-line { top: 26px; right: 12.5%; left: 12.5%; }
    .process-step { padding-inline: 3px; }
    .process-step-icon { width: 56px; height: 56px; margin-bottom: 10px; font-size: 1.1rem; }
    .process-step-number { display: none; }
    .process-step strong { max-width: 80px; font-size: .72rem; line-height: 1.2; }
    .process-stage { border-radius: 22px; }
    .process-visual { min-height: 345px; padding: 12px; }
    .quote-image { max-height: 340px; }
    .process-floating-status { right: 12px; bottom: 15px; padding: 9px 13px 9px 9px; font-size: .73rem; }
    .process-floating-status > span { width: 31px; height: 31px; }
    .process-details { padding: 34px 24px 40px; }
    .process-details h4 { font-size: 2.2rem; }
    .process-details > p { font-size: .94rem; }
    .contact-shell { border-radius: 22px; }
    .contact-info-panel,
    .contact-form { padding: 42px 25px; }
    .general-section {
        height: auto;
        min-height: 0;
        padding: 46px 0;
    }
    .general-directory { gap: 13px; }
    .general-directory-head { grid-template-columns: 1fr; gap: 11px; }
    .general-directory-head .section-kicker { margin-bottom: 5px; font-size: .66rem; }
    .general-directory-head .section-title { font-size: clamp(1.72rem, 8vw, 2.15rem); }
    .office-selector .form-label { display: none; }
    .office-selector .form-select { min-height: 44px; font-size: .85rem; }
    .office-selector small { margin-top: 4px; font-size: .67rem; }
    .office-map-shell {
        height: clamp(520px, 76svh, 610px);
        min-height: 520px;
        border-radius: 20px;
    }
    .office-map-toolbar { top: 10px; left: 45px; }
    .office-map-toolbar .btn { min-height: 36px; padding-inline: .85rem; font-size: .7rem; }
    .office-map-toolbar > span { display: none; }
    .office-detail-card {
        top: auto;
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        border-radius: 18px;
    }
    .office-detail-card .card-body { padding: 15px 17px; }
    .office-card-heading { gap: 10px; margin-bottom: 10px; }
    .office-card-icon { width: 40px; height: 40px; border-radius: 12px; }
    .office-card-heading h3 { font-size: 1.08rem; }
    .office-status { font-size: .58rem; }
    .office-card-location { margin-bottom: 10px; }
    .office-card-location p { font-size: .75rem; }
    .office-contact-list { gap: 8px; margin-bottom: 12px; padding-top: 10px; }
    .office-contact-list dt { font-size: .6rem; }
    .office-contact-list dd { font-size: .69rem; }
    .office-card-actions .btn { min-height: 36px; padding: .45rem .85rem; font-size: .69rem; }
    .office-message-link { font-size: .69rem; }
    .office-data-note { margin-top: 8px; font-size: .58rem; }
    .general-cta { margin-top: 7px; margin-bottom: 30px; padding: 34px 25px; }
    .general-cta h3 { font-size: 1.85rem; }
    .footer-main { padding-top: 56px; }
    .footer-logo { height: 66px; }
    .floating-contact { right: 15px; bottom: 15px; width: 52px; height: 52px; padding: 0; justify-content: center; }
    .floating-contact span { display: none; }
}

@media (max-width: 399px) {
    .hero-content .btn { width: 100%; }
    .offcanvas-logo { width: 180px; }
    .contact-info-panel,
    .contact-form { padding-inline: 20px; }
    .general-directory-head .section-title { font-size: 1.65rem; }
    .office-selector small { display: none; }
    .office-contact-list dt { font-size: .56rem; }
    .office-contact-list dd { font-size: .64rem; }
    .office-card-actions { gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
