/* ===================================
   Dr. Benedict Clinic - Main Theme Styles
   =================================== */

/* CSS Variables */
:root {
    --color-dark: #1a1a1a;
    --color-accent: #ffffff;
    --color-white: #ffffff;
    --color-grey: #666666;
    --color-light-grey: #f5f5f5;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Lenis Smooth Scroll */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* New Header */
.site-header-new {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
}

/* Simple sample-conformant Header */
.header.container--full-width-padding {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    padding: 30px 0;
    background: transparent; /* изначально прозрачный */
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
}

/* Header Layout Sections */
.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-start;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    justify-self: center;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-end;
    grid-column: 3;
    justify-self: end;
}

.header .header-item {
    font-size: 13px;
    font-weight: 400; /* тоньше */
    letter-spacing: 0.5px;
    color: var(--color-white); /* изначально белые элементы */
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.header .header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    text-decoration: none;
    color: inherit;
}

.header-brand-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-brand-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 3px;
    color: #ffffff;
    opacity: 0.9;
}

.header .header-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500; /* чуть тоньше */
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10001;
}

/* MENU текст должен наследовать текущий цвет (белый изначально, тёмный при скролле) */
.header .menu-text {
    color: inherit;
    font-weight: 400;
}

.header .header-item:hover {
    color: rgba(255,255,255,0.75);
}

.header .header-instagram {
    display: flex;
    align-items: center;
}

.header .icon-instagram {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;
}

/* Гамбургер-иконка рядом с MENU */
.header .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
}

.header .hamburger-icon,
.header .hamburger-icon-close {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header .hamburger-icon {
    opacity: 1;
}

.header .hamburger-icon-close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Трансформация в крестик при активном меню */
body.overlay-open .header .hamburger-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

body.overlay-open .header .hamburger-icon-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Когда меню открыто, все элементы хедера белые */
body.overlay-open .header .header-item {
    color: var(--color-white) !important;
}

body.overlay-open .header .menu-text {
    color: var(--color-white) !important;
}

body.overlay-open .header .hamburger-icon,
body.overlay-open .header .hamburger-icon-close {
    stroke: var(--color-white) !important;
}

/* Хедер остается поверх overlay меню */
body.overlay-open .header.container--full-width-padding {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* Header Language Switcher */
.header-language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 16px;
    line-height: 1;
}

.header-language-switcher .lang-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.25s ease;
    line-height: 1;
    display: flex;
    align-items: center;
}

.header-language-switcher .lang-link:hover,
.header-language-switcher .lang-link.active {
    opacity: 1;
}

.header-language-switcher .lang-divider {
    font-size: 13px;
    color: var(--color-white);
    opacity: 0.4;
    line-height: 1;
}

.header.container--full-width-padding.is-solid .header-language-switcher .lang-link {
    color: var(--color-dark);
}

.header.container--full-width-padding.is-solid .header-language-switcher .lang-divider {
    color: var(--color-dark);
}

body.overlay-open .header .header-language-switcher .lang-link,
body.overlay-open .header .header-language-switcher .lang-divider {
    color: var(--color-white) !important;
}

/* Состояние при скролле: белый фон, тень, тёмные элементы */
.header.container--full-width-padding.is-solid {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header.container--full-width-padding.is-solid .header-item {
    color: var(--color-dark);
}

.header.container--full-width-padding.is-solid .header-item:hover {
    color: var(--color-grey);
}

.header.container--full-width-padding.is-solid .header-brand-name {
    color: var(--color-dark) !important;
    text-shadow: none;
}

.header.container--full-width-padding.is-solid .header-brand-subtitle {
    color: var(--color-dark) !important;
}

/* Хедер на странице "Про лікаря" - черные элементы по умолчанию */
.page-template-template-about-doctor {
    overflow-x: hidden;
    max-width: 100vw;
}

.page-template-template-about-doctor .site-content {
    overflow-x: hidden;
    max-width: 100vw;
}

.page-template-template-about-doctor section {
    max-width: 100vw;
    overflow-x: hidden;
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-item {
    color: var(--color-dark);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-item:hover {
    color: var(--color-grey);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-dropdown-trigger {
    color: var(--color-dark);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-dropdown-arrow {
    stroke: var(--color-dark);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-dropdown-trigger:hover {
    color: var(--color-grey);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-brand-name {
    color: var(--color-dark) !important;
    text-shadow: none;
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .header-brand-subtitle {
    color: var(--color-dark) !important;
    opacity: 0.8;
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .menu-text {
    color: var(--color-dark);
}

.page-template-template-about-doctor .header.container--full-width-padding:not(.is-solid) .hamburger-icon {
    stroke: var(--color-dark);
}

/* Хедер перекрывает первый блок (без отступа сверху у контента) */
.site-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
}

#content {
    margin: 0 !important;
    padding: 0 !important;
}

#content > *:first-child:not(.quiz-hero):not(.privacy-page-hero):not(.contact-page-hero) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-phone,
.header-social,
.header-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--color-dark);
    transition: var(--transition);
}

.header-phone:hover,
.header-social:hover,
.header-link:hover {
    color: var(--color-grey);
}

/* Header Dropdown Menu */
.header-dropdown {
    position: relative;
}

.header-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.header-dropdown-arrow {
    transition: transform 0.3s ease;
}

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

.header-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    padding-top: 20px;
}

.header-dropdown:hover .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.header-dropdown-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.header-dropdown-item:hover {
    background: #f8f8f8;
    color: #1a1a1a;
}

.header-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.header-dropdown-icon svg {
    width: 18px;
    height: 18px;
    stroke: #1a1a1a;
}

.header-dropdown-item:hover .header-dropdown-icon {
    background: #1a1a1a;
}

.header-dropdown-item:hover .header-dropdown-icon svg {
    stroke: #ffffff;
}

.header-dropdown-text {
    font-family: 'Inter', sans-serif;
}

.header-dropdown-footer {
    border-top: 1px solid #eaeaea;
    margin-top: 10px;
    padding-top: 10px;
}

.header-dropdown-all {
    display: block;
    text-align: center;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-dropdown-all:hover {
    color: #1a1a1a;
}

/* Dropdown in transparent header (white text) */
.header.container--full-width-padding:not(.is-solid) .header-dropdown-trigger {
    color: var(--color-white);
}

.header.container--full-width-padding:not(.is-solid) .header-dropdown-arrow {
    stroke: var(--color-white);
}

.header.container--full-width-padding:not(.is-solid) .header-dropdown-trigger:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Dropdown in solid header (dark text) */
.header.container--full-width-padding.is-solid .header-dropdown-trigger {
    color: var(--color-dark);
}

.header.container--full-width-padding.is-solid .header-dropdown-arrow {
    stroke: var(--color-dark);
}

.header.container--full-width-padding.is-solid .header-dropdown-trigger:hover {
    color: var(--color-grey);
}

/* Hide dropdown when overlay menu is open */
body.overlay-open .header-dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Hide dropdown on mobile */
@media (max-width: 1100px) {
    .header-dropdown {
        display: none;
    }
}

.header-logo {
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-dark);
    font-family: var(--font-sans);
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-grey);
    margin-top: 2px;
}

.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.menu-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-dark);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay-menu.active {
    visibility: visible;
    opacity: 1;
}

.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/building-facade.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px) grayscale(100%) brightness(0.3);
}

