:root {
    /* Colors — Современная палетка */
    --surface-base: #FAFBFC;
    --surface-raised: #F1F5F9;
    --surface-border: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    /* Logo cyan, with darker companions for accessible text and actions. */
    --brand-cyan: #08AAE4;
    --brand-action: #007CA8;
    --brand-ink: #00658B;
    --brand-hover: #005675;
    --brand-soft: #E8F7FC;
    --accent: var(--brand-action);
    --accent-hover: var(--brand-ink);
    --accent-dark: var(--brand-ink);
    --gradient-primary: var(--brand-action);
    --gradient-soft: var(--brand-soft);

    /* Typography */
    --font-base: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: clamp(1rem, 0.9rem + 0.25vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    --font-size-xl: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
    --font-size-2xl: clamp(2.5rem, 3vw, 4rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 999px;

    /* Container */
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--surface-base);
    -webkit-font-smoothing: antialiased;
}

/* === АНИМАЦИИ === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === ANIMATION: Vehicle Cards === */
@keyframes vehicleCardReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes imageZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

/* === ANIMATION: Detail Page === */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* === HEADER === */
.header {
    background: white;
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
    margin-right: 100px;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    filter: url(#logo-bus-tone);
    height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    white-space: nowrap;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Dropdown menu */
.nav-dropdown > a {
    cursor: pointer;
}

.nav-caret {
    display: inline-block;
    font-size: 0.75em;
    transition: transform 0.2s;
}

.nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    list-style: none;
    margin: var(--space-xs) 0 0;
    min-width: 240px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--surface-raised);
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: var(--surface-raised);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: var(--surface-border);
    transform: scale(1.02);
}

.btn-block {
    display: block;
    width: 100%;
}

/* === HERO === */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-2xl) 0;
    text-align: center;
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    color: white;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === STATS === */
.stats {
    padding: var(--space-xl) 0;
    background: white;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

/* === SERVICES === */
.services {
    padding: var(--space-2xl) 0;
}

.services h2 {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--accent);
}

.service-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    color: var(--accent-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.link-arrow {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* === ADVANTAGES === */
.advantages {
    background: white;
    padding: var(--space-2xl) 0;
}

.advantages h2 {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: var(--radius-lg);
    color: var(--accent-dark);
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.advantage-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.advantage-item p {
    color: var(--text-secondary);
}

/* === CTA === */
.cta {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.cta p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, #E0F2FE 0%, #F1F5F9 100%);
    padding: var(--space-xl) 0;
    text-align: center;
}

.page-header h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-sm);
}

.page-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

.page-header-note {
    margin-top: 0.5rem;
}

.page-header-note p {
    font-size: 0.9rem;
    margin: 0;
}

.back-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.back-link:hover {
    color: var(--accent);
}

/* === CONTENT SECTION === */
.content-section {
    padding: var(--space-2xl) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
}

.content-main h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.content-main h3 {
    font-size: var(--font-size-lg);
    margin: var(--space-lg) 0 var(--space-md);
    color: var(--accent);
}

.content-main ul,
.content-main ol {
    margin-left: var(--space-lg);
    color: var(--text-secondary);
}

.content-main li {
    margin-bottom: var(--space-sm);
}

.price-note {
    background: #F0F9FF;
    border-left: 4px solid var(--accent);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
}

.price-note p {
    margin: 0;
    color: var(--text-primary);
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-self: start;
}

.content-sidebar .card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
}

.content-sidebar .card h3 {
    margin-bottom: var(--space-md);
}

.content-sidebar .card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* === CALCULATOR === */
.calculator {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-form {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control, select {
    width: 100%;
    padding: 0.75rem;
    font-size: var(--font-size-base);
    background: var(--surface-base);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.calculator-result {
    display: none;
    margin-top: var(--space-xl);
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--accent);
}

.calculator-result.is-visible {
    display: block;
    animation: fadeInUp 0.35s ease both;
}

.result-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.result-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent);
    margin: var(--space-md) 0;
}

