@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/jost/jost-cyrillic.woff2?v=20261027-font1') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/jost/jost-latin.woff2?v=20261027-font1') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----- ОБЩИЕ СТИЛИ ----- */
:root {
    --primary-color: #26B4B1; /* Бирюзовый */
    --secondary-color: #DA295C; /* Розовый */
    --text-color: #55585C; /* Темно-серый (для текста и темных фонов) */
    --light-text-color: #FFFFFF; /* Белый (для светлого текста и фонов) */
    --background-color: #f5f5f5; /* Светло-серый фон для секций */
    --font-family: 'Jost', Arial, sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Анимация для фона */
@keyframes animatedBackground {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

@keyframes zoom {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth !important;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-text-color);
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 600;
}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

section {
    position: relative;
    overflow: hidden;
}

.section-decorator {
    position: absolute;
    width: 400px;
    height: 400px;
    z-index: 1;
    opacity: 0.1;
    -webkit-mask-image: url('https://static.tildacdn.com/tild3634-3866-4131-a631-383035326636/sign_2_4.svg');
    mask-image: url('https://static.tildacdn.com/tild3634-3866-4131-a631-383035326636/sign_2_4.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.decorator-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}
.decorator-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%) rotate(180deg);
}

.decorator-primary {
    background-color: var(--primary-color);
}
.decorator-secondary {
    background-color: var(--secondary-color);
}


.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

/* ----- HEADER ----- */
.header {
    background-color: var(--text-color);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    vertical-align: middle;
}
.navbar-brand picture {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    padding: 10px 15px;
}

.nav-link {
    color: var(--light-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #3e4042;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--light-text-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    line-height: 1.4;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.nav-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
    content: '';
    display: block;
    background-color: var(--light-text-color);
    height: 2px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle-btn span::before {
    top: -8px;
}

.nav-toggle-btn span::after {
    bottom: -8px;
}

/* ----- HERO SECTION ----- */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-lottie {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-lottie svg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(45deg, rgba(38, 180, 177, 0.5), rgba(218, 41, 92, 0.5));
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}
.hero .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text-color);
}
.hero .btn:hover {
    background-color: transparent;
    color: var(--light-text-color);
    border-color: var(--light-text-color);
}

/* ----- ABOUT & SERVICE DETAILS SECTIONS ----- */
.about-section, .service-details-section, .faq-section, .sterility-section, .reviews-section {
    padding: 100px 0;
    background-color: var(--light-text-color);
}
.about-section-reverse, #tattoo, .faq-section, #reviews, .quiz-section {
    background-color: var(--background-color);
}
.about-section-reverse .about-container {
    flex-direction: row-reverse;
}
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
#about .about-container {
    flex-direction: row-reverse;
}
.service-details-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}
.about-image, .service-details-image {
    flex: 1;
    max-width: 450px;
}
.about-image picture {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-image picture img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.about-image img, .service-details-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}
.about-content, .service-details-content {
    flex: 1;
}
.service-details-content {
    flex: 1.5;
}
.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 500;
}
.about-content p, .service-details-content p {
    margin-bottom: 20px;
}
.about-content ul {
    list-style: none;
    padding-left: 0;
}
.about-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.about-content ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.about-quote {
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    font-style: italic;
    color: #777;
}

