:root {
    --blue-dark: #0B2A5B;
    --blue: #1E4ED8;
    --orange: #FF8A00;
    --orange-hover: #E87900;
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;
    --bg: #F6F8FC;
    --text: #111827;
    --muted: #6B7280;
    --white: #FFFFFF;
    --line: #E5EAF3;
    --shadow-soft: 0 18px 48px rgba(11, 42, 91, 0.12);
    --shadow-card: 0 10px 30px rgba(11, 42, 91, 0.10);
    --radius: 20px;
    --font: 'Inter', sans-serif;
    --transition: 0.25s ease;
}


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.is-anchor-jumping,
html.is-anchor-jumping *,
body.is-anchor-jumping {
    scroll-behavior: auto !important;
}
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}
body.page-loading .navbar {
    opacity: 1;
    transform: none;
    filter: none;
}
body.page-loading main {
    opacity: 1;
    transform: none;
    filter: none;
}
body.page-transitioning .navbar {
    opacity: 1;
    transform: none;
    filter: none;
}
body.page-transitioning main {
    opacity: 1;
    transform: none;
    filter: none;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, h4 { color: var(--blue-dark); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.hidden-desktop { display: none; }

.section-eyebrow {
    display: inline-flex;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin: 0 auto; }
.section-header { margin-bottom: 42px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 14px 24px;
    border: 0;
    border-radius: 14px;
    font-weight: 900;
    font-size: 0.96rem;
    cursor: pointer;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-large { min-height: 54px; padding: 16px 28px; font-size: 1.02rem; }
.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 14px 32px rgba(255, 138, 0, 0.28);
}
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 18px 38px rgba(255, 138, 0, 0.34); }
.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn-outline {
    background: rgba(30, 78, 216, 0.06);
    color: var(--blue);
    border: 1px solid rgba(30, 78, 216, 0.18);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(30, 78, 216, 0.20);
}

.navbar {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 0;
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition:
        opacity 260ms ease,
        transform 320ms cubic-bezier(0.2, 0.78, 0.2, 1),
        filter 260ms ease;
}
main {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition:
        opacity 260ms ease,
        transform 320ms cubic-bezier(0.2, 0.78, 0.2, 1),
        filter 260ms ease;
}
.nav-content {
    position: relative;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 10px 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(126, 112, 91, 0.78), rgba(91, 78, 65, 0.74)),
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.22), transparent 34%);
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 18px 46px rgba(35, 28, 22, 0.20);
    pointer-events: auto;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo img {
    width: 184px;
    height: auto;
    object-fit: cover;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
}
.main-nav a {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    font-weight: 850;
    padding: 10px 15px;
    border-radius: 999px;
    transition:
        color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}
.main-nav a.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), #FF6A00);
    box-shadow:
        0 14px 30px rgba(255, 138, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.menu-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1002;
    width: 24px;
    height: 24px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0) scale(0.72);
    transition:
        opacity 160ms ease,
        width 190ms ease,
        height 190ms ease,
        border-color 190ms ease,
        background 190ms ease,
        box-shadow 190ms ease,
        transform 90ms linear;
    box-shadow:
        0 0 14px rgba(255, 138, 0, 0.48),
        0 0 32px rgba(255, 138, 0, 0.22);
}
.menu-cursor.is-visible,
.nav-content.is-cursor-visible .menu-cursor {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
}
.menu-cursor.is-link,
.nav-content.is-cursor-link .menu-cursor {
    width: 46px;
    height: 46px;
    background: rgba(255, 138, 0, 0.12);
    border-color: #FF6A00;
    box-shadow:
        0 0 20px rgba(255, 106, 0, 0.68),
        0 0 46px rgba(255, 138, 0, 0.32);
}
.menu-cursor.is-pressing,
.nav-content.is-cursor-pressing .menu-cursor {
    width: 38px;
    height: 38px;
    background: rgba(255, 138, 0, 0.22);
}
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor *,
    body.has-custom-cursor *::before,
    body.has-custom-cursor *::after {
        cursor: none !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    .quote-import-modal,
    .quote-import-modal *,
    .quote-import-dialog,
    .quote-import-dialog * {
        cursor: default !important;
    }

    .quote-import-modal textarea {
        cursor: text !important;
    }

    .quote-import-modal button,
    .quote-import-modal input[type="file"],
    .quote-import-modal label,
    .quote-import-modal .quote-import-close,
    .quote-import-file-label {
        cursor: pointer !important;
    }

    .quote-import-file-summary,
    .quote-import-file-list,
    .quote-import-file-item {
        cursor: default !important;
    }
}
.fixed-header-btn {
    position: relative;
    z-index: 2;
    min-height: 52px;
    border-radius: 999px;
    white-space: nowrap;
}
.navbar .fixed-header-btn {
    background: var(--orange);
    color: var(--white);
    box-shadow:
        0 18px 34px rgba(255, 138, 0, 0.36),
        0 6px 14px rgba(35, 28, 22, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.navbar .fixed-header-btn:hover {
    background: var(--orange-hover);
    color: var(--white);
    box-shadow:
        0 22px 42px rgba(255, 138, 0, 0.42),
        0 8px 16px rgba(35, 28, 22, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    body.nav-auto-hide-ready .navbar {
        will-change: transform, opacity, filter;
    }

    body.nav-auto-hide-ready.nav-hidden .navbar {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(calc(-100% - 30px));
        pointer-events: none;
    }

    body.nav-auto-hide-ready.nav-peeking .navbar,
    body.nav-auto-hide-ready .navbar:focus-within {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
        pointer-events: none;
    }

    body.nav-auto-hide-ready.nav-peeking .nav-content,
    body.nav-auto-hide-ready .navbar:focus-within .nav-content {
        pointer-events: auto;
    }
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(5, 11, 18, 0.72);
    color: var(--white);
    font-size: 1.22rem;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.18);
    transition: transform var(--transition), background var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    transform: translateY(-1px);
    background: rgba(5, 11, 18, 0.9);
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(4, 10, 17, 0.98);
    color: var(--white);
    transition: opacity 240ms ease, visibility 240ms ease;
}
body.mobile-menu-open {
    overflow: hidden;
}
body.mobile-menu-open .mobile-menu-overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-panel {
    min-height: 100vh;
    padding: 20px clamp(14px, 5vw, 28px) 34px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 138, 0, 0.12), transparent 28%),
        linear-gradient(180deg, #07101A 0%, #040A11 100%);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 300ms cubic-bezier(0.2, 0.78, 0.2, 1), opacity 240ms ease;
}
body.mobile-menu-open .mobile-menu-panel {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.mobile-menu-head img {
    width: 158px;
    height: auto;
    object-fit: contain;
}
.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
}
.mobile-menu-label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    font-weight: 800;
}
.mobile-menu-label::after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
}
.mobile-menu-nav {
    display: grid;
    gap: 4px;
    margin: 0 0 24px;
}
.mobile-menu-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
    color: var(--orange);
}
.mobile-menu-cta {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--white);
    color: var(--blue-dark);
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}
.mobile-menu-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 142px 0 76px;
    margin-top: 0;
    overflow: hidden;
    color: var(--white);
    background: #071B3D;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 27, 61, 0.95) 0%, rgba(7, 27, 61, 0.82) 42%, rgba(7, 27, 61, 0.36) 100%),
        url('../assets/hero-mudancas-tom.jpg') center right/cover no-repeat;
    transform: scale(1.03);
    animation: heroZoom 9s ease forwards;
}
.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: 46px;
    align-items: center;
}
.hero.map-mode .hero-content {
    opacity: 0.18;
    transform: translateX(-34px) scale(0.98);
    filter: blur(1px);
}
.hero-content {
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}
.hero-content { max-width: 730px; }
.trust-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 22px;
}
.trust-badge-top i { color: var(--orange); }
.hero h1 {
    color: var(--white);
    font-size: clamp(3rem, 6vw, 5.4rem);
    max-width: 800px;
    margin-bottom: 24px;
}
.hero h1 span {
    color: var(--orange);
    text-shadow: 0 12px 40px rgba(255, 138, 0, 0.22);
}
.hero p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.22rem;
    max-width: 650px;
    margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.microcopy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
    font-weight: 700;
}
.microcopy span {
    display: inline-flex;
    align-items: center;
}
.microcopy span + span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    margin-right: 18px;
}

.quote-calculator {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    padding: 28px;
}
.form-head { margin-bottom: 22px; }
.form-kicker {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.form-head h2 { font-size: 1.75rem; margin: 8px 0 8px; }
.form-head p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-grid label {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--blue-dark);
    font-size: 0.86rem;
    font-weight: 800;
}
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input,
.form-grid select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #F9FBFF;
    color: var(--text);
    font: inherit;
    padding: 12px 13px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-grid input:focus,
.form-grid select:focus {
    border-color: rgba(30, 78, 216, 0.55);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 78, 216, 0.10);
}
.address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    display: none;
    max-height: 230px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(11, 42, 91, 0.14);
}
.address-suggestions.is-visible { display: grid; gap: 6px; }
.address-suggestion {
    width: 100%;
    display: block;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}
