@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display.ttf') format('truetype');
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans.ttf') format('truetype');
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: 'Dancing Script';
    src: url('../fonts/dancing-script.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../webfonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../webfonts/fa-brands-400.woff2") format("woff2");
}

.fa, .fas, .far, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.far { font-weight: 400; }
.fab { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }

.fa-instagram:before { content: "\f16d"; }
.fa-facebook-f:before { content: "\f39e"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-calendar-alt:before { content: "\f073"; }
.fa-map-marker-alt:before { content: "\f3c5"; }
.fa-phone-alt:before { content: "\f879"; }
.fa-times:before { content: "\f00d"; }
.fa-chevron-left:before { content: "\f053"; }
.fa-chevron-right:after { content: "\f054"; }
.fa-arrow-left:before { content: "\f060"; }

:root {
    --primary-color: #144232;
    --secondary-color: #3D6B4E;
    --accent-color: #0A2119;
    --text-color: #000000;
    --text-light: #2E5A44;
    --bg-light: #F9FBFB;
    --bg-white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Plus Jakarta Sans', sans-serif;
    --highlight-font: 'Dancing Script', cursive;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

::selection { background: var(--primary-color); color: white; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans-font); color: var(--text-color); line-height: 1.6; background-color: var(--bg-white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--serif-font); font-weight: 700; line-height: 1.2; color: var(--secondary-color); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.section--light { background-color: var(--bg-light); }

.section-title { font-size: 3rem; margin-bottom: 4rem; position: relative; display: inline-block; color: #3D6B4E; }
.section-title::after {
    content: ''; position: absolute; bottom: -10px; left: 0; width: 60px; height: 4px;
    background: var(--secondary-color);
    border-radius: 10px;
}
.text-center { text-align: center; width: 100%; }
.text-center.section-title::after { left: 50%; transform: translateX(-50%); }

.btn {
    display: inline-block; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600;
    cursor: pointer; border: none; font-family: var(--sans-font); transition: var(--transition);
    text-align: center;
}
.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; box-shadow: 0 10px 20px rgba(20, 66, 50, 0.2);
}
.btn--primary:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(20, 66, 50, 0.3); }
.btn--secondary { background: white; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn--secondary:hover { background: var(--primary-color); color: white; }

.sticky-socials {
    position: fixed; left: 20px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 12px; z-index: 1000;
}
.sticky-socials a {
    width: 45px; height: 45px; background: white; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    color: var(--primary-color); font-size: 1.2rem;
}
.sticky-socials a:hover { transform: translateX(8px); color: var(--secondary-color); }
.sticky-socials__cta { background: var(--primary-color) !important; color: white !important; }
.sticky-socials__cta:hover { color: white !important; background: var(--secondary-color) !important; }

.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1100;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 1.2rem 0; transition: var(--transition);
}
.header__container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 1rem; }
.logo__text { font-family: var(--serif-font); font-weight: 700; font-size: 1.2rem; color: var(--secondary-color); line-height: 1; }
.logo__text span { display: block; font-family: var(--sans-font); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary-color); margin-top: 4px; }
.nav__list { display: flex; gap: 2.5rem; list-style: none; padding: 0; margin: 0; }
.nav__link { font-weight: 500; font-size: 0.95rem; }
.nav__link:hover { color: var(--primary-color); }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1300;
}
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--primary-color); position: relative; transition: 0.3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; width: 100%; height: 100%; background: var(--primary-color); transition: 0.3s; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { bottom: -8px; }
.nav-toggle--active span { background: transparent !important; }
.nav-toggle--active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle--active span::after { transform: rotate(-45deg); bottom: 0; }

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 100%);
    z-index: 1;
}
.hero__container { position: relative; z-index: 2; }
.hero__title { font-size: 4.5rem; margin-bottom: 1.5rem; color: var(--primary-color); }
.hero__title .highlight {
    color: var(--secondary-color);
    font-family: var(--highlight-font);
    font-size: 1.6em;
    font-weight: 700;
    display: inline-block;
    transform: rotate(-2deg);
    margin: 0 10px;
    line-height: 1;
    background: linear-gradient(0deg, rgba(61, 107, 78, 0.2), rgba(61, 107, 78, 0.2));
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 85%;
}
.hero__subtitle { font-size: 1.5rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 3px; font-weight: 300; margin-bottom: 3rem; }
.hero__actions { display: flex; gap: 1.5rem; }

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 5;
}
.mouse { width: 26px; height: 42px; border: 2px solid var(--secondary-color); border-radius: 20px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--primary-color); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scrollWheel 1.5s infinite; }
@keyframes scrollWheel { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 25px; } }
.arrow span {
    display: block; width: 10px; height: 10px; border-bottom: 2px solid var(--secondary-color); border-right: 2px solid var(--secondary-color);
    transform: rotate(45deg); animation: arrowDown 1.5s infinite;
}
@keyframes arrowDown { 0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); } 50% { opacity: 1; } 100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); } }

