.home-section {
    padding: clamp(1.8rem, 2.4vw + 1.4rem, 3rem) 0;
}

.home-section__header {
    text-align: center;
    margin-bottom: clamp(2rem, 3vw + 1.2rem, 2.8rem);
}

.home-section__header h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #122219;
    margin-bottom: 0.6rem;
}

.home-section__header p {
    font-size: 1.05rem;
    color: #526257;
    margin: 0 auto;
    max-width: 640px;
    line-height: 1.6;
}

.home-section__footer {
    margin-top: clamp(1.5rem, 2vw + 1rem, 2.2rem);
    text-align: right;
}

.home-section__footer .home-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.home-btn,
.home-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.home-btn--primary {
    background: #62d487;
    color: #0f2a1b;
    border: 1px solid #62d487;
    box-shadow: 0 18px 42px rgba(11, 87, 45, 0.18);
}

.home-btn--primary:hover,
.home-btn--primary:focus-visible {
    background: #3cb371;
    border-color: #3cb371;
    color: #ffffff;
}

.home-btn--secondary {
    background: #ffffff;
    border: 1px solid #dbe8e0;
    color: #233328;
}

.home-btn--secondary:hover,
.home-btn--secondary:focus-visible {
    border-color: #62d487;
    color: #1f7b4d;
}

.home-btn-link {
    color: #1f7b4d;
    border: 1px solid transparent;
}

.home-btn-link:hover,
.home-btn-link:focus-visible {
    color: #145238;
    border-color: #a9d7bb;
}

.home-samples-grid {
    display: grid;
    gap: clamp(1.25rem, 2vw + 1rem, 1.8rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.home-sample-card {
    background: #ffffff;
    border: 1px solid #dbe8e0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(18, 52, 37, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-sample-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(18, 52, 37, 0.12);
}

.home-sample-card__cover img {
    display: block;
    width: 100%;
    height: auto;
}

.home-sample-card__body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.home-sample-card__body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c2f24;
    margin: 0;
}

.home-sample-card__description {
    margin: 0;
    color: #516157;
    line-height: 1.5;
    font-size: 0.98rem;
}

.home-sample-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #3e5248;
}

.home-sample-card__cta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.home-card {
    background: #ffffff;
    border: 1px solid #dbe8e0;
    border-radius: 22px;
    padding: clamp(1.6rem, 2vw + 1.2rem, 2.4rem);
    box-shadow: 0 20px 40px rgba(15, 42, 27, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-allergens__header h2 {
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #13251b;
}

.home-allergens__header p {
    margin: 0;
    color: #546358;
    font-size: 1.02rem;
}

.home-allergens__list {
    margin: 0;
    padding-left: 1.2rem;
    color: #445449;
    line-height: 1.6;
    font-size: 0.98rem;
}

.home-allergens__list li + li {
    margin-top: 0.5rem;
}

.home-allergens__chips {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #ecf8f0;
    border: 1px solid #cde8d4;
    color: #1f7b4d;
    font-size: 0.82rem;
    font-weight: 600;
}

.home-estimator {
    gap: 1.5rem;
}

.home-estimator__intro h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #122219;
}

.home-estimator__intro p {
    margin: 0;
    color: #506056;
    font-size: 1rem;
    line-height: 1.6;
}

.home-estimator__form {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.home-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.home-field__label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5b6b61;
}

.home-field input {
    border: 1px solid #dbe8e0;
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.home-field input:focus {
    outline: none;
    border-color: #62d487;
    box-shadow: 0 0 0 3px rgba(98, 212, 135, 0.25);
}

.home-estimator__results {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.home-estimator__kpi {
    background: #f4fbf7;
    border: 1px solid #cfe8d7;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.home-estimator__kpi-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4f6457;
    font-weight: 600;
}

.home-estimator__kpi-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #123021;
}

.home-estimator__live {
    margin: 0;
    font-size: 0.85rem;
    color: #4a5b51;
}

.home-faq h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #122219;
}

.home-faq__items {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.home-faq__item + .home-faq__item {
    border-top: 1px solid #dbe8e0;
}

.home-faq__btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: none;
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1d3124;
    cursor: pointer;
    text-align: left;
}

.home-faq__icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.home-faq__btn[aria-expanded="true"] .home-faq__icon {
    transform: rotate(45deg);
}

.home-faq__panel {
    font-size: 0.95rem;
    color: #4d5f54;
    line-height: 1.6;
    padding-bottom: 1rem;
}

.home-cta {
    background: linear-gradient(135deg, rgba(80, 189, 129, 0.12) 0%, rgba(124, 199, 255, 0.18) 100%);
}

.home-cta__inner {
    background: #132d20;
    border: 1px solid rgba(70, 180, 122, 0.45);
    border-radius: 24px;
    padding: clamp(1.6rem, 2vw + 1.2rem, 2.3rem) clamp(1.4rem, 2vw + 1rem, 2.4rem);
    box-shadow: 0 22px 46px rgba(10, 38, 24, 0.32);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: #e9fff4;
    max-width: clamp(22rem, 32vw + 12rem, 42rem);
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.home-cta__inner h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 800;
}

.home-cta__inner p {
    margin: 0;
    font-size: 1rem;
    color: rgba(233, 255, 244, 0.82);
}

.home-cta__inner .home-btn {
    align-self: center;
}

@media (max-width: 768px) {
    .home-section {
        padding: 2.2rem 0;
    }

    .home-section__header p {
        font-size: 0.98rem;
    }

    .home-sample-card__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .home-cta__inner .home-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-btn,
    .home-btn-link,
    .home-sample-card,
    .home-faq__icon {
        transition: none;
    }
}

