/* Ready-Mix Concrete landing: banner + volume calculator / why-panel split.
   Additive only - no existing page loads this file. */

/* Page title for assistive tech: the banner art carries it visually. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.rmc-body {
  background: #f1f1ef url("../rmc-texture.png") repeat;
  padding: clamp(34px, 5vw, 62px) 0 clamp(48px, 7vw, 86px);
}

.rmc-body__shell {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.rmc-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 26px;
  align-items: start;
}

/* ---------- shared card ---------- */
.rmc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e6e4;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.07);
  padding: clamp(22px, 3vw, 34px);
}

.rmc-card h2 {
  margin: 0;
  color: #141C24;
  font-family: "Space Grotesk", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.rmc-card__rule {
  width: 62px;
  height: 3px;
  margin: 14px 0 22px;
  border-radius: 2px;
  background: #141C24;
}

/* ---------- volume calculator ---------- */
.calc-card__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 30px;
  align-items: start;
}

.calc-dims {
  margin: 0 0 12px;
  color: #3d434c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

.calc-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.calc-field label {
  color: #2f363e;
  font-size: 0.94rem;
  font-weight: 600;
}

.calc-field input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #dcdcda;
  border-radius: 8px;
  background: #fafafa;
  color: #141c24;
  font: 600 0.96rem Manrope, "Segoe UI", Arial, sans-serif;
  text-align: right;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.calc-field input:focus {
  background: #fff;
  border-color: #141C24;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.13);
}

.calc-actions {
  display: flex;
  justify-content: flex-end;
  margin: 18px 0;
}

.calc-btn {
  min-width: 168px;
  padding: 11px 30px;
  border: 0;
  border-radius: 30px;
  background: #141C24;
  color: #fff;
  font: 700 0.95rem Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease,
    background 0.18s ease;
}

.calc-btn:hover {
  background: #cf1b15;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(237, 28, 36, 0.28);
}

.calc-btn:focus-visible {
  outline: 3px solid rgba(237, 28, 36, 0.35);
  outline-offset: 2px;
}

.calc-field--result {
  padding: 14px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #f6d3d4;
  margin-bottom: 14px;
}

.calc-field--result label {
  color: #141C24;
  font-weight: 800;
}

.calc-field--result input {
  background: #fff;
  border-color: #f0bcbe;
  color: #141C24;
  font-weight: 800;
}

.calc-note {
  margin: 0;
  color: #3d434c;
  font-size: 0.83rem;
  font-weight: 600;
}

.calc-trucks {
  margin: 0 0 10px;
  min-height: 21px;
  color: #2f363e;
  font-size: 0.86rem;
  font-weight: 700;
}

.calc-trucks b {
  color: #141C24;
}

.calc-card__art {
  margin: 0;
}

.calc-card__art img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-inline: auto;
}

/* ---------- why panel ---------- */
.why-intro {
  margin: 0 0 24px;
  color: #4b525a;
  font-size: 0.97rem;
  line-height: 1.72;
}

.arrow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.arrow-list li {
  position: relative;
  padding: 11px 0 11px 34px;
  border-top: 1px solid #efefed;
  color: #2f363e;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
}

.arrow-list li:first-child {
  border-top: 0;
}

.arrow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 20px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 9'%3E%3Cpath d='M0 3.2h13.2V0L20 4.5 13.2 9V5.8H0z' fill='%23ed1c24'/%3E%3C/svg%3E")
    no-repeat center / contain;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arrow-list li:hover::before {
  transform: translateX(4px);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .rmc-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .calc-card__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .calc-card__art {
    order: -1;
  }

  .calc-dims {
    text-align: left;
  }

  .calc-field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .calc-field input {
    text-align: left;
  }

  .calc-actions {
    justify-content: stretch;
  }

  .calc-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calc-btn,
  .arrow-list li::before {
    transition: none;
  }
}
