/* Garage Door Kings — Phase 0 minimal stylesheet
 * Vanilla CSS, no frameworks, no CDNs, no build step.
 * Mirrors the Apex SMP demo pattern in /demos/smp/assets/styles.css.
 *
 * Phase 0 ships ONLY the design tokens, demo banner, nav, footer,
 * and a placeholder hero. Phase 1+ layers homepage, services pages,
 * forms, portals, and admin dashboard on top of these tokens.
 *
 * The :root tokens here mirror /demos/garage/config.js — keep in sync.
 */

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0A0A0A;
  color: #F5F0E8;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ═══ DESIGN TOKENS (mirror config.js colors) ═══ */
:root {
  --gdk-bg: #0A0A0A;
  --gdk-bg-deeper: #050505;
  --gdk-surface: #1A1A1A;
  --gdk-surface-hover: #232323;
  --gdk-border: rgba(245, 240, 232, 0.08);
  --gdk-border-strong: rgba(245, 240, 232, 0.16);
  --gdk-border-accent: rgba(184, 115, 46, 0.3);
  --gdk-text: #F5F0E8;
  --gdk-text-dim: rgba(245, 240, 232, 0.7);
  --gdk-text-muted: rgba(245, 240, 232, 0.5);
  --gdk-text-faint: rgba(245, 240, 232, 0.35);
  --gdk-accent: #B8732E;          /* Brand copper */
  --gdk-accent-bright: #D4843A;   /* Hover */
  --gdk-accent-pale: #F2C998;     /* Light highlight */
  --gdk-accent-ghost: rgba(184, 115, 46, 0.08);
  --gdk-secondary: #3A3A3A;
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4, .font-display {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gdk-accent-text {
  background: linear-gradient(135deg, #B8732E 0%, #F2C998 50%, #B8732E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
::selection { background: rgba(184, 115, 46, 0.5); color: #fff; }

/* ═══ FOCUS ═══ */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gdk-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══ DEMO BANNER (top strip — consistent with /demos/smp/) ═══ */
.demo-banner {
  background: var(--gdk-bg-deeper);
  border-bottom: 1px solid var(--gdk-border-accent);
  color: var(--gdk-accent);
  text-align: center;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 600;
  text-transform: uppercase;
}
.demo-banner a {
  color: var(--gdk-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-banner a:hover { color: var(--gdk-accent-pale); }

/* ═══ NAV ═══ */
.gdk-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gdk-border);
}
.gdk-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gdk-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* Real wordmark image — black source, inverted to cream on the dark theme */
.gdk-logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: invert(95%) sepia(10%) saturate(180%) hue-rotate(345deg) brightness(98%);
  /* invert(95%) -> nearly white; sepia + hue rotate gives the warm cream of --gdk-text */
}
@media (max-width: 480px) { .gdk-logo-img { height: 32px; max-width: 170px; } }
/* Gold crown mark — already in brand color, no filter needed */
.gdk-logo-crown {
  display: block;
  height: 36px;
  width: 36px;
}
/* Legacy CSS-rendered mark (kept as fallback if image fails) */
.gdk-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.gdk-logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gdk-text);
}
.gdk-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 500;
}
.gdk-nav-links a {
  color: var(--gdk-text-dim);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.gdk-nav-links a:hover { color: var(--gdk-accent); }
@media (min-width: 880px) { .gdk-nav-links { display: flex; } }
.gdk-nav .gdk-nav-mobile-cta { display: inline-flex; }
@media (min-width: 880px) { .gdk-nav .gdk-nav-mobile-cta { display: none; } }

/* ═══ BUTTONS ═══ */
.gdk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}
.gdk-btn-primary {
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  box-shadow: 0 4px 14px rgba(184, 115, 46, 0.2);
}
.gdk-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(184, 115, 46, 0.35);
}
.gdk-btn-outline {
  background: transparent;
  color: var(--gdk-accent);
  border-color: rgba(184, 115, 46, 0.5);
}
.gdk-btn-outline:hover {
  border-color: var(--gdk-accent);
  background: var(--gdk-accent-ghost);
}
.gdk-btn-small { padding: 9px 18px; font-size: 0.75rem; }
.gdk-btn-wide  { padding: 16px 36px; }

/* ═══ COMMON ═══ */
.gdk-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gdk-accent);
  margin-bottom: 16px;
}

/* ═══ PHASE 0 PLACEHOLDER (homepage will replace this in Phase 2) ═══ */
.gdk-phase0-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.gdk-phase0-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(184, 115, 46, 0.08), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0.4));
  pointer-events: none;
}
.gdk-phase0-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  text-align: center;
}
.gdk-phase0-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
  font-weight: 700;
}
.gdk-phase0-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gdk-text-dim);
  margin-bottom: 32px;
  letter-spacing: 0.005em;
}
.gdk-phase0-body {
  color: var(--gdk-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}
.gdk-phase0-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 32px;
}
@media (min-width: 600px) { .gdk-phase0-meta { grid-template-columns: repeat(4, 1fr); } }
.gdk-phase0-meta-item {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.gdk-phase0-meta-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gdk-text-faint);
  margin-bottom: 6px;
  font-weight: 600;
}
.gdk-phase0-meta-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.92rem;
  color: var(--gdk-text);
  font-weight: 500;
}
.gdk-phase0-stub-links {
  font-size: 0.78rem;
  color: var(--gdk-text-faint);
  line-height: 1.8;
  margin-top: 32px;
  font-style: italic;
}
.gdk-phase0-stub-links a {
  color: var(--gdk-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-style: normal;
  margin: 0 2px;
}
.gdk-phase0-stub-links a:hover { color: var(--gdk-accent-pale); }

/* ═══ HERO (homepage) ═══ */
.gdk-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  text-align: center;
}
.gdk-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(184,115,46,0.18), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(10,10,10,1), rgba(10,10,10,0.5)),
    linear-gradient(135deg, #0A0A0A 0%, #1A1208 45%, #0A0A0A 100%);
}
.gdk-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 0);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
}
.gdk-hero-orb {
  position: absolute;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  top: 14%;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,115,46,0.22) 0%, rgba(184,115,46,0.08) 30%, transparent 60%);
  filter: blur(40px);
  transform: translateX(-50%);
  animation: gdkOrbDrift 30s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
@keyframes gdkOrbDrift {
  0%   { transform: translate(-50%, 0) scale(1); }
  50%  { transform: translate(-42%, 20px) scale(1.1); }
  100% { transform: translate(-55%, -16px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) { .gdk-hero-orb { animation: none; } }
.gdk-hero-inner { position: relative; z-index: 2; max-width: 880px; }
.gdk-hero-lockup {
  display: block;
  margin: 0 auto 24px;
  max-width: min(380px, 70vw);
  width: 100%;
  height: auto;
  filter: invert(95%) sepia(10%) saturate(180%) hue-rotate(345deg) brightness(98%);
}
.gdk-hero-crown {
  display: block;
  margin: 0 auto 22px;
  width: 110px;
  height: 92px;
  color: var(--gdk-accent);
  filter: drop-shadow(0 4px 18px rgba(184, 115, 46, 0.35));
}
@media (max-width: 480px) { .gdk-hero-crown { width: 84px; height: 70px; } }
.gdk-hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.04;
  margin-bottom: 22px;
  font-weight: 700;
}
.gdk-hero-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--gdk-text-dim);
  margin-bottom: 18px;
  line-height: 1.4;
}
.gdk-hero-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--gdk-text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.gdk-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 600px) { .gdk-hero-ctas { flex-direction: row; justify-content: center; gap: 14px; } }
.gdk-hero-trust {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--gdk-text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.gdk-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.gdk-hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gdk-accent); }

