@charset "UTF-8";

/* ==========================================================================
   Vegos-M Opt — modern landing styles
   ========================================================================== */

:root {
    --opt-red: #DB272E;
    --opt-red-dark: #B81E24;
    --opt-red-soft: rgba(219, 39, 46, 0.08);
    --opt-yellow: #FFE500;
    --opt-yellow-hover: #FFF176;
    --opt-green: #5AB030;
    --opt-green-hover: #4A9A28;
    --opt-text: #1A1A2E;
    --opt-text-muted: #646478;
    --opt-border: #E8EAED;
    --opt-bg: #F4F5F7;
    --opt-white: #FFFFFF;
    --opt-radius: 16px;
    --opt-radius-sm: 10px;
    --opt-radius-lg: 24px;
    --opt-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
    --opt-shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.12);
    --opt-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --opt-header-h: 72px;
    --opt-container: 1200px;
    --opt-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body.opt-page {
    margin: 0;
    font-family: var(--opt-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--opt-text);
    background: var(--opt-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--opt-red);
    text-decoration: none;
    transition: color var(--opt-transition);
}

a:hover {
    color: var(--opt-red-dark);
}

.opt-container {
    width: 100%;
    max-width: var(--opt-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.opt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border: 2px solid transparent;
    border-radius: var(--opt-radius-sm);
    cursor: pointer;
    transition: background var(--opt-transition), color var(--opt-transition), border-color var(--opt-transition), transform var(--opt-transition), box-shadow var(--opt-transition);
    white-space: nowrap;
    text-decoration: none;
}

.opt-btn:hover {
    transform: translateY(-1px);
}

.opt-btn:active {
    transform: translateY(0);
}

.opt-btn--primary {
    background: var(--opt-red);
    color: var(--opt-white);
}

.opt-btn--primary:hover {
    background: var(--opt-red-dark);
    color: var(--opt-white);
}

.opt-btn--accent {
    background: var(--opt-yellow);
    color: var(--opt-text);
    border-color: var(--opt-yellow);
}

.opt-btn--accent:hover {
    background: var(--opt-yellow-hover);
    color: var(--opt-text);
}

.opt-btn--success {
    background: var(--opt-green);
    color: var(--opt-white);
}

.opt-btn--success:hover {
    background: var(--opt-green-hover);
    color: var(--opt-white);
}

.opt-btn--outline {
    background: transparent;
    color: var(--opt-text);
    border-color: var(--opt-border);
}

.opt-btn--outline:hover {
    border-color: var(--opt-red);
    color: var(--opt-red);
}

.opt-btn--outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--opt-white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.opt-btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--opt-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.opt-btn--ghost {
    background: var(--opt-bg);
    color: var(--opt-text-muted);
}

.opt-btn--ghost:hover {
    background: var(--opt-border);
    color: var(--opt-text);
}

.opt-btn--sm {
    padding: 8px 16px;
    font-size: 14px;
}

.opt-btn--lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.opt-btn--block {
    width: 100%;
}

/* Header */
.opt-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--opt-header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--opt-transition), box-shadow var(--opt-transition);
}

.opt-header.is-scrolled {
    border-color: var(--opt-border);
    box-shadow: var(--opt-shadow);
}

.opt-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--opt-header-h);
    gap: 24px;
}

.opt-header__logo img {
    height: 36px;
    width: auto;
}

.opt-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.opt-header__link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--opt-text);
    border-radius: 8px;
    transition: background var(--opt-transition), color var(--opt-transition);
}

.opt-header__link:hover {
    background: var(--opt-red-soft);
    color: var(--opt-red);
}

.opt-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opt-header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--opt-text);
}

.opt-header__phone:hover {
    color: var(--opt-red);
}

.opt-header__phone svg {
    color: var(--opt-red);
}

.opt-header__cta {
    display: inline-flex;
}

.opt-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

.opt-header__burger span {
    display: block;
    height: 2px;
    background: var(--opt-text);
    border-radius: 2px;
    transition: transform var(--opt-transition), opacity var(--opt-transition);
}

.opt-header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.opt-header__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.opt-header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.opt-hero {
    position: relative;
    padding: calc(var(--opt-header-h) + 48px) 0 0;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: stretch;
    background-color: #1A1A2E;
    background-image:
        linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(219, 39, 46, 0.82) 100%),
        url(/opt_chita/images/src/page-header/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.opt-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--opt-bg), transparent);
    pointer-events: none;
}

