/* Divyansh homepage — Figma layout */
.home-page {
    --home-bg: #fafaf8;
    --home-green: #2f4f46;
    --home-green-dark: #093e34;
    --home-gold: #d8c7a3;
    --home-cream: #e8e2d6;
    --home-text: #222222;
    --home-muted: #6b7280;
    --home-container: var(--site-container, 1600px);
    background: var(--home-bg);
    color: var(--home-text);
    font-family: var(--font-body);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .home-display {
    font-family: var(--font-heading);
    font-weight: 400;
}

.home-section {
    padding: 96px 0;
}

.home-container {
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 0 32px;
}

.home-eyebrow {
    color: var(--home-green);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.home-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: var(--home-text);
    margin: 16px 0 0;
}

.home-divider {
    width: 40px;
    height: 1px;
    background: var(--home-green);
    margin: 32px 0;
}

.home-body {
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.625;
    margin-bottom: 20px;
}

.home-body:last-child {
    margin-bottom: 0;
}

/* Our Story */
.home-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.home-story-media {
    position: relative;
    background: transparent;
    min-height: 520px;
}

.home-story-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.home-story-accent {
    position: absolute;
    right: 32px;
    bottom: -32px;
    width: 112px;
    height: 112px;
    border: 1px solid var(--home-gold);
    background: transparent;
}

.home-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(34, 34, 34, 0.07);
}

.home-meta-label {
    color: var(--home-muted);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.home-meta-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--home-text);
}

/* Stats bar */
.home-stats-bar {
    background: var(--home-green-dark);
    padding: 56px 0;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.home-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 12px;
}

.home-stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

/* Featured projects */
.home-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 64px;
}

.home-view-all {
    color: var(--home-green);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-view-all:hover {
    color: var(--home-green-dark);
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.home-project-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-project-card {
    background: #fff;
    border: 1px solid rgba(34, 34, 34, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.home-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    color: inherit;
}

.home-project-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--home-green-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.home-project-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-project-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 8px;
}

.home-project-location {
    color: var(--home-muted);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-project-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(34, 34, 34, 0.07);
}

.home-project-desc {
    font-size: 13px;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.5;
    width: 100%;
}

.home-project-explore {
    color: var(--home-green);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-end;
    margin-top: auto;
}

/* Why choose */
.home-why {
    background: #fff;
}

.home-why-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.home-why-item {
    text-align: center;
}

.home-why-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--home-cream);
    color: var(--home-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.home-why-item h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.home-why-item p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Lifestyle gallery — desktop: all images, 3 per row; mobile: horizontal scroll */
.home-lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-lifestyle-item {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.home-lifestyle-item picture,
.home-lifestyle-item img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.home-lifestyle-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.92);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
}

/* Quality section */
.home-quality {
    background: #1a1a1a;
    color: #fff;
}

.home-quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.home-quality .home-eyebrow {
    color: var(--home-gold);
}

.home-quality .home-section-title {
    color: #fff;
}

.home-quality .home-body {
    color: rgba(255, 255, 255, 0.72);
}

.home-quality-list {
    margin-top: 32px;
}

.home-quality-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-quality-step:first-child {
    border-top: none;
    padding-top: 0;
}

.home-quality-num {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.home-quality-step h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
}

.home-quality-step p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.home-quality-media img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

/* Testimonials */
.home-testimonials {
    background: var(--home-bg);
}

.home-testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.home-testimonial-card {
    background: #fff;
    border: 1px solid rgba(34, 34, 34, 0.08);
    padding: 32px;
    height: 100%;
    text-align: left;
}

.home-testimonial-stars {
    color: var(--home-gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.home-testimonial-quote {
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 120px;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.home-testimonial-name {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.home-testimonial-meta {
    font-size: 13px;
    color: var(--home-muted);
    margin: 0;
}

#testimonial-slider .splide__pagination {
    bottom: -32px !important;
}

#testimonial-slider .splide__pagination__page.is-active {
    background: var(--home-green) !important;
}

/* Blog & press overrides on homepage */
.home-page .blog-section,
.home-page .press-section {
    background: #fff;
    padding: 96px 0;
}

.home-page .blog-section-header,
.home-page .press-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.home-page .blog-section-header h2,
.home-page .press-section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
}

.home-page .blog-section-header .home-eyebrow,
.home-page .press-section-header .home-eyebrow {
    display: block;
    margin-bottom: 8px;
}

.home-page .blog-view-all-btn,
.home-page .press-view-all-btn {
    background: var(--home-green-dark);
    border-color: var(--home-green-dark);
}

/* Get in Touch — Figma contact section */
.home-contact {
    background: #f5f0e8;
    padding: 144px 0;
}

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

.home-contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: var(--home-text);
    margin: 20px 0 0;
    font-weight: 400;
}

.home-contact-intro {
    margin-top: 32px;
    max-width: 576px;
}

.home-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.home-contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.home-contact-detail-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 79, 70, 0.2);
    color: var(--home-green);
    font-size: 15px;
}

