/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8fafc;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.text {
    margin-bottom: 1rem;
}

.text--center {
    text-align: center;
}

.text--large {
    font-size: 1.125rem;
}

.title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.title--xl {
    font-size: 2.5rem;
}

.title--lg {
    font-size: 2rem;
}

.title--md {
    font-size: 1.5rem;
}

.title--sm {
    font-size: 1.25rem;
}

.title--center {
    text-align: center;
}

/* Section */
.section {
    padding: 5rem 0;
}

.section--light {
    background-color: #fff;
}

.section--gray {
    background-color: #f8fafc;
}

.section--blue {
    background-color: #ebf5ff;
}

.section__header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 {
    grid-template-columns: 1fr;
}

.grid--3 {
    grid-template-columns: 1fr;
}

.grid--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1e40af;
}

.header__logo-accent {
    color: #3b82f6;
}

.header__nav {
    display: none;
}

.header__nav-list {
    display: flex;
    gap: 2rem;
}

.header__nav-item {
    position: relative;
}

.header__nav-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s;
}

.header__nav-link:hover {
    color: #3b82f6;
}

.header__contact {
    display: none;
}

.header__phone {
    font-weight: 600;
    color: #3b82f6;
    margin-right: 1.5rem;
    transition: color 0.3s;
}

.header__phone:hover {
    color: #1e40af;
}