.overlay-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.overlay-content {
    position: relative;
    z-index: 2;
    min-height: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.overlay-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.overlay-right {
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.overlay-nav-primary ul,
.overlay-nav-secondary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-nav-primary li {
    margin-bottom: 25px;
}

.overlay-nav-secondary li {
    margin-bottom: 18px;
}

.overlay-nav-primary a {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.overlay-nav-secondary a {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.overlay-nav-primary a:hover,
.overlay-nav-secondary a:hover {
    color: var(--color-white);
    padding-left: 10px;
    opacity: 0.7;
}

/* Overlay close button removed - hamburger transforms into X */

.overlay-brand {
    margin-bottom: 60px;
    text-align: right;
}

.overlay-logo-name {
    display: block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.overlay-logo-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.overlay-contact {
    margin-bottom: 60px;
    text-align: right;
}

.overlay-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.overlay-address {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.overlay-social {
    display: flex;
    gap: 20px;
}

.overlay-social a {
    color: var(--color-white);
    transition: var(--transition);
}

.overlay-social a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Hero Section - Video Background */
.hero-video-section {
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero-video,
.hero-vimeo-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-vimeo-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    border: none;
    pointer-events: none;
}

/* Растягиваем видео на весь экран без серых краев */
@supports (aspect-ratio: 16 / 9) {
    .hero-vimeo-iframe {
        aspect-ratio: 16 / 9;
        width: 100vw;
        height: 56.25vw; /* 16:9 aspect ratio */
        min-height: 100vh;
        min-width: 177.77vh; /* 16:9 aspect ratio */
        object-fit: cover;
    }
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 2;
}

.hero-video-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    color: var(--color-white);
    text-align: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-video-title {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-video-subtitle {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Content Sections */
.content-section {
    padding: 120px 0;
    width: 96.875vw;
    max-width: 96.875vw;
    margin: 0 auto;
}

.section-title-elegant {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.section-text-elegant {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-grey);
    max-width: 800px;
}

/* Container */
.container {
    width: 96.875vw;
    max-width: 96.875vw;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* About Section */
.about-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 80px 0;
    min-height: calc(33.333vw + 160px);
}

.about-image-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 28.125vw;
    height: 33.333vw;
    z-index: 2;
}

.about-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-right {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28.125vw;
    height: 33.333vw;
    z-index: 2;
}

.about-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 33.333vw;
}

.about-content {
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-label {
    font-size: clamp(9px, 0.8vw, 11px);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: clamp(20px, 2vw, 25px);
    line-height: 1.6;
    font-family: var(--font-sans);
}

.about-name {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    margin-bottom: clamp(30px, 3vw, 40px);
    line-height: 1.1;
}

.about-services {
    display: flex;
    flex-direction: column;
    gap: clamp(25px, 2.5vw, 30px);
    margin-bottom: clamp(30px, 3vw, 40px);
}

.about-service-item {
    display: flex;
    flex-direction: column;
}

.about-service-title {
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    margin-bottom: clamp(10px, 1vw, 12px);
    line-height: 1.4;
}

/* Emphasize subheadings only in About block on homepage */
#about .about-service-title {
    font-weight: 600;
}

.about-service-text {
    font-size: clamp(12px, 0.9vw, 13px);
    line-height: 1.7;
    color: var(--color-dark);
    font-family: var(--font-sans);
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    position: relative;
    padding: 100px 0 70px;
    background-color: var(--color-dark);
    overflow: hidden;
    margin-top: 40px;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/statistics-background.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.why-choose-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.68);
    z-index: 1;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.2;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-choose-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 40px 35px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
}

.why-choose-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.why-choose-card-title {
    font-family: var(--font-serif);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.why-choose-card-text {
    font-family: var(--font-sans);
    font-size: clamp(13px, 1vw, 14px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
}

.why-choose-card-note {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.98);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    margin-top: auto;
}

@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .why-choose-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0 45px;
        margin-top: 30px;
    }
    
    .why-choose-header {
        margin-bottom: 40px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-choose-card {
        padding: 30px 25px;
    }
}

/* Services Section */
.services-section {
    background-color: var(--color-white);
    padding: 70px 0 100px;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.services-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
    color: var(--color-grey);
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px 35px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--color-dark);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

.service-card-text {
    font-family: var(--font-sans);
    font-size: clamp(13px, 1vw, 14px);
    line-height: 1.7;
    color: var(--color-grey);
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.service-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 10px 18px;
    background: #5f5f5f;
    color: var(--color-white);
    border: 1px solid #5f5f5f;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.service-card-button span {
    font-size: 13px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-button {
    background: #4c4c4c;
    border-color: #4c4c4c;
}

.service-card:hover .service-card-button span {
    transform: translateX(3px);
}

.services-cta {
    text-align: center;
}

.services-cta-button {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 52px;
    padding: 14px 30px;
    background: #5f5f5f;
    border: 1px solid #5f5f5f;
    transition: all 0.3s ease;
}

.services-cta-button:hover {
    background: #4c4c4c;
    border-color: #4c4c4c;
}

.services-cta-button span {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.services-cta-button:hover span {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 45px 0 60px;
    }
    
    .services-header {
        margin-bottom: 50px;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 30px 25px;
    }

    .service-card-button {
        min-height: 40px;
        padding: 9px 16px;
        font-size: 11px;
    }

    .services-cta-button {
        min-height: 48px;
        width: min(100%, 300px);
        font-size: 13px;
        padding: 12px 24px;
    }
}

/* Certificates Section */
.certificates-section {
    position: relative;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    color: var(--color-white);
    margin: 0;
    overflow: hidden;
}

.certificates-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.certificates-section .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
}

.certificates-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.certificates-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.certificates-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.certificates-swiper {
    overflow: visible;
    padding: 20px 0;
    width: 100%;
}

.certificates-swiper .swiper-wrapper {
    align-items: center;
}

.certificates-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.certificates-swiper .swiper-slide-active {
    opacity: 1;
}

.certificates-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background-color: var(--color-white);
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.certificates-swiper .swiper-slide-active img {
    transform: scaleX(1.08) scaleY(1.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 0;
    z-index: 2;
    position: relative;
}

.certificates-slider-wrapper {
    position: relative;
    padding: 0;
}

/* Hide ALL default Swiper navigation arrows */
.certificates-section .swiper-button-next:not(.certificates-button-next),
.certificates-section .swiper-button-prev:not(.certificates-button-prev),
.certificates-swiper .swiper-button-next:not(.certificates-button-next),
.certificates-swiper .swiper-button-prev:not(.certificates-button-prev),
.certificates-slider-wrapper .swiper-button-next:not(.certificates-button-next),
.certificates-slider-wrapper .swiper-button-prev:not(.certificates-button-prev) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.certificates-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.certificates-button-next,
.certificates-button-prev {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    position: relative !important;
    color: var(--color-white) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.8 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    outline: none !important;
}

.certificates-button-next::after,
.certificates-button-prev::after {
    display: none !important;
    content: '' !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.certificates-button-next::before,
.certificates-button-prev::before {
    content: '→' !important;
    font-family: var(--font-sans) !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    color: var(--color-white) !important;
    line-height: 1 !important;
    display: block !important;
    transition: none !important;
    transform: none !important;
}

.certificates-button-prev::before {
    content: '←' !important;
}

.certificates-button-next:hover,
.certificates-button-prev:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

.certificates-button-next:hover::before,
.certificates-button-prev:hover::before {
    transform: none !important;
}

.certificates-button-next {
    order: 2;
}

.certificates-button-prev {
    order: 1;
}

@media (max-width: 1024px) {
    .certificates-section {
        padding: 80px 30px;
    }
    
    .certificates-slider-wrapper {
        padding: 0;
    }
    
    .certificates-button-wrapper {
        gap: 25px;
        margin-top: 30px;
    }
    
    .certificates-button-next,
    .certificates-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .certificates-button-next::before,
    .certificates-button-prev::before {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .certificates-section {
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .certificates-header {
        margin-bottom: 40px;
    }
    
    .certificates-slider-wrapper {
        padding: 0;
    }
    
    .certificates-button-wrapper {
        gap: 20px;
        margin-top: 25px;
    }
    
    .certificates-swiper .swiper-slide img {
        max-height: 300px;
        padding: 15px;
        border-radius: 0;
    }
    
    .certificates-swiper .swiper-slide-active img {
        transform: scaleX(1.04) scaleY(1.02);
    }
    
    .certificates-button-next,
    .certificates-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .certificates-button-next::before,
    .certificates-button-prev::before {
        font-size: 16px;
    }
}

/* Certificate Lightbox Styles */
.certificate-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.certificate-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.certificate-lightbox-content {
    position: relative;
    max-width: min(41vw, 588px);
    max-height: 47vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-lightbox-content img {
    width: auto;
    max-width: 100%;
    max-height: 47vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-lightbox-content img.loaded {
    opacity: 1;
}

.certificate-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.certificate-lightbox-close::before,
.certificate-lightbox-close::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: background-color 0.3s ease;
}

.certificate-lightbox-close::before {
    transform: rotate(45deg);
}

.certificate-lightbox-close::after {
    transform: rotate(-45deg);
}

.certificate-lightbox-close:hover {
    transform: scale(1.1);
}

.certificate-lightbox-close:hover::before,
.certificate-lightbox-close:hover::after {
    background-color: rgba(255, 255, 255, 0.7);
}

.certificate-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-white);
    font-size: 24px;
    font-weight: 300;
}

.certificate-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.certificate-lightbox-prev {
    left: 30px;
}

.certificate-lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .certificate-lightbox-content {
        max-width: 54vw;
        max-height: 43vh;
    }

    .certificate-lightbox-content img {
        max-height: 43vh;
    }

    .certificate-lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .certificate-lightbox-prev {
        left: 15px;
    }
    
    .certificate-lightbox-next {
        right: 15px;
    }
    
    .certificate-lightbox-close {
        top: -40px;
        right: 10px;
    }
}

.about-description {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 50px;
    font-family: var(--font-sans);
}

.about-cta {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
    font-family: var(--font-sans);
    margin: 0 auto;
}

.about-cta:hover {
    color: var(--color-grey);
}

.about-cta span {
    font-size: 14px;
    margin-left: 4px;
}

.about-watermark {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    font-size: 180px;
    font-weight: 700;
    letter-spacing: 20px;
    color: rgba(0, 0, 0, 0.025);
    text-transform: uppercase;
    font-family: var(--font-sans);
    pointer-events: none;
    z-index: 1;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

/* Surgery Center Section */
.surgery-center-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    padding: 0;
    margin-top: 120px;
}

.surgery-center-image {
    width: 50%;
    position: relative;
    overflow: visible;
}

.surgery-decorative-text {
    position: absolute;
    font-size: 150px;
    font-weight: 300;
    letter-spacing: 20px;
    text-transform: uppercase;
    font-family: var(--font-serif);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
}

.surgery-text-1 {
    right: 40px;
    left: auto;
    z-index: 3;
    width: auto;
    justify-content: flex-end;
    padding-right: 40px;
    color: #ffffff;
    font-weight: 300;
}

.surgery-center-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    margin: 0;
    margin-top: 10%;
}

.surgery-text-2 {
    position: absolute;
    left: 82%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    z-index: 1;
    color: rgba(0, 0, 0, 0.15);
    font-weight: 300;
    font-size: 150px;
    letter-spacing: 20px;
    text-transform: uppercase;
    font-family: var(--font-serif);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    pointer-events: none;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 0;
}

.surgery-center-title {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.15);
    line-height: 1.1;
    margin: 0 0 40px 0;
    position: relative;
    z-index: 1;
    margin-left: -15%;
}

.surgery-center-content {
    width: 50%;
    background-color: var(--color-white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.surgery-center-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 30px;
    font-family: var(--font-sans);
}

.surgery-center-title {
    font-family: var(--font-serif);
    font-size: clamp(38px, 3.2vw, 56px);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-dark);
    line-height: 1.15;
    margin: 0 0 40px 0;
}

.surgery-center-text {
    margin-bottom: 50px;
}

.surgery-center-text p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark);
    font-family: var(--font-sans);
    margin: 0;
}

.surgery-center-cta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 11px 22px;
    background: #111111;
    border: 1px solid #111111;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    align-self: flex-start;
}

.surgery-center-cta:hover {
    background: #2b2b2b;
    border-color: #2b2b2b;
}

.surgery-center-cta span {
    font-size: 13px;
    line-height: 1;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.surgery-center-cta:hover span {
    transform: translateX(3px);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-hero,
.btn-text {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-grey);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--color-grey);
    padding: 10px 0;
    border-bottom: 2px solid var(--color-grey);
    text-transform: none;
}

.btn-text:hover {
    color: #555;
    border-color: #555;
}

/* Meet The Surgeons Section */
.meet-surgeons-section {
    position: relative;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    color: var(--color-white);
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.meet-surgeons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.meet-surgeons-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1400px;
    width: 100%;
}

.meet-surgeons-title {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 80px;
    line-height: 1.2;
}

.surgeons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.surgeon-item {
    text-align: center;
}

.surgeon-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.surgeon-specialty {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
}

/* Concierge Services Section */
.concierge-services-section {
    background-color: var(--color-light-grey);
    padding: 120px 0;
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
}

.concierge-header {
    text-align: center;
    margin-bottom: 80px;
}

.concierge-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-family: var(--font-sans);
}

.concierge-title {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-dark);
    line-height: 1.1;
    margin: 0;
}

.concierge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.concierge-item-wrapper {
    position: relative;
    min-height: 600px;
}

.concierge-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.concierge-item-default {
    opacity: 1;
    z-index: 1;
}

.concierge-item-hover {
    opacity: 0;
    z-index: 2;
}

.concierge-item-wrapper:hover .concierge-item-default {
    opacity: 0;
}

.concierge-item-wrapper:hover .concierge-item-hover {
    opacity: 1;
}

.concierge-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: grayscale(100%);
}

.concierge-item-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.concierge-item-content {
    padding: 50px 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: var(--color-white);
    border-radius: 4px;
    width: calc(100% - 80px);
    max-width: 500px;
}

.concierge-item-content-hover {
    padding: 50px 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 3;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.concierge-item-bg-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 2;
    filter: grayscale(0%);
}

.concierge-item-bg-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.concierge-item-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-family: var(--font-sans);
}

.concierge-item-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark);
    font-family: var(--font-sans);
    margin: 0;
}

