/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #064e3b; color: #fff; padding: .5rem 1rem;
    border-radius: 0 0 6px 6px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(2, 44, 34, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo { flex-shrink: 0; }
.nav__menu {
    display: flex; align-items: center; gap: 2rem;
}
.nav__menu a {
    color: rgba(255,255,255,0.8); text-decoration: none;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em;
    transition: color 0.2s;
}
.nav__menu a:hover { color: #fff; }
.nav__cta {
    display: flex; align-items: center; gap: 6px;
    background: #10b981; color: #022c22 !important;
    padding: 8px 18px; border-radius: 8px;
    font-weight: 600; font-size: 0.875rem;
    transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover { background: #34d399; transform: translateY(-1px); }
.nav__toggle {
    display: none; background: none; border: none; padding: 8px;
    color: #fff;
}

/* Mobile menu */
@media (max-width: 767px) {
    .nav__toggle { display: block; }
    .nav__menu {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        flex-direction: column; justify-content: flex-start;
        background: rgba(2, 44, 34, 0.98);
        backdrop-filter: blur(16px);
        padding: 2rem; gap: 0;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav__menu.open { transform: translateX(0); }
    .nav__menu a {
        font-size: 1.15rem; padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
    }
    .nav__cta {
        margin-top: 1.5rem; justify-content: center;
        padding: 14px 24px; border-bottom: none;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none; border: 2px solid transparent;
    transition: all 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: #10b981; color: #022c22; border-color: #10b981;
}
.btn--primary:hover { background: #059669; border-color: #059669; }
.btn--outline {
    background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--light {
    background: #fff; color: #064e3b; border-color: #fff;
}
.btn--light:hover { background: #f0fdf4; }
.btn--outline-light {
    background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center;
    background: #022c22;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.35;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(2,44,34,0.95) 0%, rgba(6,78,59,0.85) 50%, rgba(2,44,34,0.80) 100%);
}
.hero__grid {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 3rem; align-items: center;
    padding: 120px 0 80px; width: 100%;
}
.hero__card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 3rem;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
    color: #34d399; padding: 8px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800; color: #fff;
    line-height: 1.1; margin-bottom: 1.25rem;
}
.hero__accent { color: #34d399; }
.hero__subtitle {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    line-height: 1.7; margin-bottom: 2rem; max-width: 520px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Floating stat cards */
.hero__stats {
    display: flex; flex-direction: column; gap: 1rem;
}
.stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 1.5rem;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s ease;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card__number {
    display: block; font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem; font-weight: 800; color: #34d399;
    line-height: 1; margin-bottom: 0.4rem;
}
.stat-card__label {
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
    font-weight: 500;
}

@media (max-width: 1023px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__stats { flex-direction: row; flex-wrap: wrap; margin-top: 1rem; }
    .stat-card { flex: 1; min-width: 140px; }
}
@media (max-width: 480px) {
    .hero__card { padding: 2rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }
.section__header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.section__tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: #10b981;
    margin-bottom: 0.75rem;
}
.section__tag--light { color: #34d399; }
.section__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: #064e3b;
    line-height: 1.15; margin-bottom: 1rem;
}
.section__title--light { color: #fff; }
.section__subtitle {
    font-size: 1.1rem; color: #4a5568; line-height: 1.7;
}
.section__title--light + .section__subtitle,
.section__title--light ~ .section__subtitle { color: rgba(255,255,255,0.7); }

/* ===== SERVICES ===== */
.services { background: #faf9f6; }
.services__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
    background: #fff; border-radius: 16px; padding: 2rem;
    border: 1px solid #e8e4d8;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(6,78,59,0.1);
}
.service-card__icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #064e3b, #059669);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 1.25rem;
}
.service-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem; font-weight: 700; color: #064e3b;
    margin-bottom: 0.75rem;
}
.service-card__desc {
    font-size: 0.925rem; color: #4a5568; line-height: 1.7;
}

@media (max-width: 1023px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

/* ===== ABOUT ===== */
.about { background: #fff; }
.about__grid {
    display: grid; grid-template-columns: 5fr 6fr; gap: 4rem;
    align-items: center;
}
.about__images { position: relative; }
.about__img-main {
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 60px rgba(6,78,59,0.15);
}
.about__img-main img { width: 100%; height: 400px; object-fit: cover; display: block; }
.about__img-accent {
    position: absolute; bottom: -30px; right: -30px;
    border-radius: 16px; overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.about__img-accent img { width: 200px; height: 200px; object-fit: cover; display: block; }
.about__content { max-width: 520px; }
.about__text {
    font-size: 1.025rem; color: #4a5568; line-height: 1.8;
    margin-bottom: 1rem;
}
.about__list {
    list-style: none; margin-top: 1.5rem;
    display: grid; gap: 0.75rem;
}
.about__list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.95rem; color: #2d3748; font-weight: 500;
}
.about__list svg { color: #10b981; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 3rem; }
    .about__img-accent { right: 10px; bottom: -20px; }
}

/* ===== WHY US ===== */
.why-us {
    position: relative; padding: 100px 0; overflow: hidden;
}
.why-us__bg { position: absolute; inset: 0; }
.why-us__img { width: 100%; height: 100%; object-fit: cover; }
.why-us__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(2,44,34,0.93) 0%, rgba(6,78,59,0.88) 100%);
}
.why-us__content { position: relative; z-index: 1; }
.why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 2rem;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.1);
}
.why-card__number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem; font-weight: 800; color: rgba(52,211,153,0.25);
    line-height: 1; margin-bottom: 1rem;
}
.why-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem; font-weight: 700; color: #fff;
    margin-bottom: 0.75rem;
}
.why-card__text {
    font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7;
}

@media (max-width: 1023px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== PROCESS ===== */
.process { background: #faf9f6; }
.process__steps {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    position: relative;
}
.process__step {
    text-align: center; padding: 0 1rem;
    position: relative;
}
.process__step-num {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #064e3b, #059669);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem; font-weight: 800;
    margin: 0 auto 1.25rem;
    position: relative; z-index: 1;
}
.process__step-connector {
    display: none;
}
.process__step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem; font-weight: 700; color: #064e3b;
    margin-bottom: 0.6rem;
}
.process__step-text {
    font-size: 0.875rem; color: #4a5568; line-height: 1.65;
}

@media (max-width: 1023px) {
    .process__steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .process__steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
    padding: 100px 0;
}
.cta__card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px; padding: 4rem 3rem;
    backdrop-filter: blur(12px);
}
.cta__title { margin-bottom: 1rem; }
.cta__text {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    line-height: 1.7; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto;
}
.cta__phone { color: #34d399; text-decoration: none; font-weight: 700; }
.cta__phone:hover { text-decoration: underline; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.contact__text {
    font-size: 1.025rem; color: #4a5568; line-height: 1.7;
    margin-bottom: 2rem;
}
.contact__details {
    list-style: none; display: grid; gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact__detail {
    display: flex; align-items: flex-start; gap: 1rem;
}
.contact__detail-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: linear-gradient(135deg, #064e3b, #059669);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.contact__detail dt {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #10b981; margin-bottom: 0.25rem;
}
.contact__detail dd {
    font-size: 0.95rem; color: #2d3748;
}
.contact__detail a {
    color: #2d3748; text-decoration: none;
    transition: color 0.2s;
}
.contact__detail a:hover { color: #059669; }
.contact__map { margin-top: 1rem; }

/* Form */
.contact__form-wrap {
    background: #faf9f6; border-radius: 20px; padding: 2.5rem;
    border: 1px solid #e8e4d8;
}
.contact__form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem; font-weight: 700; color: #064e3b;
    margin-bottom: 0.5rem;
}
.contact__form-subtitle {
    font-size: 0.9rem; color: #4a5568; margin-bottom: 1.5rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { margin-bottom: 1rem; }
.form__group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: #2d3748; margin-bottom: 0.4rem;
}
.form__required { color: #dc2626; }
.form__group input,
.form__group select,
.form__group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #e8e4d8; border-radius: 10px;
    background: #fff; color: #2d3748;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.form__group textarea { resize: vertical; min-height: 120px; }
.form__success {
    display: flex; align-items: center; gap: 10px;
    margin-top: 1rem; padding: 1rem;
    background: #ecfdf5; border: 1px solid #a7f3d0;
    border-radius: 10px; color: #065f46; font-weight: 600; font-size: 0.9rem;
}
.form__success svg { color: #10b981; flex-shrink: 0; }

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 480px) {
    .form__row { grid-template-columns: 1fr; }
    .contact__form-wrap { padding: 1.5rem; }
}

/* ===== FOOTER ===== */
.footer {
    background: #022c22; padding: 4rem 0 0;
}
.footer__top {
    display: grid; grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer__name { font-size: 1rem; line-height: 1.3; }
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 260px; }
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a {
    color: rgba(255,255,255,0.65); text-decoration: none;
    font-size: 0.9rem; transition: color 0.2s;
}
.footer__nav a:hover { color: #34d399; }
.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__phone, .footer__email {
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-size: 0.9rem; transition: color 0.2s;
}
.footer__phone:hover, .footer__email:hover { color: #34d399; }
.footer__contact p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.35);
}

@media (max-width: 767px) {
    .footer__top { grid-template-columns: 1fr; gap: 2rem; }
    .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}

/* ===== REVEAL ANIMATIONS ===== */
/* Default: always visible (progressive enhancement) */
.reveal { opacity: 1; transform: none; transition: none; }

/* JS-enabled + reduced-motion off: animate on scroll */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .js .reveal.revealed {
        opacity: 1;
        transform: none;
    }
    /* Stagger children */
    .js .services__grid .reveal { transition-delay: 0.1s; }
    .js .services__grid .reveal:nth-child(2) { transition-delay: 0.2s; }
    .js .services__grid .reveal:nth-child(3) { transition-delay: 0.3s; }
    .js .services__grid .reveal:nth-child(4) { transition-delay: 0.4s; }
    .js .services__grid .reveal:nth-child(5) { transition-delay: 0.5s; }
    .js .services__grid .reveal:nth-child(6) { transition-delay: 0.6s; }
    .js .why-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
    .js .why-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
    .js .why-grid .reveal:nth-child(4) { transition-delay: 0.45s; }
}
