/* Pixel Perfect Media — card-matched cyan / nebula brochure draft */
:root {
  --bg: #070b12;
  --bg-elevated: #0c121c;
  --bg-alt: #0a1018;
  --surface: #111925;
  --border: rgba(0, 229, 255, 0.1);
  --border-strong: rgba(0, 229, 255, 0.22);
  --text: #f4f7fb;
  --text-muted: #a8b4c4;
  --text-dim: #6e7c90;
  --cyan: #00e5ff;
  --cyan-bright: #5ef0ff;
  --cyan-deep: #00b8d4;
  --purple: #7b5cff;
  --accent: var(--cyan);
  --accent-soft: rgba(0, 229, 255, 0.12);
  --accent-hover: var(--cyan-bright);
  --focus: var(--cyan-bright);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 24px rgba(0, 229, 255, 0.45), 0 0 60px rgba(0, 229, 255, 0.2);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-sans: "Exo 2", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 72px;
  --container: 1280px;
}

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

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

body {
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

main {
  width: 100%;
  max-width: none;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-bright); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.85rem, 5.5vw, 3.35rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: 0.08em; }
h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.45rem;
  color: var(--text);
}

p { margin: 0 0 1rem; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 1.5rem);
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #041018;
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.logo-glow {
  color: var(--cyan);
  text-shadow: var(--glow);
}

.logo-glow-sm {
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 1px 0 rgba(0, 229, 255, 0.12), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cyan);
}

.logo:hover { color: var(--cyan-bright); }

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0%, var(--cyan) 35%, transparent 70%),
    radial-gradient(circle at 70% 70%, var(--purple) 0%, transparent 55%);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.55);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--cyan) !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.2);
  color: var(--cyan-bright) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* ========== Hero: card-back blue texture (no warp oval) ========== */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: #040816;
}

/* Soft nebula / cloudy blue texture like the business-card back */
.card-texture {
  position: absolute;
  inset: -8%;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 18% 28%, rgba(0, 140, 220, 0.38) 0%, transparent 62%),
    radial-gradient(ellipse 55% 50% at 82% 22%, rgba(70, 90, 255, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 60% 55% at 72% 78%, rgba(0, 200, 255, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 28% 82%, rgba(90, 60, 200, 0.35) 0%, transparent 58%),
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(12, 28, 70, 0.95) 0%, transparent 70%),
    linear-gradient(160deg, #050a18 0%, #0a1635 38%, #071028 68%, #040814 100%);
  filter: saturate(1.15) contrast(1.05);
}

.card-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 35% 28% at 35% 40%, rgba(0, 229, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 30% 25% at 65% 55%, rgba(140, 100, 255, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 48% 20%, rgba(40, 120, 255, 0.12) 0%, transparent 65%);
  filter: blur(28px);
  opacity: 0.95;
  animation: texture-breathe 14s ease-in-out infinite;
}

.card-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.card-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 22% 30%, rgba(0, 200, 255, 0.12) 0%, transparent 22%),
    radial-gradient(circle at 78% 35%, rgba(100, 80, 255, 0.14) 0%, transparent 24%),
    radial-gradient(circle at 55% 70%, rgba(0, 229, 255, 0.08) 0%, transparent 28%);
  animation: orbs-drift 18s ease-in-out infinite;
}

.card-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(4, 8, 20, 0.7) 0%, rgba(4, 8, 20, 0.15) 16%, transparent 30%),
    linear-gradient(180deg, transparent 55%, rgba(4, 8, 20, 0.5) 78%, rgba(4, 8, 20, 0.96) 92%, var(--bg) 100%),
    radial-gradient(ellipse 95% 75% at 50% 42%, transparent 35%, rgba(4, 8, 20, 0.5) 100%);
  pointer-events: none;
}

@keyframes texture-breathe {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes orbs-drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.9; }
  50% { transform: translate(8px, -10px); opacity: 1; }
}

