:root {
  --navy: #071a2e;
  --navy-deep: #050f1c;
  --navy-soft: #0f2942;
  --gold: #d4af37;
  --gold-light: #e8c766;
  --off-white: #faf8f3;
  --white: #ffffff;
  --ink: #14263a;
  --muted: #687385;
  --line: rgba(7, 26, 46, 0.1);
  --shadow: 0 18px 46px rgba(7, 26, 46, 0.1);
  --shadow-strong: 0 26px 70px rgba(5, 15, 28, 0.28);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 0.9, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s ease,
    background-color 0.3s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.28);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn--glass {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn--outline-navy {
  border: 1px solid rgba(7, 26, 46, 0.2);
  color: var(--navy);
}

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

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

.btn--gold:hover {
  box-shadow: 0 18px 38px rgba(212, 175, 55, 0.38);
}

.help-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 20px 0;
  color: var(--white);
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.3s var(--ease);
}

.help-navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(5, 15, 28, 0.95);
  box-shadow: 0 12px 30px rgba(5, 15, 28, 0.32);
  backdrop-filter: blur(12px);
}

.help-navbar__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__home-icon {
  width: 34px;
  height: 34px;
  color: var(--gold-light);
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 1.08;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__text small {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
}

.help-navbar__menu,
.help-navbar__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.help-navbar__menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}

.help-navbar__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width 0.25s var(--ease);
}

.help-navbar__menu a:hover,
.help-navbar__menu a.is-active {
  color: var(--white);
}

.help-navbar__menu a:hover::after,
.help-navbar__menu a.is-active::after {
  width: 100%;
}

.help-navbar__actions {
  gap: 10px;
}

.menu-button {
  display: none;
  width: 28px;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
}

.menu-button span {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.help-navbar__mobile {
  display: none;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  box-shadow: var(--shadow-strong);
}

.help-navbar__mobile.is-open {
  display: grid;
  gap: 10px;
}

.help-navbar__mobile a:not(.btn) {
  padding: 10px 4px;
  font-weight: 800;
}

.help-navbar__mobile .is-active {
  color: #9b7a17;
}

.help-navbar__mobile-actions {
  display: flex;
  gap: 10px;
}

.help-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 150px 20px 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 30%, rgba(212, 175, 55, 0.2), transparent 28%),
    linear-gradient(135deg, #050f1c 0%, #071a2e 48%, #102c47 100%);
  color: var(--white);
}

.help-hero::after {
  content: "";
  position: absolute;
  inset: auto 7% 8% auto;
  width: min(360px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 199, 102, 0.26);
  border-radius: 28px;
  transform: rotate(-10deg);
  opacity: 0.8;
}

.help-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.help-hero__content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.help-hero h1,
.section-heading h2,
.support-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.help-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.96;
}

.help-hero p {
  width: min(680px, 100%);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.help-search {
  width: min(720px, 100%);
  margin: 34px auto 0;
}

.help-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.help-search__control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.help-search__control i {
  color: #9b7a17;
}

.help-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.help-search input::placeholder {
  color: rgba(20, 38, 58, 0.55);
}

.help-search__clear {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 26, 46, 0.08);
  color: var(--navy);
}

.slogan-section {
  padding: clamp(54px, 7vw, 92px) 20px;
  background: var(--off-white);
  text-align: center;
}

.slogan {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section--white {
  background: var(--white);
}

.section--soft {
  background:
    radial-gradient(circle at 18% 10%, rgba(212, 175, 55, 0.1), transparent 24%),
    var(--off-white);
}

.section__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-heading p,
.result-summary {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-align: left;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.category-card:hover,
.category-card.is-active {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 24px 58px rgba(7, 26, 46, 0.15);
}

.category-card i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.14);
  color: #9b7a17;
  font-size: 1.15rem;
}

.category-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.category-card span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 22px;
}

.faq-group {
  display: grid;
  gap: 12px;
}

.faq-group.is-hidden,
.faq-item.is-hidden,
.category-card.is-hidden {
  display: none;
}

.faq-group h3 {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 26, 46, 0.07);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  color: var(--navy);
  text-align: left;
  font-weight: 900;
}

.faq-question i {
  color: #9b7a17;
  transition: transform 0.25s var(--ease);
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item mark {
  border-radius: 4px;
  background: rgba(232, 199, 102, 0.38);
  color: var(--navy);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state[hidden] {
  display: none;
}

.empty-state i {
  color: var(--gold);
  font-size: 2rem;
}

.empty-state h3 {
  color: var(--navy);
}

.empty-state p {
  color: var(--muted);
}

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

.guide-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.guide-card h3 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.steps-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.steps-list span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 900;
}

.support-section {
  padding: clamp(76px, 9vw, 120px) 0;
  background:
    linear-gradient(rgba(5, 15, 28, 0.88), rgba(5, 15, 28, 0.94)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=85")
      center/cover no-repeat;
  color: var(--white);
}

.support-section__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.support-copy {
  position: sticky;
  top: 110px;
}

.support-copy h2 {
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.support-copy p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.support-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(7, 26, 46, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #c2410c;
}

.field-error {
  min-height: 18px;
  color: #b33a12;
  font-size: 0.78rem;
  font-weight: 800;
}

.form-feedback {
  min-height: 22px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  outline: 0;
}

.form-feedback:not(:empty) {
  padding: 12px 14px;
}

.form-feedback--success {
  border: 1px solid rgba(22, 101, 52, 0.22);
  background: rgba(220, 252, 231, 0.82);
  color: #166534;
}

.form-feedback--error {
  border: 1px solid rgba(194, 65, 12, 0.22);
  background: rgba(255, 237, 213, 0.88);
  color: #9a3412;
}

.campo-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  width: 100%;
}

.button-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(7, 26, 46, 0.24);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-submit.is-loading .button-loader {
  display: inline-block;
}

.form-submit.is-loading .button-text {
  opacity: 0.72;
}

.site-footer {
  background: #030a13;
  color: var(--white);
  padding: 58px 0 24px;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 0.7fr));
  gap: 36px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col h3 {
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s ease,
    color 0.25s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--navy-deep);
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.toast-area {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100% - 36px));
}

.toast {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-strong);
  animation: toastIn 0.3s var(--ease);
}

.toast i {
  margin-top: 3px;
  color: var(--gold-light);
}

.toast strong {
  display: block;
  font-size: 0.92rem;
}

.toast span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.toast--error i {
  color: #fb923c;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 1060px) {
  .help-navbar__menu,
  .help-navbar__actions > .btn,
  .help-navbar__actions > .navbar-auth {
    display: none;
  }

  .menu-button {
    display: flex;
  }

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

  .support-section__inner,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .support-copy {
    position: static;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .help-navbar__inner,
  .section__inner,
  .support-section__inner,
  .site-footer__inner,
  .copyright {
    width: calc(100% - 32px);
  }

  .brand__text small {
    display: none;
  }

  .help-hero {
    min-height: 78vh;
    padding: 132px 16px 74px;
  }

  .help-hero::after {
    display: none;
  }

  .help-search__control {
    min-height: 58px;
    border-radius: 18px;
  }

  .category-grid,
  .form-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: auto;
    border-radius: 14px;
  }

  .faq-question {
    min-height: 58px;
    padding: 17px;
  }

  .faq-answer p {
    padding: 0 17px 18px;
  }

  .support-actions,
  .help-navbar__mobile-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .support-form,
  .guide-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
