/*
 * Wolf Business Advisor
 * Global Design System — styles.css
 *
 * Brand direction:
 * - Premium corporate
 * - Dark navy + gold
 * - Global commodities / technology
 * - Clean, restrained, executive
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap");

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  /* Brand */
  --wolf-navy: #080d1a;
  --wolf-navy-900: #080d1a;
  --wolf-navy-800: #0f1a2e;
  --wolf-navy-700: #172942;
  --wolf-blue: #0f2a44;

  --wolf-gold: #c9a84c;
  --wolf-gold-light: #e0c37a;
  --wolf-gold-dark: #a88935;

  /* Neutrals */
  --wolf-white: #ffffff;
  --wolf-gray-50: #f5f7fa;
  --wolf-gray-100: #eef1f5;
  --wolf-gray-200: #dce2e9;
  --wolf-gray-300: #c4ccd6;
  --wolf-gray-400: #94a3b8;
  --wolf-gray-500: #64748b;
  --wolf-gray-600: #475569;
  --wolf-gray-700: #334155;
  --wolf-gray-800: #1e293b;
  --wolf-gray-900: #0f172a;

  /* Status */
  --wolf-success: #10b981;
  --wolf-warning: #f59e0b;
  --wolf-danger: #ef4444;
  --wolf-info: #3b82f6;

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Type scale */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.75rem; /* 28px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */
  --text-hero: clamp(2.5rem, 5vw, 4.5rem);

  /* Line heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */
  --space-20: 5rem; /* 80px */
  --space-24: 6rem; /* 96px */
  --space-32: 8rem; /* 128px */

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;

  /* Borders */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  --border-light: 1px solid var(--wolf-gray-200);
  --border-dark: 1px solid rgba(255, 255, 255, 0.12);
  --border-gold: 1px solid rgba(201, 168, 76, 0.45);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 168, 76, 0.18);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--wolf-white);
  color: var(--wolf-gray-900);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

p {
  margin-bottom: var(--space-4);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: var(--space-4);
  color: var(--wolf-navy-900);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

.text-gold {
  color: var(--wolf-gold);
}

.text-white {
  color: var(--wolf-white);
}

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

.text-eyebrow {
  margin-bottom: var(--space-3);
  color: var(--wolf-gold-dark);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* =========================================================
   4. LAYOUT
   ========================================================= */

.container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-24);
}

.section-sm {
  padding-block: var(--space-16);
}

.section-dark {
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.section-light {
  background: var(--wolf-gray-50);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-12);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--wolf-gray-600);
  font-size: var(--text-lg);
}

.section-dark .section-heading p {
  color: var(--wolf-gray-300);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: var(--border-dark);
  background: rgba(8, 13, 26, 0.96);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo img {
  width: auto;
  max-height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  position: relative;
  padding-block: var(--space-2);
  color: var(--wolf-gray-200);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-base);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: var(--wolf-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--wolf-gold-light);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mobile-menu-button {
  display: none;
}

/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--wolf-gold);
  color: var(--wolf-navy);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--wolf-gold-light);
  color: var(--wolf-navy);
}

.btn-secondary {
  border-color: var(--wolf-gold);
  background: transparent;
  color: var(--wolf-gold-light);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(201, 168, 76, 0.1);
}

.btn-light {
  background: var(--wolf-white);
  color: var(--wolf-navy);
}

.btn-dark {
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.btn-ghost {
  background: transparent;
  color: var(--wolf-gold);
}

.btn-ghost:hover {
  background: rgba(201, 168, 76, 0.08);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--wolf-gold-light);
  outline-offset: 3px;
}

/* =========================================================
   7. HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 13, 26, 0.96) 0%,
    rgba(8, 13, 26, 0.82) 42%,
    rgba(8, 13, 26, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: var(--space-24);
}

.hero-eyebrow {
  margin-bottom: var(--space-4);
  color: var(--wolf-gold-light);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: var(--space-6);
  color: var(--wolf-white);
  font-size: var(--text-hero);
}

.hero h1 span {
  color: var(--wolf-gold-light);
}

.hero-description {
  max-width: 680px;
  margin-bottom: var(--space-8);
  color: var(--wolf-gray-200);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* =========================================================
   8. AUTHORITY / METRICS STRIP
   ========================================================= */

