/* LAW FM 103.9: Contact page
   Flat: hairline edges and soft tints, no drop shadows. Light and dark mode. */

.contact-v2 { --ct-navy: var(--primary, #31335f); --ct-red: var(--accent, #a03234); --ct-ink: #1d1f33; --ct-text: #4a4d5e; --ct-line: rgba(49, 51, 95, .12); --ct-tint: #f5f5f9; background: #fff; }
.contact-v2 .footer { margin-top: 0; }

/* Top */
.ct-hero { background: var(--ct-navy); color: #fff; padding: 72px 0 64px; }
.ct-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.ct-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f2b8b9; margin-bottom: 14px; }
.ct-eyebrow--red { color: var(--ct-red); }
.contact-v2 .ct-hero__title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin: 0 0 16px; }
.ct-hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .84); margin: 0; max-width: 560px; }
.ct-quick { display: flex; flex-direction: column; gap: 10px; }
.ct-quick__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.ct-quick__item:hover, .ct-quick__item:focus-visible { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.ct-quick__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-size: 17px; }
.ct-quick__item small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.ct-quick__item strong { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }

/* Main */
.ct-main { padding: 64px 0 40px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ct-card { background: #fff; border: 1px solid var(--ct-line); border-radius: 22px; }
.ct-form-card { padding: 32px; }
.contact-v2 .ct-h2 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 26px; color: var(--ct-ink); margin: 0 0 4px; letter-spacing: -.01em; }
.contact-v2 .ct-h2--big { font-size: clamp(30px, 3vw, 40px); margin-bottom: 10px; }
.contact-v2 .ct-sub { font-size: 15px; color: var(--ct-text); margin: 0 0 22px; line-height: 1.6; }
.ct-sub a { color: var(--ct-red); font-weight: 600; }

.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { font-size: 14px; font-weight: 600; color: var(--ct-ink); }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(49, 51, 95, .2); background: #fff; color: var(--ct-ink); font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.ct-field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.ct-field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2331335f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #8a8c9c; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--ct-navy); box-shadow: 0 0 0 3px rgba(49, 51, 95, .14); }
.ct-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ct-text); cursor: pointer; }
.ct-check input { width: 20px; height: 20px; accent-color: var(--ct-navy); flex: none; }
.ct-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 24px; }
.ct-note { font-size: 14px; color: #6b6d7a; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.ct-btn--red { background: var(--ct-red); color: #fff; }
.ct-btn--red:hover { background: #8a2629; }
.ct-btn:active { transform: scale(.98); }
.ct-btn[disabled] { opacity: .7; cursor: progress; }
.ct-form-card .lfm-form-msg, .ct-form-card .form-response { border-radius: 12px; }

/* Details column */
.ct-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.ct-list { padding: 8px 24px; }
.ct-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
.ct-row + .ct-row { border-top: 1px solid var(--ct-line); }
.ct-row__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(160, 50, 52, .08); color: var(--ct-red); font-size: 16px; }
.ct-row__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b6d7a; margin-bottom: 4px; }
.ct-row__value { display: block; font-size: 15px; line-height: 1.6; color: var(--ct-ink); overflow-wrap: anywhere; }
.ct-row__value a { color: var(--ct-navy); font-weight: 600; text-decoration: none; }
.ct-row__value a:hover { color: var(--ct-red); text-decoration: underline; }
.ct-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ct-red); text-decoration: none; }
.ct-link:hover { text-decoration: underline; color: var(--ct-red); }
.ct-hours { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 1.75; color: var(--ct-ink); }
.ct-hours span:last-child { color: var(--ct-text); }
.ct-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ct-navy); background: var(--ct-tint); border-radius: 999px; padding: 6px 12px; }
.ct-live__dot { width: 7px; height: 7px; border-radius: 50%; background: #e0464a; }
.ct-social { padding: 18px 24px; }
.ct-social__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ct-social__links a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--ct-line); color: var(--ct-navy); text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ct-social__links a:hover { background: var(--ct-navy); border-color: var(--ct-navy); color: #fff; }
.ct-ad { display: block; padding: 20px 24px; background: rgba(160, 50, 52, .05); border-color: rgba(160, 50, 52, .18); text-decoration: none; color: var(--ct-ink); }
.ct-ad strong { display: block; font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--ct-ink); }
.ct-ad:hover strong { color: var(--ct-red); }

