/* ==========================================================================
   Liffey Repair — Independent Mobile Phone Hardware Repair (Ireland)
   Design System: Swiss/Irish Precision Workshop — High Contrast, Fast, WCAG AA
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0b1320;
  --bg-dark-elevated: #131e31;

  --ink-primary: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #526074;
  --ink-on-dark: #f8fafc;
  --ink-on-dark-muted: #cbd5e1;

  --brand-emerald: #0b6e4f;
  --brand-emerald-hover: #08543c;
  --brand-emerald-soft: #ecfdf5;
  --brand-emerald-border: #a7f3d0;

  --accent-amber: #92400e;
  --accent-amber-soft: #fffbeb;
  --accent-amber-border: #fde68a;

  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-dark: rgba(255, 255, 255, 0.12);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 44px rgba(15, 23, 42, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-secondary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-emerald);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--brand-emerald-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-emerald);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  color: var(--ink-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--brand-emerald);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

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

/* ---------- Top Utility Bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: var(--ink-on-dark-muted);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border-dark);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 9px 0;
}

.topbar-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a {
  color: #ffffff;
  font-weight: 500;
}

.topbar a:hover {
  color: var(--brand-emerald-border);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  flex-shrink: 0;
}

/* ---------- Sticky Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink-primary);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-emerald);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-emerald);
  background: var(--brand-emerald-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-primary);
  font-family: var(--font-mono);
}

.header-phone:hover {
  color: var(--brand-emerald);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--ink-primary);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-emerald);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(11, 110, 79, 0.22);
}

.btn-primary:hover {
  background: var(--brand-emerald-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  color: var(--ink-primary);
  border-color: var(--ink-muted);
}

.btn-dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.btn-dark:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ---------- Badges & Eyebrows ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  border: 1px solid var(--brand-emerald-border);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.eyebrow-dark {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark-muted);
}

.section-dark h2,
.section-dark h3 {
  color: var(--ink-on-dark);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  margin-bottom: 0;
}

.section-dark .section-lead {
  color: var(--ink-on-dark-muted);
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 85% 15%, rgba(11, 110, 79, 0.08), transparent 46%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-secondary);
  max-width: 580px;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.proof-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Interactive Estimator Card ---------- */
.estimator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.estimator-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.estimator-header h2 {
  font-size: 1.28rem;
  margin-bottom: 4px;
}

.estimator-header p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}

.vat-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--ink-primary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-control:focus {
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.14);
  outline: none;
}

.estimate-result {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.estimate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.estimate-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-emerald);
  line-height: 1;
}

.estimate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.83rem;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.estimate-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 10px 0 0;
}

/* ---------- Page Header (Subpages) ---------- */
.page-hero {
  padding: 44px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 8px;
  color: var(--border-strong);
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a {
  color: var(--ink-muted);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--brand-emerald);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: center;
}

.quick-facts-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.quick-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-facts-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.quick-facts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-facts-list strong {
  color: var(--ink-primary);
}

/* ---------- USP Strip (Google Ads Callout Architecture) ---------- */
.usp-strip {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 36px 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.usp-card {
  padding-left: 16px;
  border-left: 2px solid rgba(16, 185, 129, 0.65);
}

.usp-card h2,
.usp-card h3 {
  font-size: 1.02rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.usp-card p {
  font-size: 0.88rem;
  color: var(--ink-on-dark-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Cards Grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--brand-emerald-border);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.price-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink-primary);
}

.card-link {
  font-weight: 700;
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------- Brand Compatibility Grid ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.brand-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
}

.brand-tile h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.brand-tile p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- Pricing Table & Filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill.is-active,
.filter-pill:hover {
  background: var(--brand-emerald);
  border-color: var(--brand-emerald);
  color: #ffffff;
}

.search-input-wrap {
  min-width: 250px;
  flex: 1 1 260px;
  max-width: 340px;
}

.table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.price-table caption {
  text-align: left;
  padding: 14px 20px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.93rem;
}

.price-table thead th {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: #fcfdfe;
}

.price-table tbody tr:hover {
  background: #f8fafc;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink-primary);
  white-space: nowrap;
}

.device-name {
  font-weight: 700;
  color: var(--ink-primary);
}

/* ---------- Process Steps ---------- */
.step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-emerald);
  background: var(--brand-emerald-soft);
  border: 1px solid var(--brand-emerald-border);
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* ---------- Coverage / Split Layout ---------- */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-emerald);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.4'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.county-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.county-tag {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

/* ---------- Compliance Notice / Disclaimer Box ---------- */
.notice-box {
  background: var(--accent-amber-soft);
  border: 1px solid var(--accent-amber-border);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: #451a03;
  font-size: 0.92rem;
}

.notice-box strong {
  color: #451a03;
}

.info-box {
  background: var(--brand-emerald-soft);
  border: 1px solid var(--brand-emerald-border);
  border-left: 4px solid var(--brand-emerald);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: var(--ink-primary);
  font-size: 0.93rem;
}

/* ---------- Reviews ---------- */
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #d97706;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-quote {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-author {
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.review-author strong {
  color: var(--ink-primary);
  display: block;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--brand-emerald);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Booking & Contact Forms ---------- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-tile {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg-surface);
}

.radio-tile input {
  margin-top: 3px;
  accent-color: var(--brand-emerald);
}

.radio-tile strong {
  display: block;
  color: var(--ink-primary);
  font-size: 0.93rem;
}

.radio-tile span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin: 16px 0 20px;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--brand-emerald);
}

.form-feedback {
  display: none;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--brand-emerald-soft);
  border: 1px solid var(--brand-emerald-border);
  color: var(--ink-primary);
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

/* ---------- Legal / Prose Pages ---------- */
.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 24px;
  font-size: 1.12rem;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.prose li {
  margin-bottom: 8px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0b1320 0%, #0d2b24 100%);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--ink-on-dark-muted);
  margin: 0;
  max-width: 560px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark-muted);
  padding: 60px 0 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand .brand-sub {
  color: var(--ink-on-dark-muted);
}

.footer-col h3 {
  color: #ffffff;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a,
.footer-link-btn {
  color: var(--ink-on-dark-muted);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-on-dark-muted);
  margin-bottom: 24px;
}

.footer-disclaimer strong {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.82rem;
}

/* ---------- GDPR Cookie Consent Banner & Modal (Google Consent Mode v2) ---------- */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-surface);
  color: var(--ink-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner-copy {
  flex: 1 1 420px;
}

.cookie-banner-copy h2 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.cookie-banner-copy p {
  font-size: 0.86rem;
  margin: 0;
  color: var(--ink-secondary);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(15, 23, 42, 0.58);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-backdrop.is-visible {
  display: flex;
}

.cookie-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.cookie-pref-row:last-of-type {
  border-bottom: none;
}

.cookie-pref-row strong {
  display: block;
  color: var(--ink-primary);
  font-size: 0.94rem;
}

.cookie-pref-row p {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 4px 0 0;
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.toggle-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-emerald);
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid,
  .page-hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .usp-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 20px 20px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .grid-3,
  .grid-2,
  .form-grid-2,
  .radio-group {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .proof-grid,
  .usp-grid,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .estimator-card,
  .form-card {
    padding: 22px 18px;
  }

  .header-actions .btn {
    padding: 9px 13px;
    font-size: 0.84rem;
  }
}