.authority-strip {
  border-bottom: var(--border-dark);
  background: var(--wolf-navy-800);
  color: var(--wolf-white);
}

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

.authority-item {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6);
  border-right: var(--border-dark);
}

.authority-item:last-child {
  border-right: 0;
}

.authority-label {
  margin-bottom: var(--space-2);
  color: var(--wolf-gold-light);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
}

.authority-value {
  color: var(--wolf-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
}

/* =========================================================
   9. CARDS
   ========================================================= */

.card {
  padding: var(--space-8);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--wolf-white);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-dark {
  border-color: rgba(201, 168, 76, 0.25);
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--wolf-gold);
}

.card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.card p {
  color: var(--wolf-gray-600);
}

.card-dark p {
  color: var(--wolf-gray-300);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--wolf-gold-dark);
  font-size: var(--text-sm);
  font-weight: 600;
}

.card-dark .card-link {
  color: var(--wolf-gold-light);
}

/* =========================================================
   10. GUARÁ AI SECTION
   ========================================================= */

.guara-section {
  background: var(--wolf-gray-50);
}

.guara-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--wolf-navy);
  color: var(--wolf-white);
  box-shadow: var(--shadow-lg);
}

.guara-content {
  padding: clamp(2rem, 5vw, 5rem);
}

.guara-content h2 {
  color: var(--wolf-white);
}

.guara-content p {
  max-width: 680px;
  color: var(--wolf-gray-300);
}

.guara-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.guara-card {
  padding: var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background var(--transition-base),
    border-color var(--transition-base);
}

.guara-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.08);
}

.guara-card h3 {
  color: var(--wolf-white);
  font-size: var(--text-base);
}

.guara-card p {
  margin-bottom: 0;
  color: var(--wolf-gray-400);
  font-size: var(--text-sm);
}

/* =========================================================
   11. SOLUTIONS
   ========================================================= */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

/* =========================================================
   12. INTELLIGENCE FRAMEWORK
   ========================================================= */

.framework {
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.framework h2 {
  color: var(--wolf-white);
}

.framework p {
  color: var(--wolf-gray-300);
}

.framework-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-12);
}

.framework-step {
  position: relative;
  padding: var(--space-5);
  border-top: 1px solid rgba(201, 168, 76, 0.5);
}

.framework-step:not(:last-child)::after {
  position: absolute;
  top: -1px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--wolf-gold);
  border-right: 1px solid var(--wolf-gold);
  content: "";
  transform: rotate(45deg);
}

.framework-number {
  margin-bottom: var(--space-3);
  color: var(--wolf-gold);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}

.framework-step h3 {
  color: var(--wolf-white);
  font-size: var(--text-base);
}

.framework-step p {
  margin-bottom: 0;
  font-size: var(--text-sm);
}

/* =========================================================
   13. MARKETS
   ========================================================= */

.market-card {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  overflow: hidden;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--wolf-white);
}

.market-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), transparent 55%);
  content: "";
}

.market-card > * {
  position: relative;
  z-index: 1;
}

.market-name {
  margin-bottom: var(--space-2);
  color: var(--wolf-navy);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
}

.market-description {
  margin-bottom: 0;
  color: var(--wolf-gray-500);
  font-size: var(--text-sm);
}

/* =========================================================
   14. INSIGHTS / BLOG
   ========================================================= */

.insights-card {
  overflow: hidden;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--wolf-white);
  box-shadow: var(--shadow-sm);
}

.insights-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.insights-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.insights-card:hover .insights-image img {
  transform: scale(1.04);
}

.insights-content {
  padding: var(--space-6);
}

