/* ==========================================================
   BVC Bikes – rental and contact pages
   ========================================================== */

.info-page { padding-top: var(--header-h); background: var(--bg); }

.info-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(39, 174, 96, 0.34), transparent 42%),
    var(--green-900);
  border-bottom: 4px solid var(--green-500);
}

.info-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 24px;
}

.info-hero-compact .info-hero-inner { padding-block: clamp(42px, 6vw, 68px); }
.info-hero .eyebrow { margin-bottom: 10px; }
.info-hero h1 { max-width: 760px; font-size: clamp(2.3rem, 6vw, 4.4rem); }
.info-hero p { max-width: 660px; margin-top: 16px; color: #e1ebe5; font-size: clamp(1rem, 2vw, 1.15rem); }

.info-hero-actions,
.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.info-btn-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}
.info-btn-light:hover { color: var(--green-900); background: #fff; border-color: #fff; }

.info-section {
  padding: clamp(58px, 8vw, 92px) 20px;
  background: var(--bg);
}
.info-section-mint { background: var(--mint); }

.info-section-head {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}
.info-section-head .eyebrow { margin-bottom: 9px; }
.info-section-head h2,
.rental-process h2 { color: var(--green-900); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.info-section-head p,
.rental-process-copy > p { margin-top: 12px; color: var(--muted); }

/* ---------- Rental ---------- */
.rental-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

.rental-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e2e9e4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rental-card.featured { border: 2px solid var(--green-500); }
.rental-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-500);
  border-radius: 999px;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: var(--green-500);
  background: var(--mint);
  border-radius: 14px;
}
.info-icon .icon { width: 30px; height: 30px; }
.rental-type { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-500); }
.rental-card h3 { margin-top: 6px; color: var(--green-900); font-size: 1.35rem; }
.rental-card > p { margin-top: 10px; color: var(--muted); }
.rental-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 24px; }
.rental-price strong { color: var(--green-900); font-size: 2.4rem; line-height: 1; }
.rental-price span { color: var(--muted); font-weight: 600; }

.rental-process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 800;
  color: var(--green-700);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 18px; height: 18px; }

.rental-steps { display: grid; gap: 14px; list-style: none; }
.rental-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid #dfe8e1;
  border-radius: 14px;
}
.rental-steps li > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  font-weight: 800;
  color: #fff;
  background: var(--green-500);
  border-radius: 50%;
}
.rental-steps strong { color: var(--green-900); }
.rental-steps p { margin-top: 3px; color: var(--muted); font-size: 0.92rem; }

.info-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1120px;
  margin: 60px auto;
  padding: 38px 42px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
}
.info-cta .eyebrow { margin-bottom: 5px; }
.info-cta h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.info-cta p { margin-top: 8px; color: #dfeae3; }
.info-cta-actions { flex: 0 0 auto; margin-top: 0; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px;
  align-items: start;
}

.contact-form-card,
.contact-details-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form-card { background: #fff; }
.contact-details-card { color: #fff; background: var(--green-900); }
.contact-form-card .eyebrow,
.contact-details-card .eyebrow { margin-bottom: 7px; }
.contact-form-card h2,
.contact-details-card h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
.contact-form-card h2 { color: var(--green-900); }
.contact-intro { margin-top: 8px; color: var(--muted); }

#contact-form { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 700; color: var(--green-900); }
.form-field label span { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 2px solid #dfe6e1;
  border-radius: 10px;
  transition: border-color 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--green-500); }
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #b42318; }

.form-submit-row { display: flex; align-items: center; gap: 18px; }
.form-submit-row .btn { flex: 0 0 auto; }
.form-note { color: var(--muted); font-size: 0.82rem; }
.form-note a { color: var(--green-700); font-weight: 700; }
.form-status { min-height: 24px; margin-top: 14px; font-weight: 700; }
.form-status.success { color: #137333; }
.form-status.error { color: #b42318; }
#contact-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

.contact-list { display: grid; gap: 20px; margin-top: 28px; list-style: none; }
.contact-list li { display: flex; gap: 13px; }
.contact-list-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--green-400);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.contact-list-icon .icon { width: 20px; height: 20px; }
.contact-list strong { display: block; margin-bottom: 2px; color: #fff; }
.contact-list a { color: #dfeae3; text-decoration: none; }
.contact-list a:hover { color: var(--green-400); text-decoration: underline; }

.contact-hours { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact-hours h3 { margin-bottom: 12px; color: var(--green-400); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-hours dl { display: grid; gap: 5px; }
.contact-hours dl div { display: flex; justify-content: space-between; gap: 18px; font-size: 0.88rem; }
.contact-hours dt { color: #dfeae3; }
.contact-hours dd { color: #fff; font-weight: 600; }
.contact-vat { margin-top: 22px; color: #9db8a8; font-size: 0.8rem; }

.contact-map {
  max-width: 1140px;
  height: 390px;
  margin: 0 auto 60px;
  overflow: hidden;
  background: #dfe6e1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Repairs ---------- */
.repair-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 76px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 100px) 20px;
}

.repair-photo {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: var(--mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.repair-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  pointer-events: none;
}
.repair-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }

.repair-intro-copy h2,
.repair-types-wrap h2 { color: var(--green-900); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.repair-intro-copy > p,
.repair-types-wrap > div > p { margin-top: 14px; color: var(--muted); }

.repair-points { display: grid; gap: 10px; margin-top: 24px; list-style: none; }
.repair-points li { position: relative; padding-left: 31px; color: var(--text); font-weight: 600; }
.repair-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  background: var(--green-500)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  border-radius: 50%;
}

.repair-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.repair-service-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe8e1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.repair-service-card h3 { color: var(--green-900); font-size: 1.2rem; }
.repair-service-card p { margin-top: 8px; color: var(--muted); }

.repair-types-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 78px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.repair-types { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.repair-types li {
  padding: 10px 15px;
  font-weight: 700;
  color: var(--green-900);
  background: var(--mint);
  border: 1px solid rgba(39, 174, 96, 0.28);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .rental-process,
  .contact-layout,
  .repair-intro,
  .repair-types-wrap { grid-template-columns: 1fr; }
  .contact-details-card { order: -1; }
  .info-cta { margin: 40px 20px; }
  .repair-photo { min-height: 350px; }
  .repair-photo img { min-height: 350px; }
}

@media (max-width: 650px) {
  .rental-grid,
  .form-row { grid-template-columns: 1fr; }
  .repair-services { grid-template-columns: 1fr; }
  .rental-card { min-height: 310px; }
  .info-cta { align-items: stretch; flex-direction: column; padding: 28px 24px; }
  .info-cta-actions { flex-direction: column; }
  .info-cta-actions .btn { width: 100%; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row .btn { width: 100%; }
  .contact-map { height: 320px; margin: 0 16px 44px; border-radius: 12px; }
}

@media (max-width: 480px) {
  .info-hero-inner { padding-inline: 20px; }
  .info-hero-actions { flex-direction: column; }
  .info-hero-actions .btn { width: 100%; }
  .contact-layout { padding: 28px 16px; }
  .contact-form-card,
  .contact-details-card { padding: 24px 20px; }
  .repair-photo,
  .repair-photo img { min-height: 270px; }
}
