/* SlamJunk — brand essence: navy / red / gold — contact-first, not generic SaaS cards */
:root {
  --navy: #0a1a3a;
  --navy-deep: #040a16;
  --navy-mid: #0f2348;
  --red: #c8102e;
  --red-hot: #e31c3d;
  --gold: #f5c518;
  --gold-soft: #ffe066;
  --white: #ffffff;
  --muted: #9eb0c9;
  --text: #eef2f8;
  --max: 1080px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-soft);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 200;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Response bar (Ezma priority) —— */
.response-bar {
  background: linear-gradient(90deg, var(--red), #8a0a1f 55%, #5c0814);
  border-bottom: 1px solid rgba(245, 197, 24, 0.35);
}

.response-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.55rem 0;
}

.response-bar p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.response-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 10, 22, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
  min-width: 0;
}

/* Language switcher — EN / ES / PT for service-area clients */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(15, 35, 72, 0.85);
  border: 1px solid rgba(245, 197, 24, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  min-width: 2.15rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lang-btn:hover {
  color: var(--gold-soft);
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.28);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: auto;
  max-height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #0a1a3a;
  border: 1px solid rgba(245, 197, 24, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.45rem;
  font-weight: 400;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35);
}

.nav-cta:hover {
  background: var(--red-hot);
  color: var(--white) !important;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-hot);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 900;
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-lg {
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.05rem 1.5rem;
  font-size: 1.08rem;
  width: 100%;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 2.75rem 0 3.25rem;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 90% 20%, rgba(200, 16, 46, 0.55), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245, 197, 24, 0.12), transparent 45%),
    linear-gradient(155deg, #050b18 0%, var(--navy) 48%, #120810 100%);
  z-index: 0;
}

.hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}