.opt-hero__bg {
    display: none;
}

.opt-hero .opt-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.opt-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    flex: 1;
    min-height: 100%;
}

.opt-hero__content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding-bottom: 48px;
}

.opt-badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--opt-yellow);
    background: rgba(255, 229, 0, 0.15);
    border: 1px solid rgba(255, 229, 0, 0.3);
    border-radius: 100px;
}

.opt-hero__title {
    margin: 0 0 20px;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--opt-white);
    letter-spacing: -0.02em;
}

.opt-hero__title span {
    color: var(--opt-yellow);
}

.opt-hero__subtitle {
    margin: 0 0 32px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
}

.opt-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.opt-hero__visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: end;
    height: 100%;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.opt-hero__visual img {
    max-width: 420px;
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.3));
    animation: none;
    display: block;
}

/* Stats */
.opt-stats {
    margin-top: 0;
    padding-top: 8px;
    position: relative;
    z-index: 2;
    padding-bottom: 16px;
}

.opt-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 32px;
    background: var(--opt-white);
    border-radius: var(--opt-radius-lg);
    box-shadow: var(--opt-shadow-lg);
}

.opt-stats__item {
    text-align: center;
    padding: 8px 12px;
}

.opt-stats__item:not(:last-child) {
    border-right: 1px solid var(--opt-border);
}

.opt-stats__item strong {
    display: block;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--opt-red);
    line-height: 1.2;
    margin-bottom: 4px;
}

.opt-stats__item span {
    font-size: 13px;
    color: var(--opt-text-muted);
    line-height: 1.4;
}

/* Sections */
.opt-section {
    padding: 80px 0;
}

.opt-section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.opt-section__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--opt-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.opt-section__desc {
    margin: 0;
    font-size: 17px;
    color: var(--opt-text-muted);
    line-height: 1.6;
}

.opt-section__desc strong,
.opt-section__desc a {
    color: var(--opt-red);
    font-weight: 600;
}

/* Advantages */
.opt-advantages {
    background: var(--opt-white);
}

.opt-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.opt-advantage-card {
    padding: 32px 28px;
    background: var(--opt-bg);
    border-radius: var(--opt-radius);
    border: 1px solid transparent;
    transition: transform var(--opt-transition), box-shadow var(--opt-transition), border-color var(--opt-transition), background var(--opt-transition);
}

.opt-advantage-card:hover {
    transform: translateY(-4px);
    background: var(--opt-white);
    border-color: var(--opt-border);
    box-shadow: var(--opt-shadow);
}

.opt-advantage-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--opt-red-soft);
    border-radius: 14px;
}

.opt-advantage-card__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.opt-advantage-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--opt-text);
}

.opt-advantage-card__desc {
    margin: 0;
    font-size: 14px;
    color: var(--opt-text-muted);
    line-height: 1.5;
}

/* Catalog */
.opt-catalog__search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 40px;
    padding: 14px 20px;
    background: var(--opt-white);
    border: 1px solid var(--opt-border);
    border-radius: 100px;
    box-shadow: var(--opt-shadow);
    transition: border-color var(--opt-transition), box-shadow var(--opt-transition);
}

.opt-catalog__search:focus-within {
    border-color: var(--opt-red);
    box-shadow: 0 0 0 3px var(--opt-red-soft);
}

.opt-catalog__search svg {
    flex-shrink: 0;
    color: var(--opt-text-muted);
}

.opt-catalog__search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--opt-text);
    background: transparent;
}

.opt-catalog__search input::placeholder {
    color: #A0A0B0;
}

.opt-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.opt-catalog-card {
    position: relative;
    display: block;
    height: 200px;
    border-radius: var(--opt-radius);
    overflow: hidden;
    color: var(--opt-white);
    text-decoration: none;
    box-shadow: var(--opt-shadow);
    transition: transform var(--opt-transition), box-shadow var(--opt-transition);
}

.opt-catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--opt-shadow-lg);
    color: var(--opt-white);
}

.opt-catalog-card.is-hidden {
    display: none;
}

.opt-catalog-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.opt-catalog-card:hover .opt-catalog-card__image {
    transform: scale(1.08);
}