/* Schedule Consultation Section */
.schedule-consultation-section {
    position: relative;
    height: 65svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    color: var(--color-white);
    overflow: hidden;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.schedule-consultation-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 0;
    will-change: transform;
}

.schedule-consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.52);
    z-index: 1;
}

.schedule-consultation-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.schedule-consultation-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 24px;
}

.schedule-consultation-desc {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-consultation-cta {
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    background: transparent;
    border: 2px solid var(--color-white);
    padding: 14px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    cursor: pointer;
}

.schedule-consultation-cta:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

    .about-content {
        max-width: 600px;
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    
    .header-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        width: 95vw;
        max-width: 95vw;
    }
    
    .header-left,
    .header-center,
    .header-right {
        gap: 16px;
    }
    
    .overlay-content {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        flex-direction: column;
    }
    
    .overlay-right {
        width: 100%;
        align-items: flex-start;
        margin-top: 40px;
    }
    
    .overlay-brand,
    .overlay-contact {
        text-align: left;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-section {
        padding: clamp(60px, 8vw, 80px) 0;
    }
    
    .about-image-left,
    .about-image-right {
        width: 25vw;
        height: 30vw;
    }
    
    .about-content {
        max-width: 550px;
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .header.container--full-width-padding {
        padding: 20px 0;
    }
    
    .header-wrapper {
        grid-template-columns: 1fr auto 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        position: relative;
    }
    
    .header-center {
        grid-column: 2 !important;
        justify-self: center !important;
        width: auto !important;
    }
    
    .header .header-link { 
        display: none; 
    }
    
    .header-left {
        gap: 12px;
        justify-content: flex-start;
        grid-column: 1;
        justify-self: start;
    }
    
    .header-left .header-phone,
    .header-left .header-instagram span {
        display: none;
    }
    
    .header-brand-name {
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 1.5px;
    }
    
    .header-brand-subtitle {
        font-size: 10px;
        font-weight: 200;
        letter-spacing: 2px;
    }
    
    .header-right {
        gap: 12px;
        justify-content: flex-end;
        grid-column: 3;
        justify-self: end;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .about-section {
        flex-direction: column;
        min-height: auto;
        padding: 0 0 20px 0;
        overflow: visible;
    }
    
    .about-image-left,
    .about-image-right {
        position: relative !important;
        width: 100% !important;
        height: 50vh;
        min-height: 400px;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    .about-image-left {
        order: 1;
        margin-bottom: 60px;
    }
    
    .about-section .container {
        order: 2;
        min-height: auto;
        padding: 60px 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .about-image-right {
        order: 3;
        margin-top: 60px;
    }
    
    .about-image-right img,
    .about-image-left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .about-content {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 20px;
        box-sizing: border-box;
        text-align: center;
    }
    
    .about-label,
    .about-name,
    .about-description,
    .about-cta {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .about-name {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .about-label {
        font-size: clamp(9px, 2vw, 11px);
    }
    
    .about-services {
        gap: clamp(20px, 4vw, 25px);
        margin-bottom: clamp(25px, 5vw, 30px);
    }
    
    .about-service-title {
        font-size: clamp(14px, 3vw, 15px);
        margin-bottom: clamp(8px, 2vw, 10px);
    }
    
    .about-service-text {
        font-size: clamp(11px, 2.5vw, 12px);
        line-height: 1.6;
    }
    
    .about-description {
        font-size: 11px;
        line-height: 1.6;
    }
    
    
    .about-watermark {
        font-size: clamp(48px, 14vw, 80px);
        letter-spacing: clamp(4px, 2vw, 12px);
        bottom: 0;
        margin-top: 8px;
        padding-bottom: 24px;
        position: relative;
    }
    
    .surgery-center-section {
        flex-direction: column;
        min-height: auto;
        margin-top: 60px;
    }
    
    .surgery-center-image,
    .surgery-center-content {
        width: 100%;
    }
    
    .surgery-center-image {
        height: auto;
        min-height: auto;
    }

    .surgery-center-image img {
        width: 100%;
        height: auto;
    }
    
    .surgery-decorative-text {
        display: none;
    }
    
    .surgery-center-content {
        padding: 60px 20px;
    }
    
    .surgery-center-title {
        font-size: 32px;
        margin-left: 0;
    }
    
    .surgery-center-text p {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .surgery-center-label {
        font-size: 9px;
    }
    
    .decorative-text {
        font-size: 120px;
    }
    
    .decorative-text.text-1 {
        left: -40px;
    }
    
    .decorative-text.text-2 {
        right: -40px;
    }
    
    .concierge-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .concierge-title {
        font-size: 36px;
    }
    
    .concierge-label {
        font-size: 9px;
    }
    
    .concierge-item-title {
        font-size: 14px;
    }
    
    .concierge-item-description {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .overlay-content {
        width: 100vw;
        max-width: 100vw;
        padding: 40px 20px;
    }
    
    .logo-name {
        font-size: 14px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .overlay-nav-primary a {
        font-size: 24px;
    }
    
    .overlay-nav-secondary a {
        font-size: 16px;
    }
    
    .hero-video-title {
        font-size: 42px;
    }
    
    .hero-video-subtitle {
        font-size: 14px;
    }
    
    .hero-video-section {
        width: 100vw;
        height: 100svh;
        min-height: 100svh;
    }
    
    .hero-video-content {
        padding: 40px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .content-section {
        padding: 60px 0;
        width: 100vw;
    }
}


/* Prevent scroll when menu is open */
body.overlay-open {
    overflow: hidden;
}

/* Hide header elements when menu is open, except menu button */
body.overlay-open .header-left,
body.overlay-open .header-center,
body.overlay-open .header-link {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Keep menu button visible and ensure it's on top */
body.overlay-open .header-menu-btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10001;
}

/* WordPress Admin Bar - visible for logged in users */

/* Container Variants */
.container--md {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Footer */
.site-footer {
    background-color: #000000;
    color: var(--color-white);
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin-top: 0;
}

/* Secondary Footer */
.secondary-footer {
    width: 100%;
    background-color: var(--color-white);
    color: var(--color-grey);
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.secondary-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.footer-copyright {
    margin: 0;
    font-size: 12px;
    font-family: var(--font-sans);
    color: var(--color-grey);
}

.footer-credit {
    margin: 0;
    font-size: 12px;
    font-family: var(--font-sans);
    color: var(--color-grey);
}

.footer-credit a {
    color: var(--color-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 0.6;
}

.secondary-footer a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Primary Footer */
.primary-footer {
    padding: 38px 0 32px;
    background-color: #000000;
    border: none;
    border-top: none;
    box-shadow: none;
    outline: none;
}

.primary-footer .footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    display: block;
    gap: 0;
    align-items: start;
}

.footer-menu-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}

.footer-menu-column h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 16px;
    font-family: var(--font-sans);
}

.footer-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-column li {
    margin-bottom: 10px;
}

.footer-menu-column a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu-column a:hover {
    color: var(--color-white);
}

.footer-contact-section {
    text-align: left;
}

.footer-phone {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-phone a {
    color: var(--color-white);
    text-decoration: none;
}

.footer-address {
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--color-white);
    line-height: 1.1;
}

.footer-logo-sub {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-hours {
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-menu-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }
    
    .footer-contact-section {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-menu-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .primary-footer .footer-content {
        padding: 0 20px;
    }
    
    .secondary-footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .footer-copyright,
    .footer-credit {
        font-size: 11px;
    }
    
    .footer-copyright {
        order: 1;
    }
    
    .footer-credit {
        order: 0;
        opacity: 0.7;
    }
    
    .primary-footer {
        padding: 30px 0 24px;
    }
    
    .container--md {
        padding: 0 20px;
    }
    
    .concierge-services-section {
        padding: 80px 0;
    }
    
    .surgeon-name {
        font-size: 22px;
    }
    
    .surgeon-specialty {
        font-size: 9px;
    }
    
    .concierge-item-content {
        padding: 40px 30px;
    }
    
    .concierge-item-image {
        height: 300px;
    }
    
    .schedule-consultation-section {
        min-height: 400px;
        padding: 80px 20px;
    }
    
    .schedule-consultation-title {
        font-size: 36px;
    }
    
    .schedule-consultation-section {
        height: 50svh;
    }
    
    .instagram-feed-section {
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .instagram-feed-title {
        font-size: 36px;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }
    
    .meet-surgeons-section {
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .meet-surgeons-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .surgeons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .surgeon-name {
        font-size: 20px;
    }
    
    .surgeon-specialty {
        font-size: 9px;
    }
}

/* ===================================
   About Doctor Page Styles
   =================================== */

/* Font Definitions */
@font-face {
    font-family: 'Helma';
    src: local('Helma'), local('Helma-Regular');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Fallback if Helma is not available */
.about-doctor-hero {
    font-family: 'Helma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* About Doctor Hero Section */
.about-doctor-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.about-doctor-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-doctor-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-doctor-hero-bg .hero-bg-desktop {
    display: block;
}

.about-doctor-hero-bg .hero-bg-mobile {
    display: none;
}

.about-doctor-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    max-width: 100%;
    padding-top: 14.583vw;
    padding-left: 6.771vw;
    padding-right: 2vw;
    display: grid;
    grid-template-columns: 1.6fr 1fr; /* шире левый контейнер под заголовок */
    grid-template-rows: auto 1fr;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
}

.about-doctor-main {
    grid-column: 1 / 2;
    align-self: flex-start;
}

.about-doctor-name {
    font-family: 'Helma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 6.667vw;  /* 128px / 1920px */
    line-height: 3.438vw; /* 66px / 1920px */
    letter-spacing: 0;   /* 0% по макету */
    text-align: left;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    margin-bottom: 2vw;
}

.about-doctor-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.667vw; /* 32px / 1920px */
    line-height: 1.333vw; /* 25.6px / 1920px */
    letter-spacing: 0.083vw; /* 1.6px / 1920px */
    text-align: left;
    vertical-align: middle;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    margin-bottom: 4vw;
}

.about-doctor-bottom {
    grid-column: 1 / 2;
    align-self: flex-end;
    justify-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1vw;
    margin-top: auto;
    padding-bottom: 7.292vw;
}

.about-doctor-badge {
    width: 4.271vw;
    height: auto;
    margin-right: 1vw;
    flex-shrink: 0;
}

.about-doctor-bottom-text {
    font-family: 'Helma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.302vw; /* 25px / 1920px */
    line-height: 3.438vw; /* 66px / 1920px */
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-doctor-hero-content {
        padding-top: 18vw;
        grid-template-columns: 1.4fr 1fr;
    }
    
    .about-doctor-name {
        font-size: 8vw;
    }
    
    .about-doctor-subtitle {
        font-size: 2vw;
    }
    
    .about-doctor-path-inner,
    .about-doctor-surgery-inner,
    .about-doctor-diagnostics-inner {
        column-gap: 4vw;
    }
}

/* Gradient overlay - hidden on desktop */
.about-doctor-hero-gradient-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .about-doctor-hero {
        height: 100svh;
        min-height: 100svh;
    }
    
    .about-doctor-hero-bg .hero-bg-desktop {
        display: none;
    }
    
    .about-doctor-hero-bg .hero-bg-mobile {
        display: block;
    }
    
    /* Gradient overlay on mobile - stronger */
    .about-doctor-hero-gradient-mobile {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
        z-index: 1;
        pointer-events: none;
    }
    
    .about-doctor-hero-content {
        padding: 0 6vw 12vh 6vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        z-index: 2;
        gap: 4vw;
    }
    
    .about-doctor-main {
        margin-bottom: 0;
    }
    
    .about-doctor-name {
        font-size: 12.5vw;
        line-height: 1.05;
        margin-bottom: 2vw;
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        white-space: nowrap;
    }
    
    .about-doctor-subtitle {
        font-size: 4vw;
        line-height: 1.3;
        letter-spacing: 0.1vw;
        margin-bottom: 0;
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        max-width: 75vw;
    }
    
    .about-doctor-bottom {
        flex-direction: row;
        align-items: center;
        gap: 3vw;
        padding-bottom: 0;
        margin-top: 0;
    }
    
    .about-doctor-badge {
        width: 12vw;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .about-doctor-bottom-text {
        font-size: 3.2vw;
        line-height: 1.4;
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
    
    /* Professional Path Mobile - Image on top, text below */
    .about-doctor-path {
        margin-top: 10vw;
        padding-bottom: 10vw;
    }
    
    .about-doctor-path,
    .about-doctor-surgery,
    .about-doctor-diagnostics,
    .about-doctor-divider {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    
    /* Reorder: image first, then content - MOBILE */
    .about-doctor-path-inner,
    .about-doctor-surgery-inner,
    .about-doctor-diagnostics-inner {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 6vw !important;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .about-doctor-path-image,
    .about-doctor-surgery-image,
    .about-doctor-diagnostics-image {
        order: 1;
        width: 100%;
    }
    
    .about-doctor-path-content,
    .about-doctor-surgery-content,
    .about-doctor-diagnostics-content {
        order: 2;
        width: 100%;
    }
    
    .about-doctor-path-image img,
    .about-doctor-surgery-image img,
    .about-doctor-diagnostics-image img {
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
    }
    
    .about-doctor-path-label {
        font-size: 4vw;
        margin-bottom: 3vw;
    }
    
    .about-doctor-path-name,
    .about-doctor-surgery-title,
    .about-doctor-diagnostics-title {
        font-size: 7vw;
        line-height: 1.2;
        margin-bottom: 4vw;
    }
    
    .about-doctor-path-text p,
    .about-doctor-surgery-text p,
    .about-doctor-diagnostics-text p {
        font-size: 4.5vw;
        line-height: 1.7;
        margin-bottom: 4vw;
    }
    
    .about-doctor-diagnostics-title {
        white-space: normal;
    }
    
    .about-doctor-path,
    .about-doctor-surgery,
    .about-doctor-diagnostics {
        padding-bottom: 10vw;
    }
    
    /* Divider Mobile */
    .about-doctor-divider {
        margin: 8vw 0;
    }
}

@media (max-width: 480px) {
    .about-doctor-hero-content {
        padding: 0 5vw 10vh 5vw;
        gap: 3vw;
    }
    
    .about-doctor-name {
        font-size: 12vw;
        margin-bottom: 2vw;
        color: #ffffff;
        white-space: nowrap;
    }
    
    .about-doctor-subtitle {
        font-size: 4.5vw;
        margin-bottom: 6vw;
        color: #ffffff;
        max-width: 75vw;
    }
    
    .about-doctor-bottom {
        padding-bottom: 0;
        gap: 3vw;
    }
    
    .about-doctor-badge {
        width: 14vw;
    }
    
    .about-doctor-bottom-text {
        font-size: 3.8vw;
        color: #ffffff;
    }
    
    .about-doctor-path,
    .about-doctor-surgery,
    .about-doctor-diagnostics,
    .about-doctor-divider {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    
    .about-doctor-path-name,
    .about-doctor-surgery-title,
    .about-doctor-diagnostics-title {
        font-size: 7vw;
    }
    
    .about-doctor-path-text p,
    .about-doctor-surgery-text p,
    .about-doctor-diagnostics-text p {
        font-size: 4.5vw;
        line-height: 1.7;
    }
    
    .about-doctor-path-label {
        font-size: 4vw;
    }
}

/* ===================================
   About Doctor - Professional Path
   =================================== */

.about-doctor-path {
    margin-top: 5.208vw;
    padding-left: 6.771vw;
    padding-right: 6.771vw;
}

.about-doctor-path-inner {
    display: grid;
    grid-template-columns: 40vw 1fr;
    column-gap: 5.729vw;
    align-items: flex-start;
}

.about-doctor-path-image img {
    width: 40vw;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-doctor-path-content {
    color: #111111;
}

.about-doctor-path-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(12px, 1.25vw, 24px);
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111111;
    margin: 0;
}

.about-doctor-path-name {
    font-family: 'Helma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(24px, 2.5vw, 48px);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #111111;
    margin: 1.563vw 0 0;
}

.about-doctor-path-text {
    margin-top: 2.604vw;
}

.about-doctor-path-text p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(16px, 1.406vw, 27px);
    line-height: 1.6;
    letter-spacing: 0;
    color: #111111;
    margin: 0 0 1.5vw;
}

.about-doctor-path-text p:last-child {
    margin-bottom: 0;
}

/* Divider under Professional Path */
.about-doctor-divider {
    margin-top: 8.333vw;
    padding-left: 6.771vw;
    padding-right: 6.771vw;
}

.about-doctor-divider-inner {
    border-top: 1px solid #707070;
    width: 105%;
    margin-left: -2.5%; /* чутка выйти за рамки контейнера с обеих сторон */
}

/* ===================================
   About Doctor - Surgery & Reconstruction
   =================================== */

.about-doctor-surgery {
    margin-top: 8.333vw;
    padding-left: 6.771vw;
    padding-right: 6.771vw;
}

.about-doctor-surgery-inner {
    display: grid;
    grid-template-columns: 1fr 40vw;
    column-gap: 5.729vw;
    align-items: flex-start;
}

.about-doctor-surgery-image img {
    width: 40vw;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-doctor-surgery-title {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(22px, 2.917vw, 56px);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #111111;
    margin: 0;
}

.about-doctor-surgery-text {
    margin-top: 3.646vw;
}

.about-doctor-surgery-text p {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(16px, 1.771vw, 34px);
    line-height: 1.6;
    letter-spacing: 0;
    color: #111111;
    margin: 0 0 1.5vw;
}

.about-doctor-surgery-text p:last-child {
    margin-bottom: 0;
}

/* ===================================
   About Doctor - Diagnostics & Treatment
   =================================== */

.about-doctor-diagnostics {
    margin-top: 8.333vw;
    padding-left: 6.771vw;
    padding-right: 6.771vw;
}

.about-doctor-diagnostics-inner {
    display: grid;
    grid-template-columns: 40vw 1fr; /* слева фото, справа текст */
    column-gap: 5.729vw;
    align-items: flex-start;
}

.about-doctor-diagnostics-image img {
    width: 40vw;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-doctor-diagnostics-title {
    font-family: 'Helma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(22px, 2.917vw, 56px);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;     /* чтобы помещалось в одну строку */
    color: #111111;
    margin: 0;
}

.about-doctor-diagnostics-text {
    margin-top: 3.646vw;
}

.about-doctor-diagnostics-text p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(16px, 1.667vw, 32px);
    line-height: 1.6;
    letter-spacing: 0;
    color: #111111;
    margin: 0 0 1.5vw;
}

.about-doctor-diagnostics-text p:last-child {
    margin-bottom: 0;
}

/* ===================================
   About Doctor - Experience Tabs
   =================================== */

.about-doctor-experience {
    background-color: #111111;
    padding: 80px 0;
    margin-top: 8.333vw;
}

.about-doctor-experience-inner {
    display: grid;
    grid-template-columns: 40vw 1fr;
    column-gap: 5.729vw;
    padding-left: 6.771vw;
    padding-right: 6.771vw;
}

.experience-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-tab-btn {
    display: flex;
    align-items: baseline;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: opacity 0.4s ease;
}

.experience-tab-btn:hover {
    opacity: 0.7;
}

.experience-tab-btn.active {
    opacity: 1;
}

.experience-tab-btn:not(.active) {
    opacity: 0.35;
}

.experience-tab-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.experience-tab-count {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    vertical-align: super;
}

.experience-tabs-content {
    padding-top: 0;
    position: relative;
    min-height: 500px;
    height: 500px;
    overflow: hidden;
}

.experience-tab-panel {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.experience-tab-panel.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.experience-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.experience-item:first-child {
    padding-top: 0;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item p {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-doctor-experience-inner {
        grid-template-columns: 40vw 1fr;
        column-gap: 4vw;
    }
    
    .experience-tab-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .about-doctor-experience {
        padding: 10vw 5vw;
        margin-top: 0;
    }
    
    .about-doctor-experience-inner {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 6vw;
        padding-left: 0;
        padding-right: 0;
    }
    
    .experience-tabs-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3vw;
        padding-right: 0;
    }
    
    .experience-tab-btn {
        flex-direction: row;
        align-items: baseline;
        gap: 2vw;
        padding: 2vw 0;
    }
    
    .experience-tab-title {
        font-size: 3.8vw;
    }
    
    .experience-tab-count {
        font-size: 2.8vw;
    }
    
    .experience-tabs-content {
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    .experience-tab-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .experience-tab-panel.active {
        display: block;
        position: static;
    }
    
    .experience-item {
        padding: 3vw 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .experience-item:last-child {
        border-bottom: none;
    }
    
    .experience-item p {
        font-size: 4vw;
        line-height: 1.6;
    }
}

/* ===================================
   Podcast Talks Section
   =================================== */

.podcast-talks-section {
    background-color: var(--color-white);
    padding: 80px 6.771vw;
}

.podcast-talks-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.podcast-talks-title {
    font-family: var(--font-serif);
    font-size: 4.167vw; /* 80px / 1920 */
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    text-align: center;
}

.podcast-talks-subtitle {
    font-family: var(--font-sans);
    font-size: 1.25vw; /* 24px / 1920 */
    font-weight: 300;
    color: #111111;
    line-height: 1.6;
    margin: 0 0 60px 0;
    text-align: center;
}

.podcast-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.podcast-video-item {
    display: flex;
    flex-direction: column;
}

.podcast-video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    margin-bottom: 20px;
}

.podcast-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.podcast-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.podcast-video-link:hover .podcast-video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.podcast-video-content {
    display: flex;
    flex-direction: column;
}

.podcast-video-title {
    font-family: var(--font-sans);
    font-size: 1.25vw; /* 24px / 1920 */
    font-weight: 400;
    color: #111111;
    line-height: 1.5;
    margin: 0;
}

.podcast-subscribe-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.podcast-subscribe-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 1.042vw; /* 20px / 1920 */
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    border: 1px solid #000000;
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.podcast-subscribe-button:hover {
    background-color: #000000;
    color: #ffffff;
}

.podcast-subscribe-button:hover .podcast-youtube-text {
    color: #ffffff;
}

.podcast-youtube-text {
    color: #FF0023;
    font-weight: 600;
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .podcast-talks-title {
        font-size: 48px;
    }
    
    .podcast-talks-subtitle {
        font-size: 18px;
    }
    
    .podcast-video-title {
        font-size: 18px;
    }
    
    .podcast-subscribe-button {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .podcast-talks-section {
        padding: 50px 5vw;
    }
    
    .podcast-talks-title {
        font-size: 8vw;
        margin-bottom: 3vw;
    }
    
    .podcast-talks-subtitle {
        font-size: 3.8vw;
        margin-bottom: 8vw;
    }
    
    .podcast-videos-grid {
        grid-template-columns: 1fr;
        gap: 6vw;
        margin-bottom: 8vw;
    }
    
    .podcast-video-title {
        font-size: 4vw;
    }
    
    .podcast-video-thumbnail {
        margin-bottom: 3vw;
    }
    
    .podcast-subscribe-button {
        font-size: 3.5vw;
        padding: 3vw 6vw;
    }
}

/* ===================================
   Schedule Consultation - About Page
   =================================== */

.schedule-consultation-about-section {
    position: relative;
    width: 100%;
    height: 37.76vw; /* 725px / 1920px */
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-consultation-about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.schedule-consultation-about-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.schedule-consultation-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.schedule-consultation-about-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    padding: 0 20px;
}

.schedule-consultation-about-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
}

.schedule-consultation-about-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.042vw, 20px);
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: transparent;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.schedule-consultation-about-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.schedule-consultation-about-button::after {
    content: "→";
    margin-left: 5px;
}

@media (max-width: 768px) {
    .schedule-consultation-about-section {
        height: 50vh;
        min-height: 280px;
    }
    
    .schedule-consultation-about-content {
        gap: 5vw;
        padding: 0 5vw;
    }
    
    .schedule-consultation-about-title {
        font-size: 6.5vw;
        line-height: 1.2;
    }
    
    .schedule-consultation-about-button {
        font-size: 3.5vw;
        padding: 3vw 6vw;
    }
}

/* ===================================
   Instagram Follow - About Page
   =================================== */

.instagram-follow-about-section {
    position: relative;
    width: 100%;
    height: 37.76vw; /* 725px / 1920px */
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin-bottom: 0;
    background-color: #000000;
}

.instagram-follow-about-background {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    z-index: 1;
}

.instagram-follow-about-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-follow-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    border: none;
}

.instagram-follow-about-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 0 20px;
}

.instagram-follow-about-title {
    font-family: var(--font-serif);
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* "СЛІДКУЙТЕ В" - 10% smaller */
.instagram-follow-small {
    font-size: clamp(28px, 3.15vw, 50px); /* 10% smaller than base 56px */
    display: block;
    margin-bottom: 5px;
}

/* "INSTAGRAM" - 12% bigger */
.instagram-follow-big {
    font-size: clamp(36px, 3.92vw, 63px); /* 12% bigger than base 56px */
    display: block;
}

.instagram-follow-about-handle {
    font-family: var(--font-sans);
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.instagram-follow-about-handle:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .instagram-follow-about-section {
        height: 50vh;
        min-height: 280px;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        margin-bottom: 0;
    }
    
    .instagram-follow-about-content {
        gap: 4vw;
        padding: 0 5vw;
    }
    
    .instagram-follow-small {
        font-size: 5vw;
    }
    
    .instagram-follow-big {
        font-size: 9vw;
    }
    
    .instagram-follow-about-handle {
        font-size: 4vw;
    }
}

/* About Doctor: compact desktop layout (keep hero full-width) */
@media (min-width: 769px) {
    .page-template-template-about-doctor .about-doctor-path,
    .page-template-template-about-doctor .about-doctor-divider,
    .page-template-template-about-doctor .about-doctor-surgery,
    .page-template-template-about-doctor .about-doctor-diagnostics,
    .page-template-template-about-doctor .podcast-talks-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-template-template-about-doctor .about-doctor-path-inner,
    .page-template-template-about-doctor .about-doctor-surgery-inner,
    .page-template-template-about-doctor .about-doctor-diagnostics-inner,
    .page-template-template-about-doctor .about-doctor-experience-inner,
    .page-template-template-about-doctor .podcast-talks-inner,
    .page-template-template-about-doctor .about-doctor-divider-inner {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-template-template-about-doctor .about-doctor-path-inner,
    .page-template-template-about-doctor .about-doctor-diagnostics-inner {
        grid-template-columns: minmax(340px, 460px) 1fr;
        column-gap: 56px;
    }

    .page-template-template-about-doctor .about-doctor-surgery-inner,
    .page-template-template-about-doctor .about-doctor-experience-inner {
        grid-template-columns: 1fr minmax(340px, 460px);
        column-gap: 56px;
    }

    .page-template-template-about-doctor .about-doctor-path-image img,
    .page-template-template-about-doctor .about-doctor-surgery-image img,
    .page-template-template-about-doctor .about-doctor-diagnostics-image img {
        width: 100%;
    }

    .page-template-template-about-doctor .about-doctor-divider-inner {
        width: 100%;
        margin-left: auto;
    }

    .page-template-template-about-doctor .about-doctor-path-name,
    .page-template-template-about-doctor .about-doctor-surgery-title,
    .page-template-template-about-doctor .about-doctor-diagnostics-title {
        font-size: clamp(26px, 2.2vw, 40px);
    }

    .page-template-template-about-doctor .about-doctor-path-text p,
    .page-template-template-about-doctor .about-doctor-surgery-text p,
    .page-template-template-about-doctor .about-doctor-diagnostics-text p {
        font-size: clamp(15px, 1.05vw, 20px);
        line-height: 1.7;
    }

    .page-template-template-about-doctor .podcast-talks-title {
        font-size: clamp(38px, 3vw, 58px);
    }

    .page-template-template-about-doctor .podcast-talks-subtitle {
        font-size: clamp(16px, 1.2vw, 22px);
    }
}

/* Podcast Video Title Link */
.podcast-video-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}

.podcast-video-title-link:hover {
    opacity: 0.7;
}

.podcast-video-title-link .podcast-video-title {
    margin: 0;
    cursor: pointer;
}

/* ===================================
   Materials Section (Articles)
   =================================== */

.materials-section {
    background-color: var(--color-white);
    padding: 100px 0 0 0;
}

.materials-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.materials-header {
    text-align: center;
    margin-bottom: 50px;
}

.materials-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.materials-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.75;
    color: var(--color-dark);
    max-width: 860px;
    margin: 0 auto;
}

.materials-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.materials-filter {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.materials-filter:hover {
    border-color: var(--color-dark);
    background: rgba(0, 0, 0, 0.02);
}

.materials-filter.active {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.material-card {
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.material-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.material-card.visible {
    opacity: 1;
    transform: scale(1);
    position: relative;
    visibility: visible;
}

.material-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.material-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.material-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.4s ease;
}

.material-card:hover .material-card-image::after {
    background: rgba(0, 0, 0, 0.45);
}

.material-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.material-card:hover .material-card-image img {
    transform: scale(1.08);
}

.material-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.material-card:hover .material-card-content {
    transform: translateY(0);
}

.material-card-category {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
}

.material-card-title {
    font-family: var(--font-serif);
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 400;
    color: var(--color-white);
    margin: 0;
    line-height: 1.4;
}

/* Materials Grid - 2 rows layout */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
}

@media (max-width: 1200px) {
    .materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .materials-filters {
        gap: 10px;
    }
    
    .materials-filter {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .materials-section {
        padding: 60px 0 0 0;
    }
    
    .materials-header {
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .materials-filters {
        margin-bottom: 30px;
        padding: 0 10px;
        gap: 8px;
    }
    
    .materials-filter {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
    
    .material-card-content {
        padding: 15px;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    }
    
    .material-card-category {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .material-card-title {
        font-size: 13px;
        line-height: 1.3;
    }
}

/* Materials Footer & Button */
.materials-footer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.materials-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    background: transparent;
    border: 1px solid var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.materials-btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.materials-btn svg {
    transition: transform 0.3s ease;
}

.materials-btn:hover svg {
    transform: translateX(5px);
}

.materials-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1.125rem;
    color: var(--color-grey);
}

@media (max-width: 768px) {
    .materials-footer {
        margin-top: 30px;
    }
    
    .materials-btn {
        padding: 14px 30px;
        font-size: 0.8125rem;
    }
}

/* Statistics Section */
.statistics-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--color-dark);
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 35px;
}

.statistics-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/statistics-background.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.statistics-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.statistics-section .container {
    position: relative;
    z-index: 2;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.statistic-item {
    text-align: center;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.statistic-number {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
    padding: 20px 30px 0 30px;
    color: var(--color-white);
    letter-spacing: -2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    width: 250px;
    height: 100px;
    box-sizing: border-box;
    text-align: center;
}

.statistic-label {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 30px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 250px;
    height: 100px;
    box-sizing: border-box;
    text-align: center;
}


@media (max-width: 1024px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .statistic-number {
        font-size: 60px;
    }
    
    .statistic-label {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .statistics-section {
        padding: 80px 0;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .statistic-number {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .statistic-label {
        font-size: 11px;
    }
}

/* Pricing Section */
.pricing-section {
    background-color: var(--color-white);
    padding: 95px 0 120px;
}

.pricing-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.pricing-subtitle {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-grey);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 14px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 560px;
    margin: 0 auto;
    border-radius: 0;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

.pricing-card-header {
    background: var(--color-dark);
    padding: 18px 26px;
    width: 100%;
    margin: 0;
    text-align: center;
}

.pricing-card-title {
    font-family: var(--font-sans);
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    color: var(--color-white);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-subtitle {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 16px;
    margin-bottom: 0;
}

.pricing-card-price-wrapper {
    margin: 28px 0 22px;
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-card-price {
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    background: transparent;
    padding: 0 24px;
    letter-spacing: 0;
    text-transform: none;
    border: none;
    line-height: 1.1;
}

.pricing-card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-grey);
    margin: 0 30px 34px 30px;
    text-align: center;
}

.pricing-card-button {
    width: calc(100% - 60px);
    max-width: 280px;
    text-align: center;
    margin: 0 30px 30px 30px;
    background: transparent;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    padding: 15px 26px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: none;
    transition: all 0.25s ease;
    border-radius: 0;
    cursor: pointer;
    margin-top: auto;
}

.pricing-card-button:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
    transform: none;
    box-shadow: none;
}

/* Pricing buttons override */
.pricing-section .btn-primary,
.pricing-modal .btn-primary {
    background-color: #000;
    color: var(--color-white);
    border-radius: 0;
    border: none;
}

.pricing-section .btn-primary:hover,
.pricing-modal .btn-primary:hover {
    background-color: #111;
    transform: none;
}

.consultation-modal-submit.btn-primary:hover {
    background-color: #000;
    color: var(--color-white);
    transform: none !important;
}

/* Pricing Modal */
.pricing-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

.pricing-modal.active {
    opacity: 1;
    visibility: visible;
}

.pricing-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.pricing-modal-content {
    position: relative;
    background: var(--color-white);
    padding: 40px 35px;
    width: min(760px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

.pricing-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.pricing-modal-close::before,
.pricing-modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background: var(--color-dark);
}

.pricing-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.pricing-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.pricing-modal-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-grey);
    margin-bottom: 10px;
}

.pricing-modal-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.pricing-modal-price {
    font-size: 14px;
    color: var(--color-grey);
    margin-bottom: 14px;
}

.pricing-modal-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-grey);
    margin-bottom: 25px;
}

.pricing-modal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-grey);
    margin-bottom: 18px;
}

.pricing-modal-field input,
.pricing-modal-field select,
.pricing-modal-field textarea {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 14px;
    text-transform: none;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-sans);
    color: var(--color-dark);
    background: var(--color-white);
    border-radius: 0;
}

.pricing-modal-field textarea {
    resize: vertical;
    min-height: 110px;
}

.pricing-modal-field input:focus,
.pricing-modal-field select:focus,
.pricing-modal-field textarea:focus {
    outline: none;
    border-color: var(--color-dark);
}

.pricing-modal-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--color-grey);
    margin-bottom: 20px;
}

.pricing-modal-checkbox input {
    width: 24px;
    height: 24px;
    appearance: none;
    border: 1px solid var(--color-dark);
    background: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pricing-modal-checkbox input:checked {
    background: var(--color-white);
    border-color: var(--color-dark);
}

.pricing-modal-checkbox input:checked::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pricing-modal-checkbox a {
    color: var(--color-dark);
    text-decoration: underline;
}

.pricing-modal-submit {
    width: 100%;
    text-align: center;
}

.pricing-modal-success h4 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.pricing-modal-success p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-grey);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-title {
        font-size: 36px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card {
        max-width: 100%;
        padding: 14px 0 0;
        min-height: auto;
    }

    .pricing-card-desc {
        font-size: 18px;
        line-height: 1.75;
        margin: 0 24px 48px 24px;
    }

    .pricing-card-price-wrapper {
        margin: 24px 0 20px;
    }

    .pricing-card-button {
        margin: 0 24px 28px 24px;
    }
}

/* YouTube Section */
.youtube-section {
    position: relative;
    padding: 160px 0;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.youtube-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/youtube-section-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.youtube-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.youtube-section .container {
    position: relative;
    z-index: 2;
}

.youtube-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.youtube-text {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-white);
    margin: 0;
    max-width: 800px;
    text-align: center;
    letter-spacing: 0.5px;
}

.youtube-play-button {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.youtube-play-button:hover {
    transform: scale(1.1);
}

.youtube-play-button svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(255, 0, 0, 0.4));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.youtube-play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        width: 80px;
        height: 80px;
        opacity: 0.8;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 100px 0;
        min-height: 500px;
    }
    
    .youtube-text {
        font-size: 24px;
        line-height: 1.5;
    }
    
    .youtube-play-button {
        width: 70px;
        height: 70px;
    }
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    padding: 0;
    margin-top: 0;
}

.faq-image {
    width: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    margin: 0;
    margin-top: 10%;
    transform: translateZ(0);
    will-change: transform;
}

.faq-content {
    width: 50%;
    background-color: var(--color-white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-dark);
    line-height: 1.2;
    margin: 0 0 50px 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--color-dark);
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #222222;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--color-white);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: rgba(255, 255, 255, 0.88);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
    background: #f7f7f7;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 18px 24px 22px;
}

.faq-answer p {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark);
    margin: 0;
    padding-top: 0;
}

@media (max-width: 1024px) {
    .faq-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .faq-image,
    .faq-content {
        width: 100%;
    }
    
    .faq-image {
        height: 50vh;
        min-height: 400px;
        padding: 0;
    }
    
    .faq-image img {
        width: 100%;
        height: 100%;
        margin: 0;
        object-fit: cover;
    }
    
    .faq-content {
        padding: 60px 40px;
    }
    
    .faq-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .faq-content {
        padding: 40px 30px;
    }
    
    .faq-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 16px 18px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--color-white);
    padding: 100px 0 70px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 20px 0;
}

.testimonials-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-swiper {
    overflow: hidden;
    padding: 10px 0;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    position: relative;
}

/* Варіант 1: Тонка чорна лінія зверху для парних карток */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card {
    border-top: 3px solid var(--color-dark);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
} */

/* Варіант 2: Чорна вертикальна лінія зліва */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-dark);
} */

/* Варіант 3: Чорний акцент-точка зверху */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    width: 8px;
    height: 8px;
    background: var(--color-dark);
    border-radius: 50%;
} */

/* Варіант 4: Легка тінь для виділених карток */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

/* Варіант 5: Тонка чорна вертикальна лінія зліва (елегантна) */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-dark);
} */

/* Alternate card tones for clearer visual rhythm */
.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card {
    background: var(--color-dark);
    border-color: var(--color-dark);
}

/* Варіант 6: Чорний бордер зверху і знизу */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card {
    border-top: 2px solid var(--color-dark);
    border-bottom: 2px solid var(--color-dark);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
} */

/* Варіант 7: Чорний акцент-квадрат зверху */
/* .testimonials-swiper .swiper-slide:nth-child(even) .testimonial-card::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    width: 6px;
    height: 6px;
    background: var(--color-dark);
} */

.testimonial-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author {
    flex: 1;
}

.testimonial-name {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 4px 0;
}

.testimonial-age {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-grey);
}

.testimonial-social {
    color: var(--color-grey);
    transition: color 0.3s ease;
}

.testimonial-social:hover {
    color: var(--color-dark);
}

.testimonial-text {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark);
    margin: 0;
    font-style: normal;
    flex: 1;
}

.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-header {
    border-bottom-color: rgba(255, 255, 255, 0.24);
}

.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-name,
.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-age,
.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-text,
.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-social {
    color: rgba(255, 255, 255, 0.92);
}

.testimonials-swiper .swiper-slide:nth-child(even) .testimonial-avatar {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonials-button-prev,
.testimonials-button-next {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    position: relative !important;
    color: var(--color-dark) !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.testimonials-button-next::after,
.testimonials-button-prev::after {
    display: none !important;
    content: '' !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.testimonials-button-next::before,
.testimonials-button-prev::before {
    content: '→' !important;
    font-family: var(--font-sans) !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    color: var(--color-dark) !important;
    line-height: 1 !important;
    display: block !important;
    transition: none !important;
    transform: none !important;
}

.testimonials-button-prev::before {
    content: '←' !important;
}

.testimonials-button-next:hover,
.testimonials-button-prev:hover {
    background: var(--color-dark) !important;
    border-color: var(--color-dark) !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

.testimonials-button-next:hover::before,
.testimonials-button-prev:hover::before {
    color: var(--color-white) !important;
    transform: none !important;
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    display: none !important;
}

@media (max-width: 1024px) {
    .testimonials-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
    }
    
    .testimonials-title {
        font-size: 28px;
    }
    
    .testimonials-subtitle {
        font-size: 14px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .testimonials-slider-wrapper {
        position: relative;
    }
    
    .testimonials-navigation {
        position: static;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .testimonials-button-next,
    .testimonials-button-prev {
        width: 45px !important;
        height: 45px !important;
    }
    
    .testimonials-button-next::before,
    .testimonials-button-prev::before {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .testimonials-button-next,
    .testimonials-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .testimonials-button-next::before,
    .testimonials-button-prev::before {
        font-size: 16px !important;
    }
}

/* Contacts Section */
.contacts-section {
    background: var(--color-white);
    padding: 30px 0 65px 0;
    overflow: visible;
}

.contacts-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-header {
    text-align: center;
    margin-bottom: 60px;
}

.contacts-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 20px 0;
}

.contacts-subtitle {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-dark);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.contacts-info {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Pin spacer для sticky контактної інформації */
.contacts-grid .pin-spacer {
    align-self: start;
}

.contacts-grid .pin-spacer .contacts-info {
    position: relative;
}

.contacts-item {
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--color-white);
    transition: all 0.3s ease;
}

.contacts-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contacts-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.contacts-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contacts-item:hover .contacts-icon {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    transform: scale(1.05);
}

.contacts-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 0 10px 0;
}

.contacts-value {
    font-family: var(--font-sans);
    font-size: 18px;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.6;
}

.contacts-link {
    text-decoration: none;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.contacts-link:hover {
    color: var(--color-grey);
}

.contacts-form-wrapper {
    border: 1px solid #111111;
    padding: 40px;
    background: #111111;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-field span {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
}

.contacts-field input,
.contacts-field select,
.contacts-field textarea {
    font-family: var(--font-sans);
    font-size: 16px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: var(--color-white);
    color: #000000;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    border-radius: 0;
}

.contacts-field input:focus,
.contacts-field select:focus,
.contacts-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}

.contacts-field input::placeholder,
.contacts-field textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.contacts-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.contacts-checkbox input {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.contacts-checkbox input::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #000000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.contacts-checkbox input:checked::after {
    opacity: 1;
}

.contacts-checkbox a {
    color: #ffffff;
    text-decoration: none;
}

.contacts-checkbox a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.contacts-submit {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    transform: none !important;
}

.contacts-submit:hover {
    background-color: #ffffff;
    color: #000000;
    transform: none !important;
}

.contacts-success {
    text-align: center;
    padding: 20px 0;
}

.contacts-success h4 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-white);
    margin: 0 0 12px 0;
}

.contacts-success p {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 30px 0 60px 0;
    }
    
    .contacts-header {
        margin-bottom: 40px;
    }
    
    .contacts-title {
        font-size: 28px;
    }
    
    .contacts-subtitle {
        font-size: 14px;
    }
    
    .contacts-info {
        gap: 15px;
    }
    
    .contacts-form-wrapper {
        padding: 30px;
    }
}

/* Consultation Modal — поверх хедера */
.consultation-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10100;
}

.consultation-modal.active {
    opacity: 1;
    visibility: visible;
}

.consultation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.consultation-modal-content {
    position: relative;
    background: var(--color-white);
    width: 92%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 0;
}

.consultation-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.consultation-modal-close::before,
.consultation-modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--color-dark);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background 0.3s ease;
}

.consultation-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.consultation-modal-close:hover::before,
.consultation-modal-close:hover::after {
    background: var(--color-grey);
}

.consultation-modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.consultation-modal-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.3;
}