.video-button-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    cursor: pointer;
}
.video-button-wrapper .video-play-link {
    display: block;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.video-button-wrapper .video-play-link img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.video-button-wrapper:hover .video-play-link img {
    transform: scale(1.1);
}
.video-button-wrapper span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ----- SERVICES OVERVIEW SECTION ----- */
.services-section {
    padding: 100px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.service-card {
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.service-card-image picture {
    display: block;
}
.service-card-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}
.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-card a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ----- PROCEDURE GRID ----- */
.procedure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.procedure-card {
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}
.procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.procedure-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.procedure-card-content {
    padding: 20px 15px;
}
.procedure-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}
.procedure-card p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* ----- ACCORDION ----- */
.price-accordion, .faq-accordion {
    max-width: 800px;
    margin: 30px auto 0 auto;
}
.accordion-item {
    border-bottom: 1px solid #eee;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    background-color: transparent;
    border: none;
    width: 100%;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
    text-align: left;
}
.accordion-header:hover {
    color: var(--primary-color);
}
.accordion-header i {
    transition: transform 0.4s ease;
}
.accordion-header.active i {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    text-align: left;
}
.price-accordion .accordion-content .price-category {
    padding: 20px 0;
    border-bottom: none;
}
.price-accordion .accordion-content .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    gap: 15px;
}
.price-accordion .accordion-content .price-item:nth-child(even) {
    background-color: #fafafa;
}
.price-item-name h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.price-item-name p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}
.price-item-value {
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}
.faq-accordion .accordion-content p {
    padding: 0 10px 20px 10px;
    margin: 0;
    color: #666;
}


/* ----- SERVICE-SPECIFIC GALLERIES ----- */
.service-gallery {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}
.subsection-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--text-color);
}
.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* ----- IMAGE COMPARISON SLIDER ----- */
.comparison-slider-container {
    text-align: center;
}
.comparison-slider-container h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-color);
}
.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    cursor: ew-resize;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.comparison-slider img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    object-fit: cover;
    aspect-ratio: 600 / 700;
}
.comparison-image-after {
    display: block;
}
.comparison-image-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%; /* Initial position */
    overflow: hidden;
}
.comparison-image-before img {
    height: 100%;
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: left;
}
.comparison-resizer {
    position: absolute;
    top: 0;
    left: 50%; /* Initial position */
    width: 4px;
    height: 100%;
    background-color: var(--light-text-color);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}
.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: var(--light-text-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.comparison-handle::before,
.comparison-handle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.comparison-handle::before {
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--primary-color) transparent transparent;
    left: 10px;
}
.comparison-handle::after {
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--primary-color);
    right: 10px;
}


/* ----- QUIZ SECTION ----- */
.quiz-section {
    padding: 100px 0;
}
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
.quiz-header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 20px 30px;
}
.quiz-body {
    padding: 40px 30px;
}
.quiz-footer {
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

/* ----- SERVICE PROTOCOL & CTA ----- */
.service-protocol {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}
.service-protocol h3 {
    margin-bottom: 15px;
    font-weight: 500;
}
.service-protocol ul {
    list-style: none;
    padding: 0;
}
.service-protocol ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.service-protocol ul li:last-child {
    margin-bottom: 0;
}
.service-protocol ul li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 4px;
}
.call-to-action-box {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
    background-color: #55585c;
    color: var(--light-text-color);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* ----- QUIZ STYLES ----- */
.quiz-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.quiz-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}
.quiz-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.quiz-icon rect, .quiz-icon line, .quiz-icon polyline {
    fill: none;
    stroke: var(--light-text-color);
    stroke-width: 2;
    stroke-miterlimit: 10;
}
.quiz-title-text {
    font-size: 1.1rem;
    font-weight: 500;
}
.quiz-counter {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    padding-left: 15px;
}
.quiz-result-title {
    display: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}
.quiz-progressbar {
    width: 100%;
    height: 6px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}
.quiz-progress {
    width: 0;
    height: 100%;
    background-color: var(--light-text-color);
    transition: width 0.4s ease;
}
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
    animation: zoom 0.5s;
}
.quiz-question {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
}
.quiz-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #777;
}
.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.quiz-image-option, .quiz-radio-option {
    display: block;
    cursor: pointer;
}
.quiz-image-option input, .quiz-radio-option input {
    display: none;
}
.quiz-image-indicator {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    border: 3px solid #eee;
    transition: border-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}