.about__container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }
.about__image-wrapper { position: relative; }
.about__image-wrapper::after {
    content: ''; position: absolute; top: 20px; left: -20px; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px; z-index: -1;
}
.about__image { border-radius: 20px; box-shadow: var(--shadow); position: relative; z-index: 2; transition: var(--transition); }
.about__image:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.qualifications { margin: 2.5rem 0; padding: 2rem; background: var(--bg-light); border-left: 4px solid var(--secondary-color); border-radius: 0 15px 15px 0; }
.qualifications h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.qualifications ul li { margin-bottom: 0.5rem; position: relative; padding-left: 1.5rem; }
.qualifications ul li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-color); font-weight: bold; }
.about__welcome-small { font-size: 1.2rem; color: var(--primary-color); font-weight: 600; font-style: italic; margin-top: 2rem; padding: 1.5rem; border-left: 3px solid var(--primary-color); background: rgba(20, 66, 50, 0.05); }

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.service-card {
    background: white; padding: 3.5rem 2.5rem; border-radius: 25px; box-shadow: var(--shadow);
    transition: var(--transition); cursor: pointer; text-align: center; border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.service-card__icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card__more { display: block; margin-top: 1.5rem; color: var(--primary-color); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center;
    z-index: 2000; padding: 2rem; backdrop-filter: blur(10px);
}
.modal--active { display: flex; }
.modal__content { 
    background: white; padding: 4rem 3rem; border-radius: 40px; max-width: 800px; width: 100%; 
    position: relative; max-height: 90vh; overflow-y: auto; text-align: left;
    scrollbar-width: none; -ms-overflow-style: none;
}
.modal__content::-webkit-scrollbar { display: none; }

.modal__close { 
    position: sticky; top: -20px; right: -10px; float: right; 
    width: 45px; height: 45px; border-radius: 50%; background: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; cursor: pointer; color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 10;
    transition: var(--transition);
}
.modal__close:hover { transform: rotate(90deg); color: var(--secondary-color); }
.modal__body h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--secondary-color); }
.modal__quote { font-style: italic; font-size: 1.1rem; color: var(--accent-color); padding: 1.5rem 2rem; background: var(--bg-light); border-radius: 20px; margin-bottom: 2.5rem; position: relative; }
.modal__quote span { display: block; font-size: 0.9rem; margin-top: 1rem; font-weight: 700; color: var(--text-color); text-align: right; }
.modal__item { margin-bottom: 2.5rem; }
.modal__item h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--secondary-color); border-bottom: 2px solid var(--secondary-color); display: inline-block; }
.modal__item p { font-size: 1.05rem; line-height: 1.8; }
.modal__download { display: inline-flex; align-items: center; gap: 10px; padding: 1rem 1.5rem; background: rgba(61, 107, 78, 0.1); color: var(--secondary-color); border-radius: 12px; font-weight: 700; margin-top: 1rem; transition: var(--transition); }
.modal__download:hover { background: var(--secondary-color); color: white; transform: translateY(-3px); }

.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.gallery__item { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; border: 1px solid rgba(0,0,0,0.05); padding: 8px; background: white; transition: var(--transition); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; transition: var(--transition); }
.gallery__item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.gallery__item:hover img { transform: scale(1.03); }

