/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest: #1B4332;
    --forest-light: #2D6A4F;
    --forest-dark: #081C15;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8E0D0;
    --gold: #B8860B;
    --gold-light: #D4A843;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 8px 30px rgba(27, 67, 50, 0.12);
    --shadow-lg: 0 20px 60px rgba(27, 67, 50, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--forest);
}

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

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

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

/* ===== WAVE DECORATION ===== */
.wave-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    pointer-events: none;
    color: var(--forest);
}

.wave-decoration svg {
    width: 100%;
    height: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    top: 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--forest);
}

.logo-icon {
    width: 44px;
    height: 44px;
    color: var(--forest);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest);
}

.logo-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-medium);
    font-weight: 500;
}

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

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: 0.02em;
    position: relative;
}

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

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

.nav a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--forest);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--forest-light);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 140px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 28, 21, 0.88) 0%,
        rgba(27, 67, 50, 0.82) 50%,
        rgba(45, 106, 79, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 60px 24px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    margin-bottom: 24px;
    font-weight: 500;
}

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

.hero-title-accent {
    display: block;
    font-size: 0.55em;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Lato', sans-serif;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

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

/* ===== HERO SCROLL ===== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 500;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid rgba(27, 67, 50, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--forest-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--forest);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--forest);
}

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

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image {
    position: relative;
}

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

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

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--cream-dark);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 28, 21, 0.92), rgba(27, 67, 50, 0.88));
}

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

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

.cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

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

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

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    color: var(--forest);
    background: rgba(27, 67, 50, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-details p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-details a {
    color: var(--forest);
    font-weight: 500;
}

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

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: var(--transition);
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    gap: 16px;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--forest);
    background: rgba(27, 67, 50, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--forest);
}

.form-success p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-logo .logo-name {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 500;
}

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

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--forest);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--forest-light);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===== ANIMATIONS ===== */
[data-anim] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-anim] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-anim].animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .wave-decoration {
        height: 40px;
    }
    
    .header {
        top: 40px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        background: rgba(250, 247, 242, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        box-shadow: var(--shadow-md);
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        font-size: 1rem;
    }
    
    .hero {
        margin-top: 100px;
        min-height: 90vh;
    }
    
    .hero-title-accent {
        font-size: 0.6em;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-stats {
        gap: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