.quiz-image-option span {
    display: block;
    text-align: center;
    font-weight: 500;
}
.quiz-image-option:hover .quiz-image-indicator {
    border-color: var(--secondary-color);
}
.quiz-image-option input:checked + .quiz-image-indicator {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.quiz-radio-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    transition: border-color 0.3s, background-color 0.3s;
}
.quiz-radio-option:hover {
    background-color: #f9f9f9;
}
.quiz-radio-option input:checked + .quiz-radio-indicator + span {
    font-weight: 600;
    color: var(--text-color);
}
.quiz-radio-option input:checked + .quiz-radio-indicator {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}
.quiz-radio-option input:checked + .quiz-radio-indicator::after {
    opacity: 1;
}
.quiz-radio-indicator {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.3s;
}
.quiz-radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}
.quiz-capture-form .form-group {
    margin-bottom: 20px;
}
.quiz-capture-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.quiz-capture-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quiz-btn-prev {
    background-color: #ccc;
    border-color: #ccc;
}
.quiz-btn-prev:hover {
    background-color: #bbb;
    border-color: #bbb;
}
.quiz-btn-prev:disabled {
    background-color: #e9e9e9;
    border-color: #e9e9e9;
    color: #aaa;
    cursor: not-allowed;
    transform: none;
}

/* ----- CONSULTATION CTA SECTION ----- */
.consultation-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--light-text-color);
}
.consultation-section h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.consultation-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.consultation-section .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.consultation-section .btn:hover {
    background-color: var(--light-text-color);
    border-color: var(--light-text-color);
    color: var(--secondary-color);
}

/* ----- STERILITY SECTION ----- */
.sterility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.sterility-item .sterility-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.sterility-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ----- REVIEWS SECTION ----- */
.yandex-reviews-widget-container {
    display: flex;
    justify-content: center;
}

/* ----- VIDEO MODAL ----- */
.video-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    animation: zoom 0.5s;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-close {
    color: var(--light-text-color);
    position: absolute;
    top: -35px;
    right: 0;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.video-modal-close:hover {
    color: var(--secondary-color);
}

/* ----- CONTACT SECTION ----- */
.contact-section {
    padding: 100px 0;
}
.contact-container {
    display: flex;
    gap: 50px;
    align-items: stretch;
}
.contact-info, .contact-form {
    flex: 1;
}
.info-item {
    margin-bottom: 20px;
}
.info-item strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.info-item a {
    color: var(--text-color);
}
.info-item a:hover {
    color: var(--primary-color);
}
.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 500;
}
.contact-form {
    background: var(--light-text-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 500;
}
.form-group {
    margin-bottom: 25px;
    position: relative;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
    color: var(--text-color);
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
    font-size: 1rem;
    border-radius: var(--border-radius);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--light-text-color);
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.privacy-policy {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #777;
}
.privacy-policy input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}
.privacy-policy a {
    color: var(--text-color);
    text-decoration: underline;
}
.contact-form .btn {
    width: 100%;
}

/* ----- FULL WIDTH MAP SECTION ----- */
.contact-map-fullwidth {
    width: 100%;
    height: 450px;
    position: relative;
    z-index: 1;
}
.contact-map-fullwidth iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.7);
}

/* ----- FOOTER ----- */
.footer {
    background-color: var(--text-color);
    color: var(--light-text-color);
    padding-top: 60px;
    position: relative;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col-main {
    text-align: center;
}
.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 15px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text-color);
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}
.footer-col p, .footer-col ul li {
    margin-bottom: 10px;
    opacity: 0.9;
    color: var(--light-text-color);
}
.footer-col a {
    color: var(--light-text-color);
    opacity: 0.9;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--light-text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    color: var(--light-text-color);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1002;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.cookie-consent-banner.visible {
    transform: translateY(0);
    opacity: 1;
}
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.cookie-content p {
    margin: 0;
}
.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
#cookie-accept-btn {
    flex-shrink: 0;
}

