/* ==========================================================================
   ScamLock Official Website — Cyber Red & Obsidian Tech Theme Stylesheet
   Full Responsive Layout Engine:
   - Zero horizontal overflow across all viewports (320px to 4K)
   - Mobile-first typography scale with clamp()
   - Fluid auto-stacking buttons and responsive bento cards
   - Adaptive navbar with slide-down mobile command drawer
   - Obsidian (#06070a) & Cyber Neon Red (#ff2a4b, #ef4444) palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #06070a;
  --bg-surface: #0c0e14;
  --bg-surface-elevated: #131620;
  --bg-card: rgba(12, 14, 20, 0.9);
  --bg-input: #090a0f;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-red-subtle: rgba(239, 68, 68, 0.2);
  --border-red-bright: #ff2a4b;
  --border-focus: rgba(255, 42, 75, 0.5);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-red: #ef4444;
  --accent-red-bright: #ff2a4b;
  --accent-red-light: #ff4d6d;
  --accent-red-dark: #991b1b;
  --accent-crimson: #dc2626;
  --accent-glow: rgba(255, 42, 75, 0.35);
  
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ==========================================================================
   Reset & Root Box Model (Zero Overflow Contract)
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(239, 68, 68, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 90% 25%, rgba(255, 42, 75, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 10% 70%, rgba(220, 38, 38, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(239, 68, 68, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Custom Cyber Red Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #06070a;
}
::-webkit-scrollbar-thumb {
  background: #271015;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
::-webkit-scrollbar-thumb:hover {
  background: #ef4444;
}

/* ==========================================================================
   Typography & Fluid Math
   ========================================================================== */

h1, h2, h3, h4, .brand-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

p {
  color: var(--text-secondary);
  overflow-wrap: break-word;
  word-break: normal;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Fluid Responsive Container (16px to 24px safe padding) */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4.5vw, 24px);
  padding-right: clamp(16px, 4.5vw, 24px);
  box-sizing: border-box;
}

/* ==========================================================================
   Navigation Bar (Adaptive Mobile / Tablet / Desktop)
   ========================================================================== */

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(6, 7, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(239, 68, 68, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  height: 64px;
  display: flex;
  align-items: center;
  width: 100%;
}

@media (min-width: 769px) {
  .site-navbar {
    height: 72px;
  }
}

.site-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(17px, 4.5vw, 20px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand:hover .nav-brand-icon {
  filter: drop-shadow(0 0 10px rgba(255, 42, 75, 0.7));
  transform: scale(1.04);
}

.nav-brand-icon {
  width: clamp(24px, 5.5vw, 28px);
  height: clamp(24px, 5.5vw, 28px);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-red-bright);
  box-shadow: 0 0 10px var(--accent-red-bright);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 1px solid rgba(255, 42, 75, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border-color: #ff2a4b;
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.65), 0 0 12px rgba(255, 42, 75, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  border-color: rgba(239, 68, 68, 0.22);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: #1a1e2c;
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 14px rgba(255, 42, 75, 0.25);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* Selector de idioma */
.lang-switch {
  background: rgba(19, 22, 32, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.lang-switch:hover {
  color: #ffffff;
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 8px rgba(255, 42, 75, 0.3);
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  background: rgba(19, 22, 32, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.3);
}

/* Breakpoints for Navigation Bar */
@media (max-width: 900px) {
  .nav-links {
    display: none; /* Move links to drawer */
  }
  .nav-btn-support {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  /* On compact mobile screens (320px - 600px):
     Keep Brand, Lang switch, and Hamburger.
     Hide header button so nothing overflows the right edge. */
  .nav-btn-add {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .site-navbar {
    height: 60px;
  }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 7, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px clamp(16px, 5vw, 24px);
  z-index: 999;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  border-top: 1px solid rgba(239, 68, 68, 0.25);
}

@media (min-width: 769px) {
  .mobile-drawer {
    top: 72px;
  }
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--accent-red-light);
}

/* ==========================================================================
   Hero Section (Fluid & Adaptive Stack)
   ========================================================================== */

.hero-section {
  padding: clamp(36px, 8vw, 72px) 0 clamp(32px, 6vw, 64px) 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 3vw, 20px);
  width: 100%;
  min-width: 0;
}

.hero-badge-clean {
  font-size: clamp(11px, 2.8vw, 12.5px);
  font-weight: 700;
  color: var(--accent-red-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 6px;
  max-width: 100%;
  width: fit-content;
  line-height: 1.35;
  word-break: break-word;
}

.hero-badge-clean::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-red-bright);
  box-shadow: 0 0 10px var(--accent-red-bright), 0 0 20px var(--accent-red-bright);
  animation: pulse-red 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(26px, 6vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-title span.highlight {
  color: var(--accent-red-bright);
  text-shadow: 0 0 24px rgba(255, 42, 75, 0.45);
  display: inline;
}

.hero-desc {
  font-size: clamp(14.5px, 3.5vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(239, 68, 68, 0.35);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 20px 50px -15px rgba(239, 68, 68, 0.2), 0 0 30px rgba(0, 0, 0, 0.9);
  width: 100%;
  max-width: 100%;
}

.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 42, 75, 0.2);
  border-radius: inherit;
  pointer-events: none;
}

.hero-visual-frame img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Tablet / Mobile Hero adaptations */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual-frame {
    order: 2;
  }
}

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 16px;
    font-size: 14.5px;
    white-space: normal;
  }
}

/* ==========================================================================
   Security Capabilities Section (Bento Grid)
   ========================================================================== */

.section-wrapper {
  padding: clamp(48px, 8vw, 80px) 0;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 6vw, 52px) auto;
  padding: 0 8px;
}

.section-header .section-kicker {
  font-size: clamp(11.5px, 2.8vw, 12.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red-light);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(24px, 5.2vw, 34px);
  line-height: 1.25;
  margin-bottom: 12px;
  word-break: normal;
  overflow-wrap: break-word;
}

.section-header p {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--text-secondary);
  word-break: normal;
  overflow-wrap: break-word;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 3vw, 24px);
  width: 100%;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4.5vw, 32px) clamp(16px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red-bright), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.15);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.card-num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-red-bright);
  font-family: var(--font-mono);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.bento-card h3 {
  font-size: clamp(17px, 4vw, 20px);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bento-card p {
  font-size: clamp(13.5px, 3.2vw, 14.5px);
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.col-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bento-card.col-span-2 {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Command Manual Section (Adaptive Toolbar & Grid)
   ========================================================================== */

.command-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  width: 100%;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-surface);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 68, 68, 0.18);
  max-width: 100%;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: clamp(11.5px, 2.8vw, 13px);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  background-color: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

.search-input-wrap {
  position: relative;
  width: 280px;
  max-width: 100%;
}

.search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #ffffff;
  padding: 9px 14px 9px 36px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 12px rgba(255, 42, 75, 0.3);
}

