/* Custom properties */
:root {
    --forest: #1B4332;
    --forest-light: #2D6A4F;
    --forest-dark: #081C15;
    --cream: #FEFAE0;
    --cream-dark: #F4F1DE;
    --sand: #DDA15E;
    --sand-light: #E9C46A;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #868E96;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--forest-light);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--forest);
    line-height: 1.2;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-light);
    border-color: var(--forest-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--forest);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}

.btn-outline-light:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Section tags */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 250, 224, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(254, 250, 224, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--forest);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-icon {
    color: var(--forest);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--forest);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--forest-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 28, 21, 0.9) 0%, rgba(27, 67, 50, 0.7) 50%, rgba(8, 28, 21, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(221, 161, 94, 0.2);
    color: var(--sand-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(221, 161, 94, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(254, 250, 224, 0.8);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sand-light);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(254, 250, 224, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(254, 250, 224, 0.2);
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--forest-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--forest);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* About */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--forest);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-text {
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 500;
}

.about-feature svg {
    color: var(--forest);
    flex-shrink: 0;
}

/* Conditions */
.conditions {
    padding: 120px 0;
    background: var(--forest-dark);
}

.conditions .section-tag {
    color: var(--sand-light);
}

.conditions .section-title {
    color: var(--white);
}

.conditions .section-subtitle {
    color: rgba(254, 250, 224, 0.7);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.condition-card {
    background: rgba(254, 250, 224, 0.05);
    border: 1px solid rgba(254, 250, 224, 0.1);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.condition-card:hover {
    background: rgba(254, 250, 224, 0.1);
    border-color: rgba(221, 161, 94, 0.3);
    transform: translateY(-4px);
}

.condition-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--sand);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.condition-card h3 {
    color: var(--white);
    font-size: 1.1875rem;
    margin-bottom: 12px;
}

.condition-card p {
    color: rgba(254, 250, 224, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Process */
.process {
    padding: 120px 0;
    background: var(--cream);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest);
}

.process-step h3 {
    font-size: 1.1875rem;
    margin-bottom: 12px;
    color: var(--forest);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--cream);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--sand);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--forest);
    font-size: 0.9375rem;
}

/* FAQ */
.faq {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: var(--transition);
}

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--forest);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* CTA */
.cta {
    padding: 120px 0;
    background: var(--forest);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(221, 161, 94, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta .section-tag {
    color: var(--sand-light);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(254, 250, 224, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--forest-dark);
}

.cta .btn-primary:hover {
    background: var(--sand-light);
    border-color: var(--sand-light);
}

.cta .btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline-light:hover {
    background: var(--white);
    color: var(--forest);
}

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--forest);
}

.contact-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--forest);
}

.contact-card a:hover {
    color: var(--forest-light);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    color: var(--forest);
    font-weight: 500;
}

.form-success.show {
    display: flex;
}

/* Map */
.map-section {
    height: 400px;
    background: var(--gray-200);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer */
.footer {
    background: var(--forest-dark);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(254, 250, 224, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(254, 250, 224, 0.7);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--sand-light);
}

.footer-contact p {
    color: rgba(254, 250, 224, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(254, 250, 224, 0.7);
}

.footer-contact a:hover {
    color: var(--sand-light);
}

.footer-bottom {
    border-top: 1px solid rgba(254, 250, 224, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(254, 250, 224, 0.5);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(254, 250, 224, 0.5);
}

.footer-bottom a:hover {
    color: var(--sand-light);
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .conditions-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid,
    .conditions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .services,
    .about,
    .conditions,
    .process,
    .testimonials,
    .faq,
    .cta,
    .contact {
        padding: 80px 0;
    }
    
    .service-card,
    .condition-card,
    .testimonial-card {
        padding: 24px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
