.materials-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 46px 0 64px;
    overflow: hidden;
    color: #fff;
    background-color: #102438;
    background-image: linear-gradient(270deg, rgba(9, 25, 39, .86), rgba(13, 35, 52, .58)), url('crusher-site.jpg');
    background-position: center 55%;
    background-size: cover;
}

.materials-hero::after {
    position: absolute;
    content: '';
    inset-inline-start: 0;
    bottom: 0;
    width: min(34vw, 410px);
    height: 6px;
    background: var(--accent-yellow);
}

.materials-hero-content { position: relative; z-index: 1; }
.materials-hero .breadcrumbs { color: rgba(255,255,255,.74); margin-bottom: 48px; }
.materials-hero .breadcrumbs a:hover, .materials-hero .breadcrumbs span { color: #f5b53a; }
.materials-hero .breadcrumbs i { color: rgba(255,255,255,.58); }
.materials-eyebrow { margin: 0 0 8px; color: var(--accent-yellow); font-size: .9rem; font-weight: 800; }
.materials-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.3; }
.materials-lead { max-width: 700px; margin-bottom: 24px; color: rgba(255,255,255,.88); font-size: 1.08rem; line-height: 1.9; }
.materials-hero-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; color: #fff; background: var(--accent-yellow); font-weight: 800; }
.materials-hero-cta:hover { color: #fff; background: var(--accent-yellow-hover); transform: translateY(-2px); }

.materials-products { padding: 76px 0 84px; background: #f4f5f5; }
.materials-section-heading { margin-bottom: 30px; text-align: center; }
.materials-section-heading .materials-eyebrow { margin-bottom: 2px; }
.materials-section-heading h2 { color: var(--primary-blue); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.materials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.material-card { overflow: hidden; background: #fff; box-shadow: 0 14px 36px rgba(16,36,56,.08); }
.material-image { position: relative; height: 230px; overflow: hidden; background: #e9e7df; }
.material-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.material-card:hover .material-image img { transform: scale(1.04); }
.material-number { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--primary-blue-dark); font-weight: 800; }
.material-card-content { display: flex; min-height: 205px; flex-direction: column; padding: 20px 23px 22px; }
.material-card-content h3 { margin: 0 0 7px; color: var(--primary-blue-dark); font-size: 1.35rem; }
.material-card-content p { margin: 0 0 18px; color: var(--text-muted); line-height: 1.8; }
.material-select-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding: 10px 14px; color: #fff; background: var(--primary-blue-dark); border: 1px solid var(--accent-yellow); font: inherit; font-weight: 800; cursor: pointer; transition: var(--transition); }
.material-select-btn i { color: #f3bd37; }
.material-select-btn:hover { background: var(--accent-yellow); }
.material-select-btn:hover i { color: #fff; }

.materials-order-section { padding: 86px 0 100px; background: #fff; }
.materials-order-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.8fr); gap: 34px; align-items: start; }
.materials-benefits { padding: 30px 27px; color: #fff; background: linear-gradient(145deg, #102438, #1d3f5a); }
.materials-benefits h2 { margin: 0 0 25px; color: #fff; font-size: 1.6rem; line-height: 1.5; }
.materials-benefits ul { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.materials-benefits li { display: flex; align-items: center; gap: 12px; line-height: 1.7; }
.materials-benefits li i { flex: 0 0 22px; color: #f3bd37; font-size: 1.05rem; text-align: center; }
.materials-benefits-note { margin: 26px 0 0; padding-top: 20px; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.17); line-height: 1.8; }
.materials-form-card { padding: clamp(23px, 4vw, 42px); background: #fbf7e8; border: 1px solid #eee7ce; box-shadow: 0 15px 40px rgba(16,36,56,.07); }
.materials-form-heading { margin-bottom: 25px; }
.materials-form-heading h2 { margin: 0 0 4px; color: var(--primary-blue-dark); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.materials-form-heading > p:last-child { margin: 0; color: var(--text-muted); line-height: 1.7; }
.materials-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.materials-form-card .form-group { margin-bottom: 15px; }
.materials-form-card .form-group label { margin-bottom: 6px; }
.materials-form-card .form-control { min-height: 46px; background: #fff; }
.materials-form-card select.form-control { cursor: pointer; }
.materials-form-card textarea.form-control { min-height: 90px; resize: vertical; }
.order-items-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 10px; padding-top: 15px; border-top: 1px solid #e8e0c8; }
.order-items-heading h3 { margin: 0; color: var(--primary-blue-dark); font-size: 1.08rem; }
.order-items-heading > span { color: var(--text-muted); font-size: .88rem; }
.material-order-items { display: grid; gap: 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.material-order-row { min-width: 0; }
.materials-notes-group { margin-top: 5px; }
.materials-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border-radius: 3px; }
.materials-submit i { font-size: 1.2rem; }
.materials-form-card .form-status { min-height: 1.4em; margin-bottom: 0; }
.materials-footer { padding: 26px 0; }
.materials-footer .rental-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.materials-footer .logo-image { width: 190px; height: 52px; }
.materials-footer p { max-width: 520px; margin: 0; color: #c0c8ce; }
.materials-footer .footer-phone { color: #fff; font-weight: 700; }

html[dir="ltr"] .materials-hero { background-image: linear-gradient(90deg, rgba(9, 25, 39, .86), rgba(13, 35, 52, .58)), url('crusher-site.jpg'); }
@media (max-width: 900px) {
    .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .material-card:last-child { grid-column: 1 / -1; width: min(100%, 520px); justify-self: center; }
    .materials-order-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .materials-hero { min-height: 390px; padding: 34px 0 52px; }
    .materials-hero .breadcrumbs { margin-bottom: 35px; }
    .materials-products { padding: 58px 0 64px; }
    .materials-grid { grid-template-columns: 1fr; }
    .material-card:last-child { grid-column: auto; width: 100%; }
    .material-image { height: 220px; }
    .materials-order-section { padding: 62px 0 74px; }
    .materials-form-grid, .material-order-items { grid-template-columns: 1fr; }
    .materials-footer .rental-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .material-image img { transition: none; }
}