/* ═══ SECTION + CONTAINER ═══ */
.gdk-section { padding: 96px 24px; position: relative; }
@media (max-width: 768px) { .gdk-section { padding: 64px 20px; } }
.gdk-section-deep { background: var(--gdk-bg-deeper); }
.gdk-container { max-width: 1200px; margin: 0 auto; }
.gdk-container-narrow { max-width: 880px; margin: 0 auto; }
.gdk-section-head { text-align: center; margin-bottom: 56px; }
.gdk-section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.gdk-section-subtitle {
  color: var(--gdk-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ═══ STATS BAR ═══ */
.gdk-stats {
  background: var(--gdk-bg-deeper);
  border-top: 1px solid var(--gdk-border);
  border-bottom: 1px solid var(--gdk-border);
  padding: 56px 24px;
}
.gdk-stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) { .gdk-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.gdk-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}
.gdk-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gdk-text-faint);
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 600;
}

/* ═══ SERVICE CARDS (homepage preview + services page) ═══ */
.gdk-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px)  { .gdk-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .gdk-services-grid { grid-template-columns: repeat(3, 1fr); } }
.gdk-service-card {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex;
  flex-direction: column;
}
.gdk-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gdk-border-accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(184,115,46,0.08);
}
.gdk-service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gdk-accent-ghost);
  border: 1px solid var(--gdk-border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.gdk-service-name {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.gdk-service-price {
  color: var(--gdk-accent-pale);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.gdk-service-desc {
  color: var(--gdk-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.gdk-service-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gdk-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gdk-service-link:hover { color: var(--gdk-accent-pale); }

/* ═══ SERVICE AREAS PILLS ═══ */
.gdk-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 760px) { .gdk-areas-grid { grid-template-columns: repeat(4, 1fr); } }
.gdk-area-pill {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.2s;
}
.gdk-area-pill:hover { border-color: var(--gdk-border-accent); background: var(--gdk-surface-hover); }
.gdk-area-pill .name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gdk-text);
  margin-bottom: 4px;
}
.gdk-area-pill .meta {
  font-size: 0.72rem;
  color: var(--gdk-text-faint);
  letter-spacing: 0.05em;
}

/* ═══ REVIEW CARDS ═══ */
.gdk-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .gdk-reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.gdk-review-card {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.gdk-review-stars {
  color: var(--gdk-accent);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.gdk-review-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--gdk-text-dim);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.gdk-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gdk-review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.gdk-review-name { font-weight: 500; font-size: 0.92rem; color: var(--gdk-text); }
.gdk-review-meta { font-size: 0.74rem; color: var(--gdk-text-faint); margin-top: 2px; }

/* ═══ FORMS ═══ */
.gdk-form-stack { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.gdk-form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .gdk-form-row-2 { grid-template-columns: 1fr 1fr; } }
.gdk-label {
  font-size: 0.82rem;
  color: var(--gdk-text);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.gdk-label.req::after { content: ' *'; color: var(--gdk-accent); }
.gdk-input {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border-strong);
  color: var(--gdk-text);
  padding: 14px 16px;
  border-radius: 10px;
  width: 100%;
  font-size: 0.95rem;
  transition: all 0.25s;
  font-family: inherit;
}
.gdk-input:focus {
  outline: none;
  border-color: var(--gdk-accent);
  background: rgba(184,115,46,0.04);
  box-shadow: 0 0 0 3px rgba(184,115,46,0.1);
}
.gdk-input::placeholder { color: var(--gdk-text-faint); }
.gdk-input.error { border-color: #DC2626; }
textarea.gdk-input { min-height: 120px; resize: vertical; }
select.gdk-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23F2C998' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.gdk-error-msg { color: #DC2626; font-size: 0.78rem; margin-top: 4px; display: none; }
.gdk-error-msg.show { display: block; }
.gdk-consent-card {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.gdk-consent-card.invalid { border-color: #DC2626; }
.gdk-consent-card input { width: 18px; height: 18px; accent-color: var(--gdk-accent); margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.gdk-consent-card span { font-size: 0.85rem; color: var(--gdk-text-dim); line-height: 1.55; }

/* ═══ MOCK CONFIRMATION OVERLAY (lead form + payment) ═══ */
.gdk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}
.gdk-overlay.active { display: flex; }
.gdk-overlay.visible { opacity: 1; }
.gdk-overlay-card {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border-accent);
  border-radius: 18px;
  padding: 44px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 50px rgba(184,115,46,0.12);
}
.gdk-spinner {
  width: 60px; height: 60px;
  margin: 0 auto 24px;
  border: 3px solid rgba(184,115,46,0.15);
  border-top-color: var(--gdk-accent);
  border-radius: 50%;
  animation: gdkSpin 0.9s linear infinite;
}
@keyframes gdkSpin { to { transform: rotate(360deg); } }
.gdk-check {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 700;
  animation: gdkBurst 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
@keyframes gdkBurst {
  0%   { transform: scale(0.5); opacity: 0; box-shadow: 0 0 0 0 rgba(184,115,46,0.6); }
  50%  { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 22px rgba(184,115,46,0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(184,115,46,0); }
}
.gdk-stage { display: none; }
.gdk-stage.active { display: block; }
.gdk-overlay-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  color: var(--gdk-text);
  margin-bottom: 10px;
}
.gdk-overlay-title.success { color: var(--gdk-accent-pale); }
.gdk-overlay-sub { font-size: 0.9rem; color: var(--gdk-text-muted); line-height: 1.55; }
.gdk-overlay-meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gdk-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.gdk-overlay-meta .k { color: var(--gdk-text-muted); }
.gdk-overlay-meta .v { color: var(--gdk-accent-pale); font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.gdk-overlay-note { margin-top: 22px; font-size: 0.7rem; color: var(--gdk-text-faint); font-style: italic; letter-spacing: 0.02em; }
.gdk-overlay-actions { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ═══ FADE-UP scroll animation ═══ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══ FINAL CTA ═══ */
.gdk-cta-final {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gdk-cta-final::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(184,115,46,0.15), transparent 70%);
}
.gdk-cta-final-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

/* ═══ ABOUT/CONTENT pages ═══ */
.gdk-page-header {
  text-align: center;
  padding: 80px 24px 48px;
  border-bottom: 1px solid var(--gdk-border);
}
.gdk-page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 14px;
}
.gdk-page-sub {
  color: var(--gdk-text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
.gdk-prose { max-width: 760px; margin: 0 auto; padding: 0 24px; color: var(--gdk-text-dim); font-size: 0.98rem; line-height: 1.75; }
.gdk-prose h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--gdk-accent-pale); }
.gdk-prose h3 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--gdk-text); }
.gdk-prose p { margin-bottom: 16px; }
.gdk-prose ul { padding-left: 24px; margin-bottom: 16px; }
.gdk-prose li { margin-bottom: 8px; }
.gdk-prose strong { color: var(--gdk-text); }

/* ═══ PORTAL + ADMIN ═══ */
.gdk-portal-main { max-width: 1280px; margin: 0 auto; padding: 36px 24px 80px; }
.gdk-sample-banner {
  background: linear-gradient(135deg, rgba(184,115,46,0.12), rgba(212,132,58,0.05));
  border: 1px solid var(--gdk-border-accent);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 36px;
}
.gdk-sample-banner .t { color: var(--gdk-accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.gdk-sample-banner .s { color: var(--gdk-text-muted); font-size: 0.78rem; line-height: 1.5; }
.gdk-portal-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gdk-border);
}
@media (min-width: 768px) { .gdk-portal-header { flex-direction: row; align-items: center; justify-content: space-between; } }
.gdk-portal-welcome { display: flex; align-items: center; gap: 18px; }
.gdk-avatar-large {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.gdk-portal-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; }
.gdk-portal-meta { font-size: 0.82rem; color: var(--gdk-text-faint); margin-top: 4px; }
.gdk-portal-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .gdk-portal-grid { grid-template-columns: 1fr 1fr; } }
.gdk-portal-card {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color 0.3s;
}
.gdk-portal-card:hover { border-color: var(--gdk-border-accent); }
.gdk-portal-card.full { grid-column: 1 / -1; }
.gdk-portal-card-label { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--gdk-accent); text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.gdk-portal-card-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; color: var(--gdk-accent-pale); margin-bottom: 16px; }

/* Tables (admin + portal) */
.gdk-table-wrap { overflow-x: auto; margin: 0 -2px; }
.gdk-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.88rem; }
.gdk-table th {
  text-align: left;
  font-weight: 600;
  color: var(--gdk-text-faint);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--gdk-border-accent);
  white-space: nowrap;
}
.gdk-table td { padding: 14px 12px; border-bottom: 1px solid var(--gdk-border); color: var(--gdk-text-dim); }
.gdk-table tr:last-child td { border-bottom: none; }
.gdk-table tr:hover td { background: rgba(184,115,46,0.03); }
.gdk-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gdk-badge-new       { background: rgba(184,115,46,0.18); color: var(--gdk-accent-pale); border: 1px solid var(--gdk-border-accent); }
.gdk-badge-contacted { background: rgba(96,165,250,0.12); color: #93c5fd; border: 1px solid rgba(96,165,250,0.3); }
.gdk-badge-estimated { background: rgba(167,139,250,0.12); color: #c4b5fd; border: 1px solid rgba(167,139,250,0.3); }
.gdk-badge-won       { background: rgba(34,197,94,0.12); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.gdk-badge-lost      { background: rgba(245,158,11,0.08); color: rgba(245,240,232,0.5); border: 1px solid rgba(245,240,232,0.15); }
.gdk-badge-paid      { background: rgba(34,197,94,0.12); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.gdk-badge-due       { background: rgba(184,115,46,0.18); color: var(--gdk-accent-pale); border: 1px solid var(--gdk-border-accent); }
.gdk-badge-scheduled { background: rgba(96,165,250,0.12); color: #93c5fd; border: 1px solid rgba(96,165,250,0.3); }
.gdk-badge-progress  { background: rgba(245,158,11,0.18); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }

/* Admin KPI tiles */
.gdk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
@media (min-width: 760px) { .gdk-kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.gdk-kpi {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 12px;
  padding: 20px 22px;
}
.gdk-kpi-label { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--gdk-text-faint); text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.gdk-kpi-value { font-family: 'Fraunces', Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--gdk-accent-pale); line-height: 1; }
.gdk-kpi-delta { font-size: 0.74rem; margin-top: 8px; color: var(--gdk-text-faint); }
.gdk-kpi-delta.up { color: #86efac; }
.gdk-kpi-delta.down { color: rgba(245,158,11,0.85); }

/* Calendar list for jobs */
.gdk-job-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 16px 18px;
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 12px;
  margin-bottom: 10px;
  align-items: center;
}
.gdk-job-row:hover { border-color: var(--gdk-border-accent); }
.gdk-job-date {
  text-align: center;
  width: 56px;
  flex-shrink: 0;
}
.gdk-job-date .day {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gdk-accent-pale);
  line-height: 1;
}
.gdk-job-date .mon {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gdk-text-faint);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}
.gdk-job-info .who { font-weight: 500; color: var(--gdk-text); margin-bottom: 4px; }
.gdk-job-info .meta { font-size: 0.78rem; color: var(--gdk-text-faint); }
.gdk-job-value {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--gdk-accent-pale);
  font-weight: 600;
  white-space: nowrap;
}

/* SMS log */
.gdk-sms-row {
  padding: 14px 16px;
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 10px;
  margin-bottom: 8px;
}
.gdk-sms-row .head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gdk-text-faint);
  margin-bottom: 6px;
}
.gdk-sms-row .head .who { color: var(--gdk-text); font-weight: 500; }
.gdk-sms-row .body { font-size: 0.88rem; color: var(--gdk-text-dim); line-height: 1.5; }
.gdk-sms-row.in .body { color: var(--gdk-accent-pale); font-style: italic; }
.gdk-sms-dir {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}
.gdk-sms-dir.out { background: rgba(184,115,46,0.18); color: var(--gdk-accent-pale); }
.gdk-sms-dir.in  { background: rgba(96,165,250,0.12); color: #93c5fd; }

/* Filter chips */
.gdk-chip-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.gdk-chip {
  padding: 8px 16px;
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gdk-text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.gdk-chip:hover { border-color: var(--gdk-border-accent); color: var(--gdk-text); }
.gdk-chip.active {
  background: var(--gdk-accent);
  border-color: var(--gdk-accent);
  color: var(--gdk-bg);
  font-weight: 600;
}

/* ═══ FOOTER ═══ */
.gdk-footer {
  border-top: 1px solid var(--gdk-border);
  background: var(--gdk-bg-deeper);
  padding: 40px 24px 32px;
  margin-top: auto;
}
.gdk-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gdk-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gdk-footer-tag {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--gdk-text-muted);
  font-size: 0.88rem;
  margin-top: 4px;
}
.gdk-footer-meta {
  font-size: 0.75rem;
  color: var(--gdk-text-faint);
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.gdk-footer-meta a {
  color: var(--gdk-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gdk-footer-meta a:hover { color: var(--gdk-accent-pale); }

/* ═══════════════════════════════════════════════════════════════════
   PHOTO UPGRADE — TIER 2 VISUAL PASS
   Hero photo · service-card photo banners · Lucide SVG icons
   Featured Installs gallery · Meet the Team grid · stagger delays
   ═══════════════════════════════════════════════════════════════════ */

/* HERO — replace orb radial with real photograph + warm dim overlay */
.gdk-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/demos/garage/assets/photos/hero-home.jpg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}
@media (min-width: 1100px) {
  .gdk-hero-photo { background-attachment: fixed; }  /* desktop parallax */
}
.gdk-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(184,115,46,0.16), transparent 65%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.78) 60%, rgba(10,10,10,0.96) 100%);
}
/* When photo is active, hide the orb so they don't fight */
.gdk-hero.has-photo .gdk-hero-orb { display: none; }