/* ----- SCROLL UP BUTTON ----- */
#scroll-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
#scroll-up-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}
#scroll-up-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .services-grid, .procedure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container,
    .about-section-reverse .about-container,
    .service-details-container {
        flex-direction: column;
    }
    #about .about-container { flex-direction: column; }
    .about-content h2, .contact-info h2 {
        font-size: 2.2rem;
    }
    .contact-container {
        flex-direction: column;
    }
    .nav-toggle-btn { display: block; }

    /* --- ИЗМЕНЕНИЯ МЕНЮ --- */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px; /* УМЕНЬШЕНА ШИРИНА */
        max-width: 90%; /* ДОБАВЛЕНО ОГРАНИЧЕНИЕ ДЛЯ УЗКИХ ЭКРАНОВ */
        height: 100vh;
        background-color: #3e4042;
        transition: right 0.4s ease;
        padding-top: 90px; /* УМЕНЬШЕН ВЕРХНИЙ ОТСТУП */
        overflow-y: auto;
    }
    .nav-wrapper.is-open { right: 0; }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .nav-item { width: 100%; padding: 0; }
    /* УМЕНЬШЕНЫ ШРИФТ И ОТСТУПЫ */
    .nav-link { padding: 13px 15px; width: 100%; justify-content: space-between; font-size: 1.1rem; white-space: normal; }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0,0,0,0.2);
        padding: 0;
        margin: 0;
        border-radius: 0;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        transform: none;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    .dropdown.is-open > .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }
    .dropdown.is-open .dropdown-arrow {
        transform: rotate(180deg);
    }
    .dropdown-item {
        padding: 12px 30px;
    }
    .sterility-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root { --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
    main {
        padding-top: 80px;
    }
    .section-decorator {
        display: none;
    }
    .hero {
        display: none;
    }
    .services-grid, .procedure-grid, .service-gallery-grid {
        grid-template-columns: 1fr;
    }
    h2.section-title { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .about-section, .service-details-section, .promo-section, .quiz-section, .contact-section, .faq-section, .sterility-section, .reviews-section { 
        padding: 60px 0; 
    }
    .about-container { position: relative; }
    .about-image img { border-radius: var(--border-radius); }
    .about-content {
        background-color: var(--light-text-color);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 30px 20px;
        margin-top: 0;
        position: relative;
        z-index: 2;
        width: 100%;
        text-align: left;
    }
    .about-content h2 { font-size: 2rem; text-align: left; }
    .about-content ul { display: block; text-align: left; margin-top: 20px; }
    .cookie-content { flex-direction: column; text-align: center; }
    .consultation-section h3 {
        font-size: 1.8rem;
    }
    
    /* ----- COMPACT FOOTER STYLES ----- */
    .footer {
        padding-top: 40px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr; /* Two columns */
        gap: 20px 30px; /* row-gap column-gap */
        margin-bottom: 30px;
    }
    .footer-col-main,
    .footer-col:last-of-type { /* Use last-of-type for better targeting */
        grid-column: 1 / -1; /* Span full width */
        text-align: center;
    }
    .footer-col:last-of-type h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logo img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .quiz-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .quiz-body, .quiz-header, .quiz-footer {
        padding: 20px 15px;
    }
    .hero h1 { font-size: 2.2rem; }
}

/* ----- ADDITIONS FOR HEADER INFO ----- */

/* Desktop Header Info Styles */
.header-info-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto; /* CHANGED: Center the info block */
    padding-right: 0;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--light-text-color);
    white-space: nowrap;
}

.header-contact-item i {
    color: var(--primary-color);
}

.header-contact-item a {
    color: var(--light-text-color);
    font-weight: 500;
}

.header-contact-item a:hover {
    color: var(--secondary-color);
}

.header-social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.header-social-links a {
    color: var(--light-text-color);
    font-size: 1.1rem;
}

.header-social-links a:hover {
    color: var(--secondary-color);
}


