/* ============================================================
   AXIA ENERGIA — DESIGN SYSTEM & FORM STYLES
   ============================================================ */

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---- CSS Variables / Design Tokens ---- */
:root {
  /* Colors — AXIA Brand */
  --primary: #0000FF;
  --primary-medium: #1726C8;
  --primary-dark: #0F1A8D;
  --primary-light: #E8ECFF;
  --primary-glow: rgba(0, 0, 255, 0.12);

  --secondary: #0A003C;
  --secondary-medium: #422E55;
  --tertiary: #746185;

  --bg-main: #FAF5F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FEFEFE;
  --bg-section: #F5F0EB;

  --text-primary: #1A1F25;
  --text-secondary: #3A3F46;
  --text-tertiary: #6B7280;
  --text-muted: #9CA3AF;

  --border: #E8E5E3;
  --border-focus: #0000FF;
  --border-light: #F0EDEA;

  --success: #22C55E;
  --success-bg: #F0FDF4;
  --error: #EF4444;
  --error-bg: #FEF2F2;
  --warning: #F59E0B;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 24px;
  --radius-full: 9999px;

  /* 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 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 24px rgba(0, 0, 255, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Background Pattern ---- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 0, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(10, 0, 60, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Main Container ---- */
.app-container {
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--space-lg);
  min-height: 100vh;
}

/* ---- Header ---- */
.form-header {
  text-align: center;
  padding: var(--space-2xl) 0;
  margin-bottom: var(--space-xl);
}

.form-header__logo {
  width: 200px;
  height: auto;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 255, 0.15));
  transition: transform var(--transition);
}

.form-header__logo:hover {
  transform: scale(1.05);
}

.form-header__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}

.form-header__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease infinite;
}

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

.form-header__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.form-header__subtitle {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 0 auto;
}

/* ---- Progress Bar ---- */
.progress-container {
  margin-bottom: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-percent {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-medium));
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
  position: relative;
}

.progress-bar__fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: shimmer 2s ease infinite;
}

@keyframes shimmer {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
  gap: var(--space-xs);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
  cursor: default;
}

.progress-step__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.progress-step.active .progress-step__dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.progress-step.completed .progress-step__dot {
  background: var(--success);
  border-color: var(--success);
}

.progress-step__label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  transition: color var(--transition);
}

.progress-step.active .progress-step__label {
  color: var(--primary);
  font-weight: 600;
}

.progress-step.completed .progress-step__label {
  color: var(--success);
}

/* ---- Welcome Screen ---- */
.welcome-screen {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  animation: slideUp 0.6s ease;
  text-align: center;
}

.welcome-screen__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.welcome-screen__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.welcome-screen__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.welcome-screen__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.welcome-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.welcome-highlight:hover {
  transform: translateY(-2px);
}

.welcome-highlight__icon {
  font-size: 1.5rem;
}

.welcome-highlight__text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

/* ---- Form Sections ---- */
.form-section {
  display: none;
  animation: slideUp 0.5s ease;
}

.form-section.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.section-header__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-xs);
}

.section-header__subtitle {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ---- Question Cards ---- */
.question-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.question-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.question-card.has-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px var(--error-bg);
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.question-card__number {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.question-card__number::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.question-card__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.question-card__label .required {
  color: var(--error);
  margin-left: 2px;
}

.question-card__hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.question-card__error {
  display: none;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--error-bg);
  border-radius: var(--radius-sm);
  animation: slideUp 0.3s ease;
}

.question-card.has-error .question-card__error {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ---- Input Fields ---- */
.input-field {
  width: 100%;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition);
}

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

.input-field:hover {
  border-color: var(--text-muted);
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-field.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px var(--error-bg);
}

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

/* ---- Radio Buttons ---- */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.radio-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.radio-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option__indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.radio-option__indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transform: scale(0);
  transition: transform var(--transition-spring);
}

.radio-option input[type="radio"]:checked ~ .radio-option__indicator {
  border-color: var(--primary);
}

.radio-option input[type="radio"]:checked ~ .radio-option__indicator::after {
  transform: scale(1);
}

.radio-option input[type="radio"]:checked ~ .radio-option__text {
  color: var(--primary-dark);
  font-weight: 500;
}

.radio-option__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: all var(--transition);
}