.address-suggestion:hover,
.address-suggestion:focus {
    background: rgba(30, 78, 216, 0.08);
    outline: none;
}
.address-suggestion small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}
.address-suggestion.is-muted {
    color: var(--muted);
    cursor: default;
}
.quote-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 18px;
    position: sticky;
    bottom: 12px;
    z-index: 3;
    box-shadow: 0 14px 28px rgba(11, 42, 91, 0.18);
    scroll-margin-bottom: 140px;
}
.move-calculator {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.move-calculator-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.move-calculator-head h3 {
    margin-top: 4px;
    font-size: 1.08rem;
    line-height: 1.25;
}
.calc-clear {
    border: 0;
    border-radius: 999px;
    background: rgba(30, 78, 216, 0.09);
    color: var(--blue);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 8px 12px;
    text-transform: uppercase;
}
.truck-preview {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(30, 78, 216, 0.08), rgba(255, 138, 0, 0.08)),
        #F9FBFF;
}
.truck-scene {
    min-height: 132px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 16px 10px 22px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.30)),
        repeating-linear-gradient(90deg, rgba(11,42,91,0.06) 0 1px, transparent 1px 24px);
}
.truck-vehicle {
    position: relative;
    width: 210px;
    height: 82px;
    transition: width 0.35s ease, transform 0.35s ease;
}
.truck-vehicle.truck-medium { width: 245px; }
.truck-vehicle.truck-large { width: 285px; transform: translateY(-4px); }
.truck-box {
    position: absolute;
    left: 0;
    bottom: 18px;
    width: calc(100% - 58px);
    height: 56px;
    overflow: hidden;
    border: 3px solid var(--blue-dark);
    border-radius: 10px 4px 4px 10px;
    background: var(--white);
    box-shadow: inset 0 -10px 0 rgba(30, 78, 216, 0.08);
}
.truck-box::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 6px;
    background: repeating-linear-gradient(90deg, rgba(11,42,91,0.13) 0 2px, transparent 2px 9px);
}
#truck-fill {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: var(--truck-fill, 0%);
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 138, 0, 0.74), rgba(255, 138, 0, 0.34));
    transition: width 0.35s ease;
}
.truck-cab {
    position: absolute;
    right: 0;
    bottom: 18px;
    width: 64px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 8px 14px 8px 4px;
    background: var(--blue-dark);
    color: var(--white);
    font-size: 1.45rem;
}
.truck-wheel {
    position: absolute;
    bottom: 4px;
    width: 22px;
    height: 22px;
    border: 5px solid #101828;
    border-radius: 50%;
    background: var(--white);
}
.wheel-left { left: 32px; }
.wheel-right { right: 28px; }
.truck-info span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.truck-info strong {
    display: block;
    color: var(--blue-dark);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.18;
    margin: 6px 0;
}
.truck-info p {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
}
.calc-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.calc-item {
    position: relative;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #F9FBFF;
    color: var(--blue-dark);
    cursor: pointer;
    font: inherit;
    padding: 12px 8px;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.calc-item:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 78, 216, 0.35);
    background: var(--white);
}
.calc-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(30, 78, 216, 0.09);
    color: var(--blue);
}
.calc-item strong {
    font-size: 0.75rem;
    line-height: 1.15;
    text-align: center;
}
.calc-item em {
    position: absolute;
    top: -8px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(255, 138, 0, 0.28);
}
.calc-summary {
    display: grid;
    grid-template-columns: 0.7fr 1fr 1.2fr;
    gap: 10px;
    margin-top: 14px;
}
.calc-summary div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(11, 42, 91, 0.06);
}
.calc-summary span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}
.calc-summary strong {
    display: block;
    color: var(--blue-dark);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
}

.section-needs,
.section-howitworks,
.section-trust,
.section-authority,
.section-clients,
.section-urgency,
.section-cities,
.section-faq,
.section-cta { padding: 82px 0; }

#necessidade,
#antes-depois,
#sobre,
#clientes,
#topo,
#contato {
    scroll-margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-card);
}
.service-card.featured {
    border-color: rgba(255, 138, 0, 0.46);
    box-shadow: 0 20px 50px rgba(255, 138, 0, 0.16);
}
.popular-badge {
    position: absolute;
    top: -13px;
    left: 26px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 900;
}
.card-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--blue);
    background: rgba(30, 78, 216, 0.08);
    font-size: 1.35rem;
}
.service-card h3,
.service-card .service-back-title { font-size: 1.28rem; }
.service-card .service-back-title {
    color: var(--blue-dark);
    font-weight: 900;
    line-height: 1.08;
}
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card ul {
    display: grid;
    gap: 8px;
    margin: 2px 0 8px;
    flex: 1;
}
.service-card li {
    display: flex;
    gap: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}
.service-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--blue);
}
.hover-lift { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.hover-lift:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); border-color: rgba(30, 78, 216, 0.32); }

.services-grid {
    perspective: 1500px;
    align-items: stretch;
}
.service-card.service-flip-card {
    display: block;
    min-height: 456px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(46px) scale(0.96);
    transition:
        opacity 620ms ease,
        filter 620ms ease,
        transform 720ms cubic-bezier(0.2, 0.78, 0.2, 1);
    transition-delay: var(--service-delay, 0ms);
}
.service-card.service-flip-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.service-flip-inner {
    position: relative;
    width: 100%;
    min-height: 456px;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 850ms cubic-bezier(0.2, 0.78, 0.2, 1);
}
.service-card.service-flip-card:hover .service-flip-inner,
.service-card.service-flip-card:focus-within .service-flip-inner,
.service-card.service-flip-card.is-flipped .service-flip-inner {
    transform: rotateY(180deg);
}
.service-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 456px;
    padding: 26px;
    border-radius: 22px;
    overflow: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.service-face-front {
    justify-content: flex-end;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(11, 42, 91, 0.24);
}
.service-face-front::before,
.service-face-front::after {
    content: "";
    position: absolute;
    inset: 0;
}
.service-face-front::before {
    background: var(--service-image) center/cover no-repeat;
    transform: scale(1.04);
    transition: transform 900ms ease;
}
.service-card.service-flip-card:hover .service-face-front::before,
.service-card.service-flip-card:focus-within .service-face-front::before {
    transform: scale(1.1);
}
.service-face-front::after {
    background:
        linear-gradient(180deg, rgba(3, 12, 28, 0.14) 0%, rgba(3, 12, 28, 0.42) 42%, rgba(3, 12, 28, 0.92) 100%),
        radial-gradient(circle at 20% 12%, rgba(255, 138, 0, 0.32), transparent 34%);
}
.service-face-front > * {
    position: relative;
    z-index: 1;
}
.service-face-front .service-face-title {
    max-width: 12ch;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 0.98;
}
.service-face-front p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.96rem;
    line-height: 1.55;
}
.service-face-badge {
    align-self: flex-start;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.95);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.service-face-cue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}
.service-face-back {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transform: rotateY(180deg);
}
.service-flip-card.featured .service-face-back {
    border-color: rgba(255, 138, 0, 0.46);
    box-shadow: 0 28px 64px rgba(255, 138, 0, 0.18);
}
.service-face-back .card-icon {
    flex: 0 0 auto;
}
.service-back-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.service-learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 14px 26px rgba(255, 138, 0, 0.28);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-learn-btn:hover,
.service-learn-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(255, 138, 0, 0.38);
}
.service-face-back .btn {
    margin-top: auto;
}
.service-face-front .popular-badge {
    top: 18px;
    left: 22px;
    z-index: 2;
}
.service-face-residential { --service-image: url('../assets/mudaresidencial_depois.jpg'); }
.service-face-commercial { --service-image: url('../assets/mudacomercial_depois.jpg'); }
.service-face-packing { --service-image: url('../assets/embalagem_depois.jpg'); }
.service-face-small { --service-image: url('../assets/hero-carousel-3.jpg'); }

#necessidade {
    position: relative;
    overflow: visible;
    min-height: var(--modalities-scroll-height, 560vh);
    padding: 0;
    background:
        linear-gradient(180deg, #06101B 0%, #071522 52%, #050B12 100%);
    color: var(--white);
}
#necessidade > .container {
    position: relative;
    z-index: 1;
    max-width: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(112px, 14vh, 150px) 0 clamp(42px, 7vh, 82px);
    overflow: hidden;
    position: sticky;
    top: 0;
}
#necessidade .section-header {
    width: 100%;
    max-width: 880px;
    margin: 0 auto 34px;
    padding: 0 24px;
}
#necessidade .section-title,
#necessidade .section-subtitle {
    color: var(--white);
}
#necessidade .section-subtitle {
    color: rgba(255, 255, 255, 0.68);
}
#necessidade .section-eyebrow {
    color: var(--orange);
}
#necessidade .services-grid {
    display: none;
}
.modalities-carousel {
    --card-width: min(760px, 58vw);
    --card-gap: 20px;
    width: 100%;
    margin-top: 0;
}
.modalities-stage {
    min-height: 480px;
    overflow: hidden;
    padding: 0;
}
.modalities-track {
    display: flex;
    align-items: stretch;
    gap: var(--card-gap);
    min-height: 480px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
    padding: 0 max(24px, calc((100vw - var(--card-width)) / 2));
    overscroll-behavior-x: contain;
}
.modalities-track::-webkit-scrollbar {
    display: none;
}
.modality-card {
    position: relative;
    flex: 0 0 var(--card-width);
    min-height: 480px;
    overflow: hidden;
    border-radius: 20px;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0C1622;
    box-shadow: 0 34px 76px rgba(0, 0, 0, 0.36);
    cursor: pointer;
    scroll-snap-align: center;
    opacity: 0.54;
    filter: blur(2px) brightness(0.66) saturate(0.85);
    transform: scale(0.88);
    transform-origin: center;
    transition:
        opacity 520ms ease,
        filter 520ms ease,
        transform 720ms cubic-bezier(0.2, 0.78, 0.2, 1),
        border-color 520ms ease;
}
.modality-card.is-active {
    opacity: 1;
    filter: none;
    transform: scale(1);
    cursor: default;
    border-color: rgba(255, 138, 0, 0.32);
}
.modality-card.is-near {
    opacity: 0.74;
    filter: blur(1px) brightness(0.76) saturate(0.92);
    transform: scale(0.92);
}
.modality-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 900ms ease;
}
.modality-card.is-active img {
    transform: scale(1.02);
}
.modality-card::before,
.modality-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.modality-card::before {
    backdrop-filter: blur(7px);
    background: rgba(5, 11, 18, 0.34);
    transition: backdrop-filter 520ms ease, background 520ms ease;
}
.modality-card.is-active::before {
    backdrop-filter: blur(0);
    background: rgba(5, 11, 18, 0.08);
}
.modality-card::after {
    background:
        linear-gradient(90deg, rgba(5, 11, 18, 0.92) 0%, rgba(5, 11, 18, 0.58) 42%, rgba(5, 11, 18, 0.12) 100%),
        linear-gradient(180deg, rgba(5, 11, 18, 0.14) 0%, rgba(5, 11, 18, 0.78) 100%);
}
.modality-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    width: min(370px, 72%);
    min-height: 480px;
    padding: 42px 46px;
    color: var(--white);
}
.modality-card-copy span {
    width: fit-content;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.96);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.modality-card-copy h3 {
    max-width: 10ch;
    color: var(--white);
    font-size: clamp(2rem, 3.1vw, 3.2rem);
    line-height: 0.96;
}
.modality-card-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.55;
}
.modality-card-copy ul {
    display: grid;
    gap: 8px;
}
.modality-card-copy li {
    display: flex;
    gap: 9px;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-weight: 800;
}
.modality-card-copy li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #46C7F3;
    box-shadow: 0 0 0 5px rgba(70, 199, 243, 0.13);
}
.modality-card-copy .btn {
    width: fit-content;
    min-width: 180px;
}
.modalities-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.modalities-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}
.modalities-arrow:hover,
.modalities-arrow:focus-visible {
    transform: translateY(-2px);
    background: var(--orange);
}
.modalities-dots {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 24px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}
.modalities-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 260ms ease, background 260ms ease;
}
.modalities-dot.is-active {
    width: 28px;
    background: var(--white);
}
@media (max-width: 1100px) {
    .modalities-carousel {
        --card-width: min(680px, 78vw);
    }
    .modalities-stage,
    .modalities-track,
    .modality-card,
    .modality-card-copy {
        min-height: 440px;
    }
    .modality-card-copy {
        width: min(360px, 80%);
        padding: 34px;
    }
}
@media (max-width: 768px) {
    .modalities-carousel {
        --card-width: min(86vw, 420px);
        --card-gap: 14px;
        margin-top: 30px;
    }
    .modalities-stage {
        min-height: 520px;
        padding: 0;
    }
    .modalities-track,
    .modality-card,
    .modality-card-copy {
        min-height: 520px;
    }
    .modality-card {
        border-radius: 18px;
        opacity: 0.4;
        filter: blur(1px) brightness(0.62) saturate(0.82);
    }
    .modality-card-copy {
        justify-content: flex-end;
        width: 100%;
        padding: 28px 22px;
    }
    .modality-card-copy h3 {
        max-width: 11ch;
        font-size: 2rem;
    }
    .modality-card-copy p,
    .modality-card-copy li {
        font-size: 0.88rem;
    }
    .modality-card-copy .btn {
        width: 100%;
        min-width: 0;
    }
    .modality-card::after {
        background:
            linear-gradient(180deg, rgba(5, 11, 18, 0.1) 0%, rgba(5, 11, 18, 0.88) 68%, rgba(5, 11, 18, 0.96) 100%);
    }
    .modalities-controls {
        margin-top: 22px;
    }
}

