/* ==========================================================================
   CoMo Web Design — main stylesheet
   Clean, professional, mobile-first.
   ========================================================================== */

:root {
  --ink: #101a3a;
  --ink-2: #1e2a55;
  --text: #283149;
  --muted: #586178;
  --bg: #ffffff;
  --bg-alt: #f2f5ff;
  --bg-ink: #101a3a;
  --line: #dfe4f1;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e3ebff;
  --success: #12a150;

  /* color palette */
  --blue: #2563eb;
  --violet: #7c3aed;
  --teal: #0d9488;
  --coral: #f05a3c;
  --amber: #e8960a;
  --pink: #db2777;
  --green: #16a34a;
  --grad-cool: linear-gradient(120deg, #2563eb 0%, #7c3aed 100%);
  --grad-fresh: linear-gradient(120deg, #2563eb 0%, #0d9488 100%);
  --grad-warm: linear-gradient(120deg, #f05a3c 0%, #e8960a 100%);
  --grad-brand: linear-gradient(90deg, #2563eb 0%, #7c3aed 45%, #db2777 75%, #f05a3c 100%);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, .06), 0 2px 8px rgba(15, 28, 46, .05);
  --shadow: 0 10px 30px rgba(15, 28, 46, .10);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: -.02em;
}
.logo-mark span { color: var(--accent); }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.1; letter-spacing: -.01em; }
.logo-text small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--text); font-weight: 500; font-size: .97rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.nav .btn { margin-left: 8px; padding: .65em 1.2em; font-size: .95rem; }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.nav a.btn:hover { background: var(--ink-2); }

.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; display: none; flex-direction: column;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: flex; }
.sub-menu a { display: block; padding: 9px 12px; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: 5px; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 46px; height: 42px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 40px; gap: 2px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--bg-alt); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
  .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .has-sub > a::after { display: none; }
  .has-sub > a { display: block; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
  .sub-menu a { padding: 10px 12px; font-size: .98rem; color: var(--muted); }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); background: var(--bg-alt); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 290px;
}
.hero-badge .dot { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-dark); }
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.3; }
.hero-badge span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-points li::before { content: "✓"; color: var(--success); font-weight: 700; }

.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 44em; }
.page-hero.with-image .hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero.with-image img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; }

.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b3ab9b; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .hero-grid, .page-hero.with-image .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--bg-ink); color: #d7dce4; padding: 22px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: .95rem; }
.strip li { margin: 0; display: flex; align-items: center; gap: 8px; }
.strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--bg-ink); color: #cfd6e0; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: #e0b765; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-ink .section-head p { color: #b9c2cf; }

.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: 1rem; }
.card .more { margin-top: auto; font-weight: 600; font-family: var(--font-head); text-decoration: none; color: var(--ink); }
.card .more::after { content: " →"; color: var(--accent); }
.card .more:hover { color: var(--accent-dark); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 18px; flex: none;
}
.icon svg { width: 24px; height: 24px; }

