/* ==========================================================================
   Inner pages (Contact, Thank you) — load after styles.css
   ========================================================================== */
body.inner .site-header { background: rgba(20,18,63,.95); box-shadow: 0 1px 0 rgba(72,144,237,.4); }

.page-hero {
  position: relative; padding: 150px 0 96px; color: var(--cream);
  background: var(--flash-mute-banner), url('../img/bkgd1op80.jpg') center 40% / cover no-repeat var(--navy-900);
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .75rem; }
.page-hero p { color: var(--blue-100); font-size: 1.2rem; max-width: 52ch; margin: 0; }
.crumbs { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.crumbs svg { width: 22px; height: 22px; }
.crumbs .seg { width: 22px; height: 3px; background: var(--blue); border-radius: 2px; }

.contact-wrap { padding-bottom: clamp(4rem, 8vw, 6rem); }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: -48px; position: relative; z-index: 2; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-card h2 { font-size: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.75rem 0; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label, .fieldset-label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.req { color: #b4442f; font-family: var(--font-body); font-weight: 400; font-size: .85rem; margin-left: .3em; }
.field input, .field textarea, .captcha input {
  font: inherit; font-size: 1rem; color: var(--navy);
  padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .captcha input:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(72,144,237,.18);
}

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.service-picks { display: grid; gap: .75rem; margin: .6rem 0 1.75rem; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-body {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.pick-body svg { flex: none; width: 34px; height: 34px; margin-top: .1rem; }
.pick-body strong { display: block; font-family: var(--font-head); color: var(--ink); }
.pick-body span { display: block; font-size: .92rem; color: var(--ink-muted); line-height: 1.45; }
.pick-body .pick-check {
  margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--sand);
  display: grid; place-items: center; color: transparent; font-size: .75rem; transition: all .15s ease;
}
.pick:hover .pick-body { border-color: var(--blue-100); }
.pick input:checked + .pick-body { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(72,144,237,.12); }
.pick input:checked + .pick-body .pick-check { background: var(--blue); border-color: var(--blue); color: #fff; }
.pick input:focus-visible + .pick-body { outline: 3px solid var(--blue); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.captcha { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.captcha-img { display: flex; flex-direction: column; gap: .3rem; }
.captcha-img img { border-radius: 8px; border: 1px solid var(--line); min-height: 50px; min-width: 150px; background: var(--paper); }
.captcha-img a { font-size: .8rem; color: var(--blue-700); }
.captcha label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); display: block; margin-bottom: .35rem; }
.captcha input { width: 150px; font-size: 1.4rem; letter-spacing: .15em; text-align: center; padding: .45em .6em; }
.form-foot .btn { border: 0; font-size: 1.05rem; }

.side-stack { display: grid; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.side-card.dark { background: var(--navy); color: var(--blue-100); border-color: transparent; position: relative; overflow: hidden; }
.side-card.dark::before { content: ""; position: absolute; inset: 0; background: url('../img/bkgd1op80.jpg') left center / cover; opacity: .35; }
.side-card.dark > * { position: relative; }
.side-card.dark h3 { color: #fff; }
.side-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.side-card p { font-size: 1rem; }
.side-card .phone { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.side-card .phone:hover { color: var(--blue); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 1.1rem 2.4rem; font-size: 1rem; line-height: 1.5; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); counter-increment: step; position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; display: grid; place-items: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--blue-100); }
.social-row { display: flex; gap: .75rem; }
.social-row a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-700); font-size: 1.15rem; text-decoration: none; transition: all .15s ease;
}
.social-row a:hover { background: var(--blue); color: #fff; }

/* Thank-you page */
.thanks { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 64px;
  background: var(--flash-mute), url('../img/bkgd1op80.jpg') center / cover no-repeat var(--navy-900); color: var(--blue-100); }
.thanks-card { max-width: 560px; background: rgba(255,255,253,.06); border: 1px solid rgba(199,219,245,.22); backdrop-filter: blur(8px);
  border-radius: 20px; padding: clamp(2rem, 5vw, 3rem); }
.thanks-badge { width: 76px; height: 76px; margin: 0 auto 1.5rem; position: relative; }
.thanks-badge svg { width: 100%; height: 100%; }
.thanks-badge i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; }
.thanks h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; }
.thanks .big { font-size: 1.2rem; color: #fff; }
.countdown { font-size: .95rem; margin: 1.5rem 0; }
.countdown-bar { height: 4px; background: rgba(199,219,245,.2); border-radius: 4px; overflow: hidden; margin-top: .6rem; }
.countdown-bar span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; animation: shrink 3s linear forwards; }
@keyframes shrink { to { transform: scaleX(0); } }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { justify-content: center; }
  .page-hero { padding: 120px 0 88px; }
}
@media (prefers-reduced-motion: reduce) { .countdown-bar span { animation: none; } }
