/* ===================================
   GLOBAL STYLES
   =================================== */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.icon-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    background-color: #fcfdfd;
    color: #1e293b;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    --footer-bg: #f8fafc;
    --footer-text: #1e293b;
    --footer-muted: #64748b;
    --footer-border: #e2e8f0;
    --footer-link-hover: #E05D44;
}

body::selection {
    background-color: #E05D44;
    color: white;
}


/* ===================================
   HEADER
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.header__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .header__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.header__content {
    display: flex;
    height: 5rem;
    align-items: center;
    justify-content: space-between;
}

 .header__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
 }

/* Header Logo (ссылка на главную, без подчёркивания) */
.header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.header__logo:focus-visible {
    outline: 2px solid #E05D44;
    outline-offset: 4px;
}

.header__logo-icon {
    height: 2.5rem;
    width: 2.5rem;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

/* На самых узких экранах от логотипа остаётся значок, чтобы поместилась «Консультация» */
@media (max-width: 359px) {
    .header__logo-text {
        display: none;
    }
}

.header__logo-title {
    font-size: 1.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #1e293b;
    line-height: 1.2;
}

.header__logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Header Navigation */
.header__nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .header__nav {
        display: flex;
    }
}

.header__nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.header__nav-link:hover {
    color: #E05D44;
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

 .header__back-btn {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(224, 93, 68, 0.35);
    color: #E05D44;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.2s;
 }

 .header__back-btn .material-symbols-outlined {
    font-size: 22px;
 }

 .header__back-btn:hover {
    background-color: #E05D44;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(224, 93, 68, 0.3), 0 4px 6px -2px rgba(224, 93, 68, 0.3);
 }

/* На телефоне на главную ведёт логотип, стрелка освобождает место для «Консультации» */
@media (max-width: 639px) {
    .header__back-btn {
        display: none;
    }
}

.header__btn-primary {
    display: flex;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid #E05D44;
    color: #E05D44;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    transform: scale(1);
}

/* Кнопка видна на любой ширине (меню в шапке нет), на телефоне — компактная */
@media (max-width: 639px) {
    .header__btn-primary {
        height: 2.25rem;
        padding-left: 0.625rem;
        padding-right: 0.625rem;
        font-size: 0.75rem;
    }
}

.header__btn-primary:hover {
    background-color: #E05D44;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(224, 93, 68, 0.3), 0 4px 6px -2px rgba(224, 93, 68, 0.3);
}

.header__btn-primary:active {
    transform: scale(0.95);
}


/* ===================================
   MAIN
   =================================== */

.main {
    position: relative;
    padding-top: 5rem;
}


/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 10rem;
    }
}

.hero__bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(at 0% 0%, hsla(13,85%,85%,1) 0, transparent 50%), radial-gradient(at 100% 0%, hsla(25,90%,90%,1) 0, transparent 50%), radial-gradient(at 100% 100%, hsla(339,50%,95%,1) 0, transparent 50%), radial-gradient(at 0% 100%, hsla(20,80%,90%,1) 0, transparent 50%);
    opacity: 0.8;
}

.hero__content {
    position: relative;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .hero__content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Hero Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(224, 93, 68, 0.2);
    color: #E05D44;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.hero__badge:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hero__badge-text {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Hero Title */
.hero__title {
    margin-left: auto;
    margin-right: auto;
    max-width: 64rem;
    font-size: 3rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1e293b;
    margin-bottom: 2.5rem;
    line-height: 1.05;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 6rem;
    }
}

.hero__title-accent {
    color: #E05D44;
    position: relative;
    display: inline-block;
}

.hero__title-underline {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
    color: rgba(224, 93, 68, 0.2);
}

/* Hero Description */
.hero__description {
    margin-left: auto;
    margin-right: auto;
    max-width: 42rem;
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.75;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero__description {
        font-size: 1.25rem;
    }
}

/* Hero CTA */
.hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .hero__cta {
        flex-direction: row;
    }
}

.hero__btn-primary {
    height: 3.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    border-radius: 0.5rem;
    background-color: #E05D44;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s;
    box-shadow: 0 0 20px rgba(224, 93, 68, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(0);
}

.hero__btn-primary:hover {
    background-color: #C94830;
    box-shadow: 0 0 30px rgba(224, 93, 68, 0.6);
    transform: translateY(-2px);
}

.hero__btn-secondary {
    height: 3.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 0.5rem;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__btn-secondary:hover {
    color: #E05D44;
}

.hero__btn-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__btn-secondary:hover .hero__btn-icon {
    background-color: rgba(224, 93, 68, 0.1);
}


/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: white;
    position: relative;
}

.services__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .services__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Services Header */
.services__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services__header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.services__header-text {
    max-width: 42rem;
}

.services__title {
    font-size: 2.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .services__title {
        font-size: 3rem;
    }
}

.services__description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.75;
}