.section-needs.service-active .services-grid {
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.section-needs.service-active .service-card.service-flip-card {
    transition:
        opacity 520ms ease,
        filter 520ms ease,
        transform 720ms cubic-bezier(0.2, 0.78, 0.2, 1);
}
.section-needs.service-active .service-card.service-flip-card:first-child {
    grid-column: 1;
    grid-row: 1;
    z-index: 8;
    opacity: 1;
    filter: drop-shadow(0 26px 46px rgba(11, 42, 91, 0.18));
    transform: translateY(0) scale(1.02);
}
.section-needs.service-active .service-card.service-flip-card:nth-of-type(2),
.section-needs.service-active .service-card.service-flip-card:nth-of-type(3),
.section-needs.service-active .service-card.service-flip-card:nth-of-type(4) {
    grid-column: 1;
    grid-row: 1;
    opacity: 0.5;
    filter: saturate(0.85) brightness(0.86);
    pointer-events: none;
    transform: translateX(var(--stack-x)) translateY(var(--stack-y)) rotate(var(--stack-rotate)) scale(var(--stack-scale));
}
.section-needs.service-active .service-card.service-flip-card:nth-of-type(2) {
    --stack-x: 22px;
    --stack-y: 20px;
    --stack-rotate: -4deg;
    --stack-scale: 0.94;
    z-index: 5;
}
.section-needs.service-active .service-card.service-flip-card:nth-of-type(3) {
    --stack-x: 38px;
    --stack-y: 38px;
    --stack-rotate: 3deg;
    --stack-scale: 0.9;
    z-index: 4;
}
.section-needs.service-active .service-card.service-flip-card:nth-of-type(4) {
    --stack-x: 52px;
    --stack-y: 56px;
    --stack-rotate: -2deg;
    --stack-scale: 0.86;
    z-index: 3;
}
.section-needs.service-active .service-card.service-flip-card:nth-of-type(2) .service-flip-inner,
.section-needs.service-active .service-card.service-flip-card:nth-of-type(3) .service-flip-inner,
.section-needs.service-active .service-card.service-flip-card:nth-of-type(4) .service-flip-inner {
    transform: rotateY(0deg);
}
.service-journey-panel {
    display: none;
    min-height: 456px;
    padding: 26px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 138, 0, 0.17), transparent 32%),
        radial-gradient(circle at 74% 10%, rgba(30, 78, 216, 0.3), transparent 36%),
        linear-gradient(135deg, #07101F 0%, #071832 52%, #0A1F43 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    box-shadow: 0 28px 80px rgba(3, 12, 28, 0.34);
}
.section-needs.service-active .service-journey-panel {
    display: block;
    grid-column: 2;
    grid-row: 1;
    animation: journeyPanelIn 720ms cubic-bezier(0.2, 0.78, 0.2, 1) both;
}
@keyframes journeyPanelIn {
    from {
        opacity: 0;
        transform: translateX(44px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}
.journey-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
}
.journey-panel-head h3 {
    max-width: 20ch;
    color: var(--white);
    font-size: 1.9rem;
    line-height: 1.04;
}
.journey-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
}
.journey-intro {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 20px;
}
.journey-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 42px 24px;
}
.journey-progress::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%);
}
.journey-progress-fill {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    width: var(--journey-progress, 0%);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), #06B6D4);
    box-shadow: 0 0 22px rgba(255, 138, 0, 0.28);
    transform: translateY(-50%);
    transition: width 220ms ease;
}
.journey-step {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    font-weight: 900;
}
.journey-step::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06);
}
.journey-step.is-active {
    color: var(--white);
}
.journey-step.is-active::after {
    background: var(--orange);
    box-shadow: 0 0 0 8px rgba(255, 138, 0, 0.14);
}
.journey-shell {
    position: relative;
}
.journey-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 18px;
    scrollbar-width: none;
}
.journey-track::-webkit-scrollbar {
    display: none;
}
.journey-card {
    flex: 0 0 min(390px, 82vw);
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.journey-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 138, 0, 0.34);
    box-shadow: 0 28px 62px rgba(0, 0, 0, 0.34);
}
.journey-card img {
    width: 100%;
    height: 188px;
    display: block;
    object-fit: cover;
}
.journey-card-copy {
    padding: 18px;
}
.journey-card-copy span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.journey-card-copy h4 {
    color: var(--white);
    font-size: 1.14rem;
    margin-bottom: 7px;
}
.journey-card-copy p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.55;
}
.journey-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(255, 138, 0, 0.32);
    transform: translateY(-50%);
}
.journey-nav-prev { left: -12px; }
.journey-nav-next { right: -12px; }

.section-before-after {
    overflow: hidden;
    padding: 82px 0 132px;
    margin-bottom: 58px;
    background:
        radial-gradient(circle at 50% 0%, rgba(30, 78, 216, 0.24), transparent 34%),
        linear-gradient(180deg, #07101F 0%, #050B14 100%);
    color: var(--white);
}
.section-before-after .section-title { color: var(--white); }
.section-before-after .section-subtitle { color: rgba(255, 255, 255, 0.72); }
.before-after-tabs {
    width: min(100%, 1000px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 0 auto 34px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(3, 22, 52, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
.before-after-tabs button {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 61, 127, 0.74);
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.before-after-tabs button:hover {
    color: var(--white);
    transform: translateY(-1px);
}
.before-after-tabs button.is-active {
    background: linear-gradient(135deg, var(--blue), #06B6D4);
    color: var(--white);
}
.before-after-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.78fr) minmax(280px, 0.62fr);
    gap: 28px;
    align-items: stretch;
}
.compare-frame {
    --compare-pos: 50%;
    position: relative;
    aspect-ratio: 18 / 13;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: #07101F;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    cursor: ew-resize;
}
.compare-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 8, 20, 0.32), transparent 28%, transparent 72%, rgba(3, 8, 20, 0.32)),
        linear-gradient(180deg, rgba(3, 8, 20, 0.10), rgba(3, 8, 20, 0.22));
}
.compare-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    background: #07101F;
}
.compare-after-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden;
    -webkit-clip-path: inset(0 calc(100% - var(--compare-pos)) 0 0);
    clip-path: inset(0 calc(100% - var(--compare-pos)) 0 0);
    -webkit-mask-image: none;
    mask-image: none;
}
.compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--compare-pos);
    z-index: 4;
    width: 2px;
    transform: translateX(-1px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.75);
    pointer-events: none;
}
.compare-divider::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 96px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}
.compare-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(3, 8, 20, 0.82);
    color: var(--white);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}