.hero-slash {
  position: absolute;
  right: -8%;
  top: -10%;
  width: 55%;
  height: 130%;
  background: linear-gradient(115deg, transparent 40%, rgba(200, 16, 46, 0.18) 40.5%, rgba(200, 16, 46, 0.08) 62%, transparent 62.5%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

/* Phone / tablet: logo is the homepage open (source order = visual first). */
.hero-visual {
  text-align: center;
}

/* Desktop: same homepage as before — copy left, logo right */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.75rem;
    text-align: left;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    text-align: left;
  }

  .hero-visual .stat-strip {
    text-align: center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(200, 16, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.1rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gold {
  color: var(--gold);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 1.35rem;
}

.lead-tight {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.hero-micro {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto;
  width: min(360px, 86vw);
}

/* simplified mark — no spinning oval frame */
.logo-ring {
  display: none;
}

.logo-mark {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 24, 0.28);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
  background: #0a1a3a;
  object-fit: contain;
}

.stat-strip {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.stat-strip li {
  background: rgba(15, 35, 72, 0.75);
  border: 1px solid rgba(245, 197, 24, 0.18);
  border-radius: 14px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.stat-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 400;
}

.stat-strip span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

/* —— Sections —— */
.section {
  padding: 3.25rem 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, rgba(12, 20, 40, 0.9), rgba(8, 12, 24, 0.95));
  border-block: 1px solid rgba(245, 197, 24, 0.08);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.head-rule {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0.65rem auto 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.section-head.left .head-rule {
  margin-left: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.hero-proof-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--gold);
}

.hero-proof-link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.section-results {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(200, 16, 46, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(8, 14, 28, 0.98), rgba(4, 10, 22, 1));
  padding-block: 3.6rem;
}

/* Service rail — not box farm */
.service-rail {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(15, 35, 72, 0.9), rgba(10, 22, 48, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid rgba(245, 197, 24, 0.45);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-row:hover {
  border-left-color: var(--gold);
  transform: translateX(2px);
}

.service-row.accent {
  border-left-color: var(--red);
  background: linear-gradient(120deg, rgba(50, 12, 22, 0.55), rgba(15, 35, 72, 0.9));
}

.service-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0.9;
}

.service-row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(200, 16, 46, 0.28), rgba(10, 26, 58, 0.9));
  border: 1px solid rgba(245, 197, 24, 0.22);
}

.quote-band h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1.5rem;
}

.quote-band p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.95rem;
}

/* Before / after */
.ba-card {
  margin: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(245, 197, 24, 0.14);
  background: linear-gradient(180deg, rgba(18, 36, 68, 0.95), rgba(8, 16, 32, 0.98));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ba-card:hover {
  border-color: rgba(245, 197, 24, 0.42);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(245, 197, 24, 0.12);
  transform: translateY(-2px);
}

.ba-card figcaption {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.ba-card figcaption .job-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.28rem;
}

.ba-card figcaption strong {
  color: var(--text);
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.ba-card figcaption span:last-child {
  display: block;
  line-height: 1.4;
}

.ba-note {
  margin-top: 0.9rem;
}

.ba-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(105deg, rgba(200, 16, 46, 0.32), rgba(10, 26, 58, 0.92));
  border: 1px solid rgba(245, 197, 24, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.ba-cta strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.ba-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.ba-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Before/after comparison — real owner photos ─────────────────────────── */

/* second anchor so older /#gallery links still land on this section */
.anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: 5rem;
}

/* Two large columns — photos stay big (premium proof, not a thumbnail farm) */
.compare-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.compare-stage {
  --pos: 50%;
  position: relative;
  aspect-ratio: 709 / 946;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
}

/* Landscape basement shot — full width so the pile still reads */
@media (min-width: 700px) {
  .compare-wide {
    grid-column: 1 / -1;
  }
}

.compare-wide .compare-stage {
  aspect-ratio: 16 / 10;
  max-height: 28rem;
}

/* its "after" is a portrait frame — bias the crop up so the room reads, not just floor */
.compare-wide .compare-layer {
  object-position: center 34%;
}

.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* the "before" shot is clipped back to reveal the "after" underneath */
.compare-before-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(245, 197, 24, 0.35);
  pointer-events: none;
  z-index: 3;
}

.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.55rem;
  height: 2.55rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(4, 10, 22, 0.55);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.55),
    0 0 0 4px rgba(245, 197, 24, 0.18);
  background-color: var(--gold);
  /* left/right chevrons, inlined so there is no extra request */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12' fill='%23040a16'%3E%3Cpath d='M9 0.5 2.5 6 9 11.5z'/%3E%3Cpath d='M15 0.5 21.5 6 15 11.5z'/%3E%3C/svg%3E");
  background-size: 1.2rem auto;
  background-position: center;
  background-repeat: no-repeat;
}

.compare-tag {
  position: absolute;
  top: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(4, 10, 22, 0.78);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tag-before {
  left: 0.7rem;
}

.tag-after {
  right: 0.7rem;
  color: var(--navy-deep);
  background: var(--gold);
}

.compare-hint {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: rgba(245, 197, 24, 0.92);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0.95;
}

/* hide drag chip once the card is being used / hovered */
.ba-card:hover .compare-hint,
.ba-card:focus-within .compare-hint {
  opacity: 0;
}

/* a real range input drives it: keyboard, screen readers and touch for free */
.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  /* let vertical swipes still scroll the page on phones */
  touch-action: pan-y;
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 3rem;
  height: 100%;
}

.compare-range::-moz-range-thumb {
  width: 3rem;
  height: 100%;
  border: 0;
  opacity: 0;
}

.compare-range:focus-visible {
  outline: none;
}

.compare-range:focus-visible ~ .compare-handle {
  width: 4px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 0 5px rgba(245, 197, 24, 0.4);
}

@media (prefers-reduced-motion: no-preference) {
  .compare-handle {
    transition: box-shadow 0.15s ease;
  }
  .compare-hint {
    transition: opacity 0.2s ease;
  }
}

.fineprint {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Mobile convert dock */
.mobile-dock {
  display: none;
}

@media (max-width: 719px) {
  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0.45rem;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(4, 10, 22, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(245, 197, 24, 0.28);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.4);
  }

  .mobile-dock .btn {
    width: 100%;
    padding: 0.85rem 0.75rem;
  }

  body {
    padding-bottom: 4.75rem;
  }
}

/* Areas */
.areas-block .section-head {
  margin-bottom: 1rem;
}