.services__header-divider {
    display: none;
    width: 8rem;
    height: 1px;
    background-color: rgba(224, 93, 68, 0.3);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .services__header-divider {
        display: block;
    }
}

/* Services Grid */
.services__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    grid-auto-rows: minmax(200px, auto);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}


/* ===================================
   SERVICE CARD
   =================================== */

.service-card {
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service Card - Large */
.service-card--large {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

@media (min-width: 768px) {
    .service-card--large {
        grid-column: span 3 / span 3;
    }
}

@media (min-width: 1024px) {
}

.service-card--large:hover {
    border-color: rgba(224, 93, 68, 0.3);
}

@media (min-width: 768px) {
    .service-card--large {
        grid-column: span 3 / span 3;
    }
}

@media (min-width: 1024px) {
    .service-card--large {
        grid-column: span 4 / span 4;
    }
}

/* Service Card - Featured */
.service-card--featured {
    background-color: #E05D44;
    color: white;
    border-color: #E05D44;
    box-shadow: 0 25px 50px -12px rgba(224, 93, 68, 0.2);
}

.service-card--featured:hover {
    transform: none;
}

@media (min-width: 768px) {
    .service-card--featured {
        grid-column: span 3 / span 3;
        grid-row: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .service-card--featured {
        grid-column: span 2 / span 2;
    }
}

/* Service Card - Small */
.service-card--small {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

.service-card--small:hover {
    border-color: rgba(224, 93, 68, 0.3);
}

@media (min-width: 768px) {
    .service-card--small {
        grid-column: span 3 / span 3;
    }
}

@media (min-width: 1024px) {
    .service-card--small {
        grid-column: span 2 / span 2;
    }
}

/* Service Card Elements */
.service-card__glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background-color: rgba(224, 93, 68, 0.05);
    border-radius: 9999px;
    filter: blur(64px);
    transform: translateY(-50%) translateX(50%);
    transition: background-color 0.2s;
}

.service-card:hover .service-card__glow {
    background-color: rgba(224, 93, 68, 0.1);
}

.service-card__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #E05D44, #C94830);
}

.service-card__content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E05D44;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-card__icon {
    transform: scale(1.1);
}

.service-card__icon--light {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card__title {
    font-size: 1.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.service-card__title--small {
    font-size: 1.25rem;
}

.service-card__text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 32rem;
}

.service-card__text--small {
    font-size: 0.875rem;
}

.service-card--featured .service-card__title {
    color: white;
}

.service-card--featured .service-card__text {
    color: rgba(255, 255, 255, 0.9);
}

/* Service Card Tags */
.service-card__tags {
    margin-top: 2rem;
    display: flex;
    gap: 0.5rem;
}

.service-card__tag {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* ===================================
   PORTFOLIO SECTION
   =================================== */

.portfolio {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.portfolio__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .portfolio__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .portfolio__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Portfolio Header */
.portfolio__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .portfolio__header {
        flex-direction: row;
    }
}

.portfolio__title {
    font-size: 2.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1e293b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .portfolio__title {
        font-size: 3rem;
    }
}

.portfolio__description {
    font-size: 1.125rem;
    color: #64748b;
}

.portfolio__view-all {
    color: #E05D44;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
    border-bottom: 2px solid rgba(224, 93, 68, 0.2);
    padding-bottom: 0.25rem;
}

.portfolio__view-all:hover {
    transform: translateX(0.25rem);
    border-bottom-color: var(--modal-accent, #E05D44);
}

/* Portfolio Grid */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
}

@media (min-width: 1024px) {
    .portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5rem;
    }
}


/* ===================================
   CASE CARD
   =================================== */

.case {
    cursor: pointer;
}

/* Case - Featured */
.case--featured {
    position: relative;
    grid-column: span 1 / span 1;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .case--featured {
        grid-column: span 2 / span 2;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Case - Standard */
.case--standard {
    grid-column: span 1 / span 1;
}

/* Case - Offset */
@media (min-width: 1024px) {
    .case--offset {
        margin-top: 5rem;
    }
}

/* Case Image Wrapper (Featured) */
.case__image-wrapper {
    position: relative;
    height: 500px;
    border-radius: 0.125rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .case__image-wrapper {
        grid-column: span 3 / span 3;
    }
}

/* Case Image Container (Standard) */
.case__image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.case__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.case:hover .case__image {
    transform: scale(1.05);
}

.case--featured .case__image {
    transition: transform 1s;
}

.case__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.case:hover .case__overlay {
    background-color: transparent;
}

/* Case Info (Featured) */
.case__info {
    position: relative;
    z-index: 10;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #E05D44;
}

@media (min-width: 1024px) {
    .case__info {
        grid-column: span 2 / span 2;
        margin-left: -4rem;
        padding: 2.5rem;
    }
}

.case__category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.case__title {
    font-size: 1.875rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.case:hover .case__title {
    color: #E05D44;
}

.case__title--standard {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.case__description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.case__description--standard {
    margin-bottom: 1rem;
}

/* Case Tag */
.case__tag {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e293b;
}

/* Case Metrics (Featured) */
.case__metrics {
    display: flex;
    gap: 2rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.case__metric-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #E05D44;
}

.case__metric-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Case Stats (Standard) */
.case__stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.case__stat {
    color: #1e293b;
}

.case__stat-value {
    color: #E05D44;
    font-weight: 700;
}


/* ===================================
   PROCESS SECTION
   =================================== */

.process {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: white;
}

.process__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .process__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .process__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Process Header */
.process__header {
    text-align: center;
    margin-bottom: 5rem;
}

.process__title {
    font-size: 2.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1e293b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .process__title {
        font-size: 3rem;
    }
}

.process__description {
    font-size: 1.125rem;
    color: #64748b;
}

/* Process Wrapper */
.process__wrapper {
    position: relative;
}

.process__timeline {
    display: none;
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
}

@media (min-width: 768px) {
    .process__timeline {
        display: block;
    }
}

/* Process Grid */
.process__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
}

@media (min-width: 768px) {
    .process__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* ===================================
   PROCESS STEP
   =================================== */

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step__number {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background-color: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.2s;
}

.process-step__number--active {
    background-color: #E05D44;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(224, 93, 68, 0.3), 0 10px 10px -5px rgba(224, 93, 68, 0.3);
    transform: scale(1);
    transition: transform 0.2s;
}

.process-step:hover .process-step__number {
    border-color: #E05D44;
    box-shadow: 0 10px 15px -3px rgba(224, 93, 68, 0.2), 0 4px 6px -2px rgba(224, 93, 68, 0.2);
}

.process-step:hover .process-step__number--active {
    transform: scale(1.05);
}

.process-step__digit {
    font-size: 1.875rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #E05D44;
}

.process-step__number--active .process-step__digit {
    color: white;
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.process-step__description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.75;
}


/* ===================================
   PRICING SECTION
   =================================== */

.pricing {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.pricing__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .pricing__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .pricing__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Pricing Background Blurs */
.pricing__bg-blur {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.pricing__bg-blur--left {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 600px;
    height: 600px;
    background-color: rgba(224, 93, 68, 0.05);
    border-radius: 9999px;
    filter: blur(120px);
}

.pricing__bg-blur--right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: rgba(199, 210, 254, 0.8);
    border-radius: 9999px;
    filter: blur(100px);
}

/* Pricing Header */
.pricing__header {
    text-align: center;
    margin-bottom: 5rem;
}

.pricing__title {
    font-size: 2.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1e293b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .pricing__title {
        font-size: 3rem;
    }
}

.pricing__description {
    font-size: 1.125rem;
    color: #64748b;
}

/* Pricing Grid */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .pricing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ===================================
   PRICING CARD
   =================================== */

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.pricing-card--popular {
    transform: scale(1.05);
    z-index: 10;
    border-color: rgba(224, 93, 68, 0.3);
    position: relative;
}

.pricing-card--popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #E05D44, #C94830);
}

@media (min-width: 768px) {
    .pricing-card--popular {
        transform: scale(1.05);
    }
}

/* Pricing Card Badge */
.pricing-card__badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E05D44;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(224, 93, 68, 0.3), 0 4px 6px -2px rgba(224, 93, 68, 0.3);
    letter-spacing: 0.05em;
}

/* Pricing Card Elements */
.pricing-card__name {
    font-size: 1.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.pricing-card__amount {
    font-size: 2.25rem;
    font-weight: 900;
    color: #1e293b;
}

.pricing-card__amount--highlight {
    color: #E05D44;
}

.pricing-card__period {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.pricing-card__subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Pricing Card Features */
.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    flex: 1 1 0%;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #1e293b;
}

/* Pricing Card Button */
.pricing-card__btn {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(224, 93, 68, 0.3);
    background-color: rgba(224, 93, 68, 0.05);
    color: #E05D44;
    font-weight: 700;
    transition: all 0.2s;
}

.pricing-card__btn:hover {
    background-color: #E05D44;
    color: white;
}

.pricing-card__btn--primary {
    background-color: #E05D44;
    color: white;
    border: 0;
    box-shadow: 0 10px 15px -3px rgba(224, 93, 68, 0.3), 0 4px 6px -2px rgba(224, 93, 68, 0.3);
}

.pricing-card__btn--primary:hover {
    background-color: #C94830;
}


/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: white;
    position: relative;
}

.testimonials__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .testimonials__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .testimonials__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Testimonials Header */
.testimonials__header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials__title {
    font-size: 2.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1e293b;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .testimonials__title {
        font-size: 3rem;
    }
}

.testimonials__description {
    font-size: 1.125rem;
    color: #64748b;
}

/* Testimonials Grid */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ===================================
   TESTIMONIAL CARD
   =================================== */

.testimonial {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    border-radius: 0;
    border-left: 2px solid #E05D44;
    background-color: rgba(248, 250, 252, 0.5);
    transition: all 0.3s;
}

.testimonial:hover {
    background-color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.testimonial__rating {
    display: flex;
    gap: 0.25rem;
    color: #E05D44;
    margin-bottom: 1.5rem;
}

.testimonial__quote {
    color: #1e293b;
    font-family: "Playfair Display", serif;
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* Testimonial Author */
.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(224, 93, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E05D44;
    font-weight: 700;
    font-size: 1.125rem;
}

.testimonial__name {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
}

.testimonial__position {
    font-size: 0.875rem;
    color: #64748b;
}


/* ===================================
   FOOTER
   =================================== */

.footer {
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .footer__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer__content {
        flex-direction: row;
    }
}

/* Footer Logo */
.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__logo-icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    background-color: #E05D44;
    color: white;
}

.footer__logo-text {
    display: block;
    font-size: 1.125rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #1e293b;
}

.footer__logo-tagline {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

/* Footer Links */
.footer__links {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.footer__link {
    transition: color 0.2s;
}

.footer__link:hover {
    color: #E05D44;
}

/* Footer Copyright */
.footer__copyright {
    font-size: 0.875rem;
    color: #64748b;
}

 .site-footer {
     background-color: var(--footer-bg);
     color: var(--footer-text);
     border-top: 1px solid var(--footer-border);
 }

 .site-footer__container {
     margin-left: auto;
     margin-right: auto;
     max-width: 80rem;
     padding: 2rem 1.5rem 1rem;
 }

 .site-footer__contacts {
     display: grid;
     grid-template-columns: 1fr;
     gap: 2rem;
     margin-bottom: 2rem;
     padding-bottom: 2rem;
     border-bottom: 1px solid var(--footer-border);
 }

 @media (min-width: 768px) {
     .site-footer__contacts {
         grid-template-columns: 1fr 1fr;
         gap: 3rem;
     }
 }

 .site-footer__contact-group {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .site-footer__contact-title {
     font-size: 1rem;
     font-weight: 600;
     color: var(--footer-text);
     margin: 0;
 }

 .site-footer__contact-items {
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
 }

 .site-footer__contact-link {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     color: var(--footer-muted);
     text-decoration: none;
     transition: color 0.2s;
     font-size: 0.875rem;
 }

 .site-footer__contact-link .material-symbols-outlined {
     font-size: 18px;
 }

 .site-footer__contact-link:hover {
     color: var(--footer-link-hover);
 }

 .site-footer__contact-address {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     color: var(--footer-muted);
     font-size: 0.875rem;
     line-height: 1.5;
 }

 .site-footer__contact-address .material-symbols-outlined {
     font-size: 18px;
     flex-shrink: 0;
 }

 .site-footer__row {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: space-between;
     gap: 1rem;
     font-size: 0.875rem;
 }

 @media (min-width: 768px) {
     .site-footer__row {
         flex-direction: row;
     }
 }

 .site-footer__nav {
     display: flex;
     align-items: center;
     gap: 1.5rem;
 }

 .site-footer__left {
     color: var(--footer-muted);
 }

 .site-footer__link,
 .site-footer__top {
     color: var(--footer-muted);
     text-decoration: none;
     transition: color 0.2s;
 }

 .site-footer__link:hover,
 .site-footer__top:hover {
     color: var(--footer-link-hover);
 }


/* ===================================
   TRANSITION OVERLAY
   =================================== */

/* Критические стили для предотвращения белого экрана */
.transition-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    display: flex !important;
    pointer-events: none !important;
}

.transition-overlay.active {
    pointer-events: all !important;
}

.transition-overlay__left,
.transition-overlay__right {
    width: 50% !important;
    height: 100% !important;
    transform: scaleX(0) !important;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1) !important;
}

.transition-overlay__left {
    background: linear-gradient(135deg, #E05D44 0%, #C94830 100%) !important;
    transform-origin: left !important;
}

.transition-overlay__right {
    background: linear-gradient(135deg, #FF8C76 0%, #fb923c 100%) !important;
    transform-origin: right !important;
}

.transition-overlay.active .transition-overlay__left,
.transition-overlay.active .transition-overlay__right {
    transform: scaleX(1) !important;
}

.transition-overlay__content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    color: white !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease !important;
    z-index: 10000 !important;
}

.transition-overlay.active .transition-overlay__content {
    opacity: 1 !important;
    transition-delay: 0.3s !important;
}

/* Плавное появление иконки при загрузке */
.transition-overlay__icon {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 2rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 0 !important;
    transform: scale(0.8) !important;
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}

.transition-overlay.active .transition-overlay__icon {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition-delay: 0.4s !important;
}

.transition-overlay__icon .material-symbols-outlined {
    font-size: 64px !important;
    color: white !important;
}

.transition-overlay__title {
    font-family: 'Playfair Display', serif !important;
    font-size: 3rem !important;
    font-weight: bold !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em !important;
}

.transition-overlay__subtitle {
    font-size: 1.125rem !important;
    font-weight: 300 !important;
    opacity: 0.9 !important;
    letter-spacing: 0.05em !important;
}

/* Скрытие контента во время анимации перехода */
html.transitioning body > *:not(#transitionOverlay) {
    opacity: 0 !important;
}

html.transitioning body {
    overflow: hidden;
}

/* Плавное появление контента после анимации */
body > * {
    transition: opacity 0.5s ease;
}

/* ========================================
   CONSULTATION MODAL (SMM Theme)
======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--modal-overlay-bg, rgba(224, 93, 68, 0.25));
    backdrop-filter: blur(var(--modal-overlay-blur, 12px));
    -webkit-backdrop-filter: blur(var(--modal-overlay-blur, 12px));
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 52rem;
    max-height: 90vh;
    background-color: #0F172A;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--modal-border, rgba(224, 93, 68, 0.2));
    overflow-y: auto;
    overflow-x: hidden;
    isolation: isolate;
    backface-visibility: hidden;
    transform: translateZ(0) scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-container::before,
.modal-container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: opacity 0.45s ease;
}

.modal-container::before {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    opacity: 0;
}

.modal-container::after {
    background: linear-gradient(135deg, #1a1412 0%, #2d1f1a 100%);
    opacity: 1;
}

.modal-container[data-theme="legal"]::before {
    opacity: 1;
}

.modal-container[data-theme="legal"]::after {
    opacity: 0;
}

.modal-container[data-theme="legal"] {
    --modal-accent: #1B3666;
    --modal-accent-hover: #2a4a8a;
    --modal-muted: rgba(148, 163, 184, 0.9);
    --modal-muted-strong: rgba(148, 163, 184, 0.8);
    --modal-border: rgba(255, 255, 255, 0.1);
}

.modal-container[data-theme="smm"] {
    --modal-accent: #E05D44;
    --modal-accent-hover: #C94830;
    --modal-muted: rgba(251, 191, 171, 0.9);
    --modal-muted-strong: rgba(251, 191, 171, 0.8);
    --modal-border: rgba(224, 93, 68, 0.2);
}

.modal-overlay.is-open .modal-container {
    transform: scale(1) translateY(0);
}

.modal-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.modal-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2rem 1rem;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--modal-muted, rgba(251, 191, 171, 0.9));
    font-weight: 300;
}

.modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--modal-muted-strong, rgba(251, 191, 171, 0.8));
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.modal-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .modal-content-wrapper {
        flex-direction: row-reverse;
    }
}

.modal-contacts {
    position: relative;
    z-index: 20;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .modal-contacts {
        width: 20rem;
        border-bottom: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.contacts-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contacts-icon-wrapper {
    display: flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    background: var(--modal-accent, #1B3666);
    background: color-mix(in srgb, var(--modal-accent, #1B3666) 20%, transparent);
    border-radius: 0.5rem;
    border: 1px solid color-mix(in srgb, var(--modal-accent, #1B3666) 30%, transparent);
}

.contacts-icon {
    font-size: 20px !important;
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 80%, white);
}

.contacts-title {
    font-size: 0.875rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contacts-list {
    min-height: 10rem;
}

.contact-group {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-group.active {
    display: flex;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-item:hover .contact-item-icon {
    background: rgba(255, 255, 255, 0.1);
}

.contact-item:hover .contact-item-value {
    color: white;
}

.contact-item-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.contact-item-icon .material-symbols-outlined {
    font-size: 14px !important;
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 70%, white);
}

.contact-item-label {
    font-size: 0.625rem;
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 60%, white);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.contact-item-value {
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 50%, white);
    font-weight: 500;
    transition: all 0.2s ease;
}

.contacts-address {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .contacts-address {
        margin-top: 0;
    }
}

.contacts-address-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contacts-address-icon {
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 70%, white);
    font-size: 18px !important;
    margin-top: 0.125rem;
}

.contacts-address-label {
    font-size: 0.625rem;
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 60%, white);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contacts-address-value {
    font-size: 0.75rem;
    color: color-mix(in srgb, var(--modal-accent, #1B3666) 50%, white);
    line-height: 1.5;
    font-weight: 300;
}

.modal-form {
    position: relative;
    z-index: 10;
    padding: 0 2rem 2rem;
    flex: 1;
}

.form-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.toggle-option {
    cursor: pointer;
}

.toggle-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-label {
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--modal-muted-strong, rgba(251, 191, 171, 0.8));
    transition: all 0.2s ease;
}

.toggle-option input:checked + .toggle-label {
    background: var(--modal-accent, #E05D44);
    color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-tariff-section {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(224, 93, 68, 0.03);
    border-radius: 0.5rem;
    border: 1px solid rgba(224, 93, 68, 0.1);
}

.modal-container[data-theme="legal"] .form-tariff-section {
    background: rgba(139, 92, 246, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.tariff-price-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(224, 93, 68, 0.15);
    border-radius: 0.375rem;
    border: 1px solid rgba(224, 93, 68, 0.25);
}

.modal-container[data-theme="legal"] .tariff-price-display {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.tariff-price-display .material-symbols-outlined {
    color: #E05D44;
}

.modal-container[data-theme="legal"] .tariff-price-display .material-symbols-outlined {
    color: #8B5CF6;
}

.tariff-price-text {
    font-size: 0.875rem;
    color: #E05D44;
}

.tariff-price-text strong {
    color: #E05D44;
    font-weight: 600;
}

.modal-container[data-theme="legal"] .tariff-price-text {
    color: #8B5CF6;
}

.modal-container[data-theme="legal"] .tariff-price-text strong {
    color: #8B5CF6;
}

.modal-overlay .form-label {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-muted, rgba(251, 191, 171, 0.9));
}

.modal-overlay .form-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.modal-overlay .form-input option {
    background: #ffffff;
    color: #1e293b;
    padding: 0.5rem;
}

/* Custom dropdown styling for select in SMM theme */
.modal-container[data-theme="smm"] select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FB9B87' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    color: #fef2f0;
}

.modal-container[data-theme="smm"] select.form-input option {
    background: #2d1410;
    color: #fef2f0;
    padding: 0.75rem;
}

.modal-overlay .form-input::placeholder {
    color: rgba(100, 116, 139, 0.8);
}

.modal-overlay .form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-bottom-color: var(--modal-accent, #E05D44);
}

.modal-overlay .form-textarea {
    resize: none;
    min-height: 80px;
}

.form-footer {
    margin-top: 1.5rem;
}

.form-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--modal-accent, #E05D44);
    border: none;
    border-radius: 0.5rem;
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px color-mix(in srgb, var(--modal-accent, #E05D44) 40%, transparent);
}

.form-submit-btn:hover {
    background: var(--modal-accent-hover, #C94830);
    box-shadow: 0 0 30px color-mix(in srgb, var(--modal-accent, #E05D44) 60%, transparent);
}

.form-submit-btn .material-symbols-outlined {
    font-size: 18px;
}

.form-disclaimer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(100, 116, 139, 0.6);
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1.5rem 1.5rem 0.75rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-form {
        padding: 0 1.5rem 1.5rem;
    }
}
