:root {
  --primary: #1c1c1c;
  --secondary: #c5a85c;
  --secondary-dark: #a8893d;
  --background: #090909;
  --surface: #121212;
  --surface-strong: #1b1b1b;
  --text: #f7f4ec;
  --muted: #c9c3b7;
  --border: rgba(197, 168, 92, 0.28);
  --action: #c5a85c;
  --action-dark: #a8893d;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 8%, rgba(197, 168, 92, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%);
}

img {
  display: block;
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(14px, 4vw, 34px);
  background: rgba(9, 9, 9, 0.92);
  border-bottom: 1px solid rgba(197, 168, 92, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-name {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.34rem);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-name::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 3px;
  background: var(--secondary);
}

.topbar-link {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: var(--radius);
  background: var(--whatsapp-dark);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.hero {
  display: grid;
  gap: 22px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 26px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--secondary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 750;
}

h1 {
  max-width: 680px;
  font-size: clamp(2rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.45rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-subtitle {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.18rem);
}

.support-copy {
  margin: 8px 0 0;
  color: var(--text);
  font-weight: 600;
}

.hero-problems {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  max-width: 660px;
}

.hero-problems span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(197, 168, 92, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-problems span:hover {
  background: rgba(197, 168, 92, 0.12);
  border-color: rgba(197, 168, 92, 0.72);
}

.hero-actions {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 750;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--action);
  color: #151515;
  box-shadow: 0 12px 28px rgba(197, 168, 92, 0.24);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: #082413;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.24);
}

.button-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.button-primary:hover {
  background: var(--action-dark);
  color: #fff;
}

.button-large {
  min-height: 56px;
  font-size: 1rem;
}

.microcopy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(197, 168, 92, 0.5);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, 0.78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.hero-card strong {
  color: var(--text);
  font-weight: 700;
}

.hero-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.urgency {
  background: #000;
  color: #fff;
}

.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.urgency strong {
  font-size: 1rem;
  font-weight: 650;
}

.urgency-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--whatsapp);
  color: #082413;
  font-size: 0.88rem;
  font-weight: 700;
}

.triage-modal[hidden] {
  display: none;
}

.triage-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.triage-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
}

.triage-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
}

.triage-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(197, 168, 92, 0.32);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.triage-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(197, 168, 92, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(197, 168, 92, 0.09), transparent 42%),
    #111;
  box-shadow: var(--shadow);
}

.triage-heading {
  margin-bottom: 0;
}

.triage-heading p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
}

.triage-form {
  display: grid;
  gap: 15px;
}

.triage-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.triage-form legend {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.choice-grid-areas {
  grid-template-columns: repeat(2, minmax(0, 180px));
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(197, 168, 92, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.choice-card:hover {
  border-color: rgba(197, 168, 92, 0.62);
  background: rgba(197, 168, 92, 0.1);
  transform: translateY(-1px);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  font-size: 0.9rem;
  font-weight: 580;
}

.choice-card:has(input:checked) {
  border-color: var(--secondary);
  background: rgba(197, 168, 92, 0.16);
  box-shadow: inset 0 0 0 1px rgba(197, 168, 92, 0.28);
}

.triage-alert {
  min-height: 20px;
  margin: -2px 0 0;
  color: #e7d28b;
  font-size: 0.9rem;
}

.triage-submit {
  justify-self: start;
}

.compact {
  padding-top: 36px;
  padding-bottom: 36px;
}

.section-heading {
  display: grid;
  gap: 4px;
  max-width: 720px;
  margin-bottom: 18px;
}

.problem-grid,
.steps,
.testimonials {
  display: grid;
  gap: 14px;
}

.problem-item,
.step,
.testimonials figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.problem-item span,
.step span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--secondary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps-band {
  background: #0f0f0f;
  border-block: 1px solid var(--border);
}

.steps-section {
  padding-top: 38px;
  padding-bottom: 38px;
}

.step {
  padding: 16px;
}

.step h3 {
  margin-top: 12px;
}

.step p {
  margin: 7px 0 0;
  color: var(--muted);
}

.authority {
  display: grid;
  gap: 16px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
}

.authority-copy {
  display: grid;
  gap: 12px;
}

.authority-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.text-cta {
  color: var(--secondary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.testimonials figure {
  padding: 16px;
}

blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
}

figcaption {
  margin-top: 12px;
  color: var(--secondary-dark);
  font-weight: 650;
}

.final-cta {
  display: grid;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 26px;
  padding: 28px 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(197, 168, 92, 0.18), transparent 46%),
    #000;
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta .eyebrow {
  color: #e7d28b;
}

.final-cta p:not(.eyebrow) {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer {
  display: grid;
  gap: 8px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 78px;
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-weight: 650;
  color: var(--text);
}

.floating-whatsapp {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #082413;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.28);
  font-weight: 700;
}

.floating-whatsapp span {
  font-size: 1.1rem;
}

@media (min-width: 680px) {
  .button {
    width: auto;
  }

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

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

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
    max-height: 430px;
  }

  .authority,
  .final-cta {
    grid-template-columns: 0.9fr 1fr;
  }

  .final-cta {
    align-items: center;
    padding: 34px;
  }
}

@media (max-width: 679px) {
  .section {
    width: min(var(--max), calc(100% - 24px));
    padding: 28px 0;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero-problems {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-problems span {
    min-height: 31px;
    padding: 6px 9px;
    font-size: 0.82rem;
  }

  .hero-actions {
    margin-top: 15px;
  }

  .hero-media {
    min-height: 210px;
  }

  .hero-media img {
    min-height: 210px;
  }

  .urgency-inner {
    width: min(var(--max), calc(100% - 24px));
    align-items: flex-start;
    padding: 12px 0;
  }

  .urgency-link {
    padding: 7px 10px;
  }

  .triage-modal {
    align-items: end;
    padding: 10px;
  }

  .triage-dialog {
    width: 100%;
    max-height: 88vh;
  }

  .triage-panel {
    padding: 18px 14px 16px;
  }

  .choice-grid {
    gap: 7px;
  }

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

  .choice-card {
    min-height: 38px;
    padding: 8px 9px;
  }

  .choice-card span {
    font-size: 0.84rem;
  }

  .triage-submit {
    justify-self: stretch;
  }

  .steps-section,
  .authority,
  .compact {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .step,
  .testimonials figure {
    padding: 14px;
  }

  .final-cta {
    width: min(var(--max), calc(100% - 24px));
    padding: 22px 16px;
  }

  .footer {
    width: min(var(--max), calc(100% - 24px));
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 0.96rem;
  }

  .topbar-link {
    padding-inline: 11px;
  }
}