.areas-two {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .areas-two {
    grid-template-columns: 1fr 1fr;
  }
}

.area-chip-group {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(15, 35, 72, 0.65);
  border: 1px solid rgba(245, 197, 24, 0.15);
}

.area-chip-group h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.area-chip-group p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Contact */
.contact-hero {
  padding-bottom: 4rem;
}

.contact-frame {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-frame {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.contact-priority {
  padding: 1.5rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, rgba(200, 16, 46, 0.35), transparent 50%),
    linear-gradient(180deg, #122a52, #0a162e);
  border: 1px solid rgba(245, 197, 24, 0.28);
  box-shadow: var(--shadow);
}

.contact-priority h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.big-actions {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form {
  background: rgba(15, 35, 72, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem;
  display: grid;
  gap: 0.75rem;
}

.contact-form h3 {
  margin: 0;
  font-size: 1.05rem;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 2.5rem;
  background: #02060f;
}

.footer-inner {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 44px;
  height: auto;
  max-height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: #0a1a3a;
  border: 1px solid rgba(245, 197, 24, 0.25);
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.25rem;
  font-weight: 400;
}

.footer-brand span {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-tag {
  margin: 0;
  font-weight: 700;
  color: var(--gold);
}

.footer-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.credit {
  color: rgba(158, 176, 201, 0.65);
  letter-spacing: 0.04em;
}

/* Mobile homepage — match desktop feel: brand first, then pitch, then convert */
@media (max-width: 899px) {
  .hero {
    padding: 1.35rem 0 2.25rem;
  }

  .logo-stage {
    width: min(300px, 78vw);
  }

  .logo-mark {
    border-radius: 16px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-micro {
    text-align: center;
  }

  .stat-strip {
    margin-top: 0.85rem;
  }
}

@media (max-width: 639px) {
  .wrap {
    width: min(100% - 1.2rem, var(--max));
  }

  /* Compact top bar so the logo homepage is visible immediately */
  .response-bar p {
    font-size: 0.82rem;
  }

  .response-bar-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    padding: 0.4rem 0;
    text-align: center;
  }

  .response-bar-actions {
    justify-content: center;
  }

  .response-bar-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  /* One clean header row: brand + language (not a tall stack) */
  .header-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand img {
    width: 58px;
    max-height: 48px;
    border-radius: 10px;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .brand-text span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .header-tools {
    width: auto;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  /* Nav sits under brand row as a single compact strip */
  .nav {
    display: none;
  }

  .header-tools .lang-switch {
    align-self: center;
  }

  /* Secondary mobile nav under header — one row, not a wall of links */
  .site-header {
    border-bottom: 0;
  }

  .site-header::after {
    content: none;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    width: min(100% - 1.2rem, var(--max));
    margin: 0 auto;
    padding: 0 0 0.55rem;
  }

  .mobile-nav a {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    padding: 0.4rem 0.15rem;
    border-radius: 999px;
    background: rgba(15, 35, 72, 0.65);
    border: 1px solid rgba(245, 197, 24, 0.12);
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    color: var(--navy-deep);
    background: var(--gold);
    border-color: var(--gold);
  }

  .mobile-nav a.nav-cta {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
  }

  .hero {
    padding-top: 1.1rem;
  }

  .logo-stage {
    width: min(280px, 82vw);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .eyebrow {
    overflow-wrap: normal;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Keep 3-up stats like desktop — not a tall stack of cards */
  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-strip li {
    padding: 0.5rem 0.25rem;
  }

  .stat-strip strong {
    font-size: 0.95rem;
  }

  .stat-strip span {
    font-size: 0.62rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .quote-band {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-band .btn {
    width: 100%;
  }

  .hero-micro {
    font-size: 0.8rem;
    line-height: 1.45;
  }
}

/* Desktop keeps the original full nav; hide the mobile strip */
.mobile-nav {
  display: none;
}

@media (max-width: 639px) {
  .mobile-nav {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover,
  .service-row:hover,
  .ba-card:hover {
    transform: none;
  }
  .logo-ring,
  .pulse-dot {
    animation: none;
  }
  .compare-hint {
    transition: none;
  }
}
