:root {
    --primary: #6E7D62;
    --primary-dark: #5A6B52;
    --secondary: #A2AC9A;
    --accent: #D4AF37;
    --background: #F8F8F8;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --font-primary: 'Playfair Display', serif;
    --font-fallback: 'Roboto', sans-serif;
    --header-height: 80px;
    --transition: 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-fallback);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.02);
    color: var(--white);
}

.secondary-link {
    color: var(--primary);
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.secondary-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.secondary-link:hover::after {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-title.center {
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--white);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    height: 70px;
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-img {
    height: 64px;
    width: auto;
}

.header.scrolled .logo-img {
    height: 50px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: var(--text);
    transition: var(--transition);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 10px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
}

.mobile-cta {
    margin-top: 20px;
    padding: 14px 32px;
    font-size: 1.1rem;
}

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

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.1rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-snapshot {
    padding: 80px 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    order: 1;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-image {
    order: 2;
}

.about-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services-overview {
    padding: 80px 0;
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.services-grid.full-grid {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-card.detailed-card {
    text-align: left;
}

.detailed-card .service-description {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    font-weight: 600;
    color: var(--primary);
}

.service-link:hover {
    color: var(--accent);
}

.testimonials {
    padding: 80px 0;
    background-color: var(--white);
    background-image: linear-gradient(to bottom, var(--background) 0%, var(--white) 100%);
}

.testimonial-slider {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.testimonial-slides {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.testimonial-quote p {
    margin-bottom: 1.5rem;
}

.testimonial-quote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    background: none;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--white);
}

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

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.why-choose-us {
    padding: 80px 0;
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(110, 125, 98, 0.3));
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-container {
    text-align: center;
    max-width: 700px;
}

.cta-headline {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section-button {
    background-color: var(--accent);
    color: var(--text);
    padding: 14px 32px;
    font-size: 1.1rem;
}

.cta-section-button:hover {
    background-color: #c4a035;
    color: var(--text);
}

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-nav-list a:hover {
    opacity: 1;
    color: var(--accent);
}

.contact-info {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

.contact-info a {
    color: var(--white);
}

.contact-info a:hover {
    color: var(--accent);
}

.operating-hours {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-cta {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.process-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    list-style: none;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.08);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.step-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--background);
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.our-story {
    padding: 80px 0;
    background-color: var(--white);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content .section-title {
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.clinic-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-section {
    padding: 80px 0;
    background-color: var(--background);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.member-photo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-photo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.member-title {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-fallback);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.submit-button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.form-success {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
    text-align: center;
}

.location-hours {
    padding: 80px 0;
    background-color: var(--background);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.what-to-expect {
    padding: 80px 0;
    background-color: var(--white);
}

.expectations-list {
    max-width: 700px;
    margin: 40px auto 0;
}

.expectation-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.expectation-item:last-child {
    border-bottom: none;
}

.expectation-icon {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 50px;
}

.expectation-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.expectation-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(162, 172, 154, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
    transition: border-color 0.2s ease, transform 0.1s ease;
}

@media (hover: hover) and (pointer: fine) {
    body:hover .cursor-trail {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-headline,
    .hero-subheadline,
    .hero-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .cursor-trail {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .services-grid.full-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .main-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-container,
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cta-headline {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 0;
    }
}