/* SERVICE CARDS — top-banner photo variant */
.gdk-service-card.with-photo {
  padding: 0;
  overflow: hidden;
}
.gdk-service-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gdk-bg-deeper);
}
.gdk-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gdk-service-card.with-photo:hover .gdk-service-photo img {
  transform: scale(1.06);
}
.gdk-service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.55) 100%);
  pointer-events: none;
}
.gdk-service-card.with-photo .gdk-service-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Floating icon over the photo */
.gdk-service-card.with-photo .gdk-service-icon {
  position: absolute;
  bottom: -22px;
  left: 22px;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  border: 1px solid rgba(245,240,232,0.15);
  width: 48px; height: 48px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
  z-index: 2;
}
.gdk-service-card.with-photo .gdk-service-icon svg {
  width: 22px; height: 22px; stroke-width: 2;
}
.gdk-service-card.with-photo .gdk-service-name {
  margin-top: 14px;  /* room for the floating icon */
}

/* SERVICES PAGE — detail card with side photo */
.gdk-service-detail {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gdk-service-detail:hover {
  border-color: var(--gdk-border-accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(184,115,46,0.06);
}
@media (min-width: 880px) {
  .gdk-service-detail { grid-template-columns: 360px 1fr; }
}
.gdk-service-detail-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gdk-bg-deeper);
  overflow: hidden;
}
@media (min-width: 880px) {
  .gdk-service-detail-photo { aspect-ratio: auto; height: 100%; min-height: 280px; }
}
.gdk-service-detail-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gdk-service-detail-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
}
.gdk-service-detail-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 880px) { .gdk-service-detail-body { padding: 40px 36px; } }
.gdk-service-detail-body .gdk-service-icon {
  margin-bottom: 14px;
}
.gdk-service-detail-body .gdk-service-icon svg {
  width: 22px; height: 22px; stroke-width: 2;
}

