/* Team Digital Group — teamdigitalgroup.com */
:root {
  --charcoal: #111417;
  --charcoal-2: #1c2126;
  --gold: #F4C514;
  --white: #ffffff;
  --paper: #f6f6f4;
  --ink: #111417;
  --muted-on-dark: #e4e6e8;
  --muted-on-light: #33383d;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: 40px; }
h2 { font-size: 34px; }
h3 { font-size: 25px; }
p { margin: 0 0 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Keyboard focus that is easy to see */
a:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Skip link */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--charcoal); padding: 12px 18px; font-weight: 700; z-index: 10; }

/* ---------- Top bar ---------- */
.topbar { background: var(--charcoal); border-bottom: 4px solid var(--gold); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.topbar .brand img { width: 56px; border-radius: 12px; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.topbar .paybill {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--gold); color: var(--white); font-weight: 800; font-size: 19px;
  text-decoration: none; border-radius: 12px; white-space: nowrap;
}
.topbar .call {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px;
  background: var(--gold); color: var(--charcoal); font-weight: 800; font-size: 19px;
  text-decoration: none; border-radius: 12px; white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 64px; padding: 14px 26px; border-radius: 14px;
  font-size: 21px; font-weight: 800; text-decoration: none; line-height: 1.25;
  border: 3px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-row { display: grid; gap: 14px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: var(--white); padding: 44px 0 56px; }
.hero .logo { width: 100%; max-width: 520px; margin: 0 0 30px; }
.hero h1 { font-size: 40px; color: var(--white); }
.hero h1 .gold { color: var(--gold); }
.hero .lead { font-size: 22px; color: var(--muted-on-dark); max-width: 680px; }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
section.alt { background: var(--paper); }
section.dark { background: var(--charcoal); color: var(--white); }
.eyebrow {
  display: inline-block; font-size: 17px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--charcoal); background: var(--gold);
  padding: 4px 12px; border-radius: 6px; margin-bottom: 14px;
}
.intro { font-size: 21px; color: var(--muted-on-light); max-width: 760px; }
section.dark .intro { color: var(--muted-on-dark); }

/* ---------- Site cards ---------- */
.cards { display: grid; gap: 20px; margin-top: 30px; }
.cards > *, .contact-list > *, .offers > * { min-width: 0; }
.btn { overflow-wrap: anywhere; }
.card {
  background: var(--white); border: 3px solid var(--charcoal); border-radius: 18px;
  padding: 26px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 6px; overflow-wrap: anywhere; }
.card .tag { font-size: 17px; font-weight: 700; color: var(--charcoal); background: #fff4c2; display: inline-block; padding: 2px 10px; border-radius: 6px; margin-bottom: 14px; align-self: flex-start; }
.card p { color: var(--muted-on-light); }
.card .btn { margin-top: auto; }

/* ---------- Offer list ---------- */
.offers { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.offers li {
  background: var(--white); border-left: 8px solid var(--gold); border-radius: 12px;
  padding: 20px 22px; box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.offers strong { display: block; font-size: 23px; margin-bottom: 4px; }
.offers span { color: var(--muted-on-light); }

/* ---------- Benefits ---------- */
.benefits { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; font-size: 21px; }
.benefits .check {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px;
}
.benefits strong { color: var(--white); }
.benefits span { color: var(--muted-on-dark); }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-item {
  display: block; text-decoration: none; background: var(--white);
  border: 3px solid var(--charcoal); border-radius: 16px; padding: 20px 22px;
}
a.contact-item:hover { background: #fff8d6; }
.contact-item .label { display: block; font-size: 17px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-on-light); }
.contact-item .value { display: block; font-size: 24px; font-weight: 800; word-break: break-word; }
.contact-item .hint { display: block; font-size: 17px; color: var(--muted-on-light); }
.stripe-note {
  margin-top: 28px; padding: 20px 22px; border-radius: 14px;
  background: var(--charcoal); color: var(--white); font-size: 19px;
}
.stripe-note strong { color: var(--gold); }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: var(--white); padding: 40px 0 48px; border-top: 4px solid var(--gold); }
footer .links { display: grid; gap: 12px; margin-bottom: 22px; }
footer .links a {
  display: flex; align-items: center; min-height: 52px; font-size: 20px; font-weight: 700;
  color: var(--white); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold);
}
footer p { color: var(--muted-on-dark); font-size: 18px; margin: 0 0 8px; }

/* ---------- Billing policies page ---------- */
.policy { background: var(--white); padding: 24px 0 56px; }
.policy h2[id] { scroll-margin-top: 20px; }
.policy a { min-height: 44px; }
.back-link {
  display: inline-flex; align-items: center; min-height: 56px; font-size: 20px; font-weight: 700;
  color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px;
}
.page-head { background: var(--charcoal); color: var(--white); padding: 28px 0; }
.page-head p { margin: 0; color: var(--muted-on-dark); font-size: 19px; }

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
  h1, .hero h1 { font-size: 54px; }
  h2 { font-size: 40px; }
  .btn-row { grid-template-columns: repeat(2, minmax(0, 320px)); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
  .topbar .brand img { width: 60px; }
  footer .links { grid-auto-flow: column; justify-content: start; gap: 32px; }
}

/* ---------- Service group titles ---------- */
.group-title { font-size: 26px; margin: 36px 0 0; padding-bottom: 8px; border-bottom: 4px solid var(--gold); display: inline-block; }

/* ---------- Contact form ---------- */
.msg-form {
  margin-top: 28px; background: var(--white); border: 3px solid var(--charcoal); border-radius: 18px;
  padding: 24px 20px; display: grid; gap: 18px; scroll-margin-top: 16px;
}
.msg-form h3 { margin: 0; font-size: 28px; }
.msg-form .form-intro { margin: -8px 0 0; color: var(--muted-on-light); }
.msg-form .hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 19px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 20px; color: var(--ink); background: var(--white);
  border: 2px solid #5b636b; border-radius: 12px; padding: 12px 14px; min-height: 58px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 4px solid var(--gold); outline-offset: 2px; border-color: var(--charcoal); }
.field-row { display: grid; gap: 18px; }
.msg-form .btn { border: 0; cursor: pointer; font-family: inherit; width: 100%; }
@media (min-width: 700px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .msg-form { padding: 32px; }
  .msg-form .btn { width: auto; justify-self: start; min-width: 280px; }
}

/* ---------- Pay a bill ---------- */
.pay-box { margin-top: 28px; background: var(--white); border: 3px solid var(--gold); border-radius: 18px; padding: 24px 20px; display: grid; gap: 12px; }
.pay-box h3 { margin: 0; font-size: 28px; }
.pay-box p { margin: 0; color: var(--muted-on-light); }
.pay-box .btn { width: 100%; }
@media (min-width: 700px) { .pay-box { padding: 30px 32px; } .pay-box .btn { width: auto; justify-self: start; min-width: 320px; } }
.pay-steps { margin: 22px 0 0; padding-left: 28px; display: grid; gap: 14px; font-size: 21px; max-width: 760px; }
.pay-steps li { padding-left: 6px; }

/* ---------- Brand card (SmartBot) ---------- */
.brand-cards { margin-top: 18px; }
.card-brand { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.card-brand h3 { color: var(--white); }
.card-brand p { color: var(--muted-on-dark); }
.card-brand .tag { background: var(--gold); }
@media (min-width: 700px) { .brand-cards { grid-template-columns: 1fr; max-width: 640px; } }
