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

:root {
    --green-900: #1a3a25;
    --green-800: #2D5A3D;
    --green-700: #3d7a52;
    --green-600: #4a9462;
    --green-500: #5ba872;
    --green-100: #d4edda;
    --green-50:  #eef7f2;

    --cream:     #FAF8F4;
    --cream-dark:#F0EDE6;
    --white:     #FFFFFF;
    --text:      #1a1a1a;
    --text-light:#555555;
    --text-muted:#888888;

    --radius-sm:  12px;
    --radius-md:  20px;
    --radius-lg:  32px;
    --radius-xl:  48px;

    --shadow-sm:  0 2px 8px rgba(45, 90, 61, 0.06);
    --shadow-md:  0 8px 30px rgba(45, 90, 61, 0.10);
    --shadow-lg:  0 16px 60px rgba(45, 90, 61, 0.14);
    --shadow-card:0 4px 20px rgba(45, 90, 61, 0.08);

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Nunito', 'Segoe UI', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 700;
}
.skip-link:focus {
    top: 16px;
}

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

/* ── Blobs ── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}
.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--green-100);
    top: -100px;
    right: -100px;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--cream-dark);
    bottom: 10%;
    left: -80px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--green-800);
    font-weight: 400;
}
.logo-icon {
    color: var(--green-800);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav a {
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--text-light);
    transition: var(--transition);
}
.nav a:hover {
    color: var(--green-800);
    background: var(--green-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle-line {
    width: 24px;
    height: 2.5px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.938rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green-800);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
}
.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-800);
}
.btn-outline:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}
.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Section shared ── */
.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-600);
    background: var(--green-50);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green-900);
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.063rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc {
    margin: 0 auto;
}

/* ── Hero ── */
.hero {
    padding: 140px 0 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--green-700);
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-600);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    color: var(--green-900);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.hero-title br { display: none; }

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-card-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    aspect-ratio: 480/560;
}
.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: float 4s ease-in-out infinite;
}
.stat-card-1 {
    bottom: 60px;
    left: -30px;
    animation-delay: 0s;
}
.stat-card-2 {
    top: 40px;
    right: -20px;
    animation-delay: 1.3s;
}
.stat-card-3 {
    bottom: -10px;
    right: 20px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    animation-delay: 2.6s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-800);
    line-height: 1;
}
.stat-label {
    font-size: 0.813rem;
    color: var(--text-muted);
    font-weight: 600;
}
.stat-stars {
    display: flex;
    gap: 2px;
}

/* ── Services ── */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-100);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-800);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green-800);
    color: var(--white);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.313rem;
    color: var(--green-900);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ── About ── */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-images {
    position: relative;
}
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 520/620;
}
.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
    aspect-ratio: 300/340;
}
.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--green-800);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}
.about-content .section-title {
    margin-top: 8px;
}
.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 36px;
}
.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--text);
}
.about-features svg {
    color: var(--green-600);
    flex-shrink: 0;
}

/* ── Gallery ── */
.gallery {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    aspect-ratio: auto;
}
.gallery-item:nth-child(1) { aspect-ratio: 420/520; }
.gallery-item:nth-child(2) { aspect-ratio: 420/380; }
.gallery-item:nth-child(3) { aspect-ratio: 420/380; }
.gallery-item:nth-child(4) { aspect-ratio: 420/520; }
.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* ── Testimonials ── */
.testimonials {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid transparent;
}
.testimonial-card:hover {
    border-color: var(--green-100);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial-quote {
    margin-bottom: 20px;
    color: var(--green-800);
}
.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
}
.author-name {
    display: block;
    font-weight: 700;
    font-size: 0.938rem;
    color: var(--text);
}
.author-location {
    display: block;
    font-size: 0.813rem;
    color: var(--text-muted);
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-desc {
    font-size: 1.063rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.contact-item:hover {
    background: var(--green-50);
    transform: translateX(4px);
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--green-800);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green-700);
    margin-bottom: 4px;
}
.contact-item span {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
}

/* Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--green-900);
    margin-bottom: 6px;
}
.form-note {
    font-size: 0.938rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(91, 168, 114, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green-700);
}
.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-900);
    margin-bottom: 8px;
}
.form-success p {
    color: var(--text-light);
    font-size: 0.938rem;
}

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

/* ── Footer ── */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer .logo {
    color: var(--white);
    margin-bottom: 12px;
}
.footer .logo-icon {
    color: var(--white);
}
.footer-tagline {
    font-size: 0.938rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-weight: 600;
    font-size: 0.938rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.938rem;
}
.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-contact a:hover {
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.813rem;
    color: rgba(255,255,255,0.4);
}

/* ── Reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1000;
    }
    .nav.open {
        transform: translateX(0);
    }
    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav a {
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav li:last-child {
        margin-top: 16px;
    }
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
    .nav-overlay.active {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title br { display: block; }
    .hero-visual {
        order: -1;
        max-width: 360px;
        margin: 0 auto;
    }
    .stat-card-1 { left: -10px; bottom: 40px; }
    .stat-card-2 { right: -10px; top: 20px; }
    .stat-card-3 { right: 10px; }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-images {
        max-width: 400px;
        margin: 0 auto;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        aspect-ratio: 1/1;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        padding: 12px 14px;
    }
    .stat-number {
        font-size: 1.25rem;
    }
}
