/* ============================================================
   Oxfordshire AV — section styles
   ============================================================ */

/* ─── Hero ─────────────────────────────────────────────────── */

.hero {
  padding: 36px 24px 48px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
}
.hero-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.hero-pin svg { width: 12px; height: 12px; }
.hero-sep { width: 4px; height: 4px; border-radius: 999px; background: var(--rule-strong); }

.hero h1 {
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: var(--fg);
}
.hero h1 .hl {
  color: var(--accent);
  font-style: italic;
  font-weight: 800;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 28px;
  max-width: 36ch;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-rig {
  position: relative;
  margin: 0 -24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
  padding: 18px 24px;
}
.hero-rig svg { width: 100%; height: auto; display: block; }
.hero-rig-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 12px;
  opacity: 0.7;
}

/* Split-layout variant (hero with real photo) */
.hero[data-layout="Split"] .hero-rig {
  background: none;
  border-radius: var(--m3-radius-lg);
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
  aspect-ratio: 3/2;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--m3-radius-lg);
  display: block;
}

/* ─── Gallery ────────────────────────────────────────────── */
.gallery {
  padding: 0 16px 56px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--m3-radius-md);
  aspect-ratio: 16/9;
  background: var(--bg-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* Video-frame variant */
.hero[data-layout="Video Frame"] .hero-rig {
  background: #000;
  border-radius: var(--m3-radius-lg);
  margin: 0;
  padding: 0;
  position: relative;
  aspect-ratio: 9/16;
  max-height: 480px;
  margin-inline: auto;
  width: min(280px, 100%);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, #2a3540 0%, #0c1218 70%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.video-frame-chrome {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.video-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.video-rec::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255,59,48,0.25);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.video-frame-caption {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.video-frame-caption .hl { color: var(--accent); font-style: italic; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  color: #000;
}

/* ─── Problem ──────────────────────────────────────────────── */

.problem {
  padding: 48px 24px;
}
.problem h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 12px 0 20px;
  color: var(--fg);
}
.problem h2 .hl { color: var(--accent); }
.problem p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 12px;
}

.problem-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 28px;
}
.problem-block {
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  border-radius: var(--m3-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.problem-block--gap {
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}
.problem-block-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--m3-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.problem-block--ok .problem-block-icon {
  background: rgba(255,255,255,0.06);
  color: var(--fg-muted);
}
.problem-block--gap .problem-block-icon {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--fg-muted);
}
.problem-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
  line-height: 1.3;
}
.problem-block p {
  font-size: 13px;
  margin: 0;
  color: var(--fg-muted);
}

.problem-resolution {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 16px;
}
.problem-extra {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--m3-radius-pill);
  padding: 6px 14px;
}

/* ─── Services ─────────────────────────────────────────────── */

.services h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 28px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.services-grid[data-mode="Icons · Stacked"],
.services-grid[data-mode="Plain · Stacked"] {
  grid-template-columns: 1fr;
  gap: 10px;
}
.service-card {
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  border-radius: var(--m3-radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}
a.service-card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--accent) 6%, var(--chip-bg));
}
.services-grid[data-mode="Icons · Stacked"] .service-card,
.services-grid[data-mode="Plain · Stacked"] .service-card {
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  gap: 14px;
}
.service-card-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 10px;
  flex-shrink: 0;
}
.service-card-icon img { width: 26px; height: 26px; }
.service-card-num {
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg);
}
.service-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 0;
}
.service-card .usp-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 3px 7px;
  border-radius: 999px;
}

/* ─── How we work ──────────────────────────────────────────── */

.process {
  padding: 56px 24px;
  background: var(--bg-2);
}
.process h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 28px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.process-step:last-child { border-bottom: 0; }
.process-step-num {
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--fg-muted);
}