/* LUCIDE ICON sizing inside default .gdk-service-icon */
.gdk-service-icon svg { width: 22px; height: 22px; color: var(--gdk-accent); stroke-width: 2; }

/* FEATURED INSTALLS GALLERY */
.gdk-installs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 680px) { .gdk-installs-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .gdk-installs-grid { grid-template-columns: repeat(4, 1fr); } }
.gdk-photo-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gdk-border);
  background: var(--gdk-bg-deeper);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), border-color 0.3s, box-shadow 0.3s;
}
.gdk-photo-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gdk-border-accent);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 24px rgba(184,115,46,0.1);
}
.gdk-photo-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gdk-photo-tile:hover img { transform: scale(1.07); }
.gdk-photo-tile-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.9) 70%);
  color: var(--gdk-text);
  pointer-events: none;
}
.gdk-photo-tile-loc {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gdk-accent-pale);
  margin-bottom: 2px;
}
.gdk-photo-tile-meta {
  font-size: 0.78rem;
  color: var(--gdk-text-dim);
  letter-spacing: 0.02em;
}

/* MEET THE TEAM */
.gdk-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 760px) { .gdk-team-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.gdk-team-card {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gdk-team-card:hover {
  transform: translateY(-4px);
  border-color: var(--gdk-border-accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(184,115,46,0.08);
}
.gdk-team-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gdk-bg-deeper);
}
.gdk-team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: saturate(0.92);
}
.gdk-team-card:hover .gdk-team-photo img { transform: scale(1.04); filter: saturate(1.05); }
.gdk-team-body { padding: 22px 22px 24px; }
.gdk-team-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gdk-text);
  margin-bottom: 4px;
  line-height: 1.2;
}
.gdk-team-role {
  color: var(--gdk-accent-pale);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gdk-team-bio {
  color: var(--gdk-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* STAGGER DELAYS for fade-up grids */
.fade-up.delay-1 { transition-delay: 0.08s; }
.fade-up.delay-2 { transition-delay: 0.16s; }
.fade-up.delay-3 { transition-delay: 0.24s; }
.fade-up.delay-4 { transition-delay: 0.32s; }
.fade-up.delay-5 { transition-delay: 0.40s; }
.fade-up.delay-6 { transition-delay: 0.48s; }

/* SECTION DIVIDER — thin gold rule with center glyph */
.gdk-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  max-width: 280px;
  color: var(--gdk-accent);
  opacity: 0.7;
}
.gdk-divider::before, .gdk-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gdk-border-accent), transparent);
}
.gdk-divider svg { width: 14px; height: 14px; flex-shrink: 0; }

/* COUNT-UP STATS — make the stat numbers glow when visible */
.gdk-stat-num {
  text-shadow: 0 2px 28px rgba(184,115,46,0.28);
}

/* ═══════════════════════════════════════════════════════════════════
   PAYMENT FEATURE — admin-pay form, /pay.html branded page,
   in-person handoff overlay, payments log on admin
   ═══════════════════════════════════════════════════════════════════ */

/* AMOUNT INPUT — $ prefix on admin-pay form */
.gdk-amount-input {
  position: relative;
  display: flex;
  align-items: stretch;
}
.gdk-amount-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gdk-accent-pale);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  pointer-events: none;
}
.gdk-amount-input .gdk-input {
  padding-left: 32px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  width: 100%;
}

/* ADMIN-PAY ACTION BUTTONS */
.gdk-pay-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 600px) {
  .gdk-pay-actions { flex-direction: row; gap: 14px; }
  .gdk-pay-actions > .gdk-btn { flex: 1; }
}
.gdk-btn-take-now {
  border-color: var(--gdk-accent);
  color: var(--gdk-accent-pale);
  background: rgba(184, 115, 46, 0.08);
}
.gdk-btn-take-now:hover {
  background: rgba(184, 115, 46, 0.16);
  border-color: var(--gdk-accent-bright);
  color: var(--gdk-text);
}
.gdk-btn-payment-cta {
  background: linear-gradient(135deg, var(--gdk-accent-bright), var(--gdk-accent));
  box-shadow: 0 4px 14px rgba(184, 115, 46, 0.32);
}

/* ═══ /pay.html — BRANDED CUSTOMER PAYMENT PAGE ═══ */
.gdk-pay-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--gdk-bg-deeper);
  border-bottom: 1px solid var(--gdk-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gdk-pay-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.gdk-pay-crown {
  width: 28px;
  height: 24px;
  color: var(--gdk-accent);
  flex-shrink: 0;
}
.gdk-pay-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gdk-text-faint);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .gdk-pay-secure span { display: none; }
}

.gdk-pay-main {
  max-width: 540px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}
@media (max-width: 480px) {
  .gdk-pay-main { padding: 24px 16px 40px; }
}

.gdk-pay-card {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border);
  border-radius: 18px;
  padding: 36px 28px 32px;
}
@media (max-width: 480px) {
  .gdk-pay-card { padding: 28px 22px 26px; border-radius: 14px; }
}