/* Selected state for the whole card */
.radio-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* ---- Checkboxes ---- */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checkbox-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.checkbox-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.checkbox-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-option__indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.checkbox-option__indicator svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-spring);
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-option__indicator {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-option__indicator svg {
  opacity: 1;
  transform: scale(1);
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-option__text {
  color: var(--primary-dark);
  font-weight: 500;
}

.checkbox-option__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: all var(--transition);
}

.checkbox-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}

.checkbox-option.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.checkbox-limit-info {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ---- Likert Scale ---- */
.likert-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.likert-item {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.likert-item__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.likert-scale {
  display: flex;
  gap: var(--space-sm);
  justify-content: space-between;
}

.likert-scale__option {
  flex: 1;
  text-align: center;
}

.likert-scale__option input[type="radio"] {
  display: none;
}

.likert-scale__option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.likert-scale__option label:hover {
  background: var(--primary-light);
}

.likert-scale__value {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.likert-scale__option input[type="radio"]:checked + label .likert-scale__value {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

.likert-scale__label-text {
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- Navigation Buttons ---- */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  gap: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-medium));
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 255, 0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary-light);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn--ghost:hover {
  background: var(--bg-section);
}

.btn--lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn:hover .btn__arrow--back {
  transform: translateX(-3px);
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Thank You Screen ---- */
.thank-you-screen {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: slideUp 0.6s ease;
}

.thank-you-screen__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--success), #16A34A);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  animation: bounceIn 0.6s ease 0.3s both;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.thank-you-screen__icon svg {
  width: 48px;
  height: 48px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.thank-you-screen__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.thank-you-screen__text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Loading Spinner ---- */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 245, 240, 0.9);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-lg);
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---- "Other" text field ---- */
.other-input-wrapper {
  margin-top: var(--space-sm);
  padding-left: 40px;
  display: none;
}

.other-input-wrapper.visible {
  display: block;
  animation: slideUp 0.3s ease;
}

/* ---- Conditional Field ---- */
.conditional-field {
  display: none;
  animation: slideUp 0.4s ease;
}

.conditional-field.visible {
  display: block;
}

/* ---- Footer ---- */
.form-footer {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-lg);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.form-footer a {
  color: var(--primary);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .app-container {
    padding: var(--space-md);
  }

  .form-header {
    padding: var(--space-lg) 0;
  }

  .form-header__title {
    font-size: 1.35rem;
  }

  .welcome-screen {
    padding: var(--space-lg);
  }

  .welcome-screen__highlights {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .welcome-highlight {
    flex-direction: row;
    text-align: left;
  }

  .question-card {
    padding: var(--space-md);
  }

  .likert-scale {
    gap: 4px;
  }

  .likert-scale__value {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .form-navigation {
    flex-direction: column-reverse;
  }

  .form-navigation .btn {
    width: 100%;
  }

  .progress-steps {
    display: none;
  }

  .section-header__title {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .form-header__logo {
    width: 160px;
  }

  .form-header__title {
    font-size: 1.15rem;
  }

  .likert-scale__label-text {
    display: none;
  }

  .radio-option,
  .checkbox-option {
    padding: 10px 12px;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---- Selection ---- */
::selection {
  background: var(--primary);
  color: white;
}
.corp-header__link.active {
  background: white;
  color: var(--primary);
}

.corp-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.corp-header__icon-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
}
.corp-header__icon-btn:hover { background: rgba(255,255,255,0.1); }

.corp-header__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 2px;
  border-bottom: 2px solid white;
}

/* FOOTER */
.corp-footer {
  background: white;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.corp-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.corp-footer__brand {
  flex: 0 0 320px;
}

.corp-footer__card {
  background: var(--primary);
  border-radius: 16px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 1.5rem;
}

.corp-footer__logo-img {
  width: 120px;
  filter: brightness(0) invert(1);
}

.corp-footer__card .corp-footer__logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.corp-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s;
}
.social-icon:hover {
  background: var(--primary);
  color: white;
}

.corp-footer__links {
  flex: 1;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--primary);
}

.corp-footer__bottom {
  max-width: 1400px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .corp-header__nav { display: none; }
  .corp-footer__inner { flex-direction: column; gap: 3rem; }
  .corp-footer__brand { width: 100%; flex: none; }
  .corp-footer__links { width: 100%; gap: 2rem; }
}
/* ============================================================ */
/* CORPORATE HEADER RESTORE */
/* ============================================================ */
.corp-header {
  background-color: var(--primary);
  color: white;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,255,0.1);
}

.corp-header__inner {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.corp-header__logo {
  display: flex;
  align-items: center;
}
