/* ============================================= */
/* CSS-ПЕРЕМЕННЫЕ — единая цветовая палитра      */
/* ============================================= */
:root {
    --primary-color: #14b8a6;
    --primary-dark: #0d9488;
    --primary-light: #ccfbf1;
    --dark-color: #0f172a;
    --gray-color: #64748b;
    --light-bg: #f8fafc;
    --cream-bg: #fefcf9;
    --accent-color: #f59e0b;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

/* ============================================= */
/* БАЗОВЫЕ СТИЛИ И ТИПОГРАФИКА                    */
/* ============================================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--dark-color);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.25;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ============================================= */
/* INLINE SVG ИКОНКИ                              */
/* ============================================= */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.icon-lg {
    width: 1.3em;
    height: 1.3em;
}

/* ============================================= */
/* УТИЛИТАРНЫЕ КЛАССЫ                             */
/* ============================================= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
}

/* ============================================= */
/* КНОПКИ — ЦВЕТНОЙ ФОН, БЕЛЫЙ ТЕКСТ, СКРУГЛЁННЫЕ */
/* ============================================= */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
    letter-spacing: 0.3px;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0891b2 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.5);
}

.btn-primary-custom:active {
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.3);
}

.btn-primary-custom.btn-lg,
.btn-outline-custom.btn-lg {
    padding: 20px 48px;
    font-size: 1.2rem;
}

/* ============================================= */
/* ШАПКА САЙТА (HEADER) С ЭФФЕКТОМ СКРЫТИЯ       */
/* ============================================= */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.35s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    padding: 18px 0;
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-inner {
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.logo:hover {
    color: var(--primary-color);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.logo-text small {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover::after {
    width: 30px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.05rem;
}

.header-phone:hover {
    color: var(--primary-color);
}

.header-phone .phone-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ============================================= */
/* HERO — ГЛАВНЫЙ ЭКРАН                           */
/* ============================================= */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #fef3c7 100%);
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
}

.hero-bg-circle.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    opacity: 0.15;
}

.hero-bg-circle.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -80px;
    left: -80px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.hero-badge .pulse-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-color);
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-stat-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.hero-doctor-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-top: 20px;
}

.doctor-avatar-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
}

.doctor-avatar-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: 0;
    opacity: 0.2;
}

.doctor-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    z-index: 1;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
}

.doctor-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.doctor-card .doctor-role {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.doctor-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.doctor-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.doctor-features li svg {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================= */
/* СЕКЦИЯ "О ВРАЧЕ"                               */
/* ============================================= */
.about-section {
    background: var(--white);
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 30px;
}

.about-image-box {
    background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    position: relative;
    overflow: hidden;
}

.about-image-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
}

.about-experience-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-experience-card .exp-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-experience-card .exp-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--dark-color);
}

.about-experience-card .exp-label {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-features-list li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.about-features-list li:last-child {
    border-bottom: none;
}

.about-features-list .feature-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-features-list h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-features-list p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================= */
/* СЕКЦИЯ "УСЛУГИ"                                */
/* ============================================= */
.services-section {
    background: var(--light-bg);
    position: relative;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-10deg) scale(1.05);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

/* ============================================= */
/* СЕКЦИЯ "ПРЕИМУЩЕСТВА"                          */
/* ============================================= */
.advantages-section {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    opacity: 0.2;
}

.advantages-section .section-title {
    color: var(--white);
}

.advantages-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.advantages-section .section-badge {
    background: rgba(20, 184, 166, 0.15);
    color: var(--primary-color);
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    height: 100%;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.advantage-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.4;
}

.advantage-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================= */
/* СЕКЦИЯ "ЭТАПЫ ПРИЁМА"                          */
/* ============================================= */
.steps-section {
    background: var(--cream-bg);
    position: relative;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================= */
/* СЕКЦИЯ "КОНТАКТЫ"                              */
/* ============================================= */
.contact-section {
    background: var(--white);
    position: relative;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--dark-color), #1e293b);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    opacity: 0.3;
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(20, 184, 166, 0.15);
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item-value {
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-item-value a {
    color: var(--white);
}

.contact-item-value a:hover {
    color: var(--primary-color);
}

/* ============================================= */
/* ФОРМА ОБРАТНОЙ СВЯЗИ                           */
/* ============================================= */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form-card .form-subtitle {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 20px;
}

.form-floating-custom label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-floating-custom label .required {
    color: #ef4444;
}

.form-floating-custom input,
.form-floating-custom textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

/* Honeypot поле для защиты от ботов — скрыто от пользователей */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Скрытый класс для accessibility (Bootstrap) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    justify-content: center;
}

.form-message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* ============================================= */
/* ПОДВАЛ САЙТА (FOOTER)                          */
/* ============================================= */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo:hover {
    color: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================= */
/* БЕЙДЖИ ВАЛИДАЦИИ И PAGESPEED (shields.io)     */
/* ============================================= */
.validation-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.validation-badges img {
    height: 20px;
    width: auto;
}

.validation-badges a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.validation-badges a:hover {
    transform: translateY(-2px);
}

.developer-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: #5eead4;
    text-decoration: none;
}

/* ============================================= */
/* КНОПКА "ВЕРНУТЬСЯ ВВЕРХ"                       */
/* ============================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    cursor: pointer;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================= */
/* АНИМАЦИИ ПОЯВЛЕНИЯ                             */
/* ============================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* АДАПТИВНОСТЬ (MOBILE FIRST)                    */
/* ============================================= */
@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }
    .hero-section {
        padding: 120px 0 70px;
    }
    .hero-doctor-card {
        margin-top: 50px;
    }
    .about-image-wrapper {
        margin-bottom: 40px;
    }
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 16px 32px;
        font-size: 1rem;
    }
    .btn-primary-custom.btn-lg,
    .btn-outline-custom.btn-lg {
        padding: 18px 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero-section {
        padding: 110px 0 60px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        justify-content: center;
    }
    .hero-stats {
        gap: 25px;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 35px 25px;
    }
    .header-phone {
        display: none;
    }
    .about-image-box {
        font-size: 7rem;
    }
    .hero-doctor-card {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 30px 20px;
    }
    .validation-badges {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .doctor-avatar-wrapper {
        width: 160px;
        height: 160px;
    }
    .doctor-avatar {
        font-size: 4rem;
    }
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    .btn-primary-custom.btn-lg,
    .btn-outline-custom.btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
    }
}