.home-contact-detail-label {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-contact-detail-value {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--home-text);
    line-height: 1.5;
}

.home-contact-detail-value a {
    color: inherit;
    text-decoration: none;
}

.home-contact-detail-value a:hover {
    color: var(--home-green);
}

.home-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.home-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-family: var(--font-body);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.home-contact-btn:hover {
    opacity: 0.92;
    color: inherit;
}

.home-contact-btn-primary {
    background: var(--home-green);
    color: #fff;
    border: 1px solid var(--home-green);
}

.home-contact-btn-outline {
    background: transparent;
    color: var(--home-green);
    border: 1px solid var(--home-green);
}

.home-contact-map {
    margin-top: 40px;
    background: var(--home-cream);
    overflow: hidden;
    min-height: 324px;
}

.home-contact-map iframe {
    display: block;
    width: 100%;
    height: 324px;
    border: 0;
}

.home-contact-form-panel {
    background: #fff;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(34, 34, 34, 0.06);
}

.home-contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    color: var(--home-text);
}

.home-contact-form-sub {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--home-muted);
    line-height: 1.5;
}

.home-contact-alert {
    margin-top: 20px;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 2px;
}

.home-contact-alert-success {
    background: rgba(47, 79, 70, 0.08);
    color: var(--home-green-dark);
    border: 1px solid rgba(47, 79, 70, 0.2);
}

.home-contact-alert-error {
    background: rgba(220, 53, 69, 0.08);
    color: #842029;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.home-contact-form {
    margin-top: 32px;
}

.home-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-contact-field {
    margin-bottom: 20px;
}

.home-contact-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: var(--home-text);
}

.home-contact-field input,
.home-contact-field select,
.home-contact-field textarea {
    width: 100%;
    padding: 13px 17px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--home-text);
    background: var(--home-bg);
    border: 1px solid rgba(34, 34, 34, 0.14);
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-contact-field input::placeholder,
.home-contact-field textarea::placeholder {
    color: rgba(107, 114, 128, 0.6);
}

.home-contact-field input:focus,
.home-contact-field select:focus,
.home-contact-field textarea:focus {
    outline: none;
    border-color: var(--home-green);
    box-shadow: 0 0 0 3px rgba(47, 79, 70, 0.1);
    background: #fff;
}

.home-contact-field textarea {
    min-height: 106px;
    resize: vertical;
}

.home-contact-submit {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.025em;
    color: #fff;
    background: var(--home-green);
    border: 1px solid var(--home-green);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.home-contact-submit:hover {
    opacity: 0.92;
}

.home-contact-privacy {
    margin: 16px 0 0;
    font-size: 12px;
    color: var(--home-muted);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .home-contact {
        padding: 96px 0;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-contact-form-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .home-contact {
        padding: 64px 0;
    }

    .home-contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-contact-actions {
        flex-direction: column;
    }

    .home-contact-btn {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .home-section {
        padding: 64px 0;
    }

    .home-story-grid,
    .home-quality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-story-accent {
        display: none;
    }

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

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

    .home-project-grid-featured {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .home-projects-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .home-container {
        padding: 0 20px;
    }

    .home-project-grid,
    .home-why-grid,
    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .home-lifestyle-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-lifestyle-grid::-webkit-scrollbar {
        display: none;
    }

    .home-lifestyle-item {
        flex: 0 0 min(85vw, 320px);
        min-width: min(85vw, 320px);
        scroll-snap-align: start;
        min-height: 240px;
    }

    .home-lifestyle-item picture,
    .home-lifestyle-item img {
        min-height: 240px;
    }

    .home-project-grid-featured {
        grid-template-columns: 1fr;
    }

    .home-meta-grid {
        grid-template-columns: 1fr;
    }

    .home-project-body {
        padding: 20px;
    }

    .home-project-footer {
        gap: 12px;
        padding-top: 14px;
    }

    .home-project-explore {
        align-self: flex-end;
        padding-top: 4px;
    }
}