.compare-drag-tip {
    position: absolute;
    top: 50%;
    left: var(--compare-pos);
    z-index: 6;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(11, 42, 91, 0.78);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0;
    transform: translate(20px, -50%);
    transition: opacity 160ms ease, transform 160ms ease;
    pointer-events: none;
}
.compare-frame:hover .compare-drag-tip,
.compare-frame:focus-within .compare-drag-tip {
    opacity: 1;
    transform: translate(28px, -50%);
}
.compare-label {
    position: absolute;
    top: 16px;
    z-index: 5;
    padding: 8px 12px;
    border-radius: 9px;
    background: rgba(3, 8, 20, 0.84);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.compare-label-after { left: 16px; }
.compare-label-before { right: 16px; }
.compare-real-badge {
    position: absolute;
    right: 20px;
    bottom: 18px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: #e31b1b;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 10px 22px rgba(227, 27, 27, 0.34);
    animation: compareRealBadgePulse 2.6s ease-in-out infinite;
    pointer-events: none;
}
.compare-range {
    position: absolute;
    inset: 0;
    z-index: 7;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}
.compare-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(14px);
}
.compare-kicker {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.compare-content .compare-title {
    color: var(--white);
    max-width: 10.5em;
    margin-top: 12px;
    font-size: clamp(1.35rem, 2.15vw, 1.95rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -0.03em;
}
.compare-content p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
    line-height: 1.58;
}
.compare-content ul {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.compare-content li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 900;
}
.compare-content i { color: var(--orange); }

.section-trust {
    padding: 0 0 88px;
    background: linear-gradient(180deg, var(--white) 0%, #F3F6FB 100%);
}
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 130px;
    background: #05070D;
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/hero-carousel-4.jpg') center center / cover no-repeat;
    opacity: 0.58;
    transform: scale(1.08);
    animation: aboutBgSlowZoom 18s ease-in-out infinite alternate;
}
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.28)),
        linear-gradient(30deg, rgba(255,255,255,0.045) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.045) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.045) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.045) 87.5%);
    background-size: 72px 42px;
    box-shadow:
        inset 0 0 180px rgba(0, 0, 0, 0.46),
        inset 0 -120px 140px rgba(5, 7, 13, 0.64),
        inset 0 80px 130px rgba(5, 12, 44, 0.34);
    pointer-events: none;
}
.about-hero .container {
    position: relative;
    z-index: 2;
}
.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 9px 22px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: aboutFadeUp 720ms ease both;
}
.about-pill i { color: var(--orange); }
.about-hero h2 {
    color: var(--white);
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-style: italic;
    text-transform: uppercase;
    max-width: 1050px;
    margin: 0 auto 24px;
    animation: aboutFadeUp 860ms 90ms ease both;
}
.about-hero h2 span,
.about-hero h2 strong { color: var(--orange); }
.about-hero p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
    margin: 0 auto 34px;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.55;
    animation: aboutFadeUp 860ms 180ms ease both;
}
.about-hero .btn {
    box-shadow: 0 18px 42px rgba(255, 138, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    animation: aboutFadeUp 860ms 270ms ease both;
}
.about-hero .btn:hover {
    box-shadow: 0 24px 58px rgba(255, 138, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.about-values {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -64px;
}
.value-card {
    min-height: 255px;
    padding: 34px 32px;
    border-radius: 12px;
    background: var(--white);
    border-bottom: 5px solid var(--blue-dark);
    box-shadow: 0 24px 60px rgba(11, 42, 91, 0.18), 0 8px 22px rgba(17, 24, 39, 0.08);
    animation: aboutCardRise 720ms ease both;
}
.value-card:nth-child(2) { animation-delay: 100ms; }
.value-card:nth-child(3) { animation-delay: 200ms; }
.value-card-orange { border-bottom-color: var(--orange); }
.value-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 50%;
    color: var(--blue-dark);
    background: rgba(30, 78, 216, 0.09);
    font-size: 1.35rem;
}
.value-card-orange .value-icon {
    color: var(--orange);
    background: rgba(255, 138, 0, 0.10);
}
.value-card h3 {
    margin-bottom: 18px;
    color: #173577;
    font-size: 1.18rem;
    font-style: italic;
    text-transform: uppercase;
}
.value-card p {
    color: #6B7280;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.65;
}

.section-authority {
    background: linear-gradient(135deg, var(--blue-dark), #123D7F);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.metric-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
}
.metric-card i {
    color: var(--orange);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.metric-card strong {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
}
.metric-card span { font-weight: 700; }

.section-clients {
    overflow: hidden;
    background: var(--bg);
    padding-top: 0;
}
.clients-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 158px;
    padding: 92px 24px 0;
    isolation: isolate;
    overflow: visible;
    background: #080C52;
}
.clients-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(7, 10, 72, 0.42), rgba(7, 10, 72, 0.92)),
        linear-gradient(90deg, rgba(7, 10, 72, 0.72), rgba(7, 10, 72, 0.54)),
        url("../assets/hero-carousel-2.jpg") center / cover no-repeat;
}
.clients-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(255, 138, 0, 0.18), transparent 36%);
    opacity: 0.72;
}
.clients-hero-content {
    width: min(100%, 1000px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
}
.clients-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}
.clients-badge i {
    color: var(--orange);
    font-size: 0.58rem;
}
.clients-hero .clients-title {
    max-width: 980px;
    color: var(--white);
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    font-weight: 1000;
    font-style: italic;
    line-height: 0.96;
    text-transform: uppercase;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}
.clients-count::before { content: "+"; }
.clients-hero .clients-title em {
    color: var(--orange);
    font-style: italic;
}
.clients-hero p {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 800;
}
.clients-cta {
    min-width: min(100%, 420px);
    margin-top: 44px;
    justify-content: center;
    box-shadow: 0 22px 54px rgba(255, 138, 0, 0.28);
}
.clients-rating-card {
    position: absolute;
    left: 50%;
    bottom: -116px;
    width: min(840px, calc(100% - 32px));
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 34px;
    align-items: center;
    transform: translateX(-50%);
    padding: 38px 56px;
    border: 1px solid rgba(11, 42, 91, 0.08);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 28px 76px rgba(11, 42, 91, 0.15);
}
.rating-score {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
    justify-content: center;
}
.rating-score strong {
    grid-row: span 2;
    color: #080C76;
    font-size: clamp(3rem, 5vw, 4.4rem);
    font-weight: 1000;
    line-height: 0.9;
}
.rating-score .stars {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1;
}
.rating-score small,
.rating-google small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.rating-google {
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-left: 42px;
    border-left: 1px solid var(--line);
}
.rating-google strong {
    color: #374151;
    font-size: 1.18rem;
    font-weight: 1000;
}
.rating-google span {
    color: #4285F4;
    margin-right: 8px;
}
.clients-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.clients-head .section-eyebrow {
    align-items: center;
    gap: 8px;
    color: var(--blue);
}
.clients-head .section-eyebrow i {
    color: #25D366;
    font-size: 0.7rem;
}
.drag-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #A0A7B5;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}
.reviews-carousel-shell {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 58px;
}
.reviews-marquee {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-width: none;
    padding: 10px 0 34px;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}
.reviews-marquee::-webkit-scrollbar { display: none; }
.reviews-marquee:active,
.reviews-marquee.is-dragging { cursor: grabbing; }
.reviews-track {
    display: flex;
    gap: 22px;
    will-change: transform;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.review-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow:
        0 18px 48px rgba(11, 42, 91, 0.12),
        0 2px 0 rgba(255, 255, 255, 0.9) inset;
    transform: translateY(0) rotateX(0) rotateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    will-change: transform;
}
.review-card:hover {
    border-color: rgba(30, 78, 216, 0.18);
    box-shadow:
        0 28px 68px rgba(11, 42, 91, 0.18),
        0 18px 38px rgba(255, 138, 0, 0.10),
        0 2px 0 rgba(255, 255, 255, 0.95) inset;
    transform: translateY(-8px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}
.reviews-marquee.is-dragging .review-card {
    transition: transform 120ms ease, box-shadow 120ms ease;
    transform: scale(0.985);
}
.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.review-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #EAF1FF, #FFF2DD);
    color: var(--blue);
    font-weight: 900;
}
.review-top .review-title {
    color: var(--blue-dark);
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}
.review-top span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}
.google-mark {
    margin-left: auto;
    color: #4285F4;
    font-size: 1.1rem;
}
.stars {
    color: var(--orange);
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 14px;
}
.review-card p {
    color: #667085;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.72;
    flex: 1;
}
.review-card > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}
.review-card a {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 900;
    margin-top: 22px;
    position: relative;
    z-index: 5;
}
.review-card a:hover { color: var(--orange); }

.reviews-arrow {
    position: absolute;
    top: 42%;
    z-index: 4;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--navy, #082f7a);
    color: var(--white);
    box-shadow: 0 16px 36px rgba(11, 42, 91, 0.24);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}
.reviews-arrow:hover,
.reviews-arrow:focus-visible {
    background: var(--orange);
    transform: translateY(-2px);
}
.reviews-arrow:focus-visible {
    outline: 3px solid rgba(255, 106, 0, 0.28);
    outline-offset: 3px;
}
.reviews-arrow-prev { left: 0; }
.reviews-arrow-next { right: 0; }
.reviews-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.steps-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 30px;
}
.steps-wrapper::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.2), var(--orange), rgba(255, 106, 0, 0.2));
}
.step-card::before {
    content: "";
    position: absolute;
    top: -27px;
    left: 50%;
    width: 12px;
    height: 12px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.25);
    transform: translateX(-50%);
}
.step-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-card);
}
.step-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-dark);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 18px;
}
.step-card i {
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 14px;
}
.step-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 12px; }
.step-card p { color: var(--muted); font-size: 1rem; line-height: 1.68; }

.section-urgency {
    background: var(--white);
}
.urgency-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 44px;
    border-radius: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
}
.urgency-grid h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    max-width: 680px;
    margin-bottom: 12px;
}
.urgency-grid p {
    color: var(--muted);
    max-width: 720px;
    font-size: 1rem;
}
.process-cta {
    position: relative;
    overflow: hidden;
    padding: 34px 40px;
    background:
        radial-gradient(circle at 7% 20%, rgba(255, 138, 0, 0.14), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 22px 54px rgba(11, 42, 91, 0.12);
}
.process-cta::after {
    content: "";
    position: absolute;
    top: -54px;
    right: 18%;
    width: 150px;
    height: 150px;
    border: 24px solid rgba(30, 78, 216, 0.04);
    border-radius: 50%;
    pointer-events: none;
}
.process-cta h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.process-cta .btn {
    position: relative;
    z-index: 1;
    min-width: 270px;
}
.process-cta .btn i { margin-left: 8px; }

.section-cities {
    background: #F5F8FC;
}
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.city-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 15px 18px;
    border: 1px solid rgba(11, 42, 91, 0.1);
    border-radius: 16px;
    background: var(--white);
    color: var(--blue-dark);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
    box-shadow: 0 12px 30px rgba(11, 42, 91, 0.08);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.city-link-card i {
    color: var(--orange);
    font-size: 0.92rem;
}
.city-link-card:hover,
.city-link-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    color: var(--orange);
    box-shadow: 0 18px 38px rgba(255, 138, 0, 0.14);
}

.section-faq {
    background: #F5F8FC;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.faq-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-card);
}
.faq-card h3 {
    color: var(--blue-dark);
    font-size: 1.16rem;
    line-height: 1.35;
    margin-bottom: 12px;
}
.faq-card p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.section-cta {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(11, 42, 91, 0.95), rgba(11, 42, 91, 0.76)),
        url('https://images.unsplash.com/photo-1686824806174-e9bf6ebadfc5?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}
.section-cta h2 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 16px;
}
.section-cta p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.footer {
    padding: 58px 0 0;
    color: rgba(255, 255, 255, 0.74);
    background: #071B3D;
}
.footer .logo,
.footer-heading { color: var(--white); }
.footer li i { color: var(--blue); }
.footer .logo img {
    width: 220px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
}
.footer p { max-width: 420px; margin-top: 12px; }
.footer-heading {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.2;
}
.footer ul { display: grid; gap: 8px; }
.footer li { display: flex; align-items: center; gap: 10px; }
.footer a:hover { color: var(--whatsapp); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
    padding-top: 20px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    font-weight: 700;
}
.footer-bottom p {
    margin: 0;
    max-width: none;
}
.footer-bottom a {
    color: var(--orange);
    font-weight: 900;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--white);
}

