:root {
  --blue: #1f1fc8;        /* Dennis fascia blue */
  --blue-deep: #10106e;
  --lav: #a7adeb;         /* logo strap lavender */
  --lav-soft: #eceefc;
  --ink: #12132b;
  --muted: #4a4c68;
  --paper: #ffffff;
  --line: #d9dcf3;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px; z-index: 10; }

/* Top bar and masthead */
.topbar { background: var(--blue-deep); color: #fff; font-size: .85rem; }
.topbar-in { display: flex; gap: 24px; justify-content: flex-end; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.mast { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.mast-in { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.brand img { width: 120px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blue); }
.demo-label { font-size: .7rem; border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; color: var(--muted); }
.call-btn { display: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--lav-soft), #fff 85%); padding: 48px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--blue); margin: 0 0 8px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; font-stretch: 80%; letter-spacing: -.01em; color: var(--blue-deep); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: 85%; color: var(--blue-deep); }
h3 { font-size: 1.25rem; font-weight: 700; }
.intro { font-size: 1.1rem; color: var(--muted); max-width: 56ch; margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E") center/14px no-repeat; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.primary { background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: 13px 22px; font: 700 1rem var(--body); cursor: pointer; text-decoration: none; }
.primary:hover { background: var(--blue-deep); }
.secondary { border: 2px solid var(--blue); color: var(--blue); border-radius: 8px; padding: 11px 16px; font-weight: 700; text-decoration: none; }
.text-link { background: none; border: 0; padding: 0; font: 700 .95rem var(--body); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-photo { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px rgb(16 16 110 / .15); }
.hero-photo figcaption { background: var(--blue); color: #fff; font-size: .82rem; padding: 6px 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; line-height: 1.35; }
.hero-quote { margin: 0; border-left: 4px solid var(--lav); padding: 4px 0 4px 16px; }
.hero-quote p { margin: 0; font-size: 1.05rem; font-style: italic; }
.hero-quote cite { font-style: normal; font-size: .85rem; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service { display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(16 16 110 / .1); }
.service img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.service-body { padding: 18px 20px; }
.service-body p { margin: 0 0 10px; font-size: .95rem; }
.mini { margin: 0 0 12px; padding-left: 18px; font-size: .9rem; color: var(--muted); columns: 2; column-gap: 20px; }

.reviews { background: var(--blue); color: #fff; }
.reviews h2, .reviews .section-head p { color: #fff; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .25); border-radius: 12px; padding: 20px; }
.quote p { margin: 0 0 10px; }
.quote cite { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--lav); }
.quote.big { grid-row: span 2; font-size: 1.2rem; background: #fff; color: var(--ink); }
.quote.big cite { color: var(--blue); }

.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sectors li { border-top: 4px solid var(--blue); background: var(--lav-soft); border-radius: 0 0 10px 10px; padding: 16px; }
.sectors h3 { font-size: 1.1rem; }
.sectors p { margin: 0 0 8px; font-size: .92rem; }
.sectors a { font-weight: 700; font-size: .88rem; }

.work { background: var(--lav-soft); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery .g-wide img { aspect-ratio: auto; height: calc(100% - 34px); }
.gallery .g-last { grid-column: span 2; }
.gallery .g-last img { aspect-ratio: 2 / 1; }
.gallery figcaption { font-size: .82rem; padding: 8px 10px; color: var(--muted); }

.trust-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.trust-grid img { max-width: 360px; justify-self: center; }
.brands { color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.trust-grid .brand-strip { max-width: 520px; width: 100%; justify-self: start; }

.visit { border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; }
.addr { font-size: 1.2rem; font-weight: 700; }
.maps a { display: inline-block; margin: 0 12px 8px 0; font-weight: 700; }
.contact-card { background: var(--blue-deep); color: #fff; border-radius: 12px; padding: 22px; align-self: start; }
.contact-card a { color: #fff; font-size: 1.3rem; font-weight: 800; text-decoration: none; }
.contact-card .primary { background: #fff; color: var(--blue-deep); margin-top: 8px; }

.foot { background: var(--ink); color: #c9cbe0; font-size: .88rem; padding: 28px 0 36px; }
.foot a { color: #fff; }
.foot-in p { margin: 4px 0; }

dialog { border: 0; border-radius: 14px; padding: 26px; width: min(100% - 32px, 480px); }
dialog::backdrop { background: rgb(0 0 0 / .45); }
.enquiry-form label { display: block; margin: 10px 0; font-weight: 600; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin-top: 4px; }
.note { font-size: .85rem; color: var(--muted); }
.topic { color: var(--blue); font-weight: 700; margin: 0; }

@media (max-width: 1000px) {
  .hero-grid, .trust-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar-in { justify-content: space-between; gap: 8px; }
  .topbar-in span:first-child, .topbar-hours { display: none; }
  .mast-in { flex-wrap: wrap; gap: 10px 14px; }
  .brand img { width: 96px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .nav a { white-space: nowrap; font-size: .9rem; }
  .demo-label { margin-left: auto; }
  .call-btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; padding: 6px 14px; border-radius: 6px; }
  .hero { padding: 28px 0 32px; }
  .hero-grid { gap: 24px; }
  .ticks { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .service { grid-template-columns: 1fr; }
  .service img { min-height: 0; height: 200px; }
  .mini { columns: 1; }
  .quotes, .sectors, .visit-grid { grid-template-columns: 1fr; }
  .quote.big { grid-row: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide { grid-row: auto; }
  .trust-grid img { max-width: 240px; }
  .gallery .g-wide img { height: auto; aspect-ratio: 4 / 3; }
}
