/* ==========================================================================
   G0atX — Elite, Branded Web Systems
   Design tokens (v2 — richer background, motion, decoration)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* dark (default) */
  --bg: #060608;
  --bg-raised: #0f1116;
  --panel: #14161c;
  --panel-2: #191c23;
  --border: #212636;
  --border-strong: #2f7fd6;
  --text: #f5f1ea;
  --text-muted: #9ba0ac;
  --red: #d4213f;
  --red-deep: #6e0e1c;
  --ember: #ff4d5e;
  --gold: #d8a24c;
  --blue: #2f8fef;
  --blue-deep: #123a66;
  --on-red: #ffffff;
  --glow: rgba(212, 33, 63, 0.38);
  --blue-glow: rgba(47, 143, 239, 0.35);
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  --grid-line: rgba(120, 160, 220, 0.05);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 4px;
}

[data-theme="light"] {
  --bg: #f5f6f9;
  --bg-raised: #ffffff;
  --panel: #ffffff;
  --panel-2: #f0f3f8;
  --border: #d7dfec;
  --border-strong: #2f7fd6;
  --text: #10131a;
  --text-muted: #565f70;
  --red: #b8102a;
  --red-deep: #7a0c1c;
  --ember: #d81b32;
  --gold: #a97328;
  --blue: #1f6fd6;
  --blue-deep: #0d3b6e;
  --on-red: #ffffff;
  --blue-glow: rgba(31, 111, 214, 0.18);
  --glow: rgba(184, 16, 42, 0.16);
  --shadow: 0 14px 32px rgba(30, 20, 10, 0.1);
  --grid-line: rgba(20, 60, 110, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
  overflow-x: hidden;
}

/* Ambient background: soft glows + fine grid, sits behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(760px circle at 88% -6%, var(--glow), transparent 60%),
    radial-gradient(680px circle at -10% 88%, var(--blue-glow), transparent 58%),
    radial-gradient(520px circle at 50% 40%, var(--blue-glow), transparent 65%);
  opacity: 0.85;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  margin: 0 0 0.4em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.grad-text {
  background: linear-gradient(100deg, var(--red) 10%, var(--ember) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

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

/* ==========================================================================
   Motion library
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes shapeDrift {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(1.2deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 var(--glow); }
  70%  { box-shadow: 0 0 0 14px rgba(212, 33, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 33, 63, 0); }
}
@keyframes underlineDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim > * {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.16s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.28s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.4s; }
.hero-anim-card { opacity: 0; animation: fadeUp 0.8s ease forwards; animation-delay: 0.3s; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
  letter-spacing: 0.5px;
}
.logo .accent { color: var(--red); text-shadow: 0 0 18px var(--glow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.theme-toggle:hover { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun,
:root:not([data-theme="light"]) .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0; right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 28px 26px;
    gap: 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.65; cursor: default; transform: none; }

.btn-primary {
  background: var(--red);
  color: var(--on-red);
  box-shadow: 0 10px 24px var(--glow);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { background: var(--ember); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }

.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
}

.hero-shape {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 60%;
  height: 140%;
  background: linear-gradient(155deg, var(--red-deep), var(--red) 55%, var(--ember) 100%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 12% 100%);
  opacity: 0.92;
  z-index: 0;
  animation: shapeDrift 14s ease-in-out infinite;
}

.hero-wordmark {
  position: absolute;
  top: -6%;
  right: -2%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: min(26vw, 320px);
  color: var(--text);
  opacity: 0.035;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  background: var(--panel);
}
.eyebrow-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--glow);
  flex-shrink: 0;
}

.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.15rem; max-width: 46ch; color: var(--text-muted); }

.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow), 0 0 0 1px var(--blue-glow);
  animation: floatY 6s ease-in-out infinite;
}
.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--blue);
  opacity: 0.85;
}
.hero-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-card .stat {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 26px var(--glow);
}
.hero-card .stat-label { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.hero-card li svg { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; color: var(--red); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-shape { opacity: 0.35; }
  .hero-wordmark { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--bg-raised); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { margin: 0; }

.divider {
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--ember));
  margin: 0 0 18px;
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 100%;
  background: inherit;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineDraw 0.8s ease forwards;
  animation-delay: 0.15s;
}

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust-item:hover { transform: translateY(-4px); border-color: var(--red); }
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.trust-icon svg { width: 19px; height: 19px; }
.trust-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; margin: 0; color: var(--text); }
.trust-item p { font-size: 0.87rem; margin: 0; }

@media (max-width: 900px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-bar { grid-template-columns: 1fr; }
}

/* Services — asymmetric grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.service-card {
  grid-column: span 3;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), 0 0 0 1px var(--blue-glow);
  border-color: var(--border-strong);
}

.service-card.featured {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 42px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(120deg, var(--red), var(--gold), var(--red)) border-box;
  border: 1px solid transparent;
  background-size: 100% 100%, 220% 220%;
}
.service-card.featured:hover { background-position: 0 0, 100% 100%; transition: background-position 1.2s ease; }

.service-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--red);
}
.service-price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.service-card .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 780px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
}

/* Portfolio rows */
.portfolio-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }

