/* =============================================
   GREEN CARE — HOME PAGE STYLES
   ============================================= */

/* === HERO === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 45%, var(--green-750) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

/* Decorative texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Large decorative circle top-right */
.hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 173, 155, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Dot accents (matching advert's left-margin dots) */
.hero__dots {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-400);
    opacity: 0.5;
}

.hero__dot--active {
    opacity: 1;
    background: var(--sage-300);
    box-shadow: 0 0 0 3px rgba(168, 201, 187, 0.25);
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1rem;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-200);
    margin-bottom: 1.5rem;
}

.hero__badge svg {
    width: 14px;
    height: 14px;
    color: var(--sage-300);
}

.hero__heading {
    font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero__heading em {
    font-style: normal;
    color: var(--sage-300);
}

.hero__desc {
    font-size: var(--text-lg);
    color: var(--sage-200);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 460px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 3rem;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero__trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--sage-400);
}

/* Hero image side */
.hero__image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5;
}

.hero__img-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
}

.hero__img-card--tl {
    top: 2rem;
    left: -2rem;
}

.hero__img-card--br {
    bottom: 2rem;
    right: -2rem;
}

.hero__img-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sage-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__img-card-icon svg {
    width: 18px;
    height: 18px;
    color: var(--green-700);
}

/* .hero__img-card-text — flex container */

.hero__img-card-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
}

.hero__img-card-value {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--green-800);
}

/* === SERVICES PREVIEW === */
/* .services-preview — no extra styles needed */

.services-preview__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

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

.service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--sage-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: background var(--transition-fast);
}

.service-card:hover .service-card__icon {
    background: var(--green-700);
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
    color: var(--green-700);
    transition: color var(--transition-fast);
}

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

.service-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 0.625rem;
}

.service-card__desc {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-card__link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap var(--transition-fast);
}

.service-card:hover .service-card__link {
    gap: 0.625rem;
}

.service-card__link svg {
    width: 16px;
    height: 16px;
}

/* === WHY CHOOSE === */
.why-section__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* .why-section__text — no extra styles needed */

.why-section__img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
    aspect-ratio: 5/4;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border-left: 3px solid var(--sage-300);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.why-card:hover {
    border-left-color: var(--green-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.why-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--sage-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why-card__icon svg {
    width: 22px;
    height: 22px;
    color: var(--green-700);
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.why-card__desc {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sage-300);
}

.testimonial-card__quote {
    width: 32px;
    height: 32px;
    color: var(--sage-300);
    margin-bottom: 1rem;
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-card__stars svg {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.testimonial-card__text {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sage-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-card__avatar svg {
    width: 24px;
    height: 24px;
    color: var(--green-700);
}

.testimonial-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--green-800);
}

.testimonial-card__role {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* === RESPONSIVE HOME === */
@media (max-width: 1024px) {
    .services-preview__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ─── TABLET ──────────────────────────────── */
@media (max-width: 768px) {

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: 5rem;
        padding-bottom: 2rem;
        align-items: center;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hero__image-wrap {
        display: none;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 0.25rem;
    }

    .hero__badge {
        display: none;
    }

    .hero__heading {
        font-size: clamp(2.1rem, 9vw, 3rem);
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero__desc {
        font-size: var(--text-base);
        line-height: 1.65;
        max-width: 100%;
        margin-bottom: 1.75rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.25rem;
        font-size: var(--text-base);
    }

    .hero__trust {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero__trust-item {
        font-size: var(--text-xs);
    }

    .hero__dots {
        display: none;
    }

    /* Services */
    .services-preview__grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Why section */
    .why-section__intro {
        grid-template-columns: 1fr;
    }

    .why-section__img {
        display: none;
    }

    /* CTA Banner */
    .cta-banner__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

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

/* ─── MOBILE ──────────────────────────────── */
@media (max-width: 480px) {
    .hero {
        padding-top: 4.5rem;
        padding-bottom: 2rem;
    }

    .hero__heading {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .hero__desc {
        font-size: 0.9375rem;
    }

    .hero__buttons {
        max-width: 100%;
    }



    .services-preview__grid {
        grid-template-columns: 1fr;
    }

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