.gdk-pay-greeting {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gdk-text);
  margin-bottom: 6px;
}
.gdk-pay-tagline {
  color: var(--gdk-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 26px;
}

.gdk-pay-invoice-box {
  background: var(--gdk-bg-deeper);
  border: 1px solid var(--gdk-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.gdk-pay-invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 12px;
}
.gdk-pay-invoice-label {
  font-size: 0.78rem;
  color: var(--gdk-text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gdk-pay-invoice-value {
  font-size: 0.92rem;
  color: var(--gdk-text);
  text-align: right;
  word-break: break-word;
}
.gdk-pay-invoice-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--gdk-border-accent);
}
.gdk-pay-invoice-total .gdk-pay-invoice-label {
  font-size: 0.85rem;
  color: var(--gdk-text-dim);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.gdk-pay-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gdk-accent-pale);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* PAYMENT METHOD BUTTONS */
.gdk-pay-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gdk-pay-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-align: center;
}
.gdk-pay-method:hover { transform: translateY(-1px); }
.gdk-pay-method:active { transform: translateY(0); }
.gdk-pay-method:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.gdk-pay-method-sub {
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

.gdk-pay-method.apple-pay {
  background: #000;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.gdk-pay-method.apple-pay:hover {
  background: #1c1c1c;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

.gdk-pay-method.google-pay {
  background: #fff;
  color: #3c4043;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.gdk-pay-method.google-pay:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.gdk-pay-method.affirm {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(74, 144, 226, 0.32);
}
.gdk-pay-method.affirm:hover {
  background: linear-gradient(135deg, #5AA0F2 0%, #4080CC 100%);
  box-shadow: 0 4px 18px rgba(74, 144, 226, 0.42);
}

.gdk-pay-method.klarna {
  background: #FFA8CD;
  color: #17120F;
  box-shadow: 0 2px 10px rgba(255, 168, 205, 0.32);
}
.gdk-pay-method.klarna:hover {
  background: #FFB8D5;
  box-shadow: 0 4px 18px rgba(255, 168, 205, 0.42);
}

/* "or pay by card" divider */
.gdk-pay-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 2px;
  color: var(--gdk-text-faint);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.gdk-pay-divider::before,
.gdk-pay-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gdk-border);
}

.gdk-pay-method.card-toggle {
  background: transparent;
  color: var(--gdk-text-dim);
  border: 1px solid var(--gdk-border);
  flex-direction: row;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.92rem;
  min-height: 48px;
}
.gdk-pay-method.card-toggle:hover {
  background: rgba(255,255,255,0.02);
  border-color: var(--gdk-border-strong);
  color: var(--gdk-text);
}
#card-toggle-chevron { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }

.gdk-pay-card-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  padding: 0;
}
.gdk-pay-card-form.open {
  max-height: 600px;
  padding: 18px 4px 4px;
}
.gdk-pay-card-row { margin-bottom: 14px; }
.gdk-pay-card-row .gdk-label { display: block; margin-bottom: 6px; }
.gdk-pay-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.gdk-pay-card-grid .gdk-label { display: block; margin-bottom: 6px; font-size: 0.78rem; }
.gdk-pay-card-grid .gdk-input { padding: 12px 14px; font-size: 0.92rem; }

.gdk-pay-footer-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gdk-text-faint);
  margin-top: 22px;
  letter-spacing: 0.02em;
}
.gdk-pay-footer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gdk-text-faint);
  padding: 28px 20px 36px;
  letter-spacing: 0.02em;
}
.gdk-pay-footer a {
  color: var(--gdk-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gdk-pay-footer a:hover { color: var(--gdk-accent-pale); }

/* PAYMENTS LOG on admin.html */
.gdk-payments-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .gdk-payments-totals { grid-template-columns: 1fr; gap: 10px; }
}
.gdk-pay-stat {
  background: var(--gdk-bg-deeper);
  border: 1px solid var(--gdk-border);
  border-radius: 10px;
  padding: 14px 16px;
}
.gdk-pay-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gdk-text-faint);
  font-weight: 600;
  margin-bottom: 6px;
}
.gdk-pay-stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gdk-accent-pale);
  font-weight: 600;
  line-height: 1;
}

.gdk-payments-table {
  min-width: 720px;
}

/* Stripe connected pill — small green status indicator */
.gdk-stripe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(134,239,172,0.08);
  border: 1px solid rgba(134,239,172,0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  color: #86efac;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* INVOICES PAGE — Filter bar */
.gdk-invoice-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: var(--gdk-bg-deeper);
  border: 1px solid var(--gdk-border);
  border-radius: 12px;
  margin-bottom: 20px;
}
@media (min-width: 880px) {
  .gdk-invoice-filters { grid-template-columns: auto auto 1fr; gap: 22px; align-items: end; }
}
.gdk-filter-group { display: flex; flex-direction: column; gap: 6px; }
.gdk-filter-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gdk-text-faint);
  font-weight: 600;
}

/* Invoice rows — clickable */
.gdk-invoice-row { cursor: pointer; }
.gdk-invoice-row:hover td { background: rgba(184,115,46,0.05); }
.gdk-invoice-row:focus { outline: 2px solid var(--gdk-accent); outline-offset: -2px; }

.gdk-invoices-table { min-width: 820px; }

/* INVOICE DETAIL MODAL */
.gdk-invoice-modal-card {
  max-width: 540px;
  width: 100%;
  position: relative;
  text-align: left;
  padding: 32px 30px 26px;
  max-height: 88vh;
  overflow-y: auto;
}
.gdk-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gdk-border);
  color: var(--gdk-text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.gdk-modal-close:hover {
  background: rgba(255,255,255,0.04);
  color: var(--gdk-text);
  border-color: var(--gdk-border-strong);
}

.gdk-invoice-receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gdk-border);
  margin-bottom: 20px;
}

.gdk-invoice-receipt-section {
  padding: 14px 0;
  border-bottom: 1px dashed var(--gdk-border);
}
.gdk-invoice-receipt-section:last-of-type { border-bottom: none; }

