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

:root {
    --color-forest: #064e3b;
    --color-forest-light: #065f46;
    --color-forest-dark: #053a2b;
    --color-emerald: #10b981;
    --color-emerald-light: #34d399;
    --color-cream: #faf9f6;
    --color-cream-dark: #f5f3ee;
    --color-sage: #d1f5e4;
    --color-sage-light: #e8faf0;
    --color-text: #1a2e26;
    --color-text-light: #4a6358;
    --color-text-muted: #6b8578;
    --color-white: #ffffff;
    --color-border: rgba(6, 78, 59, 0.12);
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
    --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.1);
    --shadow-lg: 0 8px 32px rgba(6, 78, 59, 0.12);
    --shadow-xl: 0 16px 48px rgba(6, 78, 59, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, 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);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-forest);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav__logo-icon {
    flex-shrink: 0;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-forest);
    letter-spacing: -0.02em;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__link {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-emerald);
    border-radius: 1px;
    transition: width var(--transition);
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-forest);
    padding: 8px 18px;
    border-radius: 100px;
    transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
    background: var(--color-forest-light);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-forest);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.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);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #0a7a5c 35%, #10b981 65%, #34d399 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(16, 185, 129, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6, 78, 59, 0.4) 0%, transparent 50%);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-right: 40px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    font-weight: 500;
}

.hero__image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    max-width: 600px;
    z-index: 1;
}

.hero__image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: var(--shadow-xl);
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(6, 78, 59, 0.3) 100%);
    pointer-events: none;
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-white);
    color: var(--color-forest);
    box-shadow: var(--shadow-md);
}

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

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

.btn--light {
    background: var(--color-white);
    color: var(--color-forest);
    box-shadow: var(--shadow-md);
}

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

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

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

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

/* Section shared */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-emerald);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

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

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

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

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sage-light);
    border-radius: var(--radius-md);
    color: var(--color-forest);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--color-forest);
    color: var(--color-white);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Why Us */
.why-us {
    padding: 100px 0;
    background: var(--color-forest);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 28px 28px;
}

.why-us__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us__content {
    max-width: 480px;
}

.why-us__desc {
    font-size: 1.063rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 32px;
}

.why-us__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-us__item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.why-us__check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.25);
    border-radius: 50%;
    color: var(--color-emerald-light);
    flex-shrink: 0;
}

.why-us__image {
    position: relative;
}

.why-us__image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.why-us__stat {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.why-us__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-forest);
}

.why-us__stat-label {
    font-size: 0.813rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--color-cream);
}

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

.about__image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about__content {
    max-width: 480px;
}

.about__text {
    font-size: 1.063rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

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

.about__stat-value {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-forest);
}

.about__stat-label {
    font-size: 0.813rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #0a7a5c 50%, #10b981 100%);
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta__desc {
    font-size: 1.063rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 16px;
    margin-bottom: 0;
}

.cta__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.cta__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta__info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cta__info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    flex-shrink: 0;
}

.cta__info-label {
    display: block;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta__info-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 2px;
}

.cta__info-value a {
    color: inherit;
    text-decoration: none;
}

.cta__info-value a:hover {
    text-decoration: underline;
}

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

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer__desc {
    font-size: 0.938rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
}

.footer p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer__phone {
    display: inline-block;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-emerald-light);
    transition: color var(--transition);
}

.footer__phone:hover {
    color: var(--color-emerald);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Scroll reveal (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero__image {
        width: 38%;
    }

    .hero__content {
        padding-right: 20px;
    }

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

    .why-us__inner,
    .about__inner {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        min-height: auto;
    }

    .hero__content {
        padding-right: 0;
        text-align: center;
        max-width: 100%;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin-top: 40px;
    }

    .hero__image img {
        height: 450px;
    }

    .why-us__inner,
    .about__inner {
        grid-template-columns: 1fr;
    }

    .why-us__image,
    .about__image {
        order: -1;
    }

    .why-us__image img,
    .about__image img {
        height: 400px;
    }

    .cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta__contact {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav__list,
    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }

    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__menu ul {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav__menu li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav__menu li:last-child {
        border-bottom: none;
    }

    .nav__menu .nav__link {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .nav__menu .nav__link::after {
        display: none;
    }

    .nav__menu .nav__cta {
        display: flex;
        justify-content: center;
        margin-top: 16px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__wave svg {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 16px 0;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero__title {
        font-size: 1.875rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.875rem;
    }

    .btn--lg {
        padding: 14px 28px;
    }

    .services,
    .why-us,
    .about,
    .cta {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .why-us__stat {
        left: 0;
        bottom: -16px;
    }

    .about__stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