.consultation-modal-service {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    margin: 8px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.consultation-modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.consultation-modal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.consultation-modal-field span {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
}

.consultation-modal-field input,
.consultation-modal-field select,
.consultation-modal-field textarea {
    font-family: var(--font-sans);
    font-size: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: var(--color-white);
    color: var(--color-dark);
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
}

.consultation-modal-field textarea {
    resize: vertical;
    min-height: 110px;
}

.consultation-modal-field input:focus,
.consultation-modal-field select:focus,
.consultation-modal-field textarea:focus {
    outline: none;
    border-color: var(--color-dark);
}

.consultation-modal-field input::placeholder,
.consultation-modal-field textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.consultation-modal-submit {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    transform: none !important;
}

.consultation-modal-submit:hover {
    background-color: #000;
    color: var(--color-white);
    transform: none !important;
}

.consultation-modal-success {
    text-align: center;
    padding: 20px 0;
}

.consultation-modal-success h4 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 16px 0;
}

.consultation-modal-success p {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-grey);
    margin: 0;
}

.form-success-popup {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-success-popup.active {
    display: flex;
}

.form-success-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.form-success-popup-content {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    border-radius: 0;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.form-success-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.form-success-popup-close::before,
.form-success-popup-close::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 7px;
    width: 16px;
    height: 2px;
    background: #222;
}

.form-success-popup-close::before {
    transform: rotate(45deg);
}

.form-success-popup-close::after {
    transform: rotate(-45deg);
}

.form-success-popup-content h4 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 12px;
    color: #0f0f0f;
}