.contact__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: stretch; }
.contact__info { display: flex; flex-direction: column; }
.contact__name { font-family: var(--serif-font); font-size: 2.2rem; font-weight: 700; margin-bottom: 2rem; color: var(--secondary-color); letter-spacing: 1px; }
.contact__name span { display: block; font-family: var(--sans-font); font-size: 1rem; font-weight: 400; text-transform: uppercase; color: var(--text-light); letter-spacing: 4px; margin-top: 5px; }
.contact__link { display: flex; align-items: center; margin-bottom: 1.5rem; font-size: 1.1rem; transition: var(--transition); cursor: pointer; width: fit-content; color: var(--secondary-color); }
.contact__link:hover { color: var(--primary-color); transform: translateX(5px); }
.contact__link--center { justify-content: center; margin: 1rem auto; font-weight: 700; font-size: 1.4rem; transition: var(--transition); display: block; width: fit-content; text-align: center; color: var(--secondary-color); }
.contact__link--center:hover { transform: scale(1.1); color: var(--primary-color); }
.contact__icon { color: var(--secondary-color); margin-right: 15px; width: 25px; text-align: center; font-size: 1.2rem; }

.billing-box { flex-grow: 1; padding: 2.5rem; background: white; border-radius: 30px; box-shadow: var(--shadow); border: 1px solid rgba(20, 66, 50, 0.1); margin-top: auto; }
.billing-box h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--secondary-color); }

.appointment-card { background: white; padding: 4rem 3rem; border-radius: 40px; box-shadow: var(--shadow); position: relative; border-top: 6px solid var(--primary-color); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.appointment-card h3 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.appointment-card p { margin-bottom: 2.5rem; color: var(--text-light); }
.appointment-card__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.05); }

