/* ══════════════════════════════════════════════════════════════
   FiberOpticsTools — plain pages (contact, about, shipping, and
   any page without a template of its own). Composes frame.css.
   ══════════════════════════════════════════════════════════════ */

.fot-page { padding: 36px 0 72px; }
.fot-page-head, .fot-prose { max-width: 720px; }
.fot-page h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 14px; }
.fot-page h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 34px 0 10px; }
.fot-page .lede { font-size: 17px; color: var(--ink-dim); line-height: 1.55; margin: 0 0 18px; }
.fot-prose p { margin: 0 0 14px; line-height: 1.65; font-size: 15px; color: var(--ink-dim); }
.fot-prose p a, .fot-contact-more a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.fot-prose p a:hover, .fot-contact-more a:hover { color: var(--accent-deep); }
.fot-prose ul, .fot-prose ol { color: var(--ink-dim); font-size: 15px; line-height: 1.65; padding-left: 22px; }
.fot-cta { margin-top: 26px; }
/* Written to outrank the prose link rule above and Kadence's a:hover, both of which
   would paint the label accent-on-accent. */
.fot-page a.fot-btn, .fot-prose p a.fot-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.fot-page a.fot-btn:hover, .fot-page a.fot-btn:focus, .fot-page a.fot-btn:active,
.fot-prose p a.fot-btn:hover, .fot-prose p a.fot-btn:focus, .fot-prose p a.fot-btn:active { background: var(--accent-deep); color: var(--on-accent); }

/* fact list (shipping) */
.fot-facts { margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.fot-facts > div { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.fot-facts > div:first-child { border-top: 0; }
.fot-facts dt { font-weight: 650; font-size: 14px; color: var(--ink); }
.fot-facts dd { margin: 0; font-size: 14.5px; color: var(--ink-dim); }

/* contact: ways to reach us beside the form */
.fot-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.fot-contact-ways { display: flex; flex-direction: column; gap: 10px; }
.fot-way { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); }
a.fot-way:hover { border-color: var(--accent); color: var(--ink); }
.fot-way-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.fot-way-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fot-way-body b { font-size: 13px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fot-way-val { font-size: 16px; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.fot-way-static .fot-way-val { font-weight: 500; font-size: 14px; color: var(--ink-dim); line-height: 1.5; }
.fot-contact-more { list-style: none; margin: 8px 0 0; padding: 0 4px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.fot-contact-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px 24px 24px; }
.fot-contact-form h2 { margin: 0 0 14px; font-size: 18px; }
.fot-contact-form p { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; }

/* Contact Form 7 on any plain page (the contact card, the product request page): the
   plugin prints bare labels and inputs. */
.fot-page .wpcf7-form label { display: block; font-size: 13px; font-weight: 650; color: var(--ink-dim); margin-bottom: 4px; }
.fot-page .wpcf7-form p { margin: 0 0 14px; }
.fot-page .wpcf7-form input[type="text"],
.fot-page .wpcf7-form input[type="email"],
.fot-page .wpcf7-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--ground);
  color: var(--ink); font-family: var(--sans); font-size: 16px; padding: 0 12px; height: 44px; margin-top: 4px; }
.fot-page .wpcf7-form textarea { height: 140px; padding: 10px 12px; resize: vertical; }
.fot-page .wpcf7-form input:focus, .fot-page .wpcf7-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
/* Kadence restyles every button on hover/focus/active; each state is restated. */
.fot-page .wpcf7-form input[type="submit"] { height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--accent);
  color: var(--on-accent); font-weight: 700; font-size: 14px; font-family: var(--sans); cursor: pointer; box-shadow: none; }
.fot-page .wpcf7-form input[type="submit"]:hover, .fot-page .wpcf7-form input[type="submit"]:focus,
.fot-page .wpcf7-form input[type="submit"]:active { background: var(--accent-deep); color: var(--on-accent); box-shadow: none; }
.fot-page .wpcf7-spinner { margin-left: 10px; }
.fot-page .wpcf7-response-output { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-strong); font-size: 13.5px; }
.fot-page .wpcf7-not-valid-tip { font-size: 12.5px; color: #b42318; margin-top: 4px; }

@media (max-width: 800px) {
  .fot-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .fot-facts > div { grid-template-columns: 1fr; gap: 3px; }
  .fot-page { padding-top: 24px; }
}
