/* =====================================================
   TRI-CITIES PHYSICAL THERAPY — MAIN STYLESHEET
   Modern, Premium, Medical-grade Design
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
    --primary: #4caf82;
    --primary-dark: #389969;
    --primary-light: #eaf7f0;
    --accent: #3dd6a3;
    --accent-dark: #27b888;
    --dark: #0d1e17;
    --dark-2: #132b20;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --text: #1f2937;
    --text-light: #4b5563;
    --text-lighter: #6b7280;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
    --shadow-xl: 0 32px 80px rgba(0,0,0,.14), 0 12px 32px rgba(0,0,0,.10);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 0; /* предотвращает переполнение flex/grid детей */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Предотвращение выхода изображений за пределы */
img, video, svg {
    max-width: 100%;
    height: auto;
}
/* Fixed-height image contexts — global height:auto must NOT apply here */
.why-us__img-wrapper img { height: 480px !important; object-fit: cover !important; }
.why-us__img-secondary img { height: 100% !important; object-fit: cover !important; }
.team-card__photo img { height: 100% !important; object-fit: cover !important; }
iframe {
    max-width: 100%;
}

/* Все секции не выходят за экран */
section {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(76, 175, 130, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 130, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-white {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 14px;
}

.btn-full { width: 100%; justify-content: center; }

/* ---- Section Helpers ---- */
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

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

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header__top {
    background: var(--primary-dark);
    padding: 9px 0;
}

.header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header__contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.header__contact-item:hover { color: var(--white); }
.header__contact-item i { font-size: 12px; color: var(--accent); }

.header__social {
    display: flex;
    gap: 12px;
}

.header__social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.header__social a:hover {
    background: var(--accent);
    color: var(--white);
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    transition: var(--transition);
}

.header.scrolled .navbar {
    box-shadow: 0 4px 30px rgba(0,0,0,.12);
}

.navbar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 74px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar__logo-img {
    display: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.logo-sub {
    display: block;
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active::after { transform: scaleX(1); }

.navbar__cta {
    flex-shrink: 0;
    font-size: 14px;
    padding: 10px 20px;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #0d2e1e 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.12;
}

.hero__shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 600px; height: 600px;
    background: rgba(76, 175, 130, 0.25);
    top: -200px; right: -100px;
}

.shape-2 {
    width: 400px; height: 400px;
    background: rgba(0, 180, 160, 0.18);
    bottom: -100px; left: 20%;
}

.shape-3 {
    width: 300px; height: 300px;
    background: rgba(76, 175, 130, 0.15);
    top: 40%; left: -100px;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__badge i { color: #fbbf24; }

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__title .highlight {
    background: linear-gradient(90deg, #a8e6c3, #6ddba8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    justify-content: center;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
}

.stat > span:not(.stat-number):not(.stat-label) {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-left: -2px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero__scroll-indicator i { font-size: 14px; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
}

.trust-item i {
    color: var(--primary);
    font-size: 18px;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: var(--white);
}

.service-card.featured::before {
    background: rgba(255,255,255,0.4);
    transform: scaleX(1);
}

.service-card.featured h3,
.service-card.featured p { color: rgba(255,255,255,0.95); }

.service-card.featured .service-link { color: rgba(255,255,255,0.8); }
.service-card.featured .service-link:hover { color: var(--white); }

.service-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.25);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card.featured .service-card__icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover { gap: 10px; }
.service-link i { font-size: 12px; }

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-us__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us__visual {
    position: relative;
    /* padding-bottom needed for the secondary image that overhangs */
    padding-bottom: 30px;
    padding-right: 30px;
}

.why-us__img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

/* Explicit height so image always renders, even when local path fails */
.why-us__img-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s ease;
}

.why-us__img-wrapper:hover img { transform: scale(1.03); }

.why-us__img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.why-us__img-badge strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.why-us__img-badge span {
    display: block;
    font-size: 12px;
    color: var(--text-lighter);
}

.why-us__img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 190px;
    height: 190px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
    z-index: 3;
}

.why-us__img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-us__content {
    padding-left: 10px;
}

.why-us__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.6;
}

/* =====================================================
   PROCESS
   ===================================================== */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(76,175,130,0.2) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(61,214,163,0.15) 0%, transparent 60%);
}

.process .section-tag {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.process .section-title { color: var(--white); }

.process__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    font-size: 72px;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: -20px;
    font-family: var(--font-display);
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(76,175,130,0.4);
}

.process-step h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

.process-connector {
    flex-shrink: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(76,175,130,0.5), rgba(61,214,163,0.5));
    margin-top: 120px;
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

/* =====================================================
   TEAM
   ===================================================== */
.team {
    padding: 100px 0;
    background: var(--gray-50);
}

/* ---- Two-doctor grid: 2 columns side by side ---- */
.team__grid--two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

/* Card: flex column — photo on top, info below */
.team-card--wide {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-slow);
}

