/* =========================================================
   Long Beach Concrete Leveling - Contact Page
   ========================================================= */

.contact-hero { min-height: 470px; }
.contact-hero .hero-bleed img { object-position: center; }

/* ---------- Contact method cards ---------- */
.contact-methods { position: relative; z-index: 2; margin-top: -1px; padding: 40px 0 10px; }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 26px 24px; box-shadow: 0 8px 26px rgba(13,39,71,.08); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cm-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,39,71,.14); border-color: var(--orange); }
.cm-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 16px; }
.cm-ico .ico { width: 26px; height: 26px; }
.cm-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.cm-main { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.cm-main.cm-email { font-size: 15.5px; word-break: break-all; }
.cm-card p:not(.cm-main) { font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.cm-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--orange); }

/* ---------- Form + aside ---------- */
.contact-main { padding: 46px 0 60px; scroll-margin-top: 90px; }
.cmain-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.contact-page .contact-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: 12px; padding: 34px 34px 28px; box-shadow: 0 12px 34px rgba(13,39,71,.1); }
.contact-card h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.cc-sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf { display: block; margin-bottom: 16px; border: 0; padding: 0; }
.cf > span:first-child, .cf legend { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-card .field { margin-bottom: 0; padding: 0 14px; border-radius: 6px; background: #f8fafc; }
.contact-card .field .ico { width: 16px; height: 16px; color: #7b8794; }
.contact-card .field input, .contact-card .field select, .contact-card .field textarea { font-size: 15px; padding: 12px 0; }
.contact-card .field textarea { min-height: 110px; }
.contact-card .field:focus-within { background: #fff; }
.contact-card .field-textarea .ico { margin-top: 14px; }
.cf-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-radios legend { width: 100%; }
.cf-radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px; font-size: 14px; cursor: pointer; background: #f8fafc; transition: border-color .15s, background .15s; }
.cf-radios label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); color: var(--navy); font-weight: 600; }
.cf-radios input { accent-color: var(--orange); margin: 0; }
.contact-card .btn-block { margin-top: 6px; }
.contact-card .form-status { font-size: 14px; margin-top: 10px; }
.cf-privacy { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }

.contact-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 112px; }
.next-steps { background: var(--navy); color: #d3ddea; border-radius: 12px; padding: 28px; }
.next-steps h2 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.next-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px; background: rgba(255,255,255,.18); }
.next-steps li > span { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.next-steps h3 { color: #fff; font-size: 16px; font-weight: 700; margin: 2px 0 4px; }
.next-steps p { font-size: 14px; line-height: 1.55; }
.why-box, .follow-box { background: #f6f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.why-box h2, .follow-box h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.why-box li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.why-box .li-ico { color: var(--orange); }
.follow-box .socials { margin: 0; }
.follow-box .socials a { width: 40px; height: 40px; border-radius: 8px; }
.follow-box .socials svg { width: 22px; height: 22px; }

/* ---------- Map ---------- */
.contact-map { position: relative; height: 460px; background: #dfe7f0; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card-wrap { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; background: #fff; border-radius: 12px; padding: 26px 28px; max-width: 340px; box-shadow: 0 16px 40px rgba(13,39,71,.2); border-left: 5px solid var(--orange); }
.map-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.mc-line { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; margin-bottom: 10px; word-break: break-word; }
.mc-line .ico { width: 18px; height: 18px; color: var(--orange); margin-top: 2px; }
.mc-line a:hover { color: var(--orange); }
.map-card .btn { margin-top: 6px; }

/* ---------- Areas ---------- */
.contact-areas { padding: 54px 0 60px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--orange-soft) 100%); }
.contact-areas h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 8px; }
.contact-areas p { font-size: 16px; margin-bottom: 18px; }
.contact-areas .list-pills { justify-content: center; max-width: 860px; margin: 0 auto 18px; }
.ca-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cmain-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .next-steps { grid-row: span 2; }
}
@media (max-width: 960px) {
  .cm-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-map { height: auto; }
  .contact-map iframe { position: relative; height: 340px; display: block; }
  .map-card-wrap { display: block; height: auto; padding-top: 20px; padding-bottom: 20px; }
  .map-card { max-width: none; }
}
@media (max-width: 640px) {
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .contact-page .contact-card { padding: 24px 18px 20px; }
  .contact-card h2 { font-size: 24px; }
  .contact-aside { grid-template-columns: 1fr; }
  .next-steps { grid-row: auto; }
}
.cmain-grid > *, .cf-row > *, .contact-aside > * { min-width: 0; }
.contact-card .field select, .contact-card .field input, .contact-card .field textarea { width: 100%; min-width: 0; }