/* Hero copy — card-like title prominence */
.hero-inner {
  position: relative;
  z-index: 10;
  /* width/max-width from .container — do not re-cap here */
  padding: clamp(1.75rem, 4vh, 2.75rem) 0 clamp(2.5rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: min(100vh, 900px);
  text-align: center;
}

.hero-brand {
  padding-top: 0.5rem;
}

/* Card-matched title: cyan→blue fill, dark stroke, soft glow, no plate — slight pulse */
.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.6vw, 4.25rem);
  line-height: 1.12;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 100%;
  white-space: normal; /* single-line restored at wide desktop via MQ */
  background: linear-gradient(180deg, #7af7ff 0%, #4de8ff 38%, #1ab4f0 72%, #0a8fd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* dark outline + cyan glow (card lettering) */
  filter:
    drop-shadow(0 0 1px rgba(0, 10, 24, 0.95))
    drop-shadow(0 1px 0 rgba(0, 8, 20, 0.9))
    drop-shadow(0 -1px 0 rgba(0, 8, 20, 0.55))
    drop-shadow(1px 0 0 rgba(0, 8, 20, 0.55))
    drop-shadow(-1px 0 0 rgba(0, 8, 20, 0.55))
    drop-shadow(0 0 10px rgba(0, 229, 255, 0.85))
    drop-shadow(0 0 28px rgba(0, 229, 255, 0.55))
    drop-shadow(0 0 56px rgba(0, 184, 212, 0.35));
  animation: title-pulse 4.8s ease-in-out infinite;
  will-change: filter, transform, opacity;
}

.hero-title .title-media {
  display: inline;
}

@keyframes title-pulse {
  0%, 100% {
    opacity: 0.94;
    transform: scale(1);
    filter:
      drop-shadow(0 0 1px rgba(0, 10, 24, 0.95))
      drop-shadow(0 1px 0 rgba(0, 8, 20, 0.9))
      drop-shadow(0 -1px 0 rgba(0, 8, 20, 0.55))
      drop-shadow(1px 0 0 rgba(0, 8, 20, 0.55))
      drop-shadow(-1px 0 0 rgba(0, 8, 20, 0.55))
      drop-shadow(0 0 8px rgba(0, 229, 255, 0.65))
      drop-shadow(0 0 22px rgba(0, 229, 255, 0.35))
      drop-shadow(0 0 40px rgba(0, 184, 212, 0.22));
  }
  50% {
    opacity: 1;
    transform: scale(1.008);
    filter:
      drop-shadow(0 0 1px rgba(0, 10, 24, 0.95))
      drop-shadow(0 1px 0 rgba(0, 8, 20, 0.9))
      drop-shadow(0 -1px 0 rgba(0, 8, 20, 0.55))
      drop-shadow(1px 0 0 rgba(0, 8, 20, 0.55))
      drop-shadow(-1px 0 0 rgba(0, 8, 20, 0.55))
      drop-shadow(0 0 12px rgba(90, 240, 255, 0.85))
      drop-shadow(0 0 28px rgba(0, 229, 255, 0.5))
      drop-shadow(0 0 52px rgba(0, 184, 212, 0.32));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title { animation: none; }
}

.hero-sub {
  margin: 0 0 0.65rem;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-lower {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.hero-lead {
  font-size: 1.05rem;
  width: 100%;
  max-width: none;
  margin: 0 auto 1.1rem;
  color: var(--text-muted);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-services {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.4), 0 2px 10px rgba(0, 0, 0, 0.7);
  line-height: 1.7;
}

.hero-services span {
  color: var(--text-dim);
  margin: 0 0.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--cyan);
  color: #041018;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
  background: var(--cyan-bright);
  color: #041018;
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.5);
}

.btn-ghost {
  background: rgba(7, 11, 18, 0.55);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.08);
}

.btn-block { width: 100%; }

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-header {
  width: 100%;
  max-width: none;
  margin-bottom: 2.5rem;
}

.section-header .section-intro {
  max-width: 42rem; /* prose only — does NOT constrain grids */
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-intro { margin: 0; }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.55rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.08);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--cyan);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.service-icon svg { width: 100%; height: 100%; }

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy strong { color: var(--text); font-weight: 600; }

.about-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.about-panel {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 229, 255, 0.15), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(123, 92, 255, 0.12), transparent 50%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.about-panel-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}

.about-panel blockquote { margin: 0 0 1.5rem; }