.service-card { padding: 0; overflow: hidden; }
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-card .card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; font-family: var(--font-head); }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231d4ed8'%3E%3Cpath d='M7.6 13.2 4.4 10l-1.1 1.1 4.3 4.3 9-9-1.1-1.1z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section-ink .check-list li::before { background-color: rgba(255,255,255,.1); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-text p { color: var(--muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 10px; padding: 8px 12px;
}
.step p { color: var(--muted); font-size: 1rem; }
.section-ink .step p { color: #b9c2cf; }
.section-ink .step::before { background: rgba(255,255,255,.08); color: #e0b765; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Areas ---------- */
.area-card { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.area-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.area-card h3 { margin-bottom: .3em; }
.area-card .county { font-size: .85rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }
.town-list { columns: 4 180px; column-gap: 28px; list-style: none; padding: 0; }
.town-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--line); margin: 0; }

/* ---------- Feature list (2 col text) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.feature { display: flex; gap: 18px; }
.feature .icon { margin: 0; }
.feature h3 { font-size: 1.12rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- Quote / note ---------- */
.callout {
  border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 22px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink); font-size: 1.08rem; margin: 28px 0;
}
.callout p:last-child { margin: 0; }

/* ---------- Prose (long-form pages) ---------- */
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.sidebar .card h3 { font-size: 1.1rem; }
.sidebar ul { margin: 0; }
@media (max-width: 980px) { .layout-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--accent-dark); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-ink); color: #cfd6e0; border-radius: 22px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(181,131,42,.18); }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; color: #b9c2cf; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); color: var(--ink); background: var(--bg-alt); }
tr:last-child td { border-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #cfcabd; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181,131,42,.2); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-info li:last-child { border: 0; }
.contact-info .icon { width: 40px; height: 40px; margin: 0; }
.contact-info strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-info span, .contact-info a { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #0a1422; color: #a9b3c1; padding: 72px 0 28px; font-size: .96rem; }
.site-footer a { color: #d5dbe3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-text small { color: #8d98a8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(36px, 5vw, 56px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ==========================================================================
   Color layer
   ========================================================================== */

/* Logo */
.logo-mark { background: var(--grad-cool); }
.logo-mark span { color: #ffd166; }

/* Buttons */
.btn-primary { background: var(--blue); box-shadow: 0 6px 18px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-accent { background: var(--coral); box-shadow: 0 6px 18px rgba(240, 90, 60, .32); }
.btn-accent:hover { background: #d9442a; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); }
.nav a.btn { background: var(--blue); }
.nav a.btn:hover { background: var(--accent-dark); }

/* Eyebrows */
.eyebrow { color: var(--blue); }
.eyebrow::before { background: var(--grad-brand); height: 3px; border-radius: 3px; width: 26px; }
.section-ink .eyebrow { color: #8fb4ff; }

/* Header accent line */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--grad-brand); }

/* Hero + page hero: soft color washes */
.hero, .page-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(124, 58, 237, .16), transparent 38%),
    radial-gradient(circle at 6% 92%, rgba(13, 148, 136, .16), transparent 42%),
    radial-gradient(circle at 55% 105%, rgba(240, 90, 60, .10), transparent 35%),
    linear-gradient(180deg, #eef3ff 0%, #f8f9ff 100%);
}
.page-hero { border-bottom: 0; }
.hero h1 em, .page-hero h1 em {
  background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-media::before {
  content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 22px;
  background: var(--grad-brand); opacity: .9; z-index: 0;
}
.hero-media img { position: relative; z-index: 1; }
.hero-badge { z-index: 2; }
.hero-badge .dot { background: #fff1ec; color: var(--coral); }
.page-hero.with-image .hero-grid > div:last-child { position: relative; }
.page-hero.with-image .hero-grid > div:last-child::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 20px; background: var(--grad-fresh); opacity: .85;
}
.page-hero.with-image img { position: relative; }
@media (max-width: 900px) {
  .hero-media::before { inset: 14px -8px -10px 14px; }
  .page-hero.with-image .hero-grid > div:last-child::before { inset: 12px -8px -8px 12px; }
}

/* Strip */
.strip { background: var(--grad-brand); color: #fff; }
.strip li::before { background: #fff; opacity: .8; }

/* Alternate sections */
.section-alt { background: linear-gradient(180deg, #f2f5ff 0%, #f7f3ff 100%); }
.section-ink {
  background:
    radial-gradient(circle at 90% 0%, rgba(124, 58, 237, .35), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(13, 148, 136, .30), transparent 45%),
    var(--bg-ink);
}

/* Color cycle for repeated items */
.grid > :nth-child(6n+1), .features > :nth-child(6n+1), .steps > :nth-child(4n+1) { --c: var(--blue);   --c-soft: #e3ebff; }
.grid > :nth-child(6n+2), .features > :nth-child(6n+2), .steps > :nth-child(4n+2) { --c: var(--violet); --c-soft: #efe7ff; }
.grid > :nth-child(6n+3), .features > :nth-child(6n+3), .steps > :nth-child(4n+3) { --c: var(--teal);   --c-soft: #dcf5f1; }
.grid > :nth-child(6n+4), .features > :nth-child(6n+4), .steps > :nth-child(4n+4) { --c: var(--coral);  --c-soft: #ffe8e2; }
.grid > :nth-child(6n+5), .features > :nth-child(6n+5) { --c: var(--amber);  --c-soft: #fff1d6; }
.grid > :nth-child(6n+6), .features > :nth-child(6n+6) { --c: var(--pink);   --c-soft: #fde4ef; }

.feature .icon, .card .icon { background: var(--c-soft, var(--accent-soft)); color: var(--c, var(--blue)); }

.service-card { border-top: 4px solid var(--c, var(--blue)); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 26, 58, .12); }
.service-card .tag { color: var(--c, var(--blue)); }
.card .more::after { color: var(--c, var(--blue)); }
.card .more:hover { color: var(--c, var(--blue)); }

.area-card { border-left: 4px solid var(--c, var(--blue)); }
.area-card .county { color: var(--c, var(--blue)); }
.area-card:hover { border-color: var(--c, var(--blue)); }

.step::before { background: var(--c-soft); color: var(--c); }
.section-ink .step::before { background: var(--c); color: #fff; }

/* Region cards on service areas page */
.grid > .card > h3:first-child { color: var(--ink); }
.grid > .card:not(.service-card):not(.area-card) { border-top: 4px solid var(--c, var(--blue)); }

/* Dark / colorful cards */
.card-dark { background: var(--grad-cool); border-color: transparent; color: #e6ebff; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #dfe5ff; }

/* Callout */
.callout { border-left-color: var(--coral); background: #fff1ec; }

/* FAQ */
.faq details { border-left: 4px solid var(--accent-soft); transition: border-color .2s; }
.faq details[open] { border-left-color: var(--violet); }
.faq summary::after { color: var(--violet); }

/* CTA band */
.cta-band { background: var(--grad-cool); color: #e6ebff; }
.cta-band p { color: #dfe5ff; }
.cta-band::after { border-color: rgba(255, 255, 255, .14); }
.cta-band::before { content: ""; position: absolute; left: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: rgba(240, 90, 60, .35); filter: blur(10px); }
.cta-band > div { position: relative; z-index: 1; }

/* Tables */
th { background: var(--accent-soft); }

/* Inputs */
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }

/* Footer */
.site-footer { background: #0b1230; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-brand); }
.footer-grid h4 { color: #a9c1ff; }

/* Links */
a { text-decoration-color: rgba(37, 99, 235, .45); }
a:hover { color: var(--blue); }
.page-hero h1 em { font-style: normal; padding-right: .04em; }

/* Dropdowns sit above the header's gradient line */
.site-header::after { z-index: 0; pointer-events: none; }
.has-sub .sub-menu { z-index: 20; }

/* Contact form status */
.form-status { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.is-error { background: #ffe8e2; color: #9a2a14; border: 1px solid #f7c3b6; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