.team-card--wide:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(76,175,130,0.25);
}

/* Photo: fixed height, full width */
.team-card--wide .team-card__photo {
    position: relative;
    overflow: hidden;
    height: 300px;
    width: 100%;
    flex-shrink: 0;
}

.team-card--wide .team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.7s ease;
}

.team-card--wide:hover .team-card__photo img {
    transform: scale(1.06);
}

/* Overlay with LinkedIn — visible on hover */
.team-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,30,23,0.65) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.team-card--wide:hover .team-card__overlay { opacity: 1; }

.team-card__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
}

.team-card__social-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Info panel */
.team-card--wide .team-card__info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.team-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.team-card--wide .team-card__info h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.team-role {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card__exp-badge {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(76,175,130,0.3);
}

.team-card--wide .team-card__info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
    flex: 1;
}

.team-card__divider {
    height: 1px;
    background: var(--gray-200);
}

.team-card__footer { margin-top: 4px; }

.team-certs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.team-certs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(76,175,130,0.2);
}

.team-certs span i { font-size: 10px; opacity: 0.75; }

/* CTA bar */
.team__cta {
    max-width: 1000px;
    margin: 0 auto;
}

.team__cta-inner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: var(--radius-lg);
    padding: 24px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.team__cta-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 500;
}

.team__cta-text i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(76,175,130,0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* =====================================================
   GOLD STAR FITNESS BADGE
   ===================================================== */
.goldstar-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fffbea 0%, #fff8d6 100%);
    border: 1.5px solid #f5c842;
    border-radius: var(--radius-lg);
    padding: 18px 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.18);
    flex-wrap: wrap;
}

.goldstar-badge__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f5c842, #e8a800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(232,168,0,0.35);
}

.goldstar-badge__text {
    flex: 1;
    min-width: 200px;
}

.goldstar-badge__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b07d00;
    margin-bottom: 3px;
}

.goldstar-badge__name {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.goldstar-badge__addr {
    display: block;
    font-size: 13px;
    color: var(--text-lighter);
    font-weight: 500;
}

.goldstar-badge__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid #f5c842;
    border-radius: var(--radius);
    padding: 10px 18px;
    color: #b07d00;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(245,200,66,0.15);
}

.goldstar-badge__logo i {
    font-size: 18px;
    color: #e8a800;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials__slider {
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 52px 60px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 19px;
    color: var(--gray-700);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    z-index: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-lighter);
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.slider-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.testimonials__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 32px 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-score {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.rating-count {
    font-size: 13px;
    color: var(--text-lighter);
}

.rating-platforms {
    display: flex;
    gap: 20px;
}

.rating-platforms span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.rating-platforms i { color: var(--primary); }

/* =====================================================
   INSURANCE
   ===================================================== */
.insurance {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.insurance__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.ins-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ins-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.ins-item i { color: var(--primary); font-size: 16px; }

.insurance__note {
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
}

.insurance__note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* =====================================================
   APPOINTMENT
   ===================================================== */
.appointment {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1d7a52 100%);
    position: relative;
    overflow: hidden;
}

.appointment::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0,180,160,0.2) 0%, transparent 60%);
}

.appointment__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.appointment__info h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.appointment__info > p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.appointment__benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.appt-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.appt-benefit i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.appointment__contact-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.contact-option:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}