.sticky-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
    animation: whatsappPulse 2s infinite;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}
@keyframes aboutBgSlowZoom {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to { transform: scale(1.16) translate3d(-1.4%, -1%, 0); }
}
@keyframes aboutFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes aboutCardRise {
    from {
        opacity: 0;
        transform: translateY(34px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.34); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes compareRealBadgePulse {
    0%, 100% {
        opacity: 0.88;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.34), 0 10px 22px rgba(227, 27, 27, 0.34);
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.16), 0 0 24px rgba(255, 255, 255, 0.52), 0 10px 24px rgba(227, 27, 27, 0.42);
        transform: translateY(-1px);
    }
}

@media (max-width: 1100px) {
    .hero-container { grid-template-columns: 1fr; }
    .quote-calculator { max-width: 760px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cities-grid { grid-template-columns: repeat(2, 1fr); }
    .section-needs.service-active .services-grid {
        grid-template-columns: 1fr;
    }
    .section-needs.service-active .service-card.service-flip-card:first-child,
    .section-needs.service-active .service-journey-panel {
        grid-column: 1;
    }
    .section-needs.service-active .service-journey-panel {
        grid-row: 2;
    }
    .section-needs.service-active .service-card.service-flip-card:nth-of-type(2),
    .section-needs.service-active .service-card.service-flip-card:nth-of-type(3),
    .section-needs.service-active .service-card.service-flip-card:nth-of-type(4) {
        display: none;
    }
    .metrics-grid,
    .steps-wrapper { grid-template-columns: repeat(2, 1fr); }
    .steps-wrapper { padding-top: 0; }
    .steps-wrapper::before,
    .step-card::before { display: none; }
    .about-values { grid-template-columns: 1fr; max-width: 720px; }
    .main-nav { gap: 0; }
    .main-nav a { padding: 10px 9px; font-size: 0.88rem; }
    .before-after-stage { grid-template-columns: 1fr; }
    .compare-frame { min-height: 0; }
    .clients-hero {
        min-height: 520px;
        margin-bottom: 118px;
    }
    .clients-rating-card {
        width: min(760px, calc(100% - 32px));
        padding: 32px;
    }
    .reviews-carousel-shell {
        max-width: 760px;
    }
    .review-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hidden-desktop { display: flex; }
    .navbar { top: 8px; }
    .nav-content {
        min-height: 58px;
        padding: 8px;
        gap: 8px;
        border-radius: 16px;
    }
    .main-nav { display: none; }
    .fixed-header-btn {
        min-height: 46px;
        padding: 10px 12px;
        font-size: 0.78rem;
    }
    .logo img { width: 146px; }

    .hero {
        min-height: auto;
        padding: 100px 0 42px;
        margin-top: 0;
    }
    .hero-bg {
        background:
            linear-gradient(180deg, rgba(7, 27, 61, 0.94) 0%, rgba(7, 27, 61, 0.82) 52%, rgba(7, 27, 61, 0.70) 100%),
            url('../assets/hero-mudancas-tom.jpg') center bottom/cover no-repeat;
        animation: heroMobileMove 11s ease-in-out infinite alternate;
    }
    .hero h1 { font-size: clamp(30px, 9vw, 36px); margin-bottom: 18px; }
    .hero p { font-size: 1rem; line-height: 1.65; margin-bottom: 24px; }
    .hero-ctas .btn { width: 100%; }
    .microcopy {
        display: grid;
        gap: 8px;
        font-size: 0.88rem;
    }
    .microcopy span + span::before { display: none; }

    .quote-calculator {
        padding: 20px;
        border-radius: 20px;
    }
    .form-head h2 { font-size: 1.35rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid label.full { grid-column: auto; }
    .move-calculator-head {
        flex-direction: column;
    }
    .truck-preview {
        grid-template-columns: 1fr;
    }
    .truck-vehicle { width: 190px; }
    .truck-vehicle.truck-medium { width: 220px; }
    .truck-vehicle.truck-large { width: 250px; }
    .calc-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-summary {
        grid-template-columns: 1fr;
    }

    .section-needs,
    .section-before-after,
    .section-howitworks,
    .section-trust,
    .section-authority,
    .section-clients,
    .section-urgency,
    .section-cities,
    .section-faq,
    .section-cta { padding: 56px 0; }

    .section-title { font-size: clamp(22px, 7vw, 26px); line-height: 1.18; }
    .section-subtitle { font-size: 0.96rem; line-height: 1.7; }

    .services-grid,
    .diff-grid,
    .metrics-grid,
    .steps-wrapper,
    .cities-grid,
    .faq-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        margin-top: 32px;
    }
    .service-card,
    .step-card,
    .metric-card { border-radius: 20px; }
    .service-card:not(.service-flip-card) { padding: 22px; }
    .service-card.service-flip-card {
        min-height: 430px;
        padding: 0;
    }
    .service-flip-inner,
    .service-face {
        min-height: 430px;
    }
    .service-journey-panel {
        min-height: auto;
        padding: 20px;
        border-radius: 22px;
    }
    .journey-panel-head h3 {
        font-size: 1.45rem;
    }
    .journey-progress {
        grid-template-columns: repeat(2, 1fr);
        margin: 16px 4px 20px;
        row-gap: 18px;
    }
    .journey-progress::before {
        display: none;
    }
    .journey-card {
        flex-basis: 86vw;
    }
    .journey-nav {
        width: 38px;
        height: 38px;
    }
    .journey-nav-prev { left: 4px; }
    .journey-nav-next { right: 4px; }
    .before-after-tabs {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    .before-after-tabs button {
        min-height: 48px;
        border-radius: 16px;
    }
    .compare-frame {
        min-height: 0;
        border-radius: 20px;
    }
    .compare-content {
        padding: 24px;
        border-radius: 20px;
    }
    .compare-label {
        top: 12px;
        font-size: 0.68rem;
    }
    .section-trust { padding-bottom: 56px; }
    .about-hero {
        min-height: 100svh;
        display: flex;
        align-items: center;
        padding: 92px 0 92px;
    }
    .about-hero h2 {
        font-size: clamp(36px, 11vw, 52px);
        line-height: 1.08;
    }
    .about-hero p {
        font-size: 1rem;
        line-height: 1.7;
    }
    .about-values {
        gap: 16px;
        margin-top: 0;
        padding-top: 22px;
    }
    .value-card {
        min-height: auto;
        padding: 26px 24px;
        border-radius: 20px;
    }
    .value-icon {
        margin-bottom: 22px;
    }
    .urgency-grid {
        align-items: stretch;
        flex-direction: column;
        padding: 28px 16px;
        border-radius: 20px;
    }
    .urgency-grid .btn { width: 100%; }
    .section-cta .btn { width: 100%; }
    .clients-head {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }
    .section-clients { padding-top: 0; }
    .clients-hero {
        min-height: 560px;
        margin-bottom: 154px;
        padding: 82px 16px 0;
    }
    .clients-hero-bg {
        background:
            linear-gradient(180deg, rgba(7, 10, 72, 0.48), rgba(7, 10, 72, 0.94)),
            url("../assets/hero-carousel-2.jpg") center / cover no-repeat;
    }
    .clients-badge {
        margin-bottom: 22px;
        padding: 10px 14px;
        font-size: 0.64rem;
        letter-spacing: 0.16em;
    }
    .clients-hero .clients-title {
        font-size: clamp(2.55rem, 13vw, 4.2rem);
        line-height: 1;
    }
    .clients-hero p {
        margin-top: 20px;
        line-height: 1.55;
    }
    .clients-cta {
        margin-top: 30px;
        min-width: 0;
        width: 100%;
    }
    .clients-rating-card {
        bottom: -126px;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
        border-radius: 20px;
    }
    .rating-score {
        justify-content: start;
    }
    .rating-google {
        min-height: auto;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .reviews-carousel-shell {
        padding: 0 48px;
    }
    .reviews-track { gap: 14px; }
    .review-card {
        flex-basis: 100%;
        min-height: 340px;
        border-radius: 20px;
        padding: 22px;
    }
    .review-card > p { -webkit-line-clamp: 8; }
    .process-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 28px 24px;
    }
    .process-cta .btn {
        width: 100%;
        min-width: 0;
    }
    .faq-card { padding: 24px; }
    .reviews-arrow {
        width: 40px;
        height: 40px;
    }
}

@keyframes heroMobileMove {
    from {
        transform: scale(1.06) translateY(0);
        background-position: center bottom;
    }
    to {
        transform: scale(1.12) translateY(-10px);
        background-position: 58% bottom;
    }
}

/* Premium recovered hero model */
.navbar {
    top: 18px;
}
.nav-content {
    min-height: 78px;
    max-width: 1440px;
    padding: 9px 14px 9px 24px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(126, 112, 91, 0.80), rgba(91, 78, 65, 0.76)),
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.24), transparent 34%),
        radial-gradient(circle at 100% 52%, rgba(255, 138, 0, 0.14), transparent 28%);
    backdrop-filter: blur(18px) saturate(118%);
    box-shadow:
        0 18px 44px rgba(35, 28, 22, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.logo img {
    width: 174px;
}
.main-nav {
    gap: 10px;
}
.main-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 900;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}
.main-nav a:first-child::after {
    content: none;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
}
.main-nav a.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), #FF6A00);
    box-shadow:
        0 14px 30px rgba(255, 138, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 900;
    white-space: nowrap;
}
.nav-phone i {
    color: var(--white);
    font-size: 0.9rem;
}
.fixed-header-btn {
    min-height: 50px;
    border-radius: 13px;
    padding: 13px 20px;
    font-size: 0.95rem;
}
.hero {
    min-height: 100vh;
    padding: 128px 0 20px;
    background: #020B20;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(1, 8, 29, 0.96) 0%, rgba(1, 8, 29, 0.84) 24%, rgba(1, 8, 29, 0.42) 46%, rgba(1, 8, 29, 0.12) 62%, transparent 76%),
        linear-gradient(180deg, rgba(1, 8, 29, 0.10) 0%, rgba(1, 8, 29, 0.58) 100%);
    pointer-events: none;
}
.hero-carousel,
.hero-slide {
    position: absolute;
    inset: 0;
}
.hero-carousel {
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    opacity: 0;
    background-position: center center;
    background-size: cover;
    animation: heroCarousel 30s infinite;
    transform: scale(1.04);
}
.hero-slide-1,
.hero-slide-2,
.hero-slide-3,
.hero-slide-4,
.hero-slide-5 {
    background-position: center center;
}
.hero-slide-1 { background-image: url('../assets/hero-carousel-1.jpg'); animation-delay: 0s; }
.hero-slide-2 { background-image: url('../assets/hero-carousel-2.jpg'); animation-delay: 6s; }
.hero-slide-3 { background-image: url('../assets/hero-carousel-3.jpg'); animation-delay: 12s; }
.hero-slide-4 { background-image: url('../assets/hero-carousel-4.jpg'); animation-delay: 18s; }
.hero-slide-5 { background-image: url('../assets/hero-carousel-5.jpg'); animation-delay: 24s; }
.hero-container {
    z-index: 1;
    max-width: 1440px;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 22px;
    min-height: calc(100vh - 236px);
    align-items: center;
}
.hero-content {
    max-width: 720px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hero-kicker span {
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--orange);
}
.hero h1 {
    max-width: 720px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(3.45rem, 4.35vw, 4.85rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}
.hero h1 span {
    color: var(--orange);
}
.hero p {
    max-width: 650px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.24rem;
    line-height: 1.5;
}
.hero-proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    font-weight: 700;
}
.hero-proof i {
    color: var(--orange);
}
.btn-ghost {
    color: var(--white);
    border: 1px solid var(--orange);
    background: rgba(2, 15, 43, 0.34);
}
.btn-ghost:hover {
    background: rgba(255, 138, 0, 0.12);
    box-shadow: 0 18px 38px rgba(255, 138, 0, 0.12);
}
.hero-ctas {
    margin-bottom: 24px;
    gap: 22px;
}
.hero-ctas .btn {
    min-width: 240px;
}
.microcopy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 690px;
}
.microcopy span {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    align-items: center;
    color: var(--white);
}
.microcopy span + span::before {
    display: none;
}
.microcopy i {
    grid-row: 1 / span 2;
    color: var(--orange);
    font-size: 1.8rem;
}
.microcopy strong {
    color: var(--white);
    font-size: 0.94rem;
    line-height: 1.2;
}
.microcopy small {
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.25;
}
.quote-calculator {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 24px 18px;
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}
.hero.map-mode .quote-calculator {
    transform: translateX(-430px) scale(0.96);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}
