/* =========================================================
   Dark Tech Technology — darktechzone.com
   Diseño editorial técnico: limpio, directo y sin excesos.
   ========================================================= */

:root {
  --bg: #0A0D12;
  --bg-alt: #0E131B;
  --surface: #121822;
  --surface-2: #17202D;
  --border: #222D3F;
  --border-hover: #354764;

  --text: #E6EDF6;
  --text-soft: #9FB0C7;
  --text-muted: #6C7E96;

  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --blue: #3B82F6;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;

  --radius: 10px;
  --radius-sm: 6px;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.mono {
  font-family: var(--font-mono);
}

.text-accent {
  color: var(--accent);
}

.text-green {
  color: var(--green);
}

.muted {
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

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

.btn-sm {
  padding: 8px 15px;
  font-size: 0.84rem;
}

.btn-primary {
  background: var(--accent);
  color: #071017;
}

.btn-primary:hover {
  background: #38ECFF;
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: #1D2838;
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 12px;
}

.mobile-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 6px 0;
}

.mobile-link:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.rig-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.rig-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.rig-chip {
  font-size: 0.74rem;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

/* ---------- Telemetry Panel ---------- */
.telemetry-panel,
.pipeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.window-dots {
  display: inline-flex;
  gap: 5px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2C394E;
  display: block;
}

.profile-switcher {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.profile-btn {
  background: transparent;
  border: none;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s;
}

.profile-btn:hover {
  color: var(--text);
}

.profile-btn.active {
  background: var(--surface-2);
  color: var(--accent);
}

.telemetry-body {
  padding: 18px;
}

.telemetry-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.micro-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metric-main strong {
  font-size: 1.45rem;
  line-height: 1;
}

.badge-inline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-inline.warn {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.35);
}

.badge-inline.danger {
  background: rgba(239, 68, 68, 0.14);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.35);
}

.fps-readout {
  text-align: right;
}

.fps-nums {
  font-size: 1.05rem;
  font-weight: 600;
}

.canvas-wrap {
  background: #090D13;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-bottom: 16px;
}

#frametimeCanvas {
  width: 100%;
  height: 138px;
  display: block;
}

.temp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.temp-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.bar-track {
  height: 6px;
  border-radius: 99px;
  background: #0A0E15;
  overflow: hidden;
  border: 1px solid var(--border);
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s ease, background-color 0.3s ease;
}

.bar-cyan { background: var(--accent); }
.bar-blue { background: var(--blue); }
.bar-emerald { background: var(--green); }

.telemetry-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-index {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 8px;
}

.section-desc {
  margin: 0;
  color: var(--text-soft);
  max-width: 640px;
  font-size: 0.96rem;
}

/* ---------- Filters & Guides ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.guide-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.guide-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0B1018;
  border-bottom: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.guide-visual img.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.visual-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(10, 13, 18, 0.85);
  border: 1px solid var(--border);
  color: var(--accent);
}

.dur-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(10, 13, 18, 0.88);
  color: var(--text);
}

.schematic-center {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: auto 0;
}

.schematic-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(18, 24, 34, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.schematic-stat strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.schematic-stat span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-soft);
}

.schematic-bars {
  display: grid;
  gap: 6px;
}

.s-bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 54px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
}

.s-track {
  height: 7px;
  background: #141C28;
  border-radius: 99px;
  overflow: hidden;
}

.s-fill {
  height: 100%;
  border-radius: 99px;
}

.guide-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.guide-body p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
  flex: 1;
}

.guide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.guide-cta {
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Radar n8n ---------- */
.radar-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.panel-label {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.status-tag {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

.status-tag.running {
  color: var(--accent);
  border-color: rgba(0, 229, 255, 0.4);
  background: var(--accent-dim);
}

.status-tag.done {
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
}

.pipeline-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 18px;
  overflow-x: auto;
}

.node-box {
  flex: 1;
  min-width: 112px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.node-box:hover {
  border-color: var(--border-hover);
}

.node-box.active {
  border-color: var(--accent);
  background: #0F1A26;
}

.node-box.passed {
  border-color: rgba(16, 185, 129, 0.65);
}

.node-step {
  font-size: 0.68rem;
  color: var(--accent);
}

.node-box strong {
  font-size: 0.88rem;
}

.node-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.node-arrow {
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.node-inspector {
  margin: 0 18px 16px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.inspector-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.74rem;
  margin-bottom: 6px;
}

.node-inspector p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.console-log {
  margin: 0 18px 18px;
  padding: 12px 14px;
  background: #080B10;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  color: var(--text-soft);
  max-height: 132px;
  overflow-y: auto;
  display: grid;
  gap: 5px;
}

.log-time {
  color: var(--text-muted);
  margin-right: 6px;
}

.log-ok {
  color: var(--green);
}

.log-warn {
  color: var(--amber);
}

/* Telegram interactive preview */
.preview-stack {
  display: grid;
  gap: 14px;
}

.telegram-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.tg-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1D4ED8;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tg-header strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.tg-header span {
  font-size: 0.72rem;
}

.tg-score {
  margin-left: auto;
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tg-body {
  padding: 16px;
}

.tg-chip {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.tg-body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.tg-body p {
  margin: 0 0 12px;
  font-size: 0.87rem;
  color: var(--text-soft);
}

.tg-meta {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.tg-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.tg-btn {
  padding: 12px;
  background: transparent;
  border: none;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.tg-approve {
  color: var(--green);
  border-right: 1px solid var(--border);
}

.tg-approve:hover {
  background: rgba(16, 185, 129, 0.1);
}

.tg-reject {
  color: var(--text-soft);
}

.tg-reject:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.published-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.pub-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pub-row strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
}

.pub-row span {
  font-size: 0.72rem;
}

.pub-pill {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.pub-pill.live {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green);
}

/* ---------- Offers ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.offer-brand h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.offer-brand span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.discount-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.offer-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.coupon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-sm);
}

.coupon-code {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.offer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Services & Form ---------- */
.services-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-item {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.service-item:hover {
  border-color: var(--border-hover);
}

.service-item.active {
  border-color: var(--accent);
  background: #111D2B;
}

.service-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.service-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.04rem;
}

.service-item p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.service-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.form-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.form-feedback {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #A7F3D0;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #FECACA;
}

/* ---------- About / Human Touch ---------- */
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: center;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin: 0 0 14px;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.social-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

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

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 8, 12, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-box {
  width: 100%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 26px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.modal-close {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-soft);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.modal-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.modal-summary {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.modal-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.checklist {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.9rem;
  display: grid;
  gap: 7px;
}

.modal-verdict {
  font-size: 0.88rem;
  color: var(--text-soft);
  border-left: 2px solid var(--accent);
  padding: 8px 12px;
  background: var(--bg-alt);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .radar-grid,
  .services-layout,
  .about-card {
    grid-template-columns: 1fr;
  }

  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 680px) {
  .guides-grid,
  .offers-grid,
  .form-row-2,
  .temp-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .section {
    padding: 56px 0;
  }

  .about-card {
    padding: 24px;
  }
}
