/* ==========================================================
   Torrance Concrete Leveling - Contact page
   ========================================================== */

/* ---------- Hero ---------- */
.c-hero {
  position: relative; overflow: hidden; color: var(--white); text-align: center;
  padding: 64px 0 120px;
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 141, 255, .35) 0, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(26, 110, 230, .3) 0, transparent 40%),
    linear-gradient(160deg, #0b2a55 0%, #071d3d 100%);
}
.c-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 80px),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 80px);
}
.c-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.c-hero .breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .9rem; color: #b9c6da; margin-bottom: 14px; }
.c-hero .breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.c-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.08; margin-bottom: 16px; }
.c-hero__lead { font-size: 1.12rem; color: #dbe4f1; max-width: 640px; margin: 0 auto; }

/* ---------- Contact methods ---------- */
.c-methods { position: relative; z-index: 2; margin-top: -76px; }
.c-methods__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-method {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%;
  padding: 26px 22px; border-radius: 14px; background: var(--white); color: var(--navy-dark);
  box-shadow: 0 18px 40px rgba(7, 29, 61, .14); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.c-method:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(7, 29, 61, .2); }
.c-method__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: #e9f2fe; color: var(--blue); margin-bottom: 10px; }
.c-method__icon svg { width: 26px; height: 26px; }
.c-method__label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.c-method strong { font-family: var(--head); font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.c-method__hint { font-size: .88rem; color: var(--muted); }
.c-method--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.c-method--primary .c-method__icon { background: rgba(255, 255, 255, .18); color: var(--white); }
.c-method--primary .c-method__label, .c-method--primary .c-method__hint { color: #dbe8fd; }
.c-method--primary strong { font-size: 1.55rem; }
.c-method--email strong { font-size: 1.05rem; overflow-wrap: normal; }

/* ---------- Form + sidebar ---------- */
.c-main { padding: 64px 0 70px; }
.c-main__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
.c-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: 0 12px 34px rgba(7, 29, 61, .08); }
.c-form h2 { font-size: 1.9rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; }
.c-form__intro { color: var(--muted); margin-bottom: 22px; }
.c-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.c-field { display: flex; flex-direction: column; gap: 6px; }
.c-field--full { grid-column: 1 / -1; }
.c-field > span, .c-radios legend { font-weight: 700; font-size: .92rem; color: var(--navy-dark); }
.c-field input, .c-field select, .c-field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--text); background: #f8fafd;
  border: 1px solid #c9d2df; border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.c-field textarea { resize: vertical; min-height: 120px; }
.c-field select {
  appearance: none; padding-right: 36px;
  background: #f8fafd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c2430' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.c-field input:focus, .c-field select:focus, .c-field textarea:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 110, 230, .18); }
.c-field .is-invalid { border-color: #d93025; background: #fff5f4; }
.c-radios { border: 0; padding: 0; margin: 0; display: block; }
.c-radios__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.c-radios legend { margin-bottom: 8px; width: 100%; }
.c-radios label { white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #c9d2df; border-radius: 999px; cursor: pointer; font-size: .95rem; }
.c-radios label:has(input:checked) { border-color: var(--blue); background: #e9f2fe; color: var(--blue); font-weight: 500; }
.c-radios input { accent-color: var(--blue); }
.c-form__submit { width: 100%; margin-top: 22px; }
.c-form .form-message { margin-top: 12px; font-size: .95rem; text-align: center; min-height: 1.2em; }
.c-form .form-message.is-error { color: #d93025; }
.c-form .form-message.is-success { color: #137333; font-weight: 500; }
.c-form__photos { display: block; text-align: center; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.c-form__photos svg { display: inline-block; vertical-align: -3px; width: 18px; height: 18px; margin-right: 4px; color: var(--blue); }
.c-form__photos a { color: var(--blue); font-weight: 700; }

.c-side { display: grid; gap: 18px; position: sticky; top: 84px; }
.c-next { background: var(--navy-dark); color: #dbe4f1; border-radius: 16px; padding: 30px; }
.c-next h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 18px; }
.c-next ol { display: grid; gap: 0; }
.c-next li { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.c-next li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: rgba(255, 255, 255, .18); }
.c-next li > span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--head); font-weight: 800; }
.c-next h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 2px; }
.c-next p { font-size: .92rem; }
.c-trust { display: grid; gap: 10px; padding: 20px 22px; background: #f4f7fb; border-radius: 14px; }
.c-trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy-dark); }
.c-trust svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.c-calc { display: block; padding: 20px 22px; border-radius: 14px; border: 2px dashed #a9c6f2; background: #f5f9ff; }
.c-calc strong { display: block; font-family: var(--head); font-size: 1.15rem; color: var(--navy-dark); }
.c-calc span { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; margin-top: 4px; }
.c-calc:hover { border-color: var(--blue); }

/* ---------- Map ---------- */
.c-map { position: relative; height: 460px; background: #e3eaf3; }
.c-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-map__overlay { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.c-map__card { pointer-events: auto; width: 320px; background: var(--white); border-radius: 16px; padding: 26px; box-shadow: 0 20px 44px rgba(7, 29, 61, .22); }
.c-map__card h2 { font-size: 1.5rem; color: var(--navy-dark); margin-bottom: 14px; }
.c-map__card p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .95rem; overflow-wrap: anywhere; }
.c-map__card svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.c-map__card a:not(.btn) { color: var(--navy-dark); font-weight: 500; }
.c-map__card a:not(.btn):hover { color: var(--blue); }
.c-map__card .btn { margin-top: 6px; width: 100%; }

/* ---------- Service area + FAQ ---------- */
.c-bottom { padding: 70px 0; background: #f6f8fb; }
.c-bottom__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.c-bottom h2 { font-size: 1.9rem; color: var(--navy-dark); margin-bottom: 10px; }
.c-area p { color: var(--muted); margin-bottom: 18px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.c-chips li { padding: 9px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--navy-dark); font-size: .95rem; }
.c-chips li:first-child { background: var(--blue); border-color: var(--blue); color: var(--white); }
.c-faq { display: grid; gap: 10px; }
.cfaq { background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.cfaq[open] { border-color: var(--blue); }
.cfaq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; }
.cfaq summary::-webkit-details-marker { display: none; }
.cfaq summary h3 { font-size: 1.05rem; color: var(--navy-dark); }
.cfaq summary span { flex: none; position: relative; width: 22px; height: 22px; border-radius: 50%; background: #e9f2fe; }
.cfaq summary span::before, .cfaq summary span::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--blue); transition: transform .2s; }
.cfaq summary span::after { transform: rotate(90deg); }
.cfaq[open] summary span::after { transform: rotate(0); }
.cfaq p { padding: 0 18px 18px; color: var(--text); }
.cfaq p a { color: var(--blue); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .c-methods__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .c-main__inner, .c-bottom__inner { grid-template-columns: 1fr; }
  .c-side { position: static; }
  .c-map { height: auto; }
  .c-map iframe { position: static; height: 320px; display: block; }
  .c-map__overlay { display: block; padding-top: 20px; padding-bottom: 20px; }
  .c-map__card { width: auto; }
}
@media (max-width: 600px) {
  .c-hero { padding: 44px 0 100px; }
  .c-methods__grid, .c-form__grid { grid-template-columns: 1fr; }
  .c-form { padding: 24px 18px; }
  .c-next { padding: 24px; }
  .c-main, .c-bottom { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .c-method { transition: none; }
  .c-method:hover { transform: none; }
}