/* Map */
.ct-map-wrap { padding: 24px 0 8px; }
.ct-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--ct-line); background: var(--ct-tint); line-height: 0; }
.ct-map iframe { display: block; width: 100%; height: 420px; }

/* Questions */
.ct-faq { padding: 72px 0 88px; }
.ct-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.ct-faq__list { border-top: 1px solid var(--ct-line); }
.ct-q { border-bottom: 1px solid var(--ct-line); }
.ct-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--ct-ink); }
.ct-q summary::-webkit-details-marker { display: none; }
.ct-q summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ct-navy); border-bottom: 2px solid var(--ct-navy); transform: rotate(45deg) translateY(-4px); transition: transform .2s ease; }
.ct-q[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.ct-q summary:focus-visible { outline: 2px solid var(--ct-navy); outline-offset: 4px; border-radius: 6px; }
.ct-q p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--ct-text); max-width: 680px; }
.ct-q p a { color: var(--ct-red); font-weight: 600; }

/* Sizes */
@media (max-width: 991px) {
  .ct-hero { padding: 56px 0 48px; }
  .ct-hero__grid, .ct-grid, .ct-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ct-side { position: static; }
  .ct-faq { padding: 56px 0 64px; }
}
@media (max-width: 575px) {
  .ct-hero__lead { font-size: 16px; }
  .ct-form-card { padding: 22px 18px; }
  .ct-fields { grid-template-columns: minmax(0, 1fr); }
  .ct-list { padding: 4px 18px; }
  .ct-social, .ct-ad { padding: 18px; }
  .ct-btn { width: 100%; }
  .ct-map iframe { height: 320px; }
  .ct-q summary { font-size: 16px; }
}

/* Dark mode */
body.dark-mode.contact-v2 { background: var(--dark-bg); }
body.dark-mode .ct-hero { background: var(--dark-raised, #242944); }
body.dark-mode .ct-card { background: var(--dark-surface, #1c2036); border-color: rgba(255, 255, 255, .1); }
body.dark-mode .ct-h2, body.dark-mode .ct-field label, body.dark-mode .ct-row__value, body.dark-mode .ct-hours, body.dark-mode .ct-q summary, body.dark-mode .ct-ad strong { color: #fff; }
body.dark-mode .ct-sub, body.dark-mode .ct-check, body.dark-mode .ct-q p, body.dark-mode .ct-hours span:last-child, body.dark-mode .ct-note, body.dark-mode .ct-row__label { color: #c3c6da; }
body.dark-mode .ct-field input, body.dark-mode .ct-field select, body.dark-mode .ct-field textarea { background-color: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .18); color: #fff; }
body.dark-mode .ct-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.dark-mode .ct-field select option { background: #242944; color: #fff; }
body.dark-mode .ct-field input::placeholder, body.dark-mode .ct-field textarea::placeholder { color: #9a9db3; }
body.dark-mode .ct-field input:focus, body.dark-mode .ct-field select:focus, body.dark-mode .ct-field textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
body.dark-mode .ct-row + .ct-row, body.dark-mode .ct-faq__list, body.dark-mode .ct-q, body.dark-mode .ct-map { border-color: rgba(255, 255, 255, .1); }
body.dark-mode .ct-row__icon { background: rgba(242, 184, 185, .1); color: #f2b8b9; }
body.dark-mode .ct-row__value a, body.dark-mode .ct-live { color: #fff; }
body.dark-mode .ct-live { background: rgba(255, 255, 255, .06); }
body.dark-mode .ct-link, body.dark-mode .ct-sub a, body.dark-mode .ct-q p a, body.dark-mode .ct-eyebrow--red { color: #f2b8b9; }
body.dark-mode .ct-social__links a { border-color: rgba(255, 255, 255, .14); color: #fff; }
body.dark-mode .ct-social__links a:hover { background: #fff; color: var(--ct-navy); }
body.dark-mode .ct-ad { background: rgba(160, 50, 52, .12); border-color: rgba(242, 184, 185, .2); }
body.dark-mode .ct-q summary::after { border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .ct-q summary::after, .ct-btn, .ct-quick__item { transition: none; } }
.ct-main--top { padding-top: 40px; }