.portfolio-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.6fr;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s ease, background 0.25s ease;
}
.portfolio-row:hover { padding-left: 14px; background: var(--panel-2); }
.portfolio-row h3 { margin-bottom: 8px; }
.portfolio-tag {
  justify-self: start;
  font-size: 0.82rem;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 12px;
  border-radius: 999px;
}

@media (max-width: 780px) {
  .portfolio-row { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-row:hover { padding-left: 0; }
  .portfolio-tag { justify-self: start; }
}

/* Approach / about columns */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist li svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; color: var(--red); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--red-deep), var(--red) 60%, var(--ember));
  background-size: 200% 200%;
  animation: shapeDrift 10s ease-in-out infinite;
  color: #fff;
  padding: 64px 0;
  text-align: left;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.15); }
.cta-band .btn-primary { background: #101012; box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.cta-band .btn-primary:hover { background: #1e1e21; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow), 0 0 0 1px var(--blue-glow);
}

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; }

.form-success {
  display: none;
  background: var(--panel);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.form-success.visible { display: block; animation: fadeUp 0.4s ease; }
.form-success h3 { color: var(--red); }
.form-success .check-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--red);
}
.form-success .check-circle svg { width: 24px; height: 24px; }

.info-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 30px;
}
.info-panel h3 { margin-bottom: 14px; }
.info-panel ol, .info-panel ul { padding-left: 20px; color: var(--text-muted); }
.info-panel li { margin-bottom: 10px; }

.payment-methods { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.payment-pill {
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.payment-pill:hover { border-color: var(--red); color: var(--red); }

.notice-strip {
  border: 1px solid var(--red);
  background: var(--glow);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.94rem;
  color: var(--text);
  margin-bottom: 28px;
}
.notice-strip strong { color: var(--red); }

/* Spinner for submit state */
.spinner {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

/* Policies accordion */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-trigger .plus { color: var(--red); font-size: 1.6rem; transition: transform 0.2s ease; line-height: 1; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-panel-inner { padding-bottom: 26px; }
.accordion-panel-inner p { max-width: 72ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid var(--border); padding: 50px 0 34px; background: var(--bg-raised); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.84rem;
}
.footer-bottom a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--red); }

/* ==========================================================================
   Chatbot widget
   ========================================================================== */

.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px var(--glow);
  transition: transform 0.15s ease, background 0.2s ease;
  animation: pulseRing 2.6s ease-out infinite;
}
.chat-launcher:hover { transform: scale(1.06); background: var(--ember); }
.chat-launcher svg { width: 26px; height: 26px; }

.chat-window {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 200;
  width: 340px;
  max-width: calc(100vw - 40px);
  max-height: 480px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow), 0 0 0 1px var(--blue-glow);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-window.open { display: flex; animation: fadeUp 0.25s ease; }

.chat-head {
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-head strong { font-family: var(--font-display); font-size: 1.1rem; }
.chat-head span { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.85); }
.chat-close { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.2rem; line-height: 1; }

.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }

.chat-msg { max-width: 84%; padding: 10px 13px; border-radius: 12px; font-size: 0.89rem; line-height: 1.4; animation: fadeUp 0.25s ease; }
.chat-msg.bot { background: var(--panel); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-msg.user { background: var(--red); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-msg a { color: var(--red); text-decoration: underline; }
.chat-msg.user a { color: #fff; }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; background: var(--bg); }
.chat-suggestion-btn {
  font-size: 0.78rem; padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel); color: var(--text-muted); cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chat-suggestion-btn:hover { border-color: var(--red); color: var(--red); }

.chat-input-row { display: flex; border-top: 1px solid var(--border); background: var(--panel); }
.chat-input-row input { flex: 1; border: none; background: transparent; padding: 14px; color: var(--text); font-family: var(--font-body); font-size: 0.92rem; }
.chat-input-row input:focus { outline: none; }
.chat-send { border: none; background: none; color: var(--red); padding: 0 16px; cursor: pointer; display: flex; align-items: center; }
.chat-send svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .chat-window { right: 16px; left: 16px; width: auto; bottom: 84px; }
  .chat-launcher { right: 16px; bottom: 16px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--text-muted); }