.header__burger {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: block;
    }
    
    .header__contact {
        display: flex;
        align-items: center;
    }
    
    .header__burger {
        display: none;
    }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 200;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu--active {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu__nav {
    margin-top: 3rem;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu__link {
    font-size: 1.25rem;
    font-weight: 500;
}

.mobile-menu__contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Button */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.button--primary {
    background-color: #3b82f6;
    color: #fff;
}

.button--primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.button--outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.button--outline:hover {
    background-color: #fff;
    color: #3b82f6;
    transform: translateY(-2px);
}

.button--secondary {
    background-color: #fff;
    color: #1e40af;
}

.button--secondary:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

.button--full {
    width: 100%;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    padding: 5rem 0;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero__image {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .hero__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero__content {
        text-align: left;
        margin-bottom: 0;
        flex: 1;
        padding-right: 2rem;
    }
    
    .hero__image-wrapper {
        flex: 1;
    }
    
    .hero__buttons {
        flex-direction: row;
    }
    
    .hero__title {
        font-size: 3rem;
    }
}

/* Stats */
.stats {
    padding: 2.5rem 0;
    background-color: #fff;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
}

.stats__item {
    text-align: center;
}

.stats__number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stats__text {
    color: #6b7280;
}

/* Card */
.card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card__accent {
    height: 0.5rem;
    background-color: #3b82f6;
}

.card__body {
    padding: 1.5rem;
}

.card__icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #ebf5ff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card__icon-svg {
    width: 2rem;
    height: 2rem;
    color: #3b82f6;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card__text {
    color: #6b7280;
    margin-bottom: 1rem;
}

.card__list {
    margin-bottom: 1.5rem;
}

.card__list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.card__list-icon {
    color: #10b981;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.card__link {
    color: #3b82f6;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.card__link:hover {
    color: #1e40af;
}

.card__link-icon {
    margin-left: 0.25rem;
}

/* About */
.about__content {
    margin-top: 2rem;
}

.about__text {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.about__feature {
    display: flex;
    align-items: center;
}

.about__feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ebf5ff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.about__feature-text {
    color: #4b5563;
}

@media (min-width: 768px) {
    .about__container {
        display: flex;
        align-items: center;
        gap: 3rem;
    }
    
    .about__image {
        flex: 1;
    }
    
    .about__content {
        flex: 1;
        margin-top: 0;
    }
}

/* Testimonial */
.testimonial {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial__header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial__avatar {
    width: 3rem;
    height: 3rem;
    background-color: #ebf5ff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.testimonial__initials {
    font-weight: 700;
    color: #3b82f6;
    font-size: 1.25rem;
}

.testimonial__name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.testimonial__stars {
    display: flex;
    color: #fbbf24;
}

.testimonial__text {
    color: #6b7280;
    font-style: italic;
}

/* FAQ */
.faq__item {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq__question {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
}

.faq__question-text {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.faq__icon {
    color: #3b82f6;
    transition: transform 0.3s;
}

.faq__icon--rotated {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 1.5rem 1rem 1.5rem;
    color: #6b7280;
    display: none;
}

.faq__answer--active {
    display: block;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.form__input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form__select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form__select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form__textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form__textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form__checkbox-group {
    margin: 1rem 0;
}

.form__checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
}

.form__checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form__checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.form__checkbox:checked + .form__checkbox-custom {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form__checkbox:checked + .form__checkbox-custom::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    width: 0.375rem;
    height: 0.625rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form__checkbox-text {
    color: #4b5563;
}

.form__link {
    color: #3b82f6;
    text-decoration: underline;
    transition: color 0.3s;
}

.form__link:hover {
    color: #1e40af;
}

/* Contact */
.contact-card {
    background-color: #3b82f6;
    color: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
}

.contact-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-card__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card__item {
    display: flex;
    align-items: flex-start;
}

.contact-card__icon {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-card__label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-card__text {
    opacity: 0.9;
}

/* Map */
.map {
    background-color: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map__placeholder {
    height: 24rem;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map__icon {
    width: 4rem;
    height: 4rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.map__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.map__text {
    color: #6b7280;
}

/* Contact info */
.contact-info {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.contact-info__icon {
    width: 4rem;
    height: 4rem;
    background-color: #ebf5ff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-info__title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-info__text {
    color: #6b7280;
}

/* Appointment Section */
.appointment__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.appointment__form-wrapper {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.appointment__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .appointment__container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Footer */
.footer {
    background-color: #1e40af;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer__logo-accent {
    color: #60a5fa;
}

.footer__description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__link {
    opacity: 0.8;
    transition: opacity 0.3s;
    color: #fff;
    text-decoration: none;
}

.footer__link:hover {
    opacity: 1;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer__contact-icon {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.footer__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__feature {
    display: flex;
    align-items: center;
}

.footer__feature-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    color: #fff;
    text-decoration: none;
}

.footer__social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer__copyright {
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer__policy {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__disclaimer {
    opacity: 0.8;
    font-size: 0.875rem;
    color: #fff;
    font-style: italic;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer__content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

/* Mobile optimizations for 360px+ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__text {
        font-size: 1rem;
    }
    
    .hero__buttons {
        gap: 0.75rem;
    }
    
    .button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .title--lg {
        font-size: 1.75rem;
    }
    
    .title--md {
        font-size: 1.25rem;
    }
    
    .card__body {
        padding: 1.25rem;
    }
    
    .stats__number {
        font-size: 1.75rem;
    }
    
    .testimonial {
        padding: 1.25rem;
    }
    
    .appointment__form-wrapper {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer__content {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer__logo {
        font-size: 1.25rem;
    }
    
    .footer__title {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .card__body {
        padding: 1rem;
    }
    
    .appointment__form-wrapper {
        padding: 1.25rem;
    }
    
    .footer__content {
        gap: 1.25rem;
    }
    
    .footer__social {
        gap: 0.75rem;
    }
    
    .footer__social-link {
        width: 2rem;
        height: 2rem;
    }
}

/* Form validation styles */
.form__input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form__input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
}

/* Loading state */
.button--loading {
    position: relative;
    color: transparent;
}

.button--loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message */
.form__success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
    display: none;
}

.form__success--show {
    display: block;
}

/* Error message */
.form__error {
    color: #991b1b;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.modal__header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: flex-end;
}

.modal__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal__close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.modal__body {
    padding: 0 40px 40px;
    text-align: center;
}

.modal__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.modal__title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal__text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.modal__button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.modal__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.modal__button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .modal__content {
        width: 95%;
        margin: 20px;
    }
    
    .modal__body {
        padding: 0 20px 30px;
    }
    
    .modal__title {
        font-size: 20px;
    }
    
    .modal__text {
        font-size: 14px;
    }
}
/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background-color: #f8f9fa;
    a {
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }

    /* Основные состояния ссылок */
    a:hover {
        color: #3b82f6;
        transform: translateY(-1px);
    }

    a:active {
        transform: translateY(0);
        color: #1e40af;
    }

    a:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
        border-radius: 2px;
    }
}

.seo-content > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.seo-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.3;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.seo-content ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.seo-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.seo-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.seo-content aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seo-content article {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #667eea;
}

.seo-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.seo-content p {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.seo-content strong {
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .seo-content {
        padding: 60px 0;
    }    
    
    .seo-content h2 {
        font-size: 24px;
    }
    
    .seo-content div {
        font-size: 15px;
    }
    
    .seo-content h3 {
        font-size: 18px;
    }

}

@media (max-width: 480px) {
    .seo-content main {
        padding: 20px;
    }
    
    .seo-content h2 {
        font-size: 22px;
    }
}
/* 404 Error Page Styles */
.error-404 {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ebf5ff 100%);
}

.error-404__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}

.error-404__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404__svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.error-404__text {
    text-align: left;
}

.error-404__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.error-404__description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-404__suggestions {
    margin-bottom: 2.5rem;
}

.error-404__suggestions h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.error-404__suggestions ul {
    list-style: none;
    padding: 0;
}

.error-404__suggestions li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.5;
}

.error-404__suggestions li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.error-404__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-404__actions .button {
    min-width: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404 {
        padding: 3rem 0;
        min-height: calc(100vh - 150px);
    }
    
    .error-404__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .error-404__text {
        text-align: center;
    }
    
    .error-404__title {
        font-size: 2rem;
    }
    
    .error-404__description {
        font-size: 1rem;
    }
    
    .error-404__actions {
        justify-content: center;
    }
    
    .error-404__actions .button {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .error-404__title {
        font-size: 1.75rem;
    }
    
    .error-404__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404__actions .button {
        width: 100%;
        max-width: 250px;
    }
}
/* Service Page Styles */
.breadcrumbs {
    padding: 1rem 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumbs__link {
    color: #6b7280;
    transition: color 0.3s;
}

.breadcrumbs__link:hover {
    color: #3b82f6;
}

.breadcrumbs__separator {
    color: #9ca3af;
}

.breadcrumbs__current {
    color: #1f2937;
    font-weight: 500;
}

/* Service Hero */
.service-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
}

.service-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-hero__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-hero__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-hero__icon {
    width: 20px;
    height: 20px;
    color: #60a5fa;
}

.service-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-hero__svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Treatment Methods */
.treatment-methods {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.treatment-method {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.treatment-method:nth-child(even) {
    grid-template-columns: 120px 1fr;
}

.treatment-method:nth-child(even) .treatment-method__content {
    order: 2;
}

.treatment-method:nth-child(even) .treatment-method__icon {
    order: 1;
}

.treatment-method__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.treatment-method__description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.treatment-method__features {
    list-style: none;
    padding: 0;
}

.treatment-method__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.treatment-method__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.treatment-method__icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-method__icon svg {
    width: 80px;
    height: 80px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.process-step__description {
    color: #6b7280;
    line-height: 1.6;
}

/* Advantages */
.advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.advantage__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ebf5ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.advantage__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.advantage__description {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .service-hero__title {
        font-size: 2rem;
    }
    
    .service-hero__actions {
        justify-content: center;
    }
    
    .treatment-method {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .treatment-method:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .treatment-method:nth-child(even) .treatment-method__content,
    .treatment-method:nth-child(even) .treatment-method__icon {
        order: initial;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 2rem 0;
    }
    
    .service-hero__title {
        font-size: 1.75rem;
    }
    
    .service-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .service-hero__actions .button {
        width: 100%;
        max-width: 250px;
    }
    
    .treatment-method {
        padding: 1.5rem;
    }
    
    .advantage {
        padding: 1.5rem;
    }
}
/* Smoking Treatment Page Styles */

/* Smoking Hero Section */
.smoking-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.smoking-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.smoking-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.smoking-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.smoking-hero__subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.smoking-hero__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.smoking-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.smoking-hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.smoking-hero__svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

/* Smoking About Section */
.smoking-about {
    padding: 80px 0;
    background: #ffffff;
}

.smoking-about__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.smoking-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.smoking-about__text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.smoking-about__symptoms h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.smoking-about__symptoms ul {
    list-style: none;
    padding: 0;
}

.smoking-about__symptoms li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.smoking-about__symptoms li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Smoking Methods Section */
.smoking-methods {
    padding: 80px 0;
    background: #f8fafc;
}

.smoking-methods__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.smoking-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.smoking-methods__card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.smoking-methods__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.smoking-methods__card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.smoking-methods__card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.smoking-methods__badge {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.smoking-methods__card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.smoking-methods__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smoking-methods__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.smoking-methods__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Smoking Process Section */
.smoking-process {
    padding: 80px 0;
    background: #ffffff;
}

.smoking-process__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.smoking-process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.smoking-process__step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.smoking-process__step:hover {
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.smoking-process__step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.smoking-process__step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.smoking-process__step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Smoking Advantages Section */
.smoking-advantages {
    padding: 80px 0;
    background: #f8fafc;
}

.smoking-advantages__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.smoking-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.smoking-advantages__item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.smoking-advantages__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.smoking-advantages__icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.smoking-advantages__icon svg {
    width: 2rem;
    height: 2rem;
}

.smoking-advantages__item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.smoking-advantages__item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Smoking Appointment Section */
.smoking-appointment {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: #ffffff;
}

.smoking-appointment__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.smoking-appointment__info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.smoking-appointment__info p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.smoking-appointment__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smoking-appointment__benefits li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

.smoking-appointment__benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.smoking-appointment__form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .smoking-hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .smoking-hero__title {
        font-size: 2.5rem;
    }
    
    .smoking-hero__buttons {
        justify-content: center;
    }
    
    .smoking-about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .smoking-methods__grid {
        grid-template-columns: 1fr;
    }
    
    .smoking-process__steps {
        grid-template-columns: 1fr;
    }
    
    .smoking-advantages__grid {
        grid-template-columns: 1fr;
    }
    
    .smoking-appointment__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .smoking-appointment__info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .smoking-hero {
        padding: 100px 0 60px;
    }
    
    .smoking-hero__title {
        font-size: 2rem;
    }
    
    .smoking-hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .smoking-methods__card,
    .smoking-process__step,
    .smoking-advantages__item {
        padding: 1.5rem;
    }
    
    .smoking-appointment__form {
        padding: 2rem;
    }
}