/* ==========================================================
   Pomona Concrete Leveling – Contact Page
   (uses the diagonal hero from service.css)
   ========================================================== */

.contact-hero { padding-bottom: 130px; }

/* ---------- Contact method cards (overlap the hero) ---------- */
.ct-methods { position: relative; z-index: 2; margin-top: -90px; }
.ct-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-method {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: #fff; border-radius: 14px; padding: 26px 24px 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.14); border-bottom: 5px solid var(--green-600);
  transition: transform .2s, box-shadow .2s;
}
.ct-method:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,.18); border-bottom-color: var(--orange); }
.ct-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--green-800); display: grid; place-items: center; margin-bottom: 10px; }
.ct-ico .ico { width: 26px; height: 26px; color: #fff; }
.ct-method h2 { font-family: var(--f-cond); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ct-big { font-family: var(--f-slab); font-weight: 800; font-size: 25px; color: var(--green-900); line-height: 1.2; }
.ct-email { font-size: 18px; word-break: break-word; }
.ct-method p:not(.ct-big) { font-size: 15px; color: var(--text); }
.ct-link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-dark); font-size: 15px; }
.ct-link .ico { width: 16px; height: 16px; }

/* ---------- Form + sidebar ---------- */
.ct-main { padding: 60px 0 70px; }
.ct-main-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ct-form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 34px 28px; box-shadow: 0 8px 26px rgba(0,0,0,.06); border-top: 6px solid var(--orange); }
.ct-form-card h2 { font-family: var(--f-slab); font-size: clamp(26px, 2.4vw, 32px); color: var(--green-900); }
.ct-form-intro { color: var(--muted); margin: 6px 0 22px; }
.ct-form { gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field label, .ct-radios legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.ct-form input[type=text], .ct-form input[type=tel], .ct-form input[type=email], .ct-form select, .ct-form textarea {
  font-size: 15.5px; padding: 12px 14px; border: 1.5px solid #cfd6d2; border-radius: 8px; background: #fbfcfb;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(29,122,65,.15); }
.ct-radios { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 10px; }
.ct-radios legend { width: 100%; margin-bottom: 6px; }
.ct-radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; border: 1.5px solid #cfd6d2; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.ct-radios label:has(input:checked) { border-color: var(--green-600); background: #eaf5ee; color: var(--green-800); }
.ct-radios input { accent-color: var(--green-600); width: auto; margin: 0; padding: 0; }
.ct-form .btn-block { margin-top: 6px; font-size: 19px; }

.ct-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 120px; }
.ct-next { background: var(--green-900); color: #fff; border-radius: 14px; padding: 26px; }
.ct-next h2 { font-family: var(--f-slab); font-size: 23px; margin-bottom: 16px; }
.ct-next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ct-next li { display: flex; gap: 14px; align-items: flex-start; }
.ct-next li > span { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-family: var(--f-slab); font-weight: 800; }
.ct-next h3 { font-family: var(--f-cond); font-size: 18px; }
.ct-next p { font-size: 14.5px; color: #c9dbd0; margin-top: 2px; }
.ct-trust { background: var(--bg-soft); border-radius: 14px; padding: 8px 22px; }
.ct-trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-trust > div:last-child { border-bottom: 0; }
.ct-trust .ico { width: 24px; height: 24px; color: var(--green-600); flex-shrink: 0; }
.ct-trust b { display: block; color: var(--ink); font-size: 15.5px; }
.ct-trust span { font-size: 14px; color: var(--muted); }
.ct-callbox { background: linear-gradient(140deg, #e65a0e, #f7852c); color: #fff; border-radius: 14px; padding: 22px; text-align: center; }
.ct-callbox p { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.ct-callbox .btn { font-size: 20px; }

/* ---------- Map ---------- */
.ct-map-sec { padding: 60px 0 64px; background: var(--bg-soft); }
.ct-map-wrap { position: relative; border-radius: 16px; overflow: hidden; min-height: 440px; background: #dfe5e1; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.ct-map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-map-card { position: absolute; top: 24px; right: 24px; width: 280px; background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 10px; }
.ct-map-card h3 { font-family: var(--f-slab); font-size: 20px; color: var(--green-900); }
.ct-map-card p { font-size: 15px; color: var(--text); }
.ct-map-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--ink); }
.ct-map-phone .ico { color: var(--orange); width: 20px; height: 20px; }
.ct-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.ct-chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 15px; color: var(--ink); }
.ct-chips .ico { width: 16px; height: 16px; color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .contact-hero { padding-bottom: 110px !important; }
  .ct-methods-grid { grid-template-columns: 1fr; }
  .ct-main-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; }
  .ct-map-card { position: relative; top: auto; right: auto; width: auto; border-radius: 0; box-shadow: none; }
  .ct-map-wrap { min-height: 0; display: flex; flex-direction: column; }
  .ct-map-wrap iframe { position: static; height: 320px; }
}
@media (max-width: 640px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-form-card { padding: 24px 18px; }
  .ct-methods { margin-top: -70px; }
}