.contact-option > i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-option strong {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3px;
    font-weight: 500;
}

.contact-option span {
    display: block;
    font-size: 17px;
    font-weight: 700;
}

/* Appointment Form */
.appointment__form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.appointment__form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 130, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group textarea { resize: vertical; min-height: 90px; }

.form-disclaimer {
    text-align: center;
    font-size: 12.5px;
    color: var(--gray-400);
    margin-top: 12px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 20px;
}

.success-icon {
    font-size: 56px;
    color: var(--accent);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 15px;
    color: var(--text-light);
}

/* =====================================================
   CONTACT / LOCATIONS
   ===================================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

/* =====================================================
   LOCATION LAYOUT — новый дизайн
   ===================================================== */
.location-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    min-height: 480px;
}

/* ---- Левая панель — информация ---- */
.location-info-panel {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.location-info-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,130,0.15) 0%, transparent 70%);
}

.location-info-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61,214,163,0.1) 0%, transparent 70%);
}

.location-info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.location-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(76,175,130,0.35);
}

.location-info-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 4px;
}

.location-info-header span {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* ---- Список контактов ---- */
.location-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: var(--transition);
}

.location-info-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(76,175,130,0.3);
}

.lii-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(76,175,130,0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.lii-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.lii-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

a.lii-value:hover { color: var(--accent); }

.lii-sub {
    display: block;
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.location-info-panel .btn {
    position: relative;
    z-index: 1;
}

/* ---- Правая панель — карта ---- */
.location-map-panel {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.location-map-panel iframe {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

/* Адаптив */
@media (max-width: 900px) {
    .location-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .location-map-panel {
        min-height: 360px;
        height: 360px;
    }
    .location-map-panel iframe {
        position: absolute !important;
        height: 100% !important;
    }
}

@media (max-width: 768px) {
    .location-info-panel {
        padding: 32px 24px;
        gap: 20px;
    }
    .location-map-panel {
        min-height: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .location-map-panel {
        min-height: 260px;
        height: 260px;
    }
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer__main {
    background: var(--dark);
    padding: 80px 0 48px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer__brand .footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer__brand .logo-title { color: var(--white); }
.footer__brand .logo-sub { color: var(--accent); }

.footer__logo-img {
    display: none;
}

.footer__brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary);
    color: white;
}

.footer__col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    display: inline-block;
}

.footer__col ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer__contact li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer__contact li i {
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contact li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer__contact li a:hover { color: var(--white); }

.footer__bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer__links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: var(--transition);
}

.footer__links a:hover { color: rgba(255,255,255,0.7); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(76, 175, 130, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: 2px solid var(--primary);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* =====================================================
   LOADING ANIMATION
   ===================================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-inner p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =====================================================
   RESPONSIVE — LARGE DESKTOP (1400px+)
   ===================================================== */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero__title { font-size: 72px; }
}

/* =====================================================
   RESPONSIVE — TABLET LANDSCAPE (1100px)
   ===================================================== */
@media (max-width: 1100px) {
    .container { padding: 0 20px; }

    /* Services */
    .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Team */
    .team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .team__grid--two { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .team-card--wide .team-card__photo { height: 240px; }
    .team__cta-inner { flex-direction: column; text-align: center; gap: 16px; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }

    /* Why Us */
    .why-us__inner { gap: 40px; }
    .why-us__img-secondary { right: -10px; bottom: -10px; width: 160px; height: 160px; }

    /* Process — стек вертикально */
    .process__steps { flex-direction: column; align-items: center; gap: 0; }
    .process-step { max-width: 440px; width: 100%; }
    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0;
        background: linear-gradient(180deg, rgba(76,175,130,0.5), rgba(61,214,163,0.5));
    }
    .process-connector::after {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -6px;
    }

    /* Locations */
    .locations__grid { grid-template-columns: repeat(2, 1fr); }

    /* Appointment */
    .appointment__inner { gap: 48px; }
}

/* =====================================================
   RESPONSIVE — TABLET PORTRAIT (900px)
   ===================================================== */
@media (max-width: 900px) {
    /* Header */
    .header__top { display: none; }

    /* Navbar */
    .navbar__inner { height: 70px; gap: 16px; }
    .logo-title { font-size: 16px; }
    .logo-sub { font-size: 10px; }

    /* Hero */
    .hero {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 60px;
    }
    .hero__title { font-size: clamp(30px, 5.5vw, 48px); }
    .hero__subtitle { font-size: 15px; }

    /* Why Us */
    .why-us__inner { grid-template-columns: 1fr; gap: 40px; }
    .why-us__visual { max-width: 520px; margin: 0 auto; }
    .why-us__img-wrapper img { height: 380px; }
    .why-us__content { padding-left: 0; }
    .why-us__img-secondary { width: 150px; height: 150px; right: 0; bottom: -12px; }

    /* Appointment */
    .appointment__inner { grid-template-columns: 1fr; gap: 40px; }

    /* Locations */
    .locations__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto 48px; }

    /* Trust bar */
    .trust-bar__inner { gap: 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 4px 0; }
    .trust-item { flex-shrink: 0; }

    /* Stats */
    .hero__stats { gap: 24px; }

    /* Sections spacing */
    .services, .why-us, .team, .testimonials,
    .insurance, .appointment, .contact { padding: 80px 0; }
    .process { padding: 80px 0; }
}

/* =====================================================
   RESPONSIVE — MOBILE (768px)
   ===================================================== */
@media (max-width: 768px) {

    /* ---- Navbar Mobile ---- */
    .navbar__inner { height: 64px; padding: 0; }

    .navbar__menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 16px 20px 32px;
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .navbar__menu.open { transform: translateX(0); }

    .nav-link {
        padding: 14px 16px;
        font-size: 17px;
        border-radius: 10px;
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-link:last-child { border-bottom: none; }

    /* Show hamburger, hide CTA button */
    .navbar__cta { display: none; }
    .navbar__toggle { display: flex; }

    /* Logo compact */
    .logo-icon { width: 38px; height: 38px; font-size: 17px; }
    .logo-title { font-size: 15px; }
    .logo-sub { display: none; }

    /* ---- Hero ---- */
    .hero { padding-top: 80px; padding-bottom: 50px; }
    .hero__badge { font-size: 12px; padding: 6px 14px; }
    .hero__title { font-size: clamp(28px, 8vw, 40px); letter-spacing: -0.5px; }
    .hero__subtitle { font-size: 14.5px; margin-bottom: 28px; }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 40px;
    }
    .hero__actions .btn { justify-content: center; width: 100%; }
    .hero__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        background: rgba(255,255,255,0.07);
        border-radius: 16px;
        padding: 16px 8px;
        text-align: center;
    }
    .stat { align-items: center; }
    .stat-number { font-size: 26px; }
    .stat-label { font-size: 11px; }
    .stat-divider { display: none; }
    .hero__scroll-indicator { display: none; }

    /* ---- Trust Bar ---- */
    .trust-bar { padding: 16px 0; overflow: hidden; }
    .trust-bar__inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        flex-wrap: wrap;
    }
    .trust-item {
        background: var(--gray-50);
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 12px;
        justify-content: flex-start;
        flex-shrink: 1;
    }

    /* ---- Section headers ---- */
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: clamp(22px, 6vw, 30px); }
    .section-subtitle { font-size: 14.5px; }

    /* ---- Sections spacing ---- */
    .services, .why-us, .process, .team, .testimonials,
    .insurance, .appointment, .contact { padding: 60px 0; }

    /* ---- Services ---- */
    .services__grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 28px 24px; }
    .service-card__icon { width: 52px; height: 52px; font-size: 20px; margin-bottom: 16px; }
    .service-card h3 { font-size: 17px; }

    /* ---- Why Us ---- */
    .why-us__img-wrapper img { height: 280px; }
    .why-us__img-secondary { display: none; }
    .why-us__img-badge { left: 16px; bottom: 16px; padding: 10px 14px; gap: 10px; }
    .why-us__img-badge strong { font-size: 13px; }
    .why-us__features { gap: 16px; }

    /* ---- Process ---- */
    .process-step { padding: 0 8px; }
    .step-number { font-size: 52px; }
    .step-icon { width: 60px; height: 60px; font-size: 22px; }
    .process-step h3 { font-size: 17px; }
    .process-step p { font-size: 13.5px; }

    /* ---- Team ---- */
    .team__grid { grid-template-columns: 1fr; gap: 16px; }
    .team-card__photo { height: 220px; }
    .team__grid--two { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
    .team-card--wide .team-card__photo { height: 260px; }
    .team-card--wide .team-card__info { padding: 22px 20px; }
    .team-card__exp-badge { font-size: 12px; padding: 4px 12px; }
    .goldstar-badge { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 20px; }
    .goldstar-badge__logo { align-self: flex-start; }

    /* ---- Testimonials ---- */
    .testimonial-card { padding: 32px 24px; }
    .testimonial-text { font-size: 15.5px; }
    .testimonial-text::before { font-size: 60px; top: -12px; }
    .testimonials__rating {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 24px 20px;
    }
    .rating-badge { flex-direction: column; gap: 8px; align-items: center; }
    .rating-score { font-size: 22px; }
    .rating-platforms { justify-content: center; }

    /* ---- Insurance ---- */
    .insurance__logos { gap: 10px; }
    .ins-item { font-size: 13px; padding: 10px 16px; }

    /* ---- Appointment ---- */
    .appointment__form-card { padding: 24px 20px; }
    .appointment__form-card h3 { font-size: 19px; margin-bottom: 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-option { padding: 14px 16px; }
    .appointment__benefits { gap: 10px; }

    /* ---- Locations ---- */
    .locations__grid { grid-template-columns: 1fr; }
    .map-container { border-radius: 16px; }
    .map-container iframe { height: 280px; }

    /* ---- Footer ---- */
    .footer__main { padding: 52px 0 32px; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__col h4 { font-size: 14px; margin-bottom: 14px; }
    .footer__col ul li a { font-size: 13.5px; }
    .footer__bottom-inner { flex-direction: column; text-align: center; gap: 12px; }
    .footer__links { justify-content: center; gap: 14px; flex-wrap: wrap; }
    .footer__social { gap: 8px; }

    /* ---- Back to top ---- */
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* =====================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ===================================================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    /* Hero */
    .hero { padding-top: 72px; }
    .hero__title { font-size: clamp(26px, 9vw, 36px); }
    .hero__subtitle { font-size: 14px; }
    .hero__stats { padding: 12px 4px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 10px; }

    /* Trust bar — стек 1 колонка */
    .trust-bar__inner { grid-template-columns: 1fr 1fr; }

    /* Section */
    .section-title { font-size: clamp(20px, 7vw, 28px); }

    /* Services */
    .service-card { padding: 24px 18px; }

    /* Process */
    .process-step h3 { font-size: 16px; }

    /* Testimonials */
    .testimonial-card { padding: 24px 16px; }
    .testimonial-text { font-size: 14.5px; }

    /* Form */
    .appointment__form-card { padding: 20px 16px; }

    /* Navbar */
    .logo-icon { width: 34px; height: 34px; font-size: 15px; }
    .logo-title { font-size: 14px; }

    /* Buttons */
    .btn-lg { padding: 13px 22px; font-size: 15px; }

    /* Why Us */
    .why-us__img-wrapper img { height: 240px; }
    .why-us__img-badge { padding: 8px 12px; gap: 8px; }
    .badge-icon { width: 36px; height: 36px; font-size: 16px; }

    /* Footer */
    .footer__links { gap: 10px; }
    .footer__links a { font-size: 12px; }
}

/* =====================================================
   RESPONSIVE — EXTRA SMALL (360px)
   ===================================================== */
@media (max-width: 360px) {
    .hero__title { font-size: 24px; }
    .trust-bar__inner { grid-template-columns: 1fr; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); }
    .stat-number { font-size: 20px; }
    .btn { padding: 11px 16px; font-size: 14px; }
    .service-card { padding: 20px 14px; }
}