.form-success-popup-content p {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(15, 15, 15, 0.78);
}

.multi-step-form .form-step {
    display: none;
}

.multi-step-form .form-step.is-active {
    display: block;
}

.multi-step-form .form-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.multi-step-form .form-step-grid > * {
    min-width: 0;
}

.multi-step-form .form-field-full {
    grid-column: 1 / -1;
}

.multi-step-form .form-step-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    align-items: stretch;
}

.multi-step-form .form-step-next,
.multi-step-form .form-step-prev {
    padding: 16px 18px;
    border-radius: 0;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 500;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.multi-step-form .form-step-next {
    background: #111;
    color: #fff;
}

.contacts-form.multi-step-form .form-step-next {
    background: #ffffff;
    color: #000000;
    border-color: rgba(255, 255, 255, 0.95);
}

.contacts-form.multi-step-form .form-step-prev {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.95);
}

.multi-step-form .form-step-actions .btn-primary,
.multi-step-form .form-step-actions button[type="submit"] {
    flex: 1;
    min-width: 0;
}

.multi-step-form input,
.multi-step-form select,
.multi-step-form textarea {
    min-width: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .consultation-modal-content {
        width: 95%;
        padding: 32px 18px;
    }
    
    .consultation-modal-title {
        font-size: 24px;
    }
    
    .schedule-consultation-title {
        font-size: 32px;
    }
    
    .schedule-consultation-desc {
        font-size: 14px;
    }

    .multi-step-form .form-step-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .multi-step-form .form-step-actions {
        flex-direction: column;
    }
}