@media (min-width: 1181px) {
    .quote-calculator {
        max-height: calc(100vh - 180px);
    }
}
.quote-calculator::before {
    content: "";
    position: absolute;
    inset: 42px 26px;
    background: url('../assets/logo-mudancas-tom.png') center/78% auto no-repeat;
    opacity: 0.09;
    pointer-events: none;
}
.quote-calculator > * {
    position: relative;
    z-index: 1;
}
.form-head {
    margin-bottom: 6px;
}
.form-head h2 {
    color: var(--orange);
    font-size: 2rem;
    line-height: 1;
}
.form-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    gap: 7px 14px;
}
.form-grid label {
    gap: 4px;
}
.form-grid label,
.form-radio legend {
    color: #273043;
    font-size: 0.74rem;
    font-weight: 700;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
    min-height: 32px;
    border-color: rgba(11, 42, 91, 0.14);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.42);
    padding: 6px 10px;
    font-size: 0.86rem;
}
.form-grid textarea {
    min-height: 48px;
    resize: vertical;
}
.form-radio {
    display: grid;
    gap: 4px;
    border: 0;
}
.form-radio label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #3E4656;
    font-size: 0.78rem;
    line-height: 1.28;
}
.form-radio input {
    width: auto;
    min-height: auto;
}
.quote-submit {
    min-height: 44px;
    margin-top: 10px;
    border-radius: 7px;
    background: var(--blue-dark);
    box-shadow: 0 14px 28px rgba(11, 42, 91, 0.24);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.quote-submit:hover {
    background: #08234d;
}
.route-map-panel {
    position: absolute;
    top: 50%;
    right: max(8px, calc((100vw - 1440px) / 2 - 32px));
    z-index: 4;
    width: min(420px, 30vw);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    opacity: 0;
    pointer-events: none;
    transform: translate(42px, -50%) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.route-map-panel[hidden] {
    display: none !important;
}
.hero.map-mode .route-map-panel,
.hero.route-map-open .route-map-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%) scale(1);
}
.route-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px 14px;
}
.route-map-head span {
    display: block;
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.route-map-head h3 {
    margin-top: 4px;
    color: var(--blue-dark);
    font-size: 1.45rem;
    line-height: 1.1;
}
.route-map-head button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 42, 91, 0.08);
    color: var(--blue-dark);
    cursor: pointer;
}
.route-map-frame {
    height: 300px;
    margin: 0 18px;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(30, 78, 216, 0.10), rgba(255, 138, 0, 0.10)),
        #EAF1FB;
}
.route-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.route-map-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px 20px;
}
.route-map-summary strong {
    display: block;
    color: var(--blue-dark);
    font-size: 1.1rem;
    font-weight: 900;
}
.route-map-summary span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}
.route-map-summary a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 900;
}
.route-map-summary button {
    min-height: 38px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--blue-dark);
    color: var(--white);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}
.route-distance-field {
    display: block;
    margin-top: 2px;
    color: var(--orange);
    font-size: 0.73rem;
    font-weight: 900;
    line-height: 1.25;
}
.hero-stats {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    min-height: 88px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    margin-top: 0;
    padding: 18px 34px;
    border: 1px solid rgba(73, 113, 158, 0.45);
    border-radius: 999px;
    background: rgba(2, 15, 43, 0.94);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30);
}
.hero-stats div {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.26);
}
.hero-stats div:last-child {
    border-right: 0;
}
.hero-stats i {
    grid-row: 1 / span 2;
    color: var(--orange);
    font-size: 2rem;
}
.hero-stats strong {
    color: var(--white);
    font-size: 1.08rem;
    line-height: 1.12;
}
.hero-stats span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.18;
}

@media (min-width: 1181px) {
    .nav-content {
        max-width: min(1440px, calc(100vw - 160px));
        min-height: 62px;
        gap: 18px;
        padding: 7px 9px 7px 22px;
    }
    .logo img {
        width: 168px;
    }
    .main-nav a {
        padding: 10px 9px;
        font-size: 0.88rem;
    }
    .nav-phone {
        margin-left: 8px;
        padding-left: 18px;
        font-size: 0.94rem;
    }
    .fixed-header-btn {
        min-height: 48px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    .hero {
        padding-top: 122px;
    }
    .hero-container {
        max-width: min(1440px, calc(100vw - 160px));
        grid-template-columns: minmax(0, 760px) clamp(410px, 25vw, 440px);
        justify-content: center;
        gap: clamp(26px, 3vw, 48px);
        min-height: clamp(620px, 67vh, 760px);
    }
    .hero-content {
        max-width: 760px;
        justify-self: start;
    }
    .quote-calculator {
        width: 100%;
        justify-self: end;
    }
    .hero h1 {
        max-width: 760px;
        font-size: clamp(3.55rem, 4vw, 4.75rem);
    }
    .hero-stats {
        max-width: min(1440px, calc(100vw - 160px));
    }
}

@media (min-width: 1900px) {
    .nav-content {
        max-width: min(1580px, calc(100vw - 260px));
    }
    .hero-container {
        max-width: min(1580px, calc(100vw - 260px));
        grid-template-columns: minmax(0, 820px) 440px;
        gap: clamp(38px, 3.2vw, 64px);
    }
    .hero-content {
        max-width: 820px;
    }
    .hero h1 {
        max-width: 820px;
        font-size: clamp(4rem, 3.35vw, 5.1rem);
    }
    .hero p {
        max-width: 700px;
        font-size: 1.28rem;
    }
    .quote-calculator {
        padding: 22px 26px 20px;
    }
    .hero-stats {
        max-width: min(1580px, calc(100vw - 260px));
    }
}

@media (min-width: 1181px) and (min-height: 1200px) {
    .hero {
        padding-top: 128px;
    }
    .hero-container {
        min-height: 760px;
    }
}

@keyframes heroCarousel {
    0% { opacity: 0; transform: scale(1.04); }
    4% { opacity: 1; }
    20% { opacity: 1; }
    24% { opacity: 0; transform: scale(1.10); }
    100% { opacity: 0; transform: scale(1.10); }
}

@media (max-width: 1040px) {
    #necessidade {
        min-height: auto;
        padding: 92px 0 76px;
    }
    #necessidade > .container {
        position: relative;
        top: auto;
        min-height: auto;
        justify-content: flex-start;
        padding: 0 0 18px;
        overflow: visible;
    }
    #necessidade .section-header {
        margin-bottom: 28px;
    }
    .modalities-track {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .modalities-controls {
        position: relative;
        z-index: 2;
        padding-bottom: 6px;
    }
    .navbar {
        top: 16px;
    }
    .nav-content {
        max-width: min(92vw, 760px);
        min-height: 62px;
        padding: 8px 10px 8px 18px;
        border-radius: 999px;
        gap: 12px;
    }
    .logo img {
        width: 150px;
    }
    .main-nav,
    .nav-phone,
    .fixed-header-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: grid;
        margin-left: auto;
    }
}

@media (max-width: 1180px) {
    .nav-phone { display: none; }
    .main-nav { gap: 10px; }
    .main-nav a { font-size: 0.88rem; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
    }
    .quote-calculator {
        max-width: 620px;
    }
    .hero.map-mode .quote-calculator {
        transform: none;
    }
    .route-map-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 620px;
        margin-top: -18px;
        transform: translateY(18px);
    }
    .hero.map-mode .route-map-panel {
        transform: translateY(0);
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 28px;
        gap: 16px 0;
    }
    .hero-stats div:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 1399px) {
    .hero.map-mode .hero-content {
        opacity: 1;
        transform: none;
        filter: none;
    }
    .hero.map-mode .quote-calculator {
        transform: none;
    }
    .route-map-panel {
        display: none;
    }
}