.result-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.result-km-note {
    color: #B45309;
    background: #FFFBEB;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.calculator-hint {
    margin-top: var(--space-sm);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === RANGE SLIDERS (калькулятор) === */
.slider-group {
    margin-bottom: var(--space-lg);
}

.slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.slider-head label {
    margin-bottom: 0;
}

.slider-value {
    font-weight: 700;
    color: var(--accent);
    background: rgba(14, 165, 233, 0.1);
    padding: 0.15rem 0.7rem;
    border-radius: var(--radius-full);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.range {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: linear-gradient(
        90deg,
        var(--accent) 0,
        var(--accent) var(--range-fill, 0%),
        var(--surface-border) var(--range-fill, 0%),
        var(--surface-border) 100%
    );
    outline: none;
    cursor: pointer;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}

.range:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.15);
}

.range:focus-visible {
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

/* Firefox */
.range::-moz-range-track {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--surface-border);
}

.range::-moz-range-progress {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--accent);
}

.range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
    cursor: grab;
}

/* === VEHICLES === */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.vehicle-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.vehicle-card:nth-child(1) { animation-delay: 0.1s; }
.vehicle-card:nth-child(2) { animation-delay: 0.2s; }
.vehicle-card:nth-child(3) { animation-delay: 0.3s; }
.vehicle-card:nth-child(4) { animation-delay: 0.4s; }
.vehicle-card:nth-child(5) { animation-delay: 0.5s; }
.vehicle-card:nth-child(6) { animation-delay: 0.6s; }

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--accent);
}

.vehicle-image {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.08);
}

.vehicle-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-raised);
    font-size: 4rem;
}

.vehicle-info {
    padding: var(--space-lg);
}

.vehicle-info h3 {
    margin-bottom: var(--space-xs);
}

.vehicle-capacity {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.vehicle-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.vehicle-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

/* === VEHICLE DETAIL === */
.vehicle-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.vehicle-detail-image {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-raised);
    animation: slideInLeft 0.8s ease-out forwards;
}

.vehicle-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vehicle-detail-image:hover img {
    transform: scale(1.05);
}

.vehicle-detail-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    font-size: 6rem;
    animation: slideInLeft 0.8s ease-out forwards;
}

.vehicle-detail-content {
    animation: fadeIn 0.8s ease-out 0.05s forwards;
    opacity: 0;
}

.vehicle-detail-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
    animation: slideInRight 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.vehicle-detail-content h3 {
    font-size: var(--font-size-lg);
    margin: var(--space-lg) 0 var(--space-md);
    color: var(--accent);
    animation: slideInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.price-list {
    list-style: none;
    margin-left: 0;
    animation: slideInRight 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.price-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--surface-border);
    color: var(--text-secondary);
}

.vehicle-actions {
    margin-top: var(--space-xl);
    animation: slideInRight 0.8s ease-out 0.4s forwards;
    opacity: 0;
    display: flex;
    gap: var(--space-md);
}

/* === PRICES === */
.price-section {
    margin-bottom: var(--space-xl);
}

.price-section h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.price-table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--surface-border);
    transition: background 0.2s ease;
}

.price-row:hover {
    background: var(--surface-raised);
}

.price-row:last-child {
    border-bottom: none;
}

.price-service h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
}

.price-service p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.35rem;
    white-space: nowrap;
    color: var(--accent);
}

.price-amount {
    font-size: var(--font-size-lg);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.price-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-value--discount {
    color: #15803D;
}

.price-value--discount .price-unit {
    color: #15803D;
    opacity: 0.75;
}

.price-value--markup {
    color: #B45309;
}

.price-value--markup .price-unit {
    color: #B45309;
    opacity: 0.75;
}

.price-note {
    background: var(--surface-raised);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
    border-left: 4px solid var(--accent);
}

.cta-inline {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

/* === CONTACTS === */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-item {
    margin-bottom: var(--space-lg);
}

.contact-item h3 {
    font-size: var(--font-size-base);
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
}

.contact-form-wrapper h2 {
    margin-bottom: var(--space-lg);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

/* === LOGIN === */
.login-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.login-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
}

.login-card h1 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.login-footer {
    margin-top: var(--space-lg);
    text-align: center;
}

.login-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--accent);
}

/* === ALERTS === */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.alert-success {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-hover);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #DC2626;
    color: #DC2626;
}