.insights-category {
  margin-bottom: var(--space-3);
  color: var(--wolf-gold-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insights-content h3 {
  font-size: var(--text-xl);
}

.insights-content p {
  color: var(--wolf-gray-600);
}

/* =========================================================
   15. CTA
   ========================================================= */

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.final-cta::after {
  position: absolute;
  right: -10%;
  bottom: -50%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(201, 168, 76, 0.03),
    0 0 0 120px rgba(201, 168, 76, 0.02);
  content: "";
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.final-cta h2 {
  color: var(--wolf-white);
}

.final-cta p {
  color: var(--wolf-gray-300);
  font-size: var(--text-lg);
}

/* =========================================================
   16. FORMS
   ========================================================= */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  color: var(--wolf-gray-800);
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1px solid var(--wolf-gray-300);
  border-radius: var(--radius-md);
  background: var(--wolf-white);
  color: var(--wolf-gray-900);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.form-input,
.form-select {
  min-height: 46px;
  padding: 0.7rem 0.9rem;
}

.form-textarea {
  min-height: 140px;
  padding: 0.9rem;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--wolf-gray-400);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--wolf-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  outline: none;
}

/* =========================================================
   17. BADGES / TAGS
   ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge-gold {
  background: rgba(201, 168, 76, 0.14);
  color: var(--wolf-gold-dark);
}

.badge-dark {
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

/* =========================================================
   18. TABLES
   ========================================================= */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: var(--border-light);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--wolf-white);
  font-size: var(--text-sm);
}

.table th,
.table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--wolf-gray-200);
  text-align: left;
  white-space: nowrap;
}

.table th {
  background: var(--wolf-gray-50);
  color: var(--wolf-navy);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   19. FOOTER
   ========================================================= */

.site-footer {
  background: var(--wolf-navy);
  color: var(--wolf-white);
}

.footer-main {
  padding-block: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
}

.footer-logo {
  margin-bottom: var(--space-5);
}

.footer-description {
  max-width: 360px;

  color: var(--wolf-gray-400);
  font-size: var(--text-sm);
}

.footer-title {
  margin-bottom: var(--space-5);
  color: var(--wolf-gold-light);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--wolf-gray-400);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--wolf-gold-light);
}

.footer-bottom {
  padding-block: var(--space-5);
  border-top: var(--border-dark);
  color: var(--wolf-gray-500);
  font-size: var(--text-xs);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* =========================================================
   20. UTILITY CLASSES
   ========================================================= */

.text-center {
  text-align: center;
}

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

.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 480px;
}

.max-w-md {
  max-width: 640px;
}

.max-w-lg {
  max-width: 760px;
}

.mx-auto {
  margin-inline: auto;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.hidden {
  display: none;
}

/* =========================================================
   21. RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  :root {
    --container-padding: 1.25rem;
  }

  .nav-menu {
    gap: var(--space-4);
  }

  .solutions-grid,
  .guara-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .framework-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--space-8);
  }

  .framework-step:nth-child(3)::after,
  .framework-step:nth-child(6)::after {
    display: none;
  }

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

@media (max-width: 820px) {
  .section {
    padding-block: var(--space-16);
  }

  .navbar {
    min-height: 68px;
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .mobile-menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--wolf-gold);
  }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(8, 13, 26, 0.94),
      rgba(8, 13, 26, 0.7)
    );
  }

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

  .authority-item:nth-child(2) {
    border-right: 0;
  }

  .authority-item:nth-child(-n + 2) {
    border-bottom: var(--border-dark);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --container-padding: 1rem;
  }

  .section {
    padding-block: var(--space-12);
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-block: var(--space-16);
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .authority-grid {
    grid-template-columns: 1fr;
  }

  .authority-item,
  .authority-item:nth-child(2) {
    min-height: 110px;
    border-right: 0;
    border-bottom: var(--border-dark);
  }

  .authority-item:last-child {
    border-bottom: 0;
  }

  .solutions-grid,
  .guara-grid {
    grid-template-columns: 1fr;
  }

  .framework-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .framework-step {
    border-top: 0;
    border-left: 1px solid rgba(201, 168, 76, 0.5);
  }

  .framework-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: -8px;
    transform: rotate(135deg);
  }

  .framework-step:nth-child(3)::after {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   22. REDUCED MOTION / ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   23. PRINT
   ========================================================= */

@media print {
  .site-header,
  .hero-actions,
  .mobile-menu-button {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .section-dark {
    padding-block: 2rem;
    background: #fff;
    color: #000;
  }
}
