/* Corporate sales - what a business customer sees: the quotation page
   (/q/...), the services page (/business) and anything else under
   templates/corp/public. Deliberately calmer and more formal than the
   home-broadband pages: deep navy, a thin gold rule, generous white space.
   Each page adds its own file (corp-quote.css, corp-site.css). */
:root {
  --cp-bg: #f5f3ee;
  --cp-surface: #ffffff;
  --cp-surface-2: #faf8f3;
  --cp-ink: #0f1d36;
  --cp-ink-2: #46536a;
  --cp-muted: #7a8396;
  --cp-line: #e6e1d5;
  --cp-navy: #0f1d36;
  --cp-navy-ink: #f4f1e8;
  --cp-gold: #b08a3e;
  --cp-gold-soft: #f3ead6;
  --cp-ok: #1f7a4d;
  --cp-ok-bg: #e5f4ec;
  --cp-bad: #b3412f;
  --cp-bad-bg: #fbeae6;
  --cp-radius: 14px;
  --cp-shadow: 0 1px 2px rgba(15, 29, 54, .05), 0 8px 28px rgba(15, 29, 54, .07);
  --cp-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
  --cp-serif: "Georgia", "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cp-bg: #0b1322; --cp-surface: #121c2e; --cp-surface-2: #172238;
    --cp-ink: #e8ecf4; --cp-ink-2: #b4bdcd; --cp-muted: #8792a6; --cp-line: #26324a;
    --cp-navy: #0a1426; --cp-navy-ink: #f4f1e8; --cp-gold: #d8b469; --cp-gold-soft: #2b2416;
    --cp-ok: #5fd39a; --cp-ok-bg: #12301f; --cp-bad: #f08a78; --cp-bad-bg: #351a15;
    --cp-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --cp-bg: #0b1322; --cp-surface: #121c2e; --cp-surface-2: #172238;
  --cp-ink: #e8ecf4; --cp-ink-2: #b4bdcd; --cp-muted: #8792a6; --cp-line: #26324a;
  --cp-navy: #0a1426; --cp-navy-ink: #f4f1e8; --cp-gold: #d8b469; --cp-gold-soft: #2b2416;
  --cp-ok: #5fd39a; --cp-ok-bg: #12301f; --cp-bad: #f08a78; --cp-bad-bg: #351a15;
  --cp-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body.cp { margin: 0; background: var(--cp-bg); color: var(--cp-ink); font-family: var(--cp-font);
  font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.cp a { color: inherit; }
.cp-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* The masthead: logo and name on navy, a thin gold rule beneath. */
.cp-mast { background: var(--cp-navy); color: var(--cp-navy-ink);
  border-bottom: 3px solid var(--cp-gold); }
.cp-mast .cp-wrap { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 68px; flex-wrap: wrap; }
.cp-brand { display: flex; align-items: center; gap: 12px; font-weight: 650;
  letter-spacing: .01em; font-size: 17px; text-decoration: none; }
.cp-brand img { height: 34px; width: auto; border-radius: 6px; background: #fff; padding: 3px; }
.cp-mast .cp-contact { display: flex; gap: 16px; font-size: 13.5px; opacity: .9; flex-wrap: wrap; }
.cp-mast .cp-contact a { text-decoration: none; }

.cp-card { background: var(--cp-surface); border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); padding: 24px; }
.cp-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cp-gold); font-weight: 650; }
.cp h1, .cp h2, .cp h3 { color: var(--cp-ink); line-height: 1.2; margin: 0 0 .4em; }
.cp h1 { font-family: var(--cp-serif); font-weight: 600; font-size: clamp(26px, 4vw, 38px); }
.cp h2 { font-size: 20px; font-weight: 650; }
.cp-muted { color: var(--cp-muted); }
.cp-rule { height: 1px; background: var(--cp-line); border: 0; margin: 20px 0; }

.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--cp-navy);
  background: var(--cp-navy); color: var(--cp-navy-ink); font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; }
.cp-btn:hover { filter: brightness(1.12); }
.cp-btn.gold { background: var(--cp-gold); border-color: var(--cp-gold); color: #fff; }
.cp-btn.ghost { background: transparent; color: var(--cp-ink); border-color: var(--cp-line); }
.cp-btn:focus-visible { outline: 3px solid var(--cp-gold); outline-offset: 2px; }

.cp-field { display: grid; gap: 6px; margin-bottom: 14px; }
.cp-field label { font-size: 13.5px; font-weight: 600; color: var(--cp-ink-2); }
.cp-field input, .cp-field textarea, .cp-field select { width: 100%; min-height: 44px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--cp-line);
  background: var(--cp-surface); color: var(--cp-ink); font: inherit; }
.cp-field textarea { min-height: 96px; resize: vertical; }
.cp-field input:focus, .cp-field textarea:focus, .cp-field select:focus {
  outline: none; border-color: var(--cp-gold); box-shadow: 0 0 0 3px var(--cp-gold-soft); }
.cp-err { color: var(--cp-bad); font-size: 13px; }
.cp-alert { padding: 12px 14px; border-radius: 10px; background: var(--cp-gold-soft);
  color: var(--cp-ink); margin: 0 0 16px; }
.cp-alert.ok { background: var(--cp-ok-bg); color: var(--cp-ok); }
.cp-alert.bad { background: var(--cp-bad-bg); color: var(--cp-bad); }

.cp-foot { padding: 28px 0 40px; color: var(--cp-muted); font-size: 13px; text-align: center; }
