/* voxplan.com - one stylesheet, no framework. Colours from the Joomla theme it replaced. */
:root {
  --ink: #333b41;
  --muted: #566169;
  --line: #dde3e7;
  --accent: #0088cc;
  --accent-dark: #005580;
  --warm: #ee8e21;
  --bg: #ffffff;
  --band: #f4f6f8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.top { border-bottom: 3px solid var(--warm); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 10px; }
.brand img { display: block; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }
.phones { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; color: var(--muted); padding-bottom: 8px; }
.phones a { color: var(--muted); text-decoration: none; }

main { padding: 32px 16px 56px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 16px; color: var(--ink); }
h2 { font-size: 21px; margin: 28px 0 10px; }
h3 { font-size: 17px; margin: 8px 0 6px; }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 32px; max-width: 820px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 16px 0 40px; }
.card { display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; transition: box-shadow .15s; }
.card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.card img { display: block; width: 100%; aspect-ratio: 1165 / 575; object-fit: cover; }
.card h2 { font-size: 18px; margin: 14px 16px 6px; color: var(--accent-dark); }
.card p { margin: 0 16px 18px; color: var(--muted); font-size: 15px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.tile { text-align: center; padding: 8px 12px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }

.prose { max-width: 820px; }
.prose .lead { font-size: 18px; color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.wide { display: block; width: 100%; border-radius: 6px; margin: 8px 0 20px; }
.figures { border-collapse: collapse; margin: 12px 0 8px; min-width: 320px; }
.figures th, .figures td { border-bottom: 1px solid var(--line); padding: 6px 14px 6px 0; text-align: left; }
.figures td:not(:first-child), .figures th:not(:first-child) { text-align: right; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.values span { background: var(--band); border-radius: 999px; padding: 4px 14px; font-weight: 600; color: var(--accent-dark); }
.button { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 4px; font-weight: 600; }
.button:hover { background: var(--accent-dark); color: #fff; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.contact h2 { margin-top: 8px; }

.foot { background: var(--ink); color: #cfd6db; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 20px; }
.foot h3 { color: #fff; font-size: 15px; margin: 0 0 8px; }
.foot a { color: #cfd6db; display: inline-block; }
.foot .cols > div > a { display: block; margin: 2px 0; }
.foot p { margin: 0 0 10px; }
.foot .legal { border-top: 1px solid #4a535a; padding-top: 12px; padding-bottom: 20px; font-size: 13px; }

@media (max-width: 600px) {
  .hero h1 { font-size: 25px; }
  h1 { font-size: 25px; }
  .phones { justify-content: flex-start; }
}
