:root {
  --primary: #274496;
  --primary-600: #1d3574;
  --primary-700: #172b60;
  --secondary: #fbd037;
  --secondary-600: #e6b82e;

  --bg: #f6f8fc;
  --white: #ffffff;
  --dark: #231f20;

  --gray-900: #0f172a;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);

  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background:
    radial-gradient(circle at top, rgba(39, 68, 150, 0.04), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 18px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.header-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(39, 68, 150, 0.22);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(39, 68, 150, 0.28);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(251, 208, 55, 0.22);
}

.btn-secondary:hover {
  background: var(--secondary-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(251, 208, 55, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}

.mobile-menu-btn:hover {
  background: var(--gray-100);
}

/* Breadcrumb */
.breadcrumb {
  padding: 18px 0;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb i {
  font-size: 12px;
}

/* Hero */
.help-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(135deg, var(--primary) 0%, #3a60c9 100%);
  color: var(--white);
  padding: 88px 0 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.help-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.help-hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-bottom: 32px;
  opacity: 0.92;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.help-search {
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: 0 auto 30px;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.25);
}

.help-search i {
  padding: 18px 16px 18px 18px;
  color: var(--gray-500);
  font-size: 1rem;
}

.help-search input {
  flex: 1;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  outline: none;
  color: var(--gray-800);
  background: transparent;
}

.help-search input::placeholder {
  color: var(--gray-400);
}

.help-search button {
  border-radius: 0;
  white-space: nowrap;
  height: 100%;
  min-height: 58px;
}

.quick-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.chip:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-2px);
}

/* Sections */
.system-status,
.container > .section-title,
.container > .section-subtitle,
.support-header {
  margin-top: 48px;
}

.system-status {
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 42px;
}

/* Status */
.status-card {
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--success);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 16px;
}

.status-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.status-header h3 i {
  color: var(--primary);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-badge.online {
  background: #d1fae5;
  color: #065f46;
}

.status-card p {
  color: var(--gray-600);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 14px 16px;
  border-radius: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}

/* Grid cards */
.guides-grid,
.categories-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.guide-card,
.category-card,
.support-card {
  background: var(--white);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.guide-card:hover,
.category-card:hover,
.support-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.guide-icon,
.category-card .icon,
.support-card .icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), #3a60c9);
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(39, 68, 150, 0.18);
}

.guide-card h3,
.category-card h3,
.support-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.guide-card p,
.category-card p,
.support-card p {
  color: var(--gray-600);
}

.guide-card ul {
  margin: 16px 0;
  padding-left: 20px;
  color: var(--gray-700);
}

.guide-card li {
  margin-bottom: 8px;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.guide-link:hover {
  text-decoration: underline;
}

.category-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 16px;
}

.category-card:hover {
  color: inherit;
}

.category-card .icon {
  background: linear-gradient(135deg, var(--gray-100), #e8eefc);
  color: var(--primary);
  box-shadow: none;
  margin-bottom: 0;
}

.count {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

.support-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 16px;
  border: 1px solid transparent;
  cursor: pointer;
}

.support-card:hover {
  border-color: rgba(39, 68, 150, 0.2);
  color: inherit;
}

.support-card .icon {
  background: linear-gradient(135deg, var(--gray-100), #e8eefc);
  color: var(--primary);
  box-shadow: none;
  margin-bottom: 0;
}

.response-time {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--success);
  font-weight: 700;
}

/* FAQ */
.faq-group {
  margin-bottom: 52px;
}

.faq-group-title {
  font-size: 1.45rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 800;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  color: var(--gray-900);
}

.faq-question:hover {
  background: var(--gray-50);
}
#angulos {
  animation: destaque 1s ease;
}

@keyframes destaque {
  0% { background: rgba(251,208,55,0.3); }
  100% { background: transparent; }
}
.faq-question span:first-child {
  flex: 1;
}

.faq-question i {
  transition: var(--transition);
  color: var(--gray-500);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 6000px;
}

.faq-answer p {
  margin-bottom: 12px;
  color: var(--gray-700);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.link:hover {
  text-decoration: underline;
}

.popular-badge {
  background: var(--secondary);
  color: var(--dark);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
}

.muted {
  color: var(--gray-500);
  font-style: italic;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.25s ease;
  border: 1px solid var(--gray-200);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
}

.modal-header h3 {
  font-size: 1.45rem;
  color: var(--gray-900);
  font-weight: 800;
}

.close-btn {
  background: var(--gray-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--gray-900);
  background: var(--gray-200);
}

.form {
  padding: 0 24px 24px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-col-6 {
  flex: 0 0 calc(50% - 8px);
}

.form-col-12 {
  flex: 0 0 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 14px;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--gray-800);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(39, 68, 150, 0.10);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 800;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.gg {
  color: var(--secondary);
  font-weight: 700;
}

/* Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(39, 68, 150, 0.22);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-btns {
    display: none;
  }

  .help-hero {
    padding: 70px 0 60px;
  }

  .help-hero h1 {
    font-size: 2rem;
  }

  .help-hero p {
    font-size: 1rem;
  }

  .help-search {
    flex-direction: column;
    border-radius: 18px;
  }

  .help-search i {
    display: none;
  }

  .help-search input {
    padding: 16px;
  }

  .help-search button {
    border-radius: 0 0 18px 18px;
    width: 100%;
  }

  .quick-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }

  .chip {
    white-space: nowrap;
  }

  .status-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .guides-grid,
  .categories-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .form-col-6 {
    flex: 0 0 100%;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn,
  .support-card,
  .category-card {
    width: 100%;
  }

  .modal-content {
    border-radius: 20px;
  }
}