/* Instagram Section */
.instagram-section {
    background-color: var(--color-white);
    position: relative;
    padding-top: 55px;
}

.instagram-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-header {
    text-align: center;
    margin-bottom: 60px;
}

.instagram-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-grey);
    margin-bottom: 16px;
    display: block;
}

.instagram-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.instagram-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-grey);
    max-width: 700px;
    margin: 0 auto;
}

.instagram-feed-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .instagram-title {
        font-size: 32px;
    }
    
    .instagram-subtitle {
        font-size: 14px;
    }
    
    .instagram-header {
        margin-bottom: 40px;
    }
}

    }
    
    .instagram-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .instagram-feed-shortcode {
        grid-template-columns: 1fr !important;
    }
}

/* Final CTA Section with Video Background */
.final-cta-section {
    position: relative;
    height: 100svh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.final-cta-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.final-cta-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.final-cta-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 50%, #000000 100%);
    z-index: 2;
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 0 40px;
    max-width: 900px;
}

.final-cta-tagline {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 30px;
}

.final-cta-title {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 auto 30px auto;
    text-align: center;
}

.final-cta-desc {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.85;
    margin: 0 0 50px 0;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-btn {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 40px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.final-cta-btn.primary {
    background: var(--color-white);
    color: var(--color-dark);
}

.final-cta-btn.primary:hover {
    background: transparent;
    color: var(--color-white);
    box-shadow: inset 0 0 0 2px var(--color-white);
}

.final-cta-btn.secondary {
    background: transparent;
    color: var(--color-white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.final-cta-btn.secondary:hover {
    box-shadow: inset 0 0 0 2px var(--color-white);
}

.final-cta-phone-icon {
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .final-cta-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .final-cta-section {
        min-height: 600px;
    }
    
    .final-cta-content {
        padding: 0 20px;
    }
    
    .final-cta-tagline {
        font-size: 10px;
        letter-spacing: 3px;
    }
    
    .final-cta-title {
        font-size: 38px;
    }
    
    .final-cta-desc {
        font-size: 15px;
    }
    
    .final-cta-btn {
        padding: 16px 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .final-cta-title {
        font-size: 32px;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .final-cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===================================
   404 Error Page Styles
   =================================== */

.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-dark);
    overflow: hidden;
    padding: 120px 40px 80px;
}

.error-404-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://lightcyan-llama-142433.hostingersite.com/wp-content/uploads/2026/01/low-angle-view-buildings-against-sky-dusk_result-scaled.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.2) grayscale(30%);
    z-index: 1;
}

.error-404-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;
}

.error-404-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.error-404-title {
    font-family: var(--font-serif);
    font-size: 180px;
    font-weight: 300;
    letter-spacing: -5px;
    color: var(--color-white);
    line-height: 1;
    margin: 0 0 20px 0;
}

.error-404-subtitle {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 300;
    color: var(--color-white);
    margin: 0 0 25px 0;
    letter-spacing: 1px;
}

.error-404-text {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 40px 0;
}

.error-404-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.error-404-btn {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 35px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.error-404-btn-primary {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.error-404-btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
    box-shadow: inset 0 0 0 1px var(--color-white);
}

.error-404-btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.error-404-btn-secondary:hover {
    box-shadow: inset 0 0 0 1px var(--color-white);
}

.error-404-decoration {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.error-404-deco-text {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .error-404-section {
        padding: 100px 20px 60px;
    }
    
    .error-404-title {
        font-size: 120px;
        letter-spacing: -3px;
    }
    
    .error-404-subtitle {
        font-size: 24px;
    }
    
    .error-404-text {
        font-size: 14px;
    }
    
    .error-404-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .error-404-deco-text {
        font-size: 10px;
        letter-spacing: 5px;
    }
}

@media (max-width: 480px) {
    .error-404-title {
        font-size: 90px;
    }
    
    .error-404-subtitle {
        font-size: 20px;
    }
}

/* ===================================
   Contact Page Styles
   =================================== */

.contact-page-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    background-color: var(--color-dark);
    padding: 120px 40px 100px;
}

.contact-page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://lightcyan-llama-142433.hostingersite.com/wp-content/uploads/2026/01/low-angle-view-buildings-against-sky-dusk_result-scaled.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.25) grayscale(30%);
    z-index: 1;
}

.contact-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.contact-page-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.contact-page-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 300;
    color: var(--color-white);
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.contact-page-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.contact-page-main {
    padding: 80px 0;
    background: var(--color-white);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-page-info {
    align-self: start;
}

/* Pin spacer для sticky контактної інформації на сторінці контактів */
.contact-page-grid .pin-spacer {
    align-self: start;
}

.contact-page-grid .pin-spacer .contact-page-info {
    position: relative;
}

.contact-page-info-title,
.contact-page-form-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 35px 0;
}

.contact-page-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-page-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease;
}

.contact-page-item:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.contact-page-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-page-item-content {
    flex: 1;
}

.contact-page-item-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-grey);
    margin-bottom: 8px;
}