/* Mobile-only Phone Link in Header */
.mobile-header-text {
    display: none; /* ИСПРАВЛЕНО: Скрыто на десктопе по умолчанию */
}

/* Mobile-only Info in Slide-out Menu */
.nav-menu .mobile-only-info {
    display: none; /* Hidden by default */
}


/* ----- RESPONSIVE CHANGES FOR NEW ELEMENTS ----- */

@media (max-width: 1200px) {
    /* Hide address text on smaller desktops to prevent wrapping */
    .header-contact-item:first-of-type {
        display: none;
    }
}

@media (max-width: 992px) {
    .navbar {
        justify-content: space-between; /* Adjusted for mobile view */
    }
    
    .nav-controls {
        margin-left: auto;
    }

    /* Hide the entire desktop info block */
    .header-info-desktop {
        display: none;
    }
    
    /* Show and style the mobile header text block */
    .mobile-header-text {
        display: block; /* ИСПРАВЛЕНО: Показываем на мобильных */
        color: var(--light-text-color);
        margin-left: 15px;
        line-height: 1.3;
    }
    .mobile-header-text p {
        margin: 0 0 2px 0;
        font-size: 0.8rem;
        opacity: 0.8;
    }
    .mobile-header-text a {
        color: var(--light-text-color);
        font-weight: 500;
    }
    .mobile-header-text a:hover {
        color: var(--primary-color);
    }
    
    /* Position the nav menu to the far right */
    .nav-wrapper {
        margin-left: 0; /* CHANGED: Reset left margin for menu */
    }
    
    /* Show and style the info block inside the slide-out menu */
    .nav-menu .mobile-only-info {
        display: block;
        padding: 20px 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 15px;
    }
    
    .mobile-only-info .info-address {
        margin-bottom: 20px;
    }
    
    .mobile-only-info .info-address p {
        color: var(--light-text-color);
        opacity: 0.9;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .mobile-only-info .social-links a {
        color: var(--light-text-color);
        font-size: 26px;
        margin-right: 20px;
    }
}
/* ----- Стили для кнопок на странице услуг ----- */
.button-container {
    display: flex;
    flex-wrap: wrap;     /* Включаем перенос кнопок на новую строку */
    gap: 15px;           /* Устанавливаем расстояние между кнопками */
    margin-top: 25px;
    justify-content: center; /* Центрируем содержимое по горизонтали */
}

.button-container .btn {
    flex-grow: 1;        /* Разрешаем кнопкам растягиваться */
    text-align: center;
    white-space: nowrap;
}

/* Задаем базовый размер для первых двух кнопок (верхний ряд) */
.button-container .btn:nth-child(1),
.button-container .btn:nth-child(2) {
    flex-basis: 40%;     /* Устанавливаем основу, чтобы они поместились в один ряд */
}

/* Задаем базовый размер для третьей кнопки (нижний ряд) */
.button-container .btn:nth-child(3) {
    flex-basis: 100%;    /* Заставляем кнопку занять всю ширину и перенестись вниз */
}

[id] {
  scroll-margin-top: 500px; /* Замените 80px на точную высоту вашей шапки */
}

/* ========================================= */
/* === НОВЫЕ СТИЛИ ДЛЯ БЛОГА (АВТО-TELEGRAM) === */
/* ========================================= */

.hero-small {
    min-height: 40vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
}
.hero-small::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* Затемнение фона */
}
.hero-small .hero-content {
    position: relative; z-index: 2;
}
.hero-small h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; font-weight: 700;
}
.hero-small p {
    font-size: clamp(1rem, 2vw, 1.25rem); opacity: 0.9;
}

.blog-section {
    padding: 4rem 0;
    background-color: #fcfcfc;
    min-height: 600px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* Карточка блога */
.blog-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.blog-card-link {
    text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%;
}
.blog-card-image {
    height: 220px;
    background-color: #f0f0f0;
    overflow: hidden;
    position: relative;
}
.blog-card-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: 0; transition: opacity 0.3s ease;
}
.blog-card-image img.loaded { opacity: 1; }