.gdk-invoice-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 5px 0;
}
.gdk-invoice-receipt-label {
  font-size: 0.78rem;
  color: var(--gdk-text-faint);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.gdk-invoice-receipt-value {
  font-size: 0.88rem;
  color: var(--gdk-text);
  text-align: right;
  word-break: break-word;
}

.gdk-invoice-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.gdk-invoice-receipt-totals .gdk-invoice-receipt-row { padding: 4px 0; }
.gdk-invoice-receipt-grand {
  margin-top: 6px;
  padding-top: 10px !important;
  border-top: 1px solid var(--gdk-border-accent);
}
.gdk-invoice-receipt-grand .gdk-invoice-receipt-label {
  color: var(--gdk-text);
  font-size: 0.95rem;
  font-weight: 600;
}
.gdk-invoice-receipt-grand .gdk-invoice-receipt-value {
  color: var(--gdk-accent-pale);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.gdk-invoice-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid var(--gdk-border);
}
@media (max-width: 480px) {
  .gdk-invoice-actions { flex-direction: column; }
  .gdk-invoice-actions .gdk-btn { width: 100%; }
}

/* Fresh demo entries — subtle green glow on the row */
.gdk-payment-fresh td {
  background: linear-gradient(90deg, rgba(134,239,172,0.08), rgba(134,239,172,0.02) 50%, transparent);
  border-left: 2px solid rgba(134,239,172,0.5);
  animation: gdkFreshPulse 2.4s ease-out 1;
}
.gdk-payment-fresh td:first-child { border-left-color: rgba(134,239,172,0.6); }
@keyframes gdkFreshPulse {
  0%   { background: linear-gradient(90deg, rgba(134,239,172,0.28), rgba(134,239,172,0.12) 50%, transparent); }
  100% { background: linear-gradient(90deg, rgba(134,239,172,0.08), rgba(134,239,172,0.02) 50%, transparent); }
}
.gdk-payment-fresh:hover td {
  background: linear-gradient(90deg, rgba(134,239,172,0.14), rgba(134,239,172,0.04) 50%, rgba(184,115,46,0.03)) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PORTAL UX UPGRADE — TIER 1 (Mobile Card-Stack for All Tables)
   At <600px every <table class="gdk-table"> row collapses into a
   stacked card. Each <td> opts into a layout slot via data-card-area.
   Desktop layout completely unchanged.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .gdk-table-wrap { overflow: visible; margin: 0; }
  .gdk-table {
    min-width: 0 !important;
    display: block;
    font-size: 0.92rem;
  }
  .gdk-table thead { display: none; }
  .gdk-table tbody { display: block; }
  .gdk-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "primary    amount"
      "secondary  status"
      "tertiary   tertiary";
    column-gap: 12px;
    row-gap: 6px;
    background: var(--gdk-surface);
    border: 1px solid var(--gdk-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    min-height: 64px;
    border-bottom: 1px solid var(--gdk-border) !important;
  }
  .gdk-table tr:hover td { background: transparent !important; }
  .gdk-table tr:last-child { border-bottom: 1px solid var(--gdk-border) !important; }
  .gdk-table td {
    border: none !important;
    padding: 0 !important;
    white-space: normal !important;
    color: var(--gdk-text-dim) !important;
    line-height: 1.4 !important;
    background: transparent !important;
  }
  .gdk-table td[data-card-area="primary"] {
    grid-area: primary;
    color: var(--gdk-text) !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
  }
  .gdk-table td[data-card-area="secondary"] {
    grid-area: secondary;
    color: var(--gdk-text-muted) !important;
    font-size: 0.84rem !important;
  }
  .gdk-table td[data-card-area="tertiary"] {
    grid-area: tertiary;
    color: var(--gdk-text-faint) !important;
    font-size: 0.78rem !important;
    padding-top: 6px !important;
    border-top: 1px dashed var(--gdk-border) !important;
    margin-top: 2px;
  }
  .gdk-table td[data-card-area="amount"] {
    grid-area: amount;
    text-align: right !important;
    font-family: 'Fraunces', Georgia, serif !important;
    font-weight: 600 !important;
    color: var(--gdk-accent-pale) !important;
    font-size: 1.05rem !important;
    align-self: start;
  }
  .gdk-table td[data-card-area="status"] {
    grid-area: status;
    text-align: right !important;
    align-self: start;
  }
  .gdk-table td[data-card-area="hidden"] { display: none !important; }
  /* Invoice rows are tappable */
  .gdk-invoice-row { cursor: pointer; }
  /* Fresh-pulse highlight survives the swap */
  .gdk-payment-fresh td { background: transparent !important; border-left: none !important; animation: none !important; }
  .gdk-payment-fresh {
    border-left: 3px solid rgba(134,239,172,0.6) !important;
    background: linear-gradient(90deg, rgba(134,239,172,0.08), rgba(134,239,172,0.02) 70%, transparent) !important;
  }
}

/* Mobile polish for the existing card-rows (Jobs / SMS / Reviews) */
@media (max-width: 600px) {
  .gdk-job-row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date  info"
      "value value";
    row-gap: 10px;
    padding: 14px 16px;
  }
  .gdk-job-row > :nth-child(1) { grid-area: date; }
  .gdk-job-row > :nth-child(2) { grid-area: info; }
  .gdk-job-row > :nth-child(3) { grid-area: value; text-align: right; padding-top: 8px; border-top: 1px dashed var(--gdk-border); }
  .gdk-sms-row { padding: 12px 14px; }
  .gdk-sms-row .head { flex-wrap: wrap; gap: 6px; }

  /* Sample banner — tighten padding + word-break long content */
  .gdk-sample-banner { padding: 12px 14px; gap: 10px; margin-bottom: 24px; }
  .gdk-sample-banner .t, .gdk-sample-banner .s { word-break: break-word; }

  /* KPI cards: single column instead of 2-up so values never clip */
  .gdk-kpi-grid { grid-template-columns: 1fr !important; gap: 10px; margin-bottom: 24px; }
  .gdk-kpi { padding: 16px 18px; }
  .gdk-kpi-value { font-size: 1.6rem; }

  /* Portal main padding tightened on mobile */
  .gdk-portal-main { padding: 24px 16px 64px; }

  /* Portal cards tighter padding on mobile */
  .gdk-portal-card { padding: 20px 16px !important; }

  /* Avatar smaller on mobile */
  .gdk-avatar-large { width: 52px; height: 52px; font-size: 1.1rem; }
  .gdk-portal-name { font-size: 1.5rem !important; }

  /* Payment stat cards single col */
  .gdk-payments-totals { grid-template-columns: 1fr !important; gap: 8px; margin-bottom: 16px; }
  .gdk-pay-stat { padding: 12px 14px; }
  .gdk-pay-stat-value { font-size: 1.3rem; }

  /* Invoice filter bar */
  .gdk-invoice-filters { padding: 14px 16px; gap: 14px; }

  /* Chip bars — wrap nicely */
  .gdk-chip-bar { flex-wrap: wrap; gap: 6px; }

  /* Header actions can stack */
  .gdk-portal-header > div:last-child { width: 100%; }
  .gdk-portal-header .gdk-btn { font-size: 0.74rem; }

  /* Demo banner — tighten so it fits */
  .demo-banner { padding: 8px 12px; font-size: 9px; letter-spacing: 0.12em; line-height: 1.4; }

  /* Nav inner padding tighter */
  .gdk-nav-inner { padding: 12px 16px; }
}

/* Always prevent body horizontal overflow as a safety net */
html, body { overflow-x: hidden; }

/* ═══════════════════════════════════════════════════════════════════
   PORTAL UX UPGRADE — TIER 2 (Today View Mobile Landing)
   At <768px, admin.html lands on a focused "Today" view with
   collected-today stat, today's jobs, attention items, recent money,
   and a CTA to switch to the full dashboard. localStorage persists choice.
   ═══════════════════════════════════════════════════════════════════ */

/* View toggle hidden on desktop, full dashboard always visible */
.gdk-view-toggle { display: none; }
#today-view { display: none; }

@media (max-width: 768px) {
  /* Toggle bar */
  .gdk-view-toggle {
    display: flex;
    gap: 0;
    background: var(--gdk-bg-deeper);
    border: 1px solid var(--gdk-border);
    border-radius: 999px;
    padding: 4px;
    margin: 0 0 24px;
    width: 100%;
  }
  .gdk-view-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gdk-text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: all 0.2s;
  }
  .gdk-view-tab:hover { color: var(--gdk-text); }
  .gdk-view-tab.active {
    background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
    color: var(--gdk-bg);
    box-shadow: 0 2px 10px rgba(184,115,46,0.32);
  }

  /* Today vs Full toggle behavior */
  body[data-view="today"] #full-dashboard { display: none; }
  body[data-view="today"] #today-view { display: block; }
  body[data-view="full"] #today-view { display: none; }
  body[data-view="full"] #full-dashboard { display: block; }
}

/* Today view layout (desktop overrides above set display:none) */
@media (max-width: 768px) {
  body[data-view="today"] .gdk-portal-header { display: none; }
  body[data-view="today"] .gdk-kpi-grid { display: none; }
}

#today-view.gdk-today-view { padding: 0; }

/* Big stat hero */
.gdk-today-hero {
  text-align: center;
  padding: 32px 20px 28px;
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border);
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(184,115,46,0.06);
}
.gdk-today-label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gdk-text-faint);
  font-weight: 700;
  margin-bottom: 12px;
}
.gdk-today-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gdk-accent-pale);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 32px rgba(184,115,46,0.32);
  margin-bottom: 10px;
}
.gdk-today-date {
  font-size: 0.82rem;
  color: var(--gdk-text-muted);
  font-style: italic;
}

/* Section blocks */
.gdk-today-section {
  margin-bottom: 24px;
  padding: 18px 16px;
  background: var(--gdk-bg-deeper);
  border: 1px solid var(--gdk-border);
  border-radius: 14px;
}
.gdk-today-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gdk-border);
}
.gdk-today-section-head h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gdk-text);
  margin: 0;
}
.gdk-today-count {
  font-size: 0.7rem;
  background: var(--gdk-accent-ghost);
  border: 1px solid var(--gdk-border-accent);
  color: var(--gdk-accent-pale);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.gdk-today-section-link {
  font-size: 0.74rem;
  color: var(--gdk-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Today card (jobs, attention, recent money) */
.gdk-today-card {
  background: var(--gdk-surface);
  border: 1px solid var(--gdk-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.gdk-today-card:last-child { margin-bottom: 0; }
.gdk-today-card-row1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.gdk-today-card-name {
  font-weight: 500;
  color: var(--gdk-text);
  font-size: 1rem;
}
.gdk-today-card-time {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--gdk-accent-pale);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.gdk-today-card-amount {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--gdk-accent-pale);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}
.gdk-today-card-meta {
  font-size: 0.78rem;
  color: var(--gdk-text-muted);
  line-height: 1.5;
}
.gdk-today-card-addr {
  font-size: 0.78rem;
  color: var(--gdk-text-faint);
  margin-top: 4px;
}
.gdk-today-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--gdk-border);
}
.gdk-today-card-action {
  flex: 1;
  background: transparent;
  border: 1px solid var(--gdk-border);
  color: var(--gdk-text);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.gdk-today-card-action:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--gdk-border-accent);
}

.gdk-today-empty {
  padding: 22px 16px;
  text-align: center;
  color: var(--gdk-text-muted);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
}

.gdk-today-attention {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gdk-today-attention-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gdk-today-attention-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}
.gdk-today-attention-body {
  flex: 1;
  min-width: 0;
}
.gdk-today-attention-action {
  width: 100%;
}

/* Bottom CTAs in Today view */
.gdk-today-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gdk-border);
}

