/* DaviesDigital trade template: mobile-first, fast, no web fonts, no JavaScript. */
:root { --ink: #1D2125; --muted: #5B6168; --line: #E3E6EA; --bg: #FFFFFF; --soft: #F5F6F8; --radius: 10px; --max: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); padding-bottom: 64px; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.15rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 .6rem; }
.eyebrow.light { color: var(--accent); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 38em; }
.small { font-size: .85rem; color: var(--muted); }

.demo-banner { background: #FFF4CC; color: #5A4500; text-align: center; font-size: .9rem; padding: 10px 16px; border-bottom: 1px solid #F0D98C; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  background: var(--brand); color: var(--brand-ink); font-weight: 600; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.small { min-height: 44px; padding: 0 14px; font-size: .92rem; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #1D2125; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.name { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.top nav { display: none; gap: 22px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 0; }
.top nav a:hover { color: var(--brand); }
.call { display: none; }

.hero { background: var(--brand); color: var(--brand-ink); padding: 56px 0 64px; }
.hero .lede { color: rgba(255,255,255,.85); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-img img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.creds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: rgba(255,255,255,.9); }
.creds li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.section { padding: 64px 0; }
.section.alt { background: var(--soft); }
.services { display: grid; gap: 16px; margin-top: 28px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; border-top: 4px solid var(--brand); }
.service p { margin: 0; color: var(--muted); }
.why { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.why li { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--accent); }
.why span { color: var(--muted); }
.gallery { display: grid; gap: 16px; margin-top: 28px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding-top: 8px; }
.reviews { display: grid; gap: 16px; margin-top: 28px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.review p { margin: 0 0 12px; font-size: 1.05rem; }
.review footer { font-weight: 600; font-size: .92rem; }
.review footer span { font-weight: 400; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .95rem; }

.contact { background: var(--soft); }
.contact-grid { display: grid; gap: 32px; }
.big-phone { font-size: 1.7rem; font-weight: 800; text-decoration: none; display: inline-block; padding: 6px 0; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.quote label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.quote input, .quote select, .quote textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #C9CED4; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.quote textarea { min-height: 110px; resize: vertical; }
/* Safari ignores min-height on native selects; draw the control ourselves. */
.quote select { -webkit-appearance: none; appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2125' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent); border-color: var(--brand); }
.row { display: grid; gap: 14px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

.foot { background: #15181B; color: #C9CED4; padding: 36px 0; }
.foot a { color: #fff; }
.foot-inner p { margin: 0 0 6px; }
.sticky-call { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 52px;
  border-radius: 999px; background: var(--accent); color: #1D2125; font-weight: 800; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
  .top nav { display: flex; }
  .call { display: inline-flex; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .gallery, .reviews { grid-template-columns: repeat(3, 1fr); }
  .row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-grid.no-img { grid-template-columns: minmax(0, 760px); }
  .services { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
