/* Add this to the end of assets/css/style.css */

.page-hero {
    min-height: 68vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,13,8,0.88), rgba(8,13,8,0.54), rgba(8,13,8,0.25));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
    max-width: 900px;
    letter-spacing: -0.05em;
    margin-bottom: 1.2rem;
}

.page-hero-content p {
    max-width: 760px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    opacity: 0.92;
}

.page-hero-pellets {
    background-image: url('/assets/img/hero/hero-placeholder.jpg');
}

.page-hero-briquettes {
    background-image: url('/assets/img/products/briquettes-boiler.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.page-hero-stoves {
    background-image: url('/assets/img/stoves/pellet-stove.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.page-hero-institutional {
    background-image: url('/assets/img/factory/institutional-cooking.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.page-hero-impact {
    background-image: url('/assets/img/impact/forest-impact.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.page-hero-about {
    background-image: url('/assets/img/factory/factory01.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.page-hero-contact {
    background-image: url('/assets/img/factory/contact-bg.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

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

.content-image {
    min-height: 430px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
    background-color: #d8d2c7;
}

.pellets-product-image {
    background-image: url('/assets/img/products/pellets-bags.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.briquettes-product-image {
    background-image: url('/assets/img/products/briquettes-stack.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.factory-team-image {
    background-image: url('/assets/img/factory/factory-team.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}

.info-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.info-card {
    background: var(--cream);
    padding: 1.7rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    margin-bottom: 0.5rem;
    color: var(--green-dark);
}

.info-card p {
    color: var(--muted);
}

.light-cards div {
    background: var(--cream);
    color: var(--dark);
    border: 1px solid var(--line);
}

.light-cards p {
    color: var(--muted);
}

.dark-list span {
    background: var(--green-dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-card h2 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.error-page {
    padding-top: 10rem;
    min-height: 70vh;
}

.error-page h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

@media (max-width: 900px) {
    .info-grid,
    .info-grid.four,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 58vh;
    }

    .page-hero-overlay {
        background: rgba(8,13,8,0.76);
    }
}

.two-card-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.values-section {
    max-width: 1100px;
    margin: 0 auto;
}

.values-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.value-item h3 {
    margin-bottom: 0.6rem;
}

.value-subtitle {
    font-style: italic;
    color: #777;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {

    .two-card-grid,
    .values-list {
        grid-template-columns: 1fr;
    }
}