/* Trades Callout. Change the colors here. */
:root {
  --yellow: #ffd23f;
  --yellow-dark: #f2b705;
  --navy: #0b2545;
  --navy-2: #13315c;
  --paper: #ffffff;
  --bg: #f4f6f9;
  --ink: #0b2545;
  --muted: #4a5a70;
  --line: #d9e0ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-2); }
:focus-visible { outline: 4px solid var(--yellow-dark); outline-offset: 2px; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px clamp(16px, 4vw, 48px); background: var(--navy); color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo svg { width: 36px; height: 36px; color: var(--yellow); }
.logo span { display: flex; flex-direction: column; font-size: 1.4rem; font-weight: 900; letter-spacing: 0.04em; line-height: 1; }
.logo small { margin-top: 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #b9c6da; }
.hours { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 6px; background: rgb(255 210 63 / 0.15); color: var(--yellow); font-weight: 700; font-size: 0.9rem; }
.hours svg { width: 18px; height: 18px; }

main { width: min(1120px, 100% - 32px); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 28px 0;
  padding: clamp(24px, 5vw, 56px);
  background:
    repeating-linear-gradient(-45deg, transparent 0 22px, rgb(11 37 69 / 0.06) 22px 26px),
    var(--yellow);
  border-radius: 6px;
}
.badge { display: inline-block; margin: 0 0 14px; padding: 4px 10px; background: var(--navy); color: var(--yellow); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; }
h1 mark { background: var(--navy); color: #fff; padding: 0 0.15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { margin: 0; max-width: 520px; font-size: 1.1rem; }

.call {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 120px;
  padding: 20px 24px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 0 #061428;
  transition: transform 0.1s, box-shadow 0.1s;
}
.call:hover { background: var(--navy-2); }
.call:active { transform: translateY(6px); box-shadow: 0 4px 0 #061428; }
.call svg { flex: none; width: 48px; height: 48px; color: var(--yellow); animation: ring 3s ease-in-out infinite; }
.call span { display: flex; flex-direction: column; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.call small { margin-bottom: 6px; color: var(--yellow); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; }
h2 svg { width: 26px; height: 26px; }

.services { margin: 40px 0; }
.services ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.services li { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: 6px; }
.services svg { width: 28px; height: 28px; color: var(--navy-2); }
.services h3 { margin: 8px 0 2px; font-size: 1.05rem; }
.services p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.area { margin: 40px 0; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.area > p { margin: 0 0 12px; color: var(--muted); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.towns li { padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.92rem; }
.area .small { font-size: 0.9rem; margin: 0; }

.foot { padding: 20px 16px 32px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.foot p { margin: 0; }

.callbar { display: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .services ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services ul { grid-template-columns: 1fr; }
  body { padding-bottom: 76px; }
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 56px;
    border-radius: 8px;
    background: var(--yellow);
    color: var(--navy);
    font-size: 1.15rem; font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 24px rgb(11 37 69 / 0.35);
  }
  .callbar svg { width: 22px; height: 22px; }
}

@keyframes ring {
  0%, 80%, 100% { transform: rotate(0); }
  84% { transform: rotate(-14deg); }
  88% { transform: rotate(12deg); }
  92% { transform: rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .call svg { animation: none; }
  .call { transition: none; }
}