/* Иконка-заглушка, если фото нет */
.blog-card-image::after {
    content: '\f03e'; /* fa-image */
    font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3rem; color: #ddd; z-index: 0;
}
.blog-card-image img.loaded + .blog-card-image::after { display: none; }

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-date {
    font-size: 0.85rem; color: #888; margin-bottom: 0.5rem; display: block;
}
.blog-card-content h3 {
    font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; line-height: 1.3; color: var(--text-color);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-content p {
    font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.25rem; color: #555; flex-grow: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.btn-link {
    font-weight: 600; color: var(--primary-color); margin-top: auto;
    display: inline-flex; align-items: center; gap: 0.25rem;
}

/* Индикатор загрузки и ошибки */
.loading-state {
    text-align: center; padding: 3rem; font-size: 1.2rem; color: #666; grid-column: 1 / -1;
}
.loading-spinner {
    display: inline-block; width: 40px; height: 40px; border: 4px solid #eee;
    border-top: 4px solid var(--primary-color); border-radius: 50%;
    animation: spin 1s linear infinite; margin-bottom: 1rem;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.error-message {
    text-align: center; color: #dc3545; padding: 2rem; grid-column: 1 / -1;
    background: #fff0f0; border-radius: 8px;
}

/* ========================================= */
/* === ВСПЛЫВАЮЩЕЕ ОКНО (ВЫБОР МАСТЕРА) ==== */
/* ========================================= */
.welcome-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.welcome-modal.show {
    display: flex;
    opacity: 1;
}
.welcome-modal-content {
    background-color: var(--light-text-color);
    padding: 0;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: zoom 0.5s ease;
    overflow: hidden;
}
.welcome-modal-header {
    padding: 25px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text-color);
    position: relative;
}
.welcome-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}
.welcome-modal-body {
    padding: 30px;
}
.welcome-modal-close {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 35px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: color 0.3s, transform 0.3s, opacity 0.4s ease;
}
.welcome-modal.show .welcome-modal-close {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s, 0s, 0.9s; /* Задержка только для opacity */
}
.welcome-modal-close:hover {
    color: var(--light-text-color);
    transform: scale(1.1);
}
.welcome-modal-body p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}
.welcome-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.welcome-modal-option {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: var(--border-radius);
    transition: box-shadow 0.3s, transform 0.3s, background-color 0.3s;
    opacity: 0;
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.welcome-modal.show .welcome-modal-option {
    animation: slideUpFade 0.5s ease forwards;
}
.welcome-modal.show .welcome-modal-option:nth-child(1) {
    animation-delay: 0.2s;
}
.welcome-modal.show .welcome-modal-option:nth-child(2) {
    animation-delay: 0.4s;
}
.welcome-modal-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background-color: #fcfcfc;
    animation: none !important;
    opacity: 1;
}
.welcome-modal-buttons .btn {
    width: 100%;
    padding: 12px 10px;
    line-height: 1.4;
    font-size: 1rem;
}
.welcome-modal-option .master-services {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    line-height: 1.5;
    margin-top: 10px;
    display: block;
}
.master-services .master-price {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-color);
}
#promo-modal .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
#promo-modal .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- АНИМАЦИЯ ЗАГРУЗКИ В МОДАЛЬНОМ ОКНЕ --- */
.modal-loading-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--light-text-color);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: var(--border-radius);
}
.modal-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}
.loading-spinner-large {
    width: 60px; height: 60px;
    border: 5px solid #eee;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
.modal-loading-overlay h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    padding: 0 20px;
}

/* Contact form delivery status */
.form-status { min-height: 1.4em; margin: 12px 0 0; line-height: 1.45; }
.form-status.is-success { color: #18794e; }
.form-status.is-error { color: #b42318; }
.contact-form button:disabled { opacity: .65; cursor: wait; }