.footer { padding: 6rem 0 3rem; background: var(--secondary-color); color: white; }
.footer__content { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; margin-bottom: 4rem; }
.footer__contact-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.footer__contact-links a { display: flex; align-items: center; gap: 15px; opacity: 0.9; transition: var(--transition); color: white; }
.footer__contact-links a:hover { opacity: 1; color: white; transform: translateX(5px); }
.footer__contact-links i { color: white; width: 20px; }
.footer__right { text-align: left; padding-left: 4rem; }
.footer__legal h4 { font-size: 1.6rem; margin-bottom: 2rem; color: white; position: relative; display: inline-block; }
.footer__legal h4::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px; background: white; border-radius: 2px; }
.footer__legal-nav { display: flex; flex-direction: column; gap: 1rem; }
.footer__legal-nav a { opacity: 0.9; font-size: 1.1rem; transition: 0.3s; color: white; }
.footer__legal-nav a:hover { opacity: 1; color: white; transform: translateX(5px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 3rem; text-align: center; font-size: 0.95rem; opacity: 0.8; }
.footer__bottom a { color: white; font-weight: 700; transition: var(--transition); }
.footer__bottom a:hover { color: white; opacity: 1; }
.footer__bottom span { color: white; transition: var(--transition); }
.footer__bottom a:hover span { color: white; }

.legal-content { max-width: 800px; margin: 0; text-align: left; }
.legal-content h2 { margin: 3rem 0 1.5rem; color: var(--secondary-color); font-size: 2.2rem; }
.legal-content h3 { margin: 2rem 0 1rem; color: var(--secondary-color); font-size: 1.6rem; }
.legal-content p { margin-bottom: 1.2rem; opacity: 0.9; font-size: 1.1rem; }
.legal-content a { color: var(--primary-color); text-decoration: underline; }

.back-btn { display: inline-flex; align-items: center; gap: 10px; padding: 0.8rem 1.5rem; background: var(--bg-light); border-radius: 50px; font-weight: 700; color: var(--primary-color); margin-bottom: 3rem; transition: 0.3s; }
.back-btn:hover { background: var(--primary-color); color: white; transform: translateX(-5px); }

.swipe-in { animation: swipeIn 0.6s ease-out forwards; }
.swipe-out { animation: swipeOut 0.6s ease-in forwards; }
@keyframes swipeIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes swipeOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

@media (max-width: 1024px) {
    .footer__content { gap: 4rem; }
    .footer__right { padding-left: 0; }
    .sticky-socials { display: none; }
}

.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: calc(100% - 40px);
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1500;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    gap: 8px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-action-bar--visible {
    transform: translateX(-50%) translateY(0);
}

.mobile-action-bar .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    border-radius: 15px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .mobile-action-bar { display: grid; }
    .section { padding: 5rem 0; }
    .section-title { font-size: 2.2rem; margin-bottom: 3rem; }
    
    .nav-toggle { display: block; }
    .nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 100%; 
        height: 100vh; 
        background: #ffffff; 
        transition: 0.7s cubic-bezier(0.85, 0, 0.15, 1); 
        display: flex !important; 
        flex-direction: column;
        align-items: center; 
        justify-content: center; 
        z-index: 1200;
        padding: 2rem;
    }
    .nav::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 10%;
        width: 80%;
        height: 80%;
        border: 1px solid rgba(20, 66, 50, 0.1);
        pointer-events: none;
        z-index: -1;
    }

    .nav--active { right: 0; }
    
    .nav__list { 
        flex-direction: column; 
        gap: 2rem; 
        text-align: left; 
        width: 100%;
        max-width: 300px;
    }
    
    .nav__link { 
        font-size: 2.4rem; 
        font-family: var(--serif-font); 
        font-weight: 700;
        color: var(--secondary-color);
        padding: 0;
        background: none;
        box-shadow: none;
        border: none;
        display: flex;
        align-items: baseline;
        gap: 1.5rem;
        transition: 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
        opacity: 0;
        transform: translateY(30px);
        text-transform: none;
    }
    
    .nav__link::before {
        content: counter(nav-counter, decimal-leading-zero);
        counter-increment: nav-counter;
        font-family: var(--sans-font);
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--primary-color);
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .nav__list {
        counter-reset: nav-counter;
    }

    .nav__link::after {
        display: none;
    }

    .nav__link:active { 
        color: var(--primary-color);
        transform: translateX(10px) !important;
    }

    .nav-toggle--active span { background: transparent !important; }
    .nav-toggle--active span::before, .nav-toggle--active span::after { background: var(--primary-color); }
    
    .header__btn, .sticky-socials { display: none; }
    .scroll-indicator { display: flex; bottom: 20px; }
    
    .header { padding: 0.6rem 0; }
    .logo { gap: 0.6rem; }
    
    .hero { height: 100vh; min-height: 600px; padding-top: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
    .hero__content { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero__title { font-size: 2rem; line-height: 1.4; padding: 0 1rem; }
    .hero__title span.highlight-block { 
        display: block; 
        font-size: 1.6em; 
        margin: 15px auto;
        width: fit-content;
        background-size: 100% 0.2em;
        line-height: 1.1;
    }
    .hero__subtitle { font-size: 0.95rem; margin-bottom: 3.5rem; letter-spacing: 2px; }
    .hero__actions { flex-direction: column; width: auto; gap: 1.2rem; margin-top: 20px; }
    .hero__actions .btn { width: 260px; padding: 1rem 1.5rem; }

    .about__container { grid-template-columns: 1fr; gap: 3rem; }
    .about__image-wrapper { order: -1; max-width: 300px; margin: 0 auto; }
    .qualifications { padding: 1.5rem; margin: 1.5rem 0; }
    
    .services__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 2.5rem 1.5rem; }

    .gallery__grid { 
        display: flex; 
        overflow-x: auto; 
        overflow-y: hidden;
        touch-action: pan-x;
        scroll-snap-type: x mandatory; 
        gap: 1rem; 
        padding: 0 1.5rem 1rem; 
        margin: 0 -1.5rem; 
        scrollbar-width: none; 
    }
    .gallery__grid::-webkit-scrollbar { display: none; }
    .gallery__item { flex: 0 0 85%; scroll-snap-align: center; aspect-ratio: 4/5; }
    
    .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact__name { font-size: 1.8rem; }
    .billing-box { padding: 1.5rem; margin-top: 2rem; }
    .appointment-card { padding: 3rem 1.5rem; }
    .appointment-card h3 { font-size: 1.8rem; }

    .footer { padding-bottom: 100px; }
    .footer__content { grid-template-columns: 1fr; gap: 3rem; }
    .footer__right { text-align: center; }
    .footer__legal h4::after { left: 50%; transform: translateX(-50%); }
    .footer__contact-links { align-items: center; }
    .footer__brand-block { display: flex; flex-direction: column; align-items: center; text-align: center; }
    
    .footer .logo { flex-direction: row; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
    .footer .logo svg { width: 55px; height: 55px; }
    .footer .logo__text { font-size: 1.5rem; text-align: left; }
    .footer .logo__text span { font-size: 0.9rem; letter-spacing: 3px; }

    .modal__content { padding: 2.5rem 1.2rem; border-radius: 30px; }
    .modal__body h2 { font-size: 1.8rem; }
    .modal__item h3 { font-size: 1.4rem; }
    .modal__item p { font-size: 0.95rem; }
    .modal__close { width: 35px; height: 35px; font-size: 1.8rem; top: 10px; right: 10px; }
    .modal__quote { padding: 1.2rem; font-size: 1rem; }
}

.fa-spin {
    animation: fa-spin 2s infinite linear;
    margin-right: 8px;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-circle-notch:before { content: "\f1ce"; }

.form-status {
    text-align: center;
    padding: 3rem 1rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.form-status--active {
    display: flex;
}

.form-status__icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
    margin-bottom: 0.5rem;
}

.form-status__icon i {
    display: inline-block;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.fa-check:before { content: "\f00c"; }
.fa-exclamation:before { content: "\f12a"; }

.form-status__title {
    font-family: var(--serif-font);
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.form-status__text {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.datepicker-container {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    padding: 1rem;
    z-index: 3100;
    width: 280px;
    display: none;
    margin-top: 5px;
    border: 1px solid #E5EAE7;
    user-select: none;
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

#date {
    cursor: pointer;
}

.datepicker-nav {
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #F0F4F2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 0.9rem;
}

.datepicker-nav:hover {
    background: var(--primary-color);
    color: white;
}

.month-display {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    font-weight: 700;
}

.datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto repeat(6, 32px);
    gap: 2px;
    text-align: center;
}

.datepicker-day-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.datepicker-day {
    padding: 0;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    transition: all 0.2s ease;
}


.datepicker-day:hover:not(.disabled) {
    background: var(--secondary-color);
    color: white;
}

.datepicker-day.active {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.datepicker-day.disabled {
    color: #EEE;
    cursor: default;
}


.appointment-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 33, 25, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.appointment-modal__content {
    background: var(--bg-white);
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 95vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.appointment-modal__content::-webkit-scrollbar {
    display: none;
}

.appointment-modal__close {
    position: sticky;
    top: -15px;
    right: -10px;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    transition: var(--transition);
}

.appointment-modal__close:hover {
    transform: rotate(90deg);
    background: var(--bg-light);
}

.appointment-form {
    display: grid;
    gap: 1.2rem;
    clear: both;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--sans-font);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1px solid #E5EAE7;
    border-radius: 12px;
    font-family: var(--sans-font);
    font-size: 1rem;
    transition: var(--transition);
    background: #F8FAF9;
    color: var(--text-color);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(61, 107, 78, 0.08);
}

.form-group--date {
    position: relative;
}

.form-group--date::after {
    content: "\f073";
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    right: 1.2rem;
    top: 2.6rem;
    color: var(--secondary-color);
    pointer-events: none;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.checkbox-wrapper {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: #F8FAF9;
    border-radius: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #E5EAE7;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--secondary-color);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.label-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-light);
}

.label-text a {
    text-decoration: underline;
    color: var(--secondary-color);
}

.appointment-modal__header {
    margin-bottom: 1.5rem;
}

.appointment-modal__header h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.appointment-modal__header p {
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .appointment-modal {
        padding: 20px;
    }
    .appointment-modal__content {
        padding: 1.8rem;
        padding-top: 1rem;
        padding-bottom: 3rem;
        width: 100%;
        max-height: 85vh;
        border-radius: 20px;
        overflow-y: auto;
        position: relative;
    }
    .appointment-form {
        gap: 0.6rem;
    }
    .appointment-modal__header {
        margin-top: 0.8rem;
        margin-bottom: 1.5rem;
        padding-right: 40px;
    }
    .appointment-modal__header h2 {
        font-size: 1.8rem;
    }
    .appointment-modal__close {
        position: sticky;
        top: 0;
        right: 0;
        float: right;
        z-index: 2500;
        width: 40px;
        height: 40px;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        margin-top: 0;
        border: 1px solid #F0F4F2;
    }
}