.search-icon-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

@media (max-width: 768px) {
  .command-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .category-tabs {
    width: 100%;
    justify-content: flex-start;
  }
  .search-input-wrap {
    width: 100%;
  }
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
}

.cmd-card {
  background: var(--bg-surface);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: var(--radius-md);
  padding: clamp(16px, 4vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.18s ease, transform 0.18s ease;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.cmd-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(239, 68, 68, 0.15);
}

.cmd-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.cmd-name {
  font-size: clamp(15px, 3.8vw, 17px);
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
  word-break: break-all;
}

.cmd-perm {
  font-size: 11px;
  color: var(--accent-red-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cmd-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  word-break: normal;
  overflow-wrap: break-word;
}

.cmd-params-list {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
}

.cmd-params-title {
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cmd-param-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 6px;
}

.cmd-param-name {
  color: var(--accent-red-light);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  word-break: break-all;
}

.cmd-param-desc {
  color: var(--text-secondary);
  word-break: normal;
  overflow-wrap: break-word;
}

.cmd-example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #050608;
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #fecdd3;
  width: 100%;
  max-width: 100%;
  gap: 8px;
}

.cmd-example span {
  overflow-x: auto;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  padding-bottom: 2px;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 13px;
  flex-shrink: 0;
  transition: color 0.15s;
}

.copy-btn:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .commands-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Legal Views (Privacy & Terms)
   ========================================================================== */

.legal-document {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 48px) 0;
  width: 100%;
  min-width: 0;
}

.legal-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  width: 100%;
}

.legal-header h1 {
  font-size: clamp(24px, 5.5vw, 38px);
  line-height: 1.2;
  margin-bottom: 12px;
  word-break: normal;
  overflow-wrap: break-word;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.legal-section-block {
  margin-bottom: 28px;
  width: 100%;
  min-width: 0;
}

.legal-section-block h3 {
  font-size: clamp(17px, 4vw, 20px);
  color: #ffffff;
  margin-bottom: 12px;
  word-break: normal;
  overflow-wrap: break-word;
}

.legal-section-block p {
  font-size: clamp(14px, 3.5vw, 15px);
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 4vw, 24px);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 36px) clamp(18px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
  width: 100%;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.2);
}

.contact-card h3 {
  font-size: clamp(18px, 4.5vw, 22px);
}

.contact-val {
  font-size: clamp(14px, 3.8vw, 17px);
  color: var(--accent-red-bright);
  font-family: var(--font-mono);
  font-weight: 600;
  word-break: break-all;
}

@media (max-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  margin-top: auto;
  background: #040507;
  border-top: 1px solid rgba(239, 68, 68, 0.18);
  padding: clamp(40px, 7vw, 60px) 0 32px 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 40px;
  width: 100%;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: var(--accent-red-light);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