@media (max-width: 768px) {
    #necessidade {
        padding: 86px 0 72px;
    }
    #necessidade .section-header {
        padding: 0 18px;
        margin-bottom: 22px;
    }
    #necessidade .section-title {
        font-size: clamp(1.78rem, 7.5vw, 2.3rem);
    }
    #necessidade .section-subtitle {
        font-size: 1rem;
    }
    .navbar { top: 8px; }
    .nav-content {
        min-height: 66px;
        border-radius: 18px;
        padding: 8px 10px;
    }
    .logo img { width: 145px; }
    .fixed-header-btn {
        min-height: 46px;
        border-radius: 12px;
        padding: 10px 12px;
        font-size: 0.76rem;
    }
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }
    .sticky-whatsapp {
        right: 16px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
    .hero {
        padding: 96px 0 28px;
    }
    .hero::after {
        background:
            linear-gradient(180deg, rgba(1, 8, 29, 0.88) 0%, rgba(1, 8, 29, 0.78) 44%, rgba(1, 8, 29, 0.92) 100%);
    }
    .hero-slide {
        background-position: center top;
    }
    .hero h1 {
        font-size: clamp(38px, 12vw, 54px);
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-proof {
        align-items: flex-start;
        font-size: 0.9rem;
    }
    .hero-ctas {
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
        min-width: 0;
    }
    .microcopy {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    .quote-calculator {
        padding: 22px 18px;
        border-radius: 20px;
    }
    .hero.map-mode .hero-content {
        opacity: 1;
        transform: none;
        filter: none;
    }
    .route-map-frame {
        height: 260px;
    }
    .route-map-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .form-head h2 {
        font-size: 2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid label.full,
    .form-radio.full {
        grid-column: auto;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 22px 18px;
    }
    .hero-stats div,
    .hero-stats div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        padding: 0 0 16px;
    }
    .hero-stats div:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

/* Mobile spacing cleanup: keep the first-page flow compact on common phones. */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 82px 0 0;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 10px;
        padding-bottom: 14px;
    }

    .hero-content {
        display: contents;
        max-width: none;
    }

    .hero-kicker { order: 1; }

    .hero-kicker {
        margin-bottom: 6px;
        font-size: 0.7rem;
    }

    .hero h1 {
        order: 2;
        max-width: 14ch;
        margin-bottom: 8px;
        font-size: clamp(29px, 9.5vw, 38px);
        line-height: 0.98;
        letter-spacing: 0;
    }

    .hero p {
        order: 3;
        max-width: 31ch;
        margin-bottom: 8px;
        font-size: 0.86rem;
        line-height: 1.38;
    }

    .hero-proof {
        order: 4;
        gap: 6px;
        margin-bottom: 8px;
        font-size: 0.76rem;
        line-height: 1.28;
    }

    .quote-calculator {
        order: 5;
    }

    .hero-ctas {
        order: 6;
        gap: 6px;
        margin-bottom: 8px;
    }

    .hero-ctas .btn {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 0.76rem;
    }

    .microcopy {
        order: 7;
        display: none;
    }

    .quote-calculator {
        padding: 12px;
        border-radius: 16px;
    }

    .quote-calculator::before {
        inset: 58px 24px;
        background-size: 80% auto;
        opacity: 0.055;
    }

    .form-head {
        margin-bottom: 7px;
    }

    .form-head h2 {
        font-size: 0.88rem;
        line-height: 1.04;
    }

    .form-head p {
        font-size: 0.78rem;
        line-height: 1.34;
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .form-grid label,
    .form-radio legend {
        gap: 3px;
        font-size: 0.64rem;
    }

    .form-grid label.full,
    .form-radio.full {
        grid-column: 1 / -1;
    }

    .form-grid input,
    .form-grid select,
    .form-grid textarea {
        min-height: 34px;
        padding: 7px 8px;
        font-size: 0.74rem;
    }

    .form-grid textarea {
        min-height: 40px;
    }

    .form-radio {
        grid-column: 1 / -1;
        gap: 4px;
    }

    .form-radio label {
        min-height: 26px;
        font-size: 0.7rem;
    }

    .quote-submit {
        min-height: 38px;
        margin-top: 4px;
        font-size: 0.7rem;
    }

    .hero-stats {
        min-height: 0;
        gap: 0;
        margin-top: 2px;
        padding: 8px 14px 10px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .hero-stats div,
    .hero-stats div:nth-child(2) {
        grid-template-columns: 28px 1fr;
        column-gap: 9px;
        padding: 7px 0;
    }

    .hero-stats i {
        font-size: 1.18rem;
    }

    .hero-stats strong {
        font-size: 0.8rem;
        line-height: 1.08;
    }

    .hero-stats span {
        font-size: 0.67rem;
        line-height: 1.16;
    }

    #necessidade {
        padding: 34px 0 46px;
    }

    #necessidade > .container {
        padding-bottom: 0;
    }

    #necessidade .section-header {
        margin-bottom: 16px;
        padding: 0 16px;
    }

    #necessidade .section-eyebrow {
        margin-bottom: 7px;
        font-size: 0.7rem;
    }

    #necessidade .section-title {
        font-size: clamp(24px, 7.6vw, 30px);
        line-height: 1.02;
    }

    #necessidade .section-subtitle {
        max-width: 32ch;
        margin-inline: auto;
        font-size: 0.84rem;
        line-height: 1.42;
    }
}

@media (max-width: 420px) {
    .hero {
        padding-top: 98px;
    }

    .nav-content {
        min-height: 54px;
    }

    .logo img {
        width: 112px;
    }

    .fixed-header-btn {
        display: inline-flex;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0;
    }

    .fixed-header-btn::after {
        content: "Orçamento";
        font-size: 0.72rem;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .hero-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero h1 {
        font-size: clamp(28px, 8.6vw, 34px);
    }

    .hero p {
        font-size: 0.82rem;
    }
}

/* Ajuste dos campos de endereco no orcamento inicial */
.quote-calculator .form-grid > .full {
    grid-column: 1 / -1;
}

.quote-calculator .form-head {
    margin-bottom: 13px;
}

.quote-calculator .form-head h2 {
    max-width: 410px;
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(1.28rem, 2.35vw, 1.72rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.quote-calculator .form-head h2 span {
    color: var(--orange);
}

.quote-calculator .form-head p {
    max-width: 460px;
    margin-top: 8px;
    color: #6b7487;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.35;
}

.quote-calculator .quote-address-field {
    gap: 7px;
}

.quote-calculator .quote-contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    .quote-calculator .quote-contact-field {
        display: grid;
        gap: 4px;
        color: var(--blue-dark);
        font-size: 0.72rem;
        font-weight: 900;
    }

.quote-calculator .quote-contact-field input {
    min-height: 46px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #f9fbff;
    color: var(--blue-dark);
    font: inherit;
    font-weight: 800;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.quote-calculator .quote-contact-field input:focus {
    border-color: rgba(30, 78, 216, 0.55);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 78, 216, 0.10);
}

.quote-calculator .quote-contact-field input::placeholder {
    color: #506079;
    opacity: 0.78;
}

.quote-calculator .quote-field-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.quote-calculator .quote-address-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #f9fbff;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.quote-calculator .quote-address-input:focus-within {
    border-color: rgba(30, 78, 216, 0.55);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 78, 216, 0.10);
}

.quote-calculator .quote-address-input i {
    flex: 0 0 38px;
    width: 38px;
    height: 100%;
    min-height: 44px;
    display: grid !important;
    place-items: center;
    color: var(--blue);
    font-size: 0.95rem;
    line-height: 1;
}

.quote-calculator .quote-address-input input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 12px 13px 12px 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.quote-calculator .quote-address-input input:focus {
    background: transparent;
    box-shadow: none;
}

.quote-calculator .quote-address-input input::placeholder {
    color: #506079;
    opacity: 0.8;
}

.quote-calculator .field-hint {
    color: #0f5ee8;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.25;
}

.quote-calculator .address-suggestions {
    top: calc(100% + 4px);
    z-index: 80;
}

.quote-calculator .address-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.quote-calculator .address-suggestion::before {
    content: "\f3c5";
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--orange);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.quote-calculator .quote-add-destination {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue-dark);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
}

.quote-calculator .quote-add-destination i {
    color: var(--blue);
    font-size: 0.85rem;
}

.quote-calculator .quote-add-destination small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.quote-calculator .quote-add-destination:disabled {
    cursor: default;
    opacity: 0.72;
}

.quote-calculator .quote-estimate-mode {
    display: grid;
    gap: 10px;
}

    .quote-calculator .quote-estimate-mode > strong {
        color: var(--blue-dark);
        font-size: 0.76rem;
        font-weight: 950;
        line-height: 1.2;
    }

.quote-calculator .quote-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.quote-calculator .quote-mode-card {
    position: relative;
    min-height: 96px;
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 12px 8px 10px;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--blue-dark);
    cursor: pointer;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), transform var(--transition);
}

.quote-calculator .quote-mode-card:hover,
.quote-calculator .quote-mode-card.is-active {
    border-color: rgba(30, 78, 216, 0.72);
    background: #f5f9ff;
    box-shadow: 0 12px 28px rgba(11, 42, 91, 0.10);
    transform: translateY(-1px);
}

.quote-calculator .quote-mode-card.is-active::after {
    content: "\f00c";
    position: absolute;
    right: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-family: "Font Awesome 6 Free";
    font-size: 0.65rem;
    font-weight: 900;
}

.quote-calculator .quote-mode-card span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #edf4ff;
    color: var(--blue-dark);
    font-size: 1rem;
}

.quote-calculator .quote-mode-card.is-active span {
    background: var(--blue-dark);
    color: var(--orange);
}

.quote-calculator .quote-mode-card b,
.quote-calculator .quote-mode-card small {
    display: block;
    line-height: 1.1;
}

.quote-calculator .quote-mode-card b {
    font-size: 0.78rem;
    font-weight: 950;
}

.quote-calculator .quote-mode-card small {
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 850;
}

.quote-calculator .quote-extra-destinations {
    display: grid;
    gap: 8px;
}

.quote-calculator .quote-extra-destination {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 34px;
    gap: 8px;
    align-items: center;
}

.quote-calculator .quote-extra-destination .address-suggestions {
    grid-column: 1 / -1;
    top: calc(100% + 4px);
}

.quote-calculator .quote-remove-destination {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11, 42, 91, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--blue-dark);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.quote-calculator .quote-remove-destination:hover {
    border-color: rgba(255, 132, 0, 0.35);
    background: rgba(255, 132, 0, 0.1);
    color: var(--orange);
}

.quote-calculator .quote-items-box {
    display: grid;
    gap: 11px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
}

.quote-calculator .quote-items-box[hidden] {
    display: none;
}

.quote-calculator .quote-mode-panel[hidden] {
    display: none;
}