/* ═══════════════════════════════════════════════════════════════════
   PORTAL UX UPGRADE — TIER 3 (Reusable UI Components)
   Toast notifications · Sign-out fade · Simple modal pattern
   Used across admin / portal for all simulated success actions.
   ═══════════════════════════════════════════════════════════════════ */

/* TOAST */
.gdk-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 380px;
}
.gdk-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border-accent);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,115,46,0.08);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.4,0,0.2,1);
  pointer-events: auto;
}
.gdk-toast.visible { opacity: 1; transform: translateY(0); }
.gdk-toast-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--gdk-accent-pale);
  text-shadow: 0 0 16px rgba(184,115,46,0.5);
  animation: gdkToastPulse 0.6s ease-out;
}
@keyframes gdkToastPulse {
  0% { transform: scale(0.6); opacity: 0; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.gdk-toast-body { flex: 1; min-width: 0; }
.gdk-toast-title {
  font-weight: 600;
  color: var(--gdk-text);
  font-size: 0.92rem;
  line-height: 1.3;
}
.gdk-toast-sub {
  font-size: 0.78rem;
  color: var(--gdk-text-muted);
  margin-top: 3px;
  line-height: 1.4;
}
.gdk-toast-success { border-color: rgba(134,239,172,0.4); }
.gdk-toast-success .gdk-toast-icon { color: #86efac; text-shadow: 0 0 16px rgba(134,239,172,0.5); }

/* SIGN OUT OVERLAY */
.gdk-signout-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gdk-signout-overlay.visible { opacity: 1; }
.gdk-signout-card {
  text-align: center;
  max-width: 320px;
  padding: 0 24px;
  animation: gdkSignOutCard 0.6s 0.1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes gdkSignOutCard {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.gdk-signout-icon {
  display: inline-flex;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg);
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 32px rgba(184,115,46,0.32);
}
.gdk-signout-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gdk-text);
  font-weight: 600;
  margin-bottom: 8px;
}
.gdk-signout-sub {
  color: var(--gdk-text-muted);
  font-size: 0.85rem;
}

/* SIMPLE MODAL (used by + New Lead, Reschedule) */
.gdk-simple-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gdk-simple-modal.active { display: flex; }
.gdk-simple-modal.visible { opacity: 1; }
.gdk-simple-modal-card {
  background: linear-gradient(180deg, var(--gdk-surface) 0%, var(--gdk-bg-deeper) 100%);
  border: 1px solid var(--gdk-border-accent);
  border-radius: 16px;
  padding: 28px 26px 24px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(8px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.gdk-simple-modal.visible .gdk-simple-modal-card { transform: translateY(0); }
.gdk-simple-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gdk-border);
  color: var(--gdk-text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.gdk-simple-modal-close:hover { background: rgba(255,255,255,0.04); color: var(--gdk-text); }
.gdk-simple-modal-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  color: var(--gdk-text);
  font-weight: 600;
  margin-bottom: 6px;
  padding-right: 36px;
}
.gdk-simple-modal-sub {
  color: var(--gdk-text-muted);
  font-size: 0.85rem;
  margin-bottom: 22px;
}
.gdk-simple-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--gdk-border);
}
.gdk-simple-modal-actions .gdk-btn { flex: 1; }

/* Reschedule date-pickers (for portal Reschedule modal) */
.gdk-reschedule-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gdk-reschedule-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gdk-bg-deeper);
  border: 1px solid var(--gdk-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s;
}
.gdk-reschedule-option:hover {
  border-color: var(--gdk-border-accent);
  background: rgba(184,115,46,0.04);
}
.gdk-reschedule-option.selected {
  border-color: var(--gdk-accent);
  background: rgba(184,115,46,0.08);
  box-shadow: 0 0 0 1px var(--gdk-accent);
}
.gdk-reschedule-option-label {
  color: var(--gdk-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.gdk-reschedule-option-time {
  color: var(--gdk-accent-pale);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.gdk-reschedule-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gdk-border-strong);
  flex-shrink: 0;
  position: relative;
}
.gdk-reschedule-option.selected .gdk-reschedule-option-radio {
  border-color: var(--gdk-accent);
}
.gdk-reschedule-option.selected .gdk-reschedule-option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gdk-accent);
}

/* ═══════════════════════════════════════════════════════════════════
   PORTAL UX UPGRADE — TIER 4 (Customer Invoice Cards w/ Pay Now)
   /portal.html — invoice cards with prominent Pay Now button on
   outstanding invoices. Paid invoices show Paid ✓ badge instead.
   ═══════════════════════════════════════════════════════════════════ */
.gdk-customer-invoices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gdk-customer-invoice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--gdk-bg-deeper);
  border: 1px solid var(--gdk-border);
  border-radius: 12px;
}
.gdk-customer-invoice-card.outstanding {
  border-color: var(--gdk-border-accent);
  background: linear-gradient(135deg, rgba(184,115,46,0.04), var(--gdk-bg-deeper));
}
.gdk-customer-invoice-card.paid { opacity: 0.85; }
.gdk-customer-invoice-info {
  flex: 1;
  min-width: 0;
}
.gdk-customer-invoice-id {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.78rem;
  color: var(--gdk-text-faint);
  letter-spacing: 0.02em;
}
.gdk-customer-invoice-meta {
  color: var(--gdk-text);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: 4px;
}
.gdk-customer-invoice-amount-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.gdk-customer-invoice-amount-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 6px;
}
.gdk-customer-invoice-amount {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--gdk-accent-pale);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}
.gdk-customer-pay-btn {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   PORTAL UX UPGRADE — TIER 5 (Polish: dismiss, lucide, empty states)
   ═══════════════════════════════════════════════════════════════════ */
.gdk-banner-dismiss {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid transparent;
  color: var(--gdk-accent);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: all 0.18s;
  padding: 0;
  line-height: 1;
}
.gdk-banner-dismiss:hover {
  opacity: 1;
  background: rgba(184,115,46,0.12);
  border-color: var(--gdk-border-accent);
}
@media (max-width: 600px) {
  .demo-banner { padding-right: 36px !important; }
}

/* Empty state for sections with no data */
.gdk-section-empty {
  text-align: center;
  padding: 28px 18px;
  color: var(--gdk-text-muted);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.55;
  background: rgba(184,115,46,0.03);
  border: 1px dashed var(--gdk-border-accent);
  border-radius: 12px;
}
.gdk-section-empty .icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
  font-style: normal;
}

/* Documents grid lucide icon styling */
.gdk-doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gdk-accent-ghost);
  border: 1px solid var(--gdk-border-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gdk-accent);
}
@media (max-width: 600px) {
  .gdk-customer-invoice-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }
  .gdk-customer-invoice-card.paid {
    flex-direction: row;
    align-items: center;
  }
  .gdk-customer-pay-btn { width: 100%; padding: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE NAV — hamburger + slide-in drawer (auto-init via
   /assets/nav-mobile.js). Industry-standard pattern. Hidden at
   ≥880px where the desktop horizontal nav takes over.
   ═══════════════════════════════════════════════════════════════════ */
.gdk-burger {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--gdk-border-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  margin-right: 8px;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.gdk-burger:hover {
  border-color: var(--gdk-border-accent);
  background: rgba(184,115,46,0.06);
}
.gdk-burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--gdk-text);
  border-radius: 2px;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}