.contact-page-item-value {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.5;
    margin: 0;
}

.contact-page-item-note {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-grey);
    margin: 5px 0 0 0;
}

.contact-page-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.contact-page-link:hover {
    opacity: 0.7;
}

.contact-page-form-wrapper {
    background: #f8f8f8;
    padding: 40px;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-page-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-page-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-page-field span {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    text-transform: uppercase;
}

.contact-page-field input,
.contact-page-field select,
.contact-page-field textarea {
    font-family: var(--font-sans);
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--color-white);
    transition: border-color 0.3s ease;
    outline: none;
    border-radius: 0;
}

.contact-page-field input:focus,
.contact-page-field select:focus,
.contact-page-field textarea:focus {
    border-color: var(--color-dark);
}

.contact-page-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-page-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 25px;
}

.contact-page-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-dark);
}

.contact-page-privacy span {
    font-size: 14px;
    color: var(--color-grey);
    line-height: 1.5;
}

.contact-page-privacy a {
    color: var(--color-dark);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.contact-page-privacy a:hover {
    opacity: 0.6;
}

.contact-page-submit {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 18px 40px;
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.contact-page-submit:hover {
    opacity: 0.85;
}

.contact-page-success {
    text-align: center;
    padding: 40px 20px;
}

.contact-page-success h4 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 15px 0;
}

.contact-page-success p {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-grey);
    margin: 0;
    line-height: 1.6;
}

.contact-page-map {
    width: 100%;
    line-height: 0;
}

.contact-page-map iframe {
    width: 100%;
    height: 500px;
    border: 0;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.contact-page-map iframe:hover {
    filter: grayscale(0%);
}

@media (max-width: 1024px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-page-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-page-hero {
        min-height: 50vh;
        padding: 100px 20px 60px;
    }
    
    .contact-page-title {
        font-size: 36px;
    }
    
    .contact-page-subtitle {
        font-size: 14px;
    }
    
    .contact-page-main {
        padding: 50px 0;
    }
    
    .contact-page-info-title,
    .contact-page-form-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .contact-page-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-page-form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-page-item {
        padding: 20px;
    }
    
    .contact-page-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-page-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-page-map iframe {
        height: 350px;
    }
}

/* ===================================
   Services Page
   =================================== */

/* Hero */
.services-page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.services-page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.services-page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.services-page-hero-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 20px;
}

.services-page-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.services-page-hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Intro Section */
.services-page-intro {
    background-color: #000000;
    padding: 100px 6.771vw;
}

.services-page-intro-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.services-page-intro-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 30px 0;
}

.services-page-intro-content p {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.1vw, 18px);
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.services-page-intro-stats {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
}

.services-stat {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.services-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(36px, 3vw, 56px);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
}

.services-stat-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* Main Services Grid */
.services-page-main {
    background-color: var(--color-white);
    padding: 100px 6.771vw;
}

.services-page-main-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-page-card {
    background-color: #f8f8f8;
    padding: 50px 40px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.services-page-card:hover {
    border-color: #000000;
    background-color: #ffffff;
}

.services-page-card-icon {
    margin-bottom: 30px;
    color: #000000;
}

.services-page-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services-page-card-icon svg {
    width: 48px;
    height: 48px;
}

.services-page-card-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 1.5vw, 28px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 20px 0;
}