.about-panel blockquote p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
}

.about-panel-note {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.gallery-item { margin: 0; }

.placeholder-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 229, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.05), transparent 40%),
    repeating-linear-gradient(
      -45deg,
      var(--bg-elevated),
      var(--bg-elevated) 12px,
      #0e1520 12px,
      #0e1520 24px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
}

.placeholder-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.placeholder-title {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.gallery-item figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Estimate */
.section-estimate {
  background:
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(0, 229, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 50% at 0% 80%, rgba(123, 92, 255, 0.08), transparent 50%),
    var(--bg);
  border-top: 1px solid var(--border);
}

.estimate-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.estimate-note {
  padding: 1rem 1.1rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.estimate-note strong {
  color: var(--cyan);
  font-weight: 600;
}

.estimate-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow), 0 0 40px rgba(0, 229, 255, 0.06);
}

.estimate-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.estimate-card-header h3 { margin-bottom: 0.25rem; }

.estimate-card-header p {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.estimate-mock {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.mock-row { display: flex; gap: 0.5rem; }

.mock-row span {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.1);
  flex: 1;
}

.mock-row-wide span { height: 48px; }

.mock-btn {
  height: 14px;
  width: 40%;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.4);
  margin-top: 0.25rem;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}


/* Payments / Venmo */
.section-payments {
  background:
    radial-gradient(ellipse 50% 60% at 0% 40%, rgba(0, 229, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 50% at 100% 70%, rgba(123, 92, 255, 0.08), transparent 50%),
    var(--bg);
  border-top: 1px solid var(--border);
}

.payments-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.payments-copy strong {
  color: var(--cyan);
  font-weight: 600;
}

.payments-note {
  padding: 1rem 1.1rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.payments-qr {
  margin: 0;
  justify-self: center;
  text-align: center;
  max-width: 280px;
  width: 100%;
}

.payments-qr-link {
  display: block;
  padding: 0.85rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 32px rgba(0, 229, 255, 0.12);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.payments-qr-link:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 229, 255, 0.28);
}

.payments-qr img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.payments-qr figcaption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  word-break: break-word;
}

.payments-qr figcaption a {
  color: var(--cyan);
}

.payments-qr figcaption a:hover {
  color: var(--cyan-bright);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.contact-details div { display: grid; gap: 0.2rem; }

.contact-details dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-details dd {
  margin: 0;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-stub-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.65rem 0.8rem;
  background: rgba(0, 229, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
}

.form-row { margin-bottom: 1rem; }

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-dim); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}

.form-feedback {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--cyan);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #05080e;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.footer-contact {
  font-size: 0.85rem !important;
  letter-spacing: 0 !important;
  color: var(--text-dim) !important;
}

.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--cyan); }

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

/* Tablet */
@media (min-width: 600px) {
  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop ≥900px — full brochure width, multi-column */
@media (min-width: 900px) {
  .hero,
  .hero-inner {
    min-height: min(78vh, 760px);
  }

  .hero-lower {
    width: 80%;
    max-width: 80%;
  }

  .hero-lead {
    width: 100%;
    max-width: none;
    font-size: 1.125rem;
  }

  .hero-services {
    width: 100%;
    max-width: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .section-header .section-intro {
    max-width: 48rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

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

@media (min-width: 1100px) {
  .hero-title {
    white-space: nowrap;
  }

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

  .hero-lower {
    width: 75%;
    max-width: 75%;
  }
}

/* Nav collapse + stack two-column sections */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(7, 11, 18, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .hero,
  .hero-inner {
    min-height: min(100vh, 860px);
  }

  .hero-title {
    letter-spacing: 0.06em;
    font-size: clamp(1.55rem, 7.2vw, 2.85rem);
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }

  .hero-title .title-media {
    display: block;
  }

  .about-grid,
  .estimate-inner,
  .contact-grid,
  .payments-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }

  .hero-title {
    letter-spacing: 0.04em;
    font-size: clamp(1.35rem, 8.5vw, 2.1rem);
  }

  .hero-services { letter-spacing: 0.04em; font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav { transition: none; }
  .card-texture::before,
  .card-glow { animation: none; }
}