.opt-catalog-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.opt-catalog-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
}

.opt-catalog-card__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.opt-catalog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--opt-yellow);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity var(--opt-transition), transform var(--opt-transition);
}

.opt-catalog-card:hover .opt-catalog-card__link {
    opacity: 1;
    transform: translateX(0);
}

.opt-catalog__empty {
    text-align: center;
    color: var(--opt-text-muted);
    padding: 40px 0;
    font-size: 16px;
}

/* Team */
.opt-team {
    background: var(--opt-white);
}

.opt-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.opt-team-card {
    background: var(--opt-bg);
    border-radius: var(--opt-radius-lg);
    overflow: hidden;
    border: 1px solid var(--opt-border);
    transition: transform var(--opt-transition), box-shadow var(--opt-transition);
}

.opt-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--opt-shadow-lg);
}

.opt-team-card__photo {
    background: linear-gradient(135deg, var(--opt-red-soft), rgba(255, 229, 0, 0.1));
    display: flex;
    justify-content: center;
    padding: 24px 24px 0;
}

.opt-team-card__photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--opt-radius) var(--opt-radius) 0 0;
}

.opt-team-card__body {
    padding: 24px;
    text-align: center;
}

.opt-team-card__name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--opt-text);
}

.opt-team-card__role {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--opt-text-muted);
}

.opt-team-card__phones {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.opt-team-card__phones li {
    margin-bottom: 6px;
    font-size: 15px;
}

.opt-team-card__phones a {
    font-weight: 600;
    color: var(--opt-text);
}

.opt-team-card__phones a:hover {
    color: var(--opt-red);
}

.opt-team-card__ext {
    margin-left: 6px;
    font-size: 13px;
    color: var(--opt-text-muted);
}

.opt-team-card__email {
    display: block;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--opt-red);
    word-break: break-all;
}

.opt-team-card__email:hover {
    color: var(--opt-red-dark);
}

.opt-team__grid--chita {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.opt-team__grid--chita .opt-team-card__photo {
    padding: 0;
    overflow: hidden;
    height: 380px;
    background: linear-gradient(180deg, var(--opt-red-soft) 0%, #eef0f3 100%);
}

.opt-team__grid--chita .opt-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    transform: scale(0.95);
    transform-origin: top center;
}

.opt-team__grid--chita .opt-team-card__photo img.opt-team-photo--batomunkuev {
    transform: scale(1) translateY(-4%);
}

.opt-team__grid--chita .opt-team-card__photo img.opt-team-photo--ponomareva {
    transform: scale(1) translateY(3%);
    transform-origin: top center;
}

.opt-team__grid--chita .opt-team-card__photo:has(img.opt-team-photo--bondareva) {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px;
}

.opt-team__grid--chita .opt-team-card__photo img.opt-team-photo--bondareva {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
}

/* Office */
.opt-office__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.opt-office-step {
    position: relative;
    padding: 32px 24px;
    text-align: center;
    background: var(--opt-white);
    border-radius: var(--opt-radius);
    border: 1px solid var(--opt-border);
    transition: box-shadow var(--opt-transition);
}

.opt-office-step:hover {
    box-shadow: var(--opt-shadow);
}

.opt-office-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -18px;
    width: 12px;
    height: 2px;
    background: var(--opt-red);
    transform: translateY(-50%);
}

.opt-office-step__num {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--opt-white);
    background: var(--opt-red);
    border-radius: 50%;
}

.opt-office-step__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--opt-red-soft);
    border-radius: 16px;
}

.opt-office-step__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.opt-office-step__desc {
    margin: 0;
    font-size: 14px;
    color: var(--opt-text-muted);
    line-height: 1.5;
}

.opt-office__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 40px;
    background: var(--opt-white);
    border-radius: var(--opt-radius-lg);
    box-shadow: var(--opt-shadow-lg);
    border: 1px solid var(--opt-border);
}

.opt-office__cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.opt-office__cta-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--opt-text);
    line-height: 1.4;
}

.opt-office__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* Footer */
.opt-footer {
    background: var(--opt-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 32px;
}

.opt-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.opt-footer__brand img {
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.opt-footer__brand p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

.opt-footer h4 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--opt-white);
}