.quote-calculator .quote-property-box {
    display: grid;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

.quote-calculator .quote-property-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.quote-calculator .quote-property-head > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(30, 78, 216, 0.08);
    color: var(--blue);
}

.quote-calculator .quote-property-head strong,
.quote-calculator .quote-property-head small {
    display: block;
    line-height: 1.18;
}

.quote-calculator .quote-property-head strong {
    color: var(--blue-dark);
    font-size: 1.02rem;
    font-weight: 950;
}

.quote-calculator .quote-property-head small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.quote-calculator .quote-property-field {
    display: grid;
    gap: 8px;
    color: var(--blue-dark);
    font-size: 0.82rem;
    font-weight: 950;
}

.quote-calculator .quote-import-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 132, 0, 0.24);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 132, 0, 0.08), rgba(255, 255, 255, 0.84));
}

.quote-calculator .quote-import-card > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 132, 0, 0.16);
    color: var(--orange);
}

.quote-calculator .quote-import-card strong,
.quote-calculator .quote-import-card small {
    display: block;
    min-width: 0;
    line-height: 1.2;
}

.quote-calculator .quote-import-card strong {
    color: var(--blue-dark);
    font-size: 0.82rem;
    font-weight: 950;
}

.quote-calculator .quote-import-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
}

.quote-calculator .quote-import-action {
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 132, 0, 0.12);
    color: var(--orange);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 950;
}

.quote-import-modal[hidden] {
    display: none;
}

.quote-import-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(5, 11, 18, 0.62);
    backdrop-filter: blur(6px);
}

.quote-import-dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100dvh - 32px);
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 70px rgba(5, 11, 18, 0.28);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.quote-import-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 42, 91, 0.06);
    color: var(--blue-dark);
    cursor: pointer;
}

.quote-import-dialog-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-right: 34px;
}

.quote-import-dialog-head > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 132, 0, 0.15);
    color: var(--orange);
}

.quote-import-dialog h2 {
    color: var(--blue-dark);
    font-size: 1.22rem;
    font-weight: 950;
    line-height: 1.12;
}

.quote-import-dialog p,
.quote-import-status {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.45;
}

.quote-import-textarea-label {
    display: grid;
    gap: 8px;
    color: var(--blue-dark);
    font-size: 0.84rem;
    font-weight: 950;
}

.quote-import-textarea-label textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 12px 14px;
    border: 1px solid rgba(30, 78, 216, 0.28);
    border-radius: 14px;
    background: rgba(247, 250, 255, 0.92);
    color: var(--blue-dark);
    font: inherit;
    font-weight: 750;
    line-height: 1.45;
}

.quote-import-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 850;
}

.quote-import-divider::before,
.quote-import-divider::after {
    content: "";
    height: 1px;
    background: rgba(11, 42, 91, 0.12);
}

.quote-import-file-label {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px dashed rgba(255, 132, 0, 0.5);
    border-radius: 14px;
    background: rgba(255, 132, 0, 0.07);
    color: var(--orange);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 950;
    text-align: center;
}

.quote-import-file-label input {
    display: none;
}

.quote-import-file-summary {
    display: grid;
    gap: 10px;
    max-height: min(300px, 34dvh);
    padding: 12px;
    border: 1px solid rgba(30, 78, 216, 0.16);
    border-radius: 14px;
    background: rgba(247, 250, 255, 0.95);
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.45;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.quote-import-file-list {
    display: grid;
    gap: 8px;
}

.quote-import-file-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid rgba(11, 42, 91, 0.1);
    border-radius: 10px;
    background: #fff;
}

.quote-import-file-item i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 132, 0, 0.12);
    color: var(--orange);
}

.quote-import-file-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-import-file-item small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    white-space: nowrap;
}

.quote-import-actions {
    position: sticky;
    bottom: -24px;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    margin: 0 -24px -24px;
    padding: 12px 24px 24px;
    border-top: 1px solid rgba(11, 42, 91, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.98) 32%);
    backdrop-filter: blur(10px);
}

.quote-import-actions button {
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 950;
}

.quote-import-cancel {
    background: rgba(11, 42, 91, 0.08);
    color: var(--blue-dark);
}

.quote-import-save {
    background: linear-gradient(135deg, var(--orange), #ff6a00);
    color: var(--white);
    box-shadow: 0 16px 34px rgba(255, 132, 0, 0.24);
}

.quote-calculator .quote-items-head,
.quote-calculator .quote-items-added-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.quote-calculator .quote-items-head strong,
.quote-calculator .quote-items-added-head strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue-dark);
    font-size: 0.9rem;
    font-weight: 950;
}

.quote-calculator .quote-items-head small {
    color: var(--muted);
    font-size: 0.72rem;
}

.quote-calculator .quote-items-head span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 800;
    line-height: 1.3;
}

.quote-calculator .quote-clear-items {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: rgba(11, 42, 91, 0.68);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 900;
}

.quote-calculator .quote-clear-items:hover {
    color: var(--orange);
}

.quote-calculator .quote-item-input-wrap {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    min-height: 45px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #f9fbff;
    overflow: hidden;
}

.quote-calculator .quote-item-input-wrap i {
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 0.9rem;
}

.quote-calculator .quote-item-input-wrap input {
    min-width: 0;
    min-height: 43px;
    padding: 11px 8px 11px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.quote-calculator .quote-item-input-wrap button {
    align-self: stretch;
    padding: 0 14px;
    border: 0;
    border-left: 1px solid rgba(11, 42, 91, 0.1);
    background: rgba(30, 78, 216, 0.08);
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 950;
}

.quote-calculator .quote-item-input-wrap button:hover {
    background: var(--orange);
    color: var(--white);
}

.quote-calculator .quote-common-toggle {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 13px;
    border: 1px solid rgba(11, 42, 91, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 0.77rem;
    font-weight: 900;
}

.quote-calculator .quote-common-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.quote-calculator .quote-common-toggle span i {
    color: var(--blue);
}

.quote-calculator .quote-common-toggle[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.quote-calculator .quote-common-items {
    display: none;
    flex-wrap: wrap;
    gap: 7px;
}

.quote-calculator .quote-common-items.is-visible {
    display: flex;
}

.quote-calculator .quote-common-items button {
    padding: 7px 10px;
    border: 1px solid rgba(30, 78, 216, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
}

.quote-calculator .quote-common-items button:hover {
    border-color: rgba(255, 132, 0, 0.38);
    color: var(--orange);
}

.quote-calculator .quote-items-added {
    display: grid;
    gap: 8px;
    padding-top: 3px;
}

.quote-calculator .quote-items-added.is-empty {
    display: none;
}

.quote-calculator .quote-items-added-head span {
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 950;
}

.quote-calculator .quote-items-added-head .quote-clear-items {
    margin-left: auto;
}

.quote-calculator .quote-items-list {
    display: grid;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
    scroll-margin-bottom: 140px;
    border: 1px solid rgba(11, 42, 91, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.quote-calculator .quote-item-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.quote-calculator .quote-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
}

.quote-calculator .quote-item-row + .quote-item-row {
    border-top: 1px solid rgba(11, 42, 91, 0.08);
}

.quote-calculator .quote-item-row strong,
.quote-calculator .quote-item-row span {
    display: block;
    min-width: 0;
}

.quote-calculator .quote-item-row strong {
    color: var(--blue-dark);
    font-size: 0.84rem;
    font-weight: 950;
}

.quote-calculator .quote-item-row span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
}

.quote-calculator .quote-item-controls {
    display: inline-grid;
    grid-template-columns: 28px 20px 28px 28px;
    align-items: center;
    justify-items: center;
    gap: 4px;
}

.quote-calculator .quote-item-controls button {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: 9px;
    background: var(--white);
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 950;
}

.quote-calculator .quote-item-controls button:hover {
    border-color: rgba(255, 132, 0, 0.42);
    color: var(--orange);
}

.quote-calculator .quote-item-controls b {
    color: var(--blue-dark);
    font-size: 0.82rem;
    font-weight: 950;
}

.quote-calculator .quote-output-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px 16px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(11, 42, 91, 0.10);
    color: rgba(11, 42, 91, 0.72);
    font-size: 0.7rem;
    font-weight: 850;
}

.quote-calculator .quote-output-links span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.quote-calculator .quote-help-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(11, 42, 91, 0.11);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--blue-dark);
}

.quote-calculator .quote-help-card > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #edf4ff;
    color: var(--blue);
}

.quote-calculator .quote-help-card strong,
.quote-calculator .quote-help-card small {
    display: block;
    min-width: 0;
    line-height: 1.2;
}

.quote-calculator .quote-help-card strong {
    font-size: 0.76rem;
    font-weight: 950;
}

.quote-calculator .quote-help-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
}

.quote-calculator .quote-help-card > i {
    color: var(--orange);
}

@media (max-width: 640px) {
    .quote-import-modal {
        padding: 10px;
    }

    .quote-import-dialog {
        max-height: calc(100dvh - 20px);
        gap: 12px;
        padding: 18px;
        border-radius: 18px;
    }

    .quote-import-file-summary {
        max-height: 28dvh;
    }

    .quote-import-actions {
        bottom: -18px;
        margin: 0 -18px -18px;
        padding: 10px 18px 18px;
    }

    .quote-calculator .quote-items-head,
    .quote-calculator .quote-items-added-head {
        display: grid;
    }

    .quote-calculator .quote-clear-items {
        justify-self: start;
    }

    .quote-calculator .quote-item-input-wrap {
        grid-template-columns: 34px 1fr;
    }

    .quote-calculator .quote-contact-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .quote-calculator .quote-mode-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .quote-calculator .quote-mode-card {
        min-height: 82px;
        padding: 8px 6px;
    }

    .quote-calculator .quote-mode-card span {
        width: 32px;
        height: 32px;
    }

    .quote-calculator .quote-mode-card b {
        font-size: 0.64rem;
    }

    .quote-calculator .quote-import-card {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .quote-calculator .quote-import-action {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .quote-calculator .quote-item-input-wrap button {
        grid-column: 1 / -1;
        min-height: 38px;
        border-top: 1px solid rgba(11, 42, 91, 0.1);
        border-left: 0;
    }

    .quote-calculator .quote-item-row {
        grid-template-columns: 1fr;
        padding: 8px 9px;
    }

    .quote-calculator .quote-item-controls {
        justify-self: start;
    }

    .quote-calculator .quote-items-list {
        max-height: 155px;
    }
}