/* === FOOTER === */
.footer {
    background: white;
    border-top: 1px solid var(--surface-border);
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.footer-logo {
    filter: url(#logo-bus-tone);
    height: 120px;
    width: auto;
    margin-bottom: var(--space-md);
    object-fit: contain;
}

.footer-column p,
.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* === UTILITIES === */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-xl);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .logo {
        margin-right: 0;
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    .logo img {
        height: 64px;
        width: auto;
        max-width: 100%;
    }

    .nav {
        position: relative;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    /* Кнопка-гамбургер */
    .nav-toggle {
        display: flex;
        padding: 0.5rem;
        margin-left: auto;
        position: relative;
        z-index: 130;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu {
        display: none;
    }

    /* Меню, открытое по кнопке */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: calc(-1 * var(--space-md));
        right: calc(-1 * var(--space-md));
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: white;
        border-top: 1px solid var(--surface-border);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
        z-index: 120;
    }

    .nav-menu.active > li {
        border-bottom: 1px solid var(--surface-border);
    }

    .nav-menu.active > li:last-child {
        border-bottom: none;
    }

    .nav-menu.active a {
        display: block;
        padding: 0.9rem var(--space-md);
        color: var(--text-primary);
    }

    .nav-menu.active a:hover {
        background: var(--surface-raised);
        color: var(--accent);
    }

    /* Подменю «Услуги» на мобильных раскрывается по тапу, а не по hover */
    .nav-menu.active .dropdown-menu {
        display: none;
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: var(--surface-raised);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-menu.active .nav-dropdown.open > .dropdown-menu {
        display: block;
    }

    .nav-menu.active .dropdown-menu a {
        padding-left: calc(var(--space-md) * 1.75);
        font-size: 0.95rem;
    }

    body.nav-open {
        overflow: hidden;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-detail {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        height: 90px;
    }

    .hero-actions,
    .vehicle-actions,
    .cta-inline {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .price-value {
        justify-content: flex-start;
    }
}

/* === Approved UX refinement: readable layouts, clear actions, calm motion === */
html { scroll-behavior: smooth; }
:where(h1,h2,h3,p,a,button,li,dd) { overflow-wrap: break-word; }
:where(input,select,textarea,button) { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.logo { margin-right: 1.5rem; min-width: 0; }
.logo img { width: 275px; height: auto; }
.nav { gap: 1rem; padding: .8rem 0; }
.nav-menu { gap: 1.3rem; align-items: center; font-size: 1rem; }
.nav-menu .nav-calculate { display: inline-block; color: var(--brand-ink); background: var(--brand-soft); border-radius: 8px; padding: .6rem .85rem; }
.footer-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); }
.footer-column { min-width: 0; }
.footer-logo { width: 300px; max-width: 100%; height: auto; }
.footer-column p,.footer-column a { overflow-wrap: anywhere; }
.hero { padding: 3rem 0; background: #103b67; animation: none; text-align: left; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; align-items: center; }
.hero-copy { min-width: 0; max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2rem,2.8vw,2.7rem); line-height: 1.23; }
.hero-subtitle { margin: 1.25rem auto 1.75rem; font-size: 1.12rem; }
.hero-actions { justify-content: center; gap: .8rem; }
.hero .btn-primary { background: #fff; color: #103b67; box-shadow: none; }
.hero .btn-primary:hover { background: #e0f2fe; }
.hero .btn-secondary { background: transparent; color: #fff; border-color: #b5d3ec; }
.hero-photo { min-width: 0; }
.hero-photo img { display: block; width: 100%; height: 290px; object-fit: contain; background: #f1f5f9; border-radius: 16px; }
.hero-photo figcaption { font-size: .8rem; margin-top: .6rem; color: #dbeafe; }
.stats { padding: 2rem 0; }
.services,.advantages,.cta { padding: 3.5rem 0; }
.services h2,.advantages h2 { margin-bottom: 2rem; }
.page-header { padding: 2.5rem 0; }
.page-header h1 { line-height: 1.25; }
.page-cta { margin-top: 1.3rem; }
.content-section { padding: 3rem 0; }
.content-grid { grid-template-columns: minmax(0,1fr) minmax(300px,360px); gap: 2.5rem; }
.content-main,.content-sidebar,.vehicle-detail-content { min-width: 0; }
.content-main h3 { color: #075985; margin: 1.7rem 0 1rem; }
.content-main ul,.content-main ol { margin-left: 1.4rem; }
.content-main li { margin-bottom: .6rem; }
.content-sidebar .card { padding: 1.5rem; }
.request-panel { scroll-margin-top: 110px; }
.request-panel h2 { font-size: 1.35rem; margin-bottom: .6rem; line-height: 1.35; }
.request-panel .form-intro,.form-next-step { font-size: .9rem; color: var(--text-secondary); }
.form-intro { margin-bottom: 1.2rem; }
.form-next-step { margin-top: 1rem; }
.form-error-summary { padding: 1rem; border: 1px solid #b91c1c; border-radius: 8px; background: #fff7f7; margin-bottom: 1rem; color: #991b1b; }
.form-error-summary p { margin: .4rem 0; }
.quote-context { padding: 1rem; border-left: 3px solid #0284c7; background: #f0f9ff; margin-bottom: 1.5rem; }
.quote-context span { display: block; }
.quote-context small { color: var(--text-secondary); }
.contacts-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3rem; }
.contact-form-wrapper { padding: 2rem; min-width: 0; }
.destination-list { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-left: 0 !important; }
.destination-list li { padding: 1rem; border: 1px solid var(--surface-border); border-radius: 10px; background: #fff; margin: 0; }
.destination-list strong { display: block; color: #103b67; }
.terms-banner { margin: 1.5rem 0; border-left: 3px solid #0284c7; padding: 1rem 1.2rem; background: #eaf5fb; border-radius: 8px; }
.terms-banner p,.terms-call { font-size: .95rem; }
.wedding-header { background: #f4f1ed; text-align: left; }
.wedding-header .container { display: grid; grid-template-columns: minmax(0,1fr) 330px; column-gap: 3rem; align-items: start; }
.wedding-header h1,.wedding-header p,.wedding-header .page-cta { grid-column: 1; }
.wedding-header .page-cta { justify-self: start; }
.service-visual { grid-column: 2; grid-row: 1 / 4; }
.service-visual img { width: 100%; height: 230px; object-fit: cover; object-position: 50% 45%; border-radius: 14px; display: block; }
.service-visual figcaption { font-size: .75rem; margin-top: .5rem; color: #475569; }
.service-visual a { color: inherit; }
.catalog-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.catalog-tools select { width: auto; padding: .7rem 1rem; border: 1px solid #94a3b8; border-radius: 8px; background: #fff; max-width: 100%; }
.catalog-tools p { margin-left: auto; color: var(--text-secondary); }
.vehicles-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.vehicle-card { display: flex; flex-direction: column; min-width: 0; }
.vehicle-image { height: auto; aspect-ratio: 16/10; padding: .5rem; display: grid; place-items: center; background: #eef2f6; }
.vehicle-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.vehicle-info { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.vehicle-info h3 { line-height: 1.35; }
.vehicle-description { margin-bottom: 1.2rem; }
.vehicle-price { margin-top: auto; padding-top: 1rem; color: #075985; }
.vehicle-info .btn { align-self: start; }
.vehicle-detail { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2.5rem; }
.vehicle-detail-image { aspect-ratio: 16/10; padding: .5rem; }
.vehicle-detail-image img { object-fit: contain; }
.vehicle-detail-image:hover img { transform: none; }
.vehicle-facts { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--surface-border); border-radius: 8px; }
.vehicle-facts dt { color: var(--text-secondary); }
.vehicle-facts dd { font-weight: 700; }
.detail-terms { margin: 1.5rem 0; font-size: .95rem; color: var(--text-secondary); }
.vehicle-actions { flex-wrap: wrap; gap: .75rem; }
.price-jumps { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.price-jumps a { color: #075985; background: #e0f2fe; border-radius: 8px; padding: .5rem 1rem; text-decoration: none; }
.price-section { scroll-margin-top: 110px; }
.price-row { padding: 1.5rem 2rem; }
.calculator { max-width: 760px; }
.calculator-form { padding: 2rem; }
.calculator-form select { width: 100%; min-width: 0; }
.exact-value { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.exact-value input { width: 92px; min-height: 44px; padding: .4rem .5rem; border: 1px solid #94a3b8; background: #fff; border-radius: 8px; color: #103b67; }
.slider-head { gap: 1rem; align-items: center; }
.slider-head > label { margin-bottom: 0; }
.calculator-result { padding: 2rem; }
.result-breakdown { margin: 1.2rem 0; text-align: left; }
.result-breakdown > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #cbd5e1; padding: .6rem 0; }
.result-breakdown dt { font-size: .9rem; color: var(--text-secondary); }
.result-breakdown dd { font-weight: 600; white-space: nowrap; }
.advantage-icon { background: #e0f2fe; color: #075985; width: 72px; height: 72px; }
.advantage-icon svg { width: 38px; height: 38px; }
/* A short fade is sufficient; content never relies on motion for visibility. */
.hero,.service-card,.vehicle-card,.vehicle-detail-image,.vehicle-detail-placeholder,.vehicle-detail-content,.vehicle-detail-content h2,.vehicle-detail-content h3,.price-list,.vehicle-actions { animation: none; opacity: 1; transform: none; }
.btn,.service-card,.vehicle-card,.vehicle-image,.vehicle-image img { transition: background-color .18s ease,border-color .18s ease,box-shadow .18s ease; }
.btn:hover,.service-card:hover,.vehicle-card:hover,.vehicle-card:hover .vehicle-image { transform: none; }
.calculator-result.is-visible { animation: fadeIn .2s ease; }
.confirmation-screen { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 1.5rem; border: 0; background: #f0f7fc; color: var(--text-primary); z-index: 1000; }
.confirmation-screen[open] { display: grid; place-items: center; }
.confirmation-screen::backdrop { background: #f0f7fc; }
.confirmation-content { max-width: 650px; text-align: center; }
.confirmation-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; background: #dcefe7; border-radius: 50%; color: #166534; font-size: 2rem; margin-bottom: 1.5rem; }
.confirmation-content h2 { font-size: 2rem; }
#confirmation-message { font-size: clamp(1.35rem,3vw,2rem); line-height: 1.4; margin: 1rem 0; }
.confirmation-note { font-size: .9rem; color: var(--text-secondary); margin-bottom: 1.7rem; }
@media (max-width: 1024px) {
    .nav-menu .nav-calculate { display: block; padding: .9rem 1.5rem; border-radius: 0; }
    .hero-layout { gap: 1.5rem; }
    .content-grid,.contacts-grid { grid-template-columns: minmax(0,1fr); }
    .content-sidebar { width: 100%; }
    .footer-grid { grid-template-columns: minmax(0,1fr); }
    .vehicles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .wedding-header .container { grid-template-columns: minmax(0,1fr) 260px; gap: 1rem; }
}
@media (max-width: 600px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .nav-menu.active { left: -20px; right: -20px; }
    .logo { margin-right: 0; max-width: calc(100% - 54px); }
    .logo img { width: 225px; height: auto; }
    .nav { padding: .6rem 0; gap: .5rem; }
    .hero { padding: 1.8rem 0; }
    .hero-layout { grid-template-columns: minmax(0,1fr); }
    .hero h1 { font-size: 1.8rem; line-height: 1.25; }
    .hero-subtitle { font-size: 1rem; margin: 1rem 0 1.3rem; }
    .hero-actions { gap: .65rem; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-photo img { height: 180px; }
    .hero-photo figcaption { margin-top: .3rem; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
    .stat-item:last-child { grid-column: 1 / -1; }
    .stat-value { font-size: 1.15rem; }
    .stat-label { font-size: .75rem; }
    .services,.advantages,.cta,.content-section { padding: 2rem 0; }
    .services-grid,.vehicles-grid { grid-template-columns: minmax(0,1fr); }
    .page-header { padding: 1.8rem 0; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header p { font-size: 1rem; margin-top: .6rem; }
    .content-main h2 { font-size: 1.45rem; }
    .destination-list { grid-template-columns: minmax(0,1fr); }
    .content-sidebar .card,.contact-form-wrapper,.calculator-form,.calculator-result { padding: 1.2rem; }
    .contact-form-wrapper { width: 100%; }
    .wedding-header .container { grid-template-columns: minmax(0,1fr); }
    .service-visual { grid-row: auto; grid-column: 1; margin-top: 1rem; }
    .service-visual img { height: 180px; }
    .vehicle-detail { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
    .catalog-tools { align-items: stretch; }
    .catalog-tools label { width: 100%; }
    .catalog-tools p { margin-left: 0; }
    .catalog-tools select { flex: 1; }
    .exact-value input { width: 80px; }
    .slider-head { gap: .5rem; }
    .slider-head > label { font-size: .95rem; }
    .form-group { margin-bottom: 1.2rem; }
    .footer-logo { width: 260px; }
    .request-panel,.price-section { scroll-margin-top: 90px; }
    .vehicle-actions .btn { width: 100%; text-align: center; }
    .result-price { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation: none !important; transition: none !important; }
    .service-card,.vehicle-card,.vehicle-detail-content,.vehicle-detail-content h2,.vehicle-detail-content h3,.price-list,.vehicle-actions { opacity: 1 !important; transform: none !important; }
}

/* Give the final service action a clear pause after the explanatory text. */
.content-main > .service-bottom-cta { margin-top: 2rem; padding: 1rem 2.2rem; min-height: 54px; line-height: 1.4; }
@media (max-width: 600px) {
    .content-main > .service-bottom-cta { margin-top: 1.75rem; padding: 1rem 1.5rem; max-width: 100%; text-align: center; }
}

/* Alternative Sprinter illustration: same frame, no axis scaling or crop. */
.sprinter-photo-alternative { position: relative; }
.sprinter-photo-alternative img { object-fit: contain; object-position: center; }

.catalog-photo-credits { margin-top: 2rem; color: var(--text-secondary); font-size: .8rem; }
.catalog-photo-credits summary { cursor: pointer; padding: .5rem 0; }
.catalog-photo-credits p { margin-top: .5rem; }
.catalog-photo-credits a { color: inherit; text-decoration: underline; }

/* Shared brand accents: vivid cyan details, readable cyan text and flat actions. */
.btn-primary { background:var(--brand-action); color:#fff; box-shadow:none; }
.btn-primary:hover { background:var(--brand-hover); box-shadow:none; }
.btn-secondary { color:var(--brand-ink); background:#fff; border-color:var(--brand-action); }
.btn-secondary:hover { color:var(--brand-hover); background:var(--brand-soft); border-color:var(--brand-hover); }
.services h2,.advantages h2,.service-card h3,.advantage-item h3 { color:var(--brand-ink); }
.stat-value { color:var(--brand-action); }
.service-card .service-price,.link-arrow { color:var(--brand-ink); }
.service-card:hover { border-color:var(--brand-cyan); box-shadow:0 8px 22px rgba(0,124,168,.1); }
.advantage-icon { color:var(--brand-action); background:var(--brand-soft); }
.advantage-icon svg { color:var(--brand-action); }
.link-arrow:hover,.nav-menu a:hover,.footer-column a:hover { color:var(--brand-hover); }
.nav-menu .nav-calculate:hover { color:var(--brand-hover); background:#D3F0FB; }

/* Consistent service heroes: large photography dissolves into readable text. */
.service-photo-hero { position:relative; isolation:isolate; overflow:hidden; padding:0; background:#f4f7f8; text-align:left; }
.service-photo-hero > .container { position:relative; z-index:1; display:flex; align-items:center; min-height:520px; }
.service-photo-copy { width:49%; max-width:550px; padding:3rem 1rem 3rem 0; }
.service-photo-hero h1 { color:var(--brand-ink); line-height:1.18; }
.service-photo-copy p { color:var(--text-secondary); margin-top:1.2rem; max-width:440px; }
.service-photo-image { position:absolute; z-index:0; inset:0 0 0 34%; margin:0; }
.service-photo-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:65% 50%; }
.service-photo-image::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#f4f7f8 0%,rgba(244,247,248,.94) 8%,rgba(244,247,248,0) 42%); pointer-events:none; }
.transfers-hero-image img { object-position:60% 48%; filter:brightness(1.12); }
@media(max-width:1024px) {
 .service-photo-hero > .container { min-height:480px; }
 .service-photo-copy { width:55%; }
 .service-photo-image { left:30%; }
 .corporate-hero-image img { object-position:100% 50%; }
}
@media(max-width:600px) {
 .service-photo-hero > .container { min-height:0; }
 .service-photo-copy { width:100%; max-width:none; padding:1.8rem 0 1.2rem; }
 .service-photo-hero h1 { font-size:1.95rem; }
 .service-photo-copy p { margin-top:.8rem; }
 .service-photo-image { position:relative; inset:auto; width:100%; height:320px; }
 .service-photo-image img { object-position:70% 50%; }
 .corporate-hero-image img { object-position:100% 50%; }
 .transfers-hero-image img { object-position:65% 50%; }
 .service-photo-image::after { background:linear-gradient(180deg,#f4f7f8,rgba(244,247,248,0) 22%); }
}
/* Corporate offer: short, keyboard-accessible modal. */
.corporate-invite{padding:3rem 0;background:var(--brand-soft,#e8f7fc)}
.corporate-invite-layout{display:flex;align-items:center;justify-content:space-between;gap:2.5rem}
.corporate-eyebrow{display:block;color:var(--brand-ink,#00658b);font-size:.8rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:.65rem}
.corporate-invite h2{font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.25;margin:0 0 .8rem}
.corporate-invite p{max-width:650px;margin:0;color:#4a5964;line-height:1.65}
.corporate-invite-action{flex-shrink:0;max-width:340px;display:grid;gap:.65rem;text-align:center}
.corporate-invite-action .btn{white-space:normal}
.corporate-invite-action>span{font-size:.8rem;color:#526573}
.corporate-dialog{box-sizing:border-box;width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:0;border-radius:22px;padding:30px;color:#20313d;background:white;overflow:auto}
.corporate-dialog::backdrop{background:rgba(13,31,43,.65)}
.corporate-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.corporate-dialog h2{font-size:1.65rem;line-height:1.25;margin:0}
.corporate-dialog #corporate-quote-intro{color:#596975;line-height:1.5;margin:.8rem 0 1.5rem}
.corporate-close{flex-shrink:0;width:40px;height:40px;border:0;border-radius:50%;background:#edf4f7;color:#284f64;font-size:1.8rem;cursor:pointer}
.corporate-dialog fieldset{border:0;padding:0;margin:0 0 1.25rem;min-width:0}
.corporate-dialog legend{font-size:1rem;font-weight:700;margin-bottom:1rem}
.corporate-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.corporate-fields .form-group{margin:0;min-width:0}
.corporate-fields label{display:block;font-size:.9rem;margin-bottom:.4rem;font-weight:600}
.corporate-dialog .form-control{box-sizing:border-box;width:100%;min-height:46px;font:inherit;border:1px solid #c9d6de;border-radius:10px;padding:.7rem .85rem;background:#fbfdfe;color:#20313d}
.corporate-dialog .form-control:focus{outline:2px solid var(--brand-action,#007ca8);outline-offset:2px}
.corporate-field-wide{grid-column:1/-1}
.corporate-more{border-top:1px solid #dce6ec;border-bottom:1px solid #dce6ec;padding:1rem 0;margin-bottom:1.2rem}
.corporate-more summary{cursor:pointer;font-weight:600;line-height:1.6}
.corporate-more summary span{font-size:.8rem;font-weight:400;color:#64727d;margin-left:.4rem}
.corporate-more[open] summary{margin-bottom:1rem}
.corporate-submit{display:grid;gap:.7rem}
.corporate-submit small{font-size:.78rem;color:#61717d;line-height:1.5}
body:has(.corporate-dialog[open]){overflow:hidden}
@media(max-width:800px){.corporate-invite-layout{flex-direction:column;align-items:flex-start;gap:1.5rem}.corporate-invite-action{max-width:100%}}
@media(max-width:540px){.corporate-invite{padding:2rem 0}.corporate-dialog{padding:22px 18px;border-radius:16px;max-height:calc(100dvh - 24px)}.corporate-dialog h2{font-size:1.35rem}.corporate-fields{grid-template-columns:1fr}.corporate-invite-action{width:100%}.corporate-submit .btn{white-space:normal}}
.corporate-dialog{margin:auto}
.nav-dropdown.open > .dropdown-menu,.nav-dropdown:focus-within > .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-dropdown:has(> .nav-calculate) > .dropdown-menu{left:auto;right:0;min-width:300px}
@media(max-width:1024px){.nav-menu.active .nav-dropdown:has(> .nav-calculate) > .dropdown-menu{min-width:0}.nav-menu.active .nav-dropdown:not(.open) > .dropdown-menu{display:none}}