.opt-footer__contacts,
.opt-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opt-footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.opt-footer a:hover {
    color: var(--opt-white);
}

.opt-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

/* Scroll to top */
.opt-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--opt-white);
    color: var(--opt-red);
    border: 1px solid var(--opt-border);
    border-radius: 50%;
    box-shadow: var(--opt-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity var(--opt-transition), visibility var(--opt-transition), transform var(--opt-transition), background var(--opt-transition);
}

.opt-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.opt-scroll-top:hover {
    background: var(--opt-red);
    color: var(--opt-white);
    border-color: var(--opt-red);
}

/* Modals */
.opt-modal .modal-content {
    border: none;
    border-radius: var(--opt-radius);
    box-shadow: var(--opt-shadow-lg);
    overflow: hidden;
}

.opt-modal .modal-header {
    padding: 24px 24px 0;
    border: none;
}

.opt-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--opt-text);
}

.opt-modal .modal-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.opt-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--opt-text-muted);
}

.opt-input {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--opt-text);
    background: var(--opt-bg);
    border: 1px solid var(--opt-border);
    border-radius: var(--opt-radius-sm);
    outline: none;
    transition: border-color var(--opt-transition), box-shadow var(--opt-transition);
}

.opt-input:focus {
    border-color: var(--opt-red);
    box-shadow: 0 0 0 3px var(--opt-red-soft);
    background: var(--opt-white);
}

.opt-input[readonly] {
    background: var(--opt-border);
    cursor: default;
}

.opt-form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.opt-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--opt-red);
    cursor: pointer;
}

.opt-form-check label {
    font-size: 13px;
    color: var(--opt-text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.opt-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .opt-catalog__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .opt-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .opt-header__nav {
        display: none;
        position: absolute;
        top: var(--opt-header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 16px 20px 24px;
        background: var(--opt-white);
        border-bottom: 1px solid var(--opt-border);
        box-shadow: var(--opt-shadow);
    }

    .opt-header__nav.is-open {
        display: flex;
    }

    .opt-header__link {
        width: 100%;
        padding: 12px 16px;
    }

    .opt-header__burger {
        display: flex;
    }

    .opt-header__cta {
        display: none;
    }

    .opt-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .opt-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .opt-hero__buttons {
        justify-content: center;
    }

    .opt-hero__visual {
        display: none;
    }

    .opt-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opt-stats__item:nth-child(2) {
        border-right: none;
    }

    .opt-stats__item {
        border-right: none !important;
    }

    .opt-office__steps {
        grid-template-columns: 1fr;
    }

    .opt-office-step:not(:last-child)::after {
        display: none;
    }

    .opt-office__cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .opt-office__cta-text {
        flex-direction: column;
    }

    .opt-office__cta-buttons {
        justify-content: center;
        width: 100%;
    }

    .opt-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .opt-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .opt-section {
        padding: 56px 0;
    }

    .opt-catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .opt-catalog-card {
        height: 160px;
    }

    .opt-catalog-card__title {
        font-size: 14px;
    }

    .opt-advantages__grid {
        grid-template-columns: 1fr;
    }

    .opt-team__grid--chita .opt-team-card__photo {
        height: 320px;
    }

    .opt-team__grid--chita .opt-team-card__photo img {
        transform: scale(1);
    }

    .opt-team__grid--chita .opt-team-card__photo img.opt-team-photo--batomunkuev {
        transform: scale(0.98) translateY(-4%);
    }

    .opt-team__grid--chita .opt-team-card__photo img.opt-team-photo--ponomareva {
        transform: scale(1) translateY(2%);
        transform-origin: top center;
    }

    .opt-team__grid--chita .opt-team-card__photo:has(img.opt-team-photo--bondareva) {
        padding: 0 10px;
    }

    .opt-team__grid--chita .opt-team-card__photo img.opt-team-photo--bondareva {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: center bottom;
        transform: none;
    }

    .opt-stats__grid {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .opt-header__phone span {
        display: none;
    }

    .opt-hero {
        min-height: auto;
        padding-bottom: 60px;
    }

    .opt-hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .opt-hero__buttons .opt-btn {
        width: 100%;
    }

    .opt-form-actions {
        flex-direction: column;
    }

    .opt-form-actions .opt-btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .opt-catalog__grid {
        grid-template-columns: 1fr;
    }
}