.gdk-burger span:nth-child(1) { top: 13px; }
.gdk-burger span:nth-child(2) { top: 20px; }
.gdk-burger span:nth-child(3) { top: 27px; }
.gdk-burger.open { border-color: var(--gdk-accent); background: var(--gdk-accent-ghost); }
.gdk-burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.gdk-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.gdk-burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 879px) {
  .gdk-burger { display: inline-flex; align-items: center; justify-content: center; }
}

/* Backdrop behind the drawer */
.gdk-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.gdk-mobile-backdrop.open { opacity: 1; pointer-events: auto; }

/* Slide-in drawer from the right */
.gdk-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: var(--gdk-bg-deeper);
  border-left: 1px solid var(--gdk-border-accent);
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
  z-index: 9000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.gdk-mobile-drawer.open { transform: translateX(0); }
.gdk-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--gdk-border);
}
.gdk-mobile-drawer-label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gdk-accent);
  font-weight: 700;
}
.gdk-mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gdk-border);
  color: var(--gdk-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.18s;
}
.gdk-mobile-drawer-close:hover {
  background: rgba(255,255,255,0.04);
  color: var(--gdk-text);
  border-color: var(--gdk-border-strong);
}
.gdk-mobile-drawer-body {
  padding: 8px 0;
  flex: 1;
}
.gdk-mobile-drawer-body a,
.gdk-mobile-drawer-body button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 22px;
  border: none;
  border-bottom: 1px solid var(--gdk-border);
  background: transparent;
  color: var(--gdk-text);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, padding-left 0.18s;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
  min-height: 56px;
}
.gdk-mobile-drawer-body a:hover,
.gdk-mobile-drawer-body button:hover {
  background: rgba(184,115,46,0.06);
  color: var(--gdk-accent-pale);
  padding-left: 28px;
}
/* Active page link */
.gdk-mobile-drawer-body a[style*="--gdk-accent"],
.gdk-mobile-drawer-body a[href$="admin.html"],
.gdk-mobile-drawer-body a[href$="invoices.html"] {
  /* generic */
}

/* Lock body scroll while drawer is open */
body.gdk-no-scroll { overflow: hidden; }

/* Inline card-form fallback toggle (admin-pay.html) — slightly distinct
   from primary actions: outline style with chevron rotation */
.gdk-card-fallback-toggle {
  background: transparent;
  color: var(--gdk-text-dim);
  border: 1px solid var(--gdk-border);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}
.gdk-card-fallback-toggle:hover {
  background: rgba(255,255,255,0.02);
  border-color: var(--gdk-border-strong);
  color: var(--gdk-text);
}

/* Visually-hidden utility (for SEO H1s on app-shell pages where the visible
   heading already carries the brand identity in another element). */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   VELONYX CONVERSION CTAs (Demo→Site funnel — Apr 29, 2026)
   - Demo banner with right-side CTA button
   - Footer Velonyx-CTA panel (with prominent "Built by Velonyx Systems")
   - Floating "Book Consultation" button (fixed, dismissible)
   - Contextual CTA cards (admin/portal/pay)
   ═══════════════════════════════════════════════════════════════════ */

/* Demo banner — extend to flex layout with CTA on the right */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}
.demo-banner-text {
  flex: 0 1 auto;
}
.demo-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gdk-accent);
  color: var(--gdk-bg-deeper) !important;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--gdk-accent);
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.demo-banner-cta:hover {
  background: var(--gdk-accent-bright);
  color: var(--gdk-bg-deeper) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(184, 115, 46, 0.45);
}

/* Footer Velonyx CTA panel */
.gdk-footer-vlx-cta {
  margin: 28px auto 18px;
  padding: 30px 32px;
  max-width: 720px;
  background: linear-gradient(135deg, rgba(184, 115, 46, 0.08), rgba(184, 115, 46, 0.02));
  border: 1px solid var(--gdk-border-accent);
  border-radius: 12px;
  text-align: center;
}
.gdk-footer-vlx-cta-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gdk-accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.gdk-footer-vlx-cta-eyebrow a {
  color: var(--gdk-accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(184, 115, 46, 0.4);
  padding-bottom: 1px;
}
.gdk-footer-vlx-cta-eyebrow a:hover {
  color: var(--gdk-accent-pale);
  border-bottom-color: var(--gdk-accent-pale);
}
.gdk-footer-vlx-cta-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gdk-text);
  margin-bottom: 8px;
  letter-spacing: 0;
  line-height: 1.25;
}
.gdk-footer-vlx-cta-sub {
  font-size: 0.92rem;
  color: var(--gdk-text-dim);
  margin-bottom: 22px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.gdk-footer-vlx-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.gdk-footer-vlx-cta-buttons .gdk-btn {
  min-width: 220px;
}

/* Floating Book Consultation button — fixed bottom-right, dismissible */
.gdk-floating-book-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-block;
}
.gdk-floating-book-wrap.dismissed { display: none; }
.gdk-floating-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(135deg, var(--gdk-accent), var(--gdk-accent-bright));
  color: var(--gdk-bg-deeper) !important;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(184, 115, 46, 0.4), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.3s;
  border: 1px solid var(--gdk-accent-bright);
  white-space: nowrap;
}
.gdk-floating-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184, 115, 46, 0.6), 0 4px 12px rgba(0,0,0,0.5);
  color: var(--gdk-bg-deeper) !important;
}
.gdk-floating-book svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.gdk-floating-book-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gdk-bg-deeper);
  color: var(--gdk-text-dim);
  border: 1px solid var(--gdk-border-strong);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  font-family: inherit;
}
.gdk-floating-book-close:hover {
  background: var(--gdk-surface);
  color: var(--gdk-text);
  border-color: var(--gdk-border-accent);
}

/* Contextual CTA card (admin/portal/pay) */
.gdk-vlx-contextual-cta {
  margin: 32px auto;
  padding: 22px 28px;
  max-width: 720px;
  background: linear-gradient(135deg, rgba(184, 115, 46, 0.1), rgba(184, 115, 46, 0.03));
  border: 1px solid var(--gdk-border-accent);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gdk-vlx-contextual-cta-text {
  flex: 1 1 280px;
  font-size: 0.95rem;
  color: var(--gdk-text);
  line-height: 1.5;
}
.gdk-vlx-contextual-cta-text strong {
  color: var(--gdk-accent-pale);
  font-weight: 600;
}
.gdk-vlx-contextual-cta .gdk-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Mobile responsive for new CTAs */
@media (max-width: 720px) {
  .demo-banner {
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px;
  }
  .demo-banner-cta {
    font-size: 9px;
    padding: 4px 10px;
    letter-spacing: 0.1em;
  }
  .gdk-footer-vlx-cta {
    margin: 18px 12px 12px;
    padding: 22px 18px;
  }
  .gdk-footer-vlx-cta-headline { font-size: 1.18rem; }
  .gdk-footer-vlx-cta-sub { font-size: 0.86rem; }
  .gdk-footer-vlx-cta-buttons { flex-direction: column; align-items: stretch; }
  .gdk-footer-vlx-cta-buttons .gdk-btn { width: 100%; min-width: auto; }
  .gdk-floating-book-wrap {
    bottom: 16px;
    right: 16px;
  }
  .gdk-floating-book {
    padding: 11px 16px 11px 14px;
    font-size: 0.78rem;
  }
  .gdk-vlx-contextual-cta {
    margin: 24px 12px;
    padding: 18px 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .gdk-vlx-contextual-cta .gdk-btn { width: 100%; }
}
