	html { scroll-padding-top: 100px; }
	
	.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(5,190,176,0.4); }

    :root {
        --primary-color: #05beb0;
        --primary-dark: #049c90;
        --primary-light: #07e0d0;
        --text-dark: #333;
        --text-light: #777;
        --background-light: #f9f9f9;
        --white: #ffffff;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --border-radius: 8px;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        line-height: 1.6;
        color: var(--text-dark);
        background-color: var(--primary-color);
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
        background-color: var(--white);
        margin: 5px 0;
        border-radius: var(--border-radius);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .section-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    h1, h2, h3, h4 {
        margin-bottom: 20px;
        color: var(--text-dark);
    }

    h2 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    h2::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }

    p {
        margin-bottom: 15px;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
    }

    .btn:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

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

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

    /* Header */
    header {
        background-color: var(--white);
        box-shadow: var(--shadow);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .logo-section {
        display: flex;
        align-items: center;
    }

    .logo-mark {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary-light), #05beb0);
        border-radius: 15%;
        margin-right: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
    }

    .logo-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .logo-text p {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 0;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
    }

    .contact-info {
        display: flex;
        align-items: center;
        margin-right: 30px;
    }

    .contact-item {
        margin-left: 20px;
        display: flex;
        align-items: center;
    }

    .contact-item i {
        margin-right: 8px;
        color: var(--primary-color);
    }

    .appointment-btn {
        margin-left: 20px;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-menu-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
        display: none;
        z-index: 999;
    }

    .mobile-menu.active {
			display: block;
		  background-color: rgba(255, 255, 255, 0.97);
		  backdrop-filter: blur(8px);
    }

    .mobile-contact-info {
        margin-bottom: 20px;
    }

    .mobile-contact-item {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .mobile-contact-item i {
        margin-right: 10px;
        color: var(--primary-color);
    }

    .mobile-nav-links {
        list-style: none;
    }

    .mobile-nav-links li {
        margin-bottom: 15px;
    }

    .mobile-nav-links a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
    }

    /* Fixed header */
    header.fixed {
        padding: 10px 0;
    }

    header.fixed .desktop-nav .contact-info {
        display: none;
    }

    header.fixed .nav-links {
        display: flex;
    }

    .nav-links {
        display: none;
        list-style: none;
        align-items: center;
    }

    .nav-links li {
        margin-left: 25px;
    }

    .nav-links a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--primary-color);
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: white;
        padding: 120px 0 80px;
        margin-top: 80px;
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
        background-size: cover;
    }

    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 1;
    }

    .hero-content {
        display: flex;
        align-items: center;
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-text {
        flex: 1;
        animation: fadeInUp 1s ease-out;
    }

    .hero-image {
        flex: 1;
        text-align: center;
        animation: fadeInRight 1s ease-out;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .hero-image img:hover {
        transform: perspective(1000px) rotateY(0) rotateX(0);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        color: white;
        line-height: 1.2;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 300;
    }

    .hero-experience {
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }

    .hero-btn {
        font-size: 1.1rem;
        padding: 15px 40px;
        background-color: white;
        color: var(--primary-color);
        border: none;
    }

    .hero-btn:hover {
        background-color: var(--primary-light);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .consent-text {
        font-size: 0.9rem;
        margin-top: 20px;
        color: rgba(255, 255, 255, 0.7);
        max-width: 400px;
    }

    /* About Section - Fixed Grid Layout */
    .about-grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 30px;
        align-items: start;
    }

    /* [1 блок] Фотография - занимает первую колонку */
    .about-img {
        grid-column: 1;
        grid-row: 1;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .about-img.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .about-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* [2 блок] Основные направления - занимает вторую колонку */
    .about-content {
        grid-column: 2;
        grid-row: 1;
    }

    .about-intro {
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--primary-dark);
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--primary-light);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .about-intro.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .about-list {
        list-style: none;
        margin-bottom: 20px;
    }

    .about-list li {
        margin-bottom: 12px;
        padding-left: 30px;
        position: relative;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .about-list li.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .about-list li::before {
        content: '•';
        color: var(--primary-color);
        font-size: 1.5rem;
        position: absolute;
        left: 0;
        top: -5px;
    }

    /* [3 блок] Специализации - занимает обе колонки */
    .specializations-section {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 20px 0;
        padding: 25px;
        background: linear-gradient(135deg, rgba(5, 190, 176, 0.05) 0%, rgba(5, 190, 176, 0.1) 100%);
        border-radius: var(--border-radius);
        border-left: 4px solid var(--primary-color);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .specializations-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .specializations-intro {
        font-weight: 600;
        font-size: 1.2rem;
        color: var(--primary-dark);
        margin-bottom: 20px;
        text-align: center;
    }

    .specializations-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
    }

    .specialization-item {
        display: flex;
        align-items: center;
        padding: 8px 0;
        transition: transform 0.3s ease;
    }

    .specialization-item:hover {
        transform: translateX(5px);
    }

    .specialization-bullet {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-right: 12px;
        font-weight: bold;
    }

    .specialization-item span:last-child {
        color: var(--text-dark);
        font-size: 1rem;
    }

    /* [4 блок] Кнопки - занимают обе колонки */
    .about-buttons-fullwidth {
        grid-column: 1 / -1;
        grid-row: 3;
        text-align: center;
        margin-top: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .about-buttons-fullwidth.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .about-buttons-fullwidth .btn {
        margin: 0 10px 15px;
    }

    /* Services Section - Fixed for mobile */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }

    .service-card {
        background-color: var(--white);
        border-radius: var(--border-radius);
        padding: 25px;
        box-shadow: var(--shadow);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .service-card.wide {
        grid-column: span 2;
    }

    .service-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
		
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .service-name {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--text-dark);
        flex: 1;
        padding-right: 15px;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
		min-height: 115px;
    }

    .service-price {
        padding: 10px 0;
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1.2rem;
        white-space: nowrap;
        text-align: center;
        flex-shrink: 0;
    }

    .service-select-btn {
        margin-top: auto;
        width: 100%;
    }

    /* Certificates Section */
    .certificates-container {
        position: relative;
        overflow: hidden;
        padding: 0 20px;
    }

    .certificates-track {
        display: flex;
        gap: 20px;
        transition: transform 0.5s ease;
        padding: 10px 0;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) #f1f1f1;
        cursor: grab;
    }

    .certificates-track::-webkit-scrollbar {
        height: 8px;
    }

    .certificates-track::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .certificates-track::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .certificates-track:active {
        cursor: grabbing;
    }

    .certificate-item {
        flex: 0 0 auto;
        width: 300px;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        cursor: pointer;
        transition: transform 0.3s;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .certificate-item.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .certificate-item:hover {
        transform: scale(1.03);
    }

    .certificate-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: var(--primary-color);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        z-index: 10;
        transition: background-color 0.3s;
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    .carousel-btn.visible {
        opacity: 1;
    }

    .carousel-btn:hover {
        background-color: var(--primary-dark);
    }

    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }

    /* Modal for certificates */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1100;
        justify-content: center;
        align-items: center;
    }

    .modal.active {
        display: flex;
    }

    .modal-content {
        max-width: 90%;
        max-height: 90%;
        position: relative;
    }

    .modal-content img {
        max-width: 100%;
        max-height: 100%;
        display: block;
        margin: 0 auto;
    }

    .close-modal {
        position: absolute;
        top: 20px;
        right: 30px;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1110;
        transition: color 0.3s;
    }

    .close-modal:hover {
        color: var(--primary-light);
    }

    /* Education Section */
    .education-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .education-item {
        background-color: var(--white);
        border-radius: var(--border-radius);
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .education-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .education-year {
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .education-institution {
        font-weight: 600;
        margin-bottom: 5px;
    }

    .education-specialty {
        margin-bottom: 5px;
    }

    .education-type {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .education-toggle {
        text-align: center;
        margin-top: 30px;
    }

    .education-item.hidden {
        display: none;
    }

    /* Footer */
    footer {
        background-color: var(--text-dark);
        color: white;
        padding: 50px 0 20px;
        margin-bottom: 0;
        border-radius: 0;
    }

    /* Footer new structure */
    .footer-top {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #444;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-column {
        flex: 1;
        min-width: 0;
    }

    .footer-column h4 {
        color: var(--primary-light);
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .footer-column p {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-link {
        color: var(--primary-light);
        text-decoration: none;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-link:hover {
        color: white;
        text-decoration: underline;
    }

    /* Footer agreement styles */
    .footer-disclaimer {
        font-size: 0.9rem;
        color: #ccc;
        line-height: 1.5;
        margin-bottom: 0; /* Убрал лишний отступ */
    }

    .agreement-link {
        color: var(--primary-light);
        text-decoration: underline;
        font-weight: 600;
        transition: color 0.3s;
    }

    .agreement-link:hover {
        color: white;
        text-decoration: none;
    }
	
    .agreement-link-u {
        color: var(--primary-light);
        text-decoration: underline;
        font-weight: 600;
        transition: color 0.3s;
    }

    .agreement-link-u:hover {
        color: #049c90;
        text-decoration: none;
    }

    .creator {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #444;
        font-size: 0.9rem;
        color: #ccc;
    }

    .creator a {
        color: var(--primary-light);
        text-decoration: none;
    }

    /* Анимации */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Responsive Design - Fixed */
    @media (max-width: 992px) {
        .about-grid-container {
            grid-template-columns: 1fr;
            grid-template-rows: auto auto auto auto;
            gap: 20px;
        }
        
        .about-img {
            grid-column: 1;
            grid-row: 1;
            text-align: center;
        }
        
        .about-img img {
            max-width: 80%;
            margin: 0 auto;
        }
        
        .about-content {
            grid-column: 1;
            grid-row: 2;
        }
        
        .specializations-section {
            grid-column: 1;
            grid-row: 3;
        }
        
        .about-buttons-fullwidth {
            grid-column: 1;
            grid-row: 4;
        }
        
        .specializations-grid {
            grid-template-columns: 1fr;
        }
        
        .specializations-section {
            padding: 20px 15px;
        }
        
        .about-buttons-fullwidth .btn {
            display: block;
            width: 100%;
            margin: 10px 0;
        }
        
        h2 {
            font-size: 1.8rem;
        }
        
        .hero-content {
            flex-direction: column;
            text-align: center;
            gap: 40px;
        }
        
        .hero h1 {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
        }
        
        .hero-image img {
            transform: none;
            max-width: 80%;
        }
    }

    @media (max-width: 768px) {
        .desktop-nav {
            display: none;
        }
        
        .mobile-nav {
            display: block;
        }
        
        .contact-info {
            display: none;
        }
        
        .hero {
            padding: 100px 0 60px;
        }
        
        .hero h1 {
            font-size: 2rem;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
        }
        
        .hero-image img {
            max-width: 100%;
        }
        
        section {
            padding: 50px 0;
            margin: 3px 0;
        }
        
        /* Fixed services for mobile */
        .service-card.wide {
            grid-column: 1;
        }
        
        .services-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .service-card {
            padding: 20px;
            margin: 0;
            width: 100%;
            box-sizing: border-box;
        }
        
        .service-header {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .service-price {
            margin-top: 10px;
            padding: 10px 0;
            width: 100%;
            text-align: left;
        }
        
        .service-name {
            padding-right: 0;
        }
        
        .carousel-btn {
            display: none;
        }

        .certificates-container {
            padding: 0 10px;
        }

        .certificate-item {
            width: 280px;
        }
        
        .about-img img {
            max-width: 100%;
        }
        .footer-bottom {
            flex-direction: column;
            gap: 30px;
        }
        
        .footer-column {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .services-grid {
            grid-template-columns: 1fr;
        }
        
        .service-card {
            padding: 15px;
        }
        
        .certificate-item {
            width: 250px;
        }
        
        .hero {
            padding: 120px 0 60px;
        }
        
        .hero h1 {
            font-size: 1.8rem;
        }
        
        .hero-subtitle {
            font-size: 1rem;
        }
        
        .hero-btn {
            padding: 12px 25px;
            font-size: 1rem;
        }
        
        .about-buttons-fullwidth .btn {
            margin: 5px 0;
            padding: 10px 20px;
        }
    }

    @media (max-width: 480px) {
        .service-name {
            font-size: 1rem;
        }
        
        .service-price {
            font-size: 1.1rem;
        }
        
        h2 {
            font-size: 1.6rem;
        }
        
        .specializations-grid {
            grid-template-columns: 1fr;
        }
    }
	
	/* Telegram link styles */
	.telegram-link {
		display: flex;
		align-items: center;
		color: var(--text-dark);
		text-decoration: none;
		transition: color 0.3s ease;
	}

	.telegram-link:hover {
		color: var(--primary-color);
	}

	.telegram-link i {
		margin-right: 8px;
		color: var(--primary-color);
		transition: color 0.3s ease;
	}

	.telegram-link:hover i {
		color: #0088cc; /* Telegram brand color */
	}

	/* For mobile menu */
	.mobile-contact-item .telegram-link {
		color: var(--text-dark);
	}

	.mobile-contact-item .telegram-link:hover {
		color: var(--primary-color);
	}
	
	
	
	
/* Appointment Pop-up Modal Styles */
.appointment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.appointment-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.appointment-modal-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.appointment-modal-overlay.active .appointment-modal-container {
    transform: scale(1);
}

.appointment-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.appointment-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.appointment-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.appointment-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.appointment-modal-content {
    overflow-y: auto;
    padding: 30px;
    flex: 1;
}

.appointment-modal-content::-webkit-scrollbar {
    width: 6px;
}

.appointment-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.appointment-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Form Styles */
.appointment-form {
    height: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 190, 176, 0.1);
    transform: translateY(-2px);
}

.form-group input[readonly] {
    background-color: #e7e7e7;
    color: #6c757d;
    cursor: not-allowed;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50px;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.form-group:focus-within .input-icon {
    color: var(--primary-dark);
}

/* Contact Styles */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-options {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.contact-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-option:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 190, 176, 0.1);
}

.contact-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(5, 190, 176, 0.1) 0%, rgba(5, 190, 176, 0.05) 100%);
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-option i {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-option[data-value="telegram"] i {
    color: #0088cc;
}

.contact-option[data-value="whatsapp"] i {
    color: #25D366;
}

.contact-option[data-value="vkontakte"] i {
    color: #4C75A3;
}

.contact-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-prefix {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    z-index: 2;
}

.contact-input-wrapper input {
    padding-left: 30px;
    width: 100%;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(5, 190, 176, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(5, 190, 176, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 190, 176, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .appointment-modal-container {
        margin: 20px;
        max-height: 95vh;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .appointment-modal-header {
        padding: 20px;
    }
    
    .appointment-modal-content {
        padding: 20px;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-option {
        justify-content: flex-start;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .appointment-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .form-group input {
        padding: 12px 12px 12px 40px;
    }
    
    .input-icon {
        top: 50px;
        left: 12px;
    }
    
    .contact-option {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .contact-option i {
        font-size: 1.1rem;
    }
}

textarea[readonly] {
  resize: none;
  overflow: hidden;
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #e7e7e7;
}