.services-page-card-content p {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: #444444;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.services-page-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.services-page-card-features li {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 20px;
}

.services-page-card-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #000000;
    font-size: 12px;
}

.services-page-card-features li:last-child {
    border-bottom: none;
}

.services-page-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.services-page-card-price {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-page-card-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    padding: 10px 20px;
    border: 1px solid #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.services-page-card-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.services-page-card-btn-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    padding: 10px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
    border-bottom: 1px solid #666666;
    margin-right: 15px;
}

.services-page-card-btn-link:hover {
    color: #000000;
    border-color: #000000;
}

.services-page-card-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-page-card-content h3 a:hover {
    color: #666666;
}

/* Process Section */
.services-page-process {
    background-color: #f5f5f5;
    padding: 100px 6.771vw;
}

.services-page-process-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.services-page-process-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 400;
    color: #000000;
    text-align: center;
    margin: 0 0 60px 0;
}

.services-page-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.services-process-step {
    text-align: center;
    position: relative;
}

.services-process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 1px;
    background-color: rgba(0,0,0,0.2);
}

.services-process-step:last-child::after {
    display: none;
}

.services-process-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 20px;
    opacity: 0.3;
}

.services-process-content h3 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-process-content p {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.services-page-cta {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-page-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-page-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.services-page-cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.services-page-cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    margin: 0 0 20px 0;
}

.services-page-cta-content p {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 300;
    margin: 0 0 40px 0;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-page-cta-button {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 40px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.services-page-cta-button:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-page-process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .services-process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-page-hero {
        height: 55vh;
        min-height: 380px;
    }
    
    .services-hero-video {
        display: none;
    }
    
    .services-hero-img {
        display: block;
    }
    
    .services-page-intro {
        padding: 60px 5vw;
    }
    
    .services-page-intro-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-page-intro-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .services-stat {
        padding: 20px;
    }
    
    .services-page-main {
        padding: 60px 5vw;
    }
    
    .services-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-page-card {
        padding: 30px 25px;
    }
    
    .services-page-process {
        padding: 15vw 5vw;
        background-color: #000000;
    }
    
    .services-page-process-title {
        font-size: 8vw;
        margin-bottom: 12vw;
        color: #ffffff;
    }
    
    .services-page-process-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .services-process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 6vw;
        text-align: left;
        padding: 8vw 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    
    .services-process-step::after {
        display: none;
    }
    
    .services-process-step:last-child {
        border-bottom: none;
    }
    
    .services-process-number {
        font-size: 12vw;
        line-height: 1;
        margin-bottom: 0;
        flex-shrink: 0;
        color: #ffffff;
        opacity: 0.4;
    }
    
    .services-process-content {
        flex: 1;
    }
    
    .services-process-content h3 {
        font-size: 5vw;
        margin-bottom: 3vw;
        color: #ffffff;
    }
    
    .services-process-content p {
        font-size: 4vw;
        line-height: 1.7;
        color: rgba(255,255,255,0.7);
    }
    
    .services-page-cta {
        height: 60vh;
    }
}

/* ===================================
   QUIZ PAGE STYLES
   =================================== */

/* Hero */
.quiz-hero {
    background-color: #000000;
    /* add extra top space so content doesn't sit under fixed header */
    padding-top: calc(234px + env(safe-area-inset-top)) !important;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 80px;
    text-align: center;
}

.quiz-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-hero-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.quiz-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: 5px;
}

.quiz-hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Intro */
.quiz-intro {
    background-color: #f8f8f8;
    padding: 60px 5vw;
}

.quiz-intro-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.quiz-intro-icon {
    width: 80px;
    height: 80px;
    border: 1px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.quiz-intro-icon svg {
    color: #000000;
}

.quiz-intro-inner > p {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 300;
    color: #333333;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.quiz-intro-note {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.quiz-intro-note span {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 5vw;
    background-color: #ffffff;
}

.quiz-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Questions */
.quiz-question {
    padding: 50px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.quiz-question:first-child {
    padding-top: 0;
}

.quiz-question.answered {
    opacity: 0.7;
}

.quiz-question.answered:hover {
    opacity: 1;
}

.quiz-question-header {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.quiz-question-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: #000000;
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
}

.quiz-question-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
}

/* Options */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    cursor: pointer;
}

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

.quiz-option-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background-color: #f8f8f8;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.quiz-option:hover .quiz-option-box {
    border-color: #000000;
    background-color: #ffffff;
}

.quiz-option input:checked + .quiz-option-box {
    border-color: #000000;
    background-color: #000000;
}

.quiz-option input:checked + .quiz-option-box .quiz-option-text,
.quiz-option input:checked + .quiz-option-box .quiz-option-score {
    color: #ffffff;
}

.quiz-option-check {
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.quiz-option input:checked + .quiz-option-box .quiz-option-check {
    border-color: #ffffff;
    background-color: #ffffff;
}

.quiz-option input:checked + .quiz-option-box .quiz-option-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 50%;
}

.quiz-option-text {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    flex: 1;
    transition: all 0.3s ease;
}

.quiz-option-score {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #999999;
    transition: all 0.3s ease;
}

/* Footer & Progress */
.quiz-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 60px;
    flex-wrap: wrap;
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 200px;
}

.quiz-progress-bar {
    flex: 1;
    height: 4px;
    background-color: #e0e0e0;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background-color: #000000;
    width: 0;
    transition: width 0.4s ease;
}

.quiz-progress-text {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #666666;
    white-space: nowrap;
}

.quiz-submit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #000000;
    padding: 18px 35px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-submit:hover:not(:disabled) {
    background-color: transparent;
    color: #000000;
}

.quiz-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Results */
.quiz-results {
    padding: 80px 0;
}

.quiz-results-header {
    text-align: center;
    margin-bottom: 60px;
}

.quiz-results-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.quiz-results-number {
    font-family: var(--font-serif);
    font-size: 120px;
    font-weight: 400;
    color: #000000;
    line-height: 1;
}

.quiz-results-max {
    font-family: var(--font-sans);
    font-size: 24px;
    color: #999999;
}

.quiz-results-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    margin: 0;
}

/* Scale */
.quiz-results-scale {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.quiz-scale-bar {
    display: flex;
    height: 50px;
    margin-bottom: 10px;
}

.quiz-scale-segment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

.quiz-scale-mild {
    background-color: #4CAF50;
}

.quiz-scale-moderate {
    background-color: #FF9800;
}

.quiz-scale-severe {
    background-color: #F44336;
}

.quiz-scale-labels {
    display: flex;
    justify-content: space-between;
}

.quiz-scale-labels span {
    font-family: var(--font-sans);
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-scale-marker {
    position: absolute;
    top: -15px;
    width: 20px;
    height: 20px;
    background-color: #000000;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: left 0.5s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.quiz-scale-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #000000;
}

/* Scale with 4 segments (for IIEF) */
.quiz-scale-bar-4 {
    display: flex;
}

.quiz-scale-bar-4 .quiz-scale-segment {
    flex: 1;
}

.quiz-scale-labels-4 {
    display: flex;
    justify-content: space-between;
}

.quiz-scale-labels-4 span {
    flex: 1;
    text-align: center;
}

.quiz-scale-normal {
    background-color: #4CAF50;
    color: #ffffff;
}

/* Results Description */
.quiz-results-description {
    background-color: #f8f8f8;
    padding: 40px;
    margin-bottom: 50px;
}

.quiz-results-description p {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 20px 0;
}

.quiz-results-description p:last-child {
    margin-bottom: 0;
}

.quiz-results-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quiz-results-description li {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.quiz-results-description li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
}

/* Results Actions */
.quiz-results-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.quiz-retry {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    background: transparent;
    border: 1px solid #000000;
    padding: 18px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-retry:hover {
    background-color: #000000;
    color: #ffffff;
}

.quiz-consult {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #000000;
    padding: 18px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quiz-consult:hover {
    background-color: transparent;
    color: #000000;
}

/* Mobile */
@media (max-width: 768px) {
    .quiz-hero {
        padding-top: calc(182px + env(safe-area-inset-top)) !important;
        padding-left: 5vw;
        padding-right: 5vw;
        padding-bottom: 60px;
    }
    
    .quiz-hero-title {
        letter-spacing: 2px;
    }
    
    .quiz-intro {
        padding: 40px 5vw;
    }
    
    .quiz-intro-inner > p {
        font-size: 16px;
    }
    
    .quiz-intro-note {
        gap: 20px;
    }
    
    .quiz-section {
        padding: 40px 5vw;
    }
    
    .quiz-question {
        padding: 30px 0;
    }
    
    .quiz-question-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .quiz-question-number {
        font-size: 36px;
    }
    
    .quiz-question-title {
        font-size: 16px;
        padding-top: 0;
    }
    
    .quiz-option-box {
        padding: 15px 18px;
    }
    
    .quiz-option-text {
        font-size: 14px;
    }
    
    .quiz-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .quiz-submit {
        justify-content: center;
        width: 100%;
    }
    
    .quiz-results-number {
        font-size: 80px;
    }
    
    .quiz-results-title {
        font-size: 24px;
    }
    
    .quiz-scale-bar {
        height: 40px;
    }
    
    .quiz-results-description {
        padding: 25px;
    }
    
    .quiz-results-actions {
        flex-direction: column;
    }
    
    .quiz-retry,
    .quiz-consult {
        justify-content: center;
        width: 100%;
    }
}

/* ===================================
   Privacy Policy Page
   =================================== */

.privacy-page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px 40px 100px;
    background-color: #1a1a1a;
    overflow: hidden;
}

.privacy-page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    z-index: 1;
}

.privacy-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.privacy-page-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.privacy-page-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.privacy-page-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.privacy-page-content {
    padding: 80px 40px;
    background-color: #ffffff;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.privacy-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
}

.privacy-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #1a1a1a;
    border-radius: 50%;
}

.privacy-content a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.privacy-content a:hover {
    opacity: 0.6;
}

.privacy-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.privacy-contact-box {
    background-color: #f8f8f8;
    padding: 30px;
    margin: 25px 0;
    border-left: 4px solid #1a1a1a;
}

.privacy-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.privacy-contact-item:last-child {
    margin-bottom: 0;
}

.privacy-contact-item strong {
    min-width: 80px;
}

.privacy-contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.3s ease;
}

.privacy-contact-item a:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .privacy-page-hero {
        padding: 160px 20px 60px;
        min-height: 30vh;
    }
    
    .privacy-contact-box {
        padding: 20px;
    }
    
    .privacy-contact-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .privacy-page-content {
        padding: 50px 20px;
    }
    
    .privacy-content h2 {
        font-size: 20px;
        margin-top: 40px;
    }
    
    .privacy-content p,
    .privacy-content ul li {
        font-size: 15px;
    }
}
