:root {
  --black: #090807;
  --charcoal: #171412;
  --wine: #3f0c14;
  --wine-2: #6f1726;
  --bone: #f4efe8;
  --paper: #fbf8f2;
  --line: rgba(22, 18, 15, 0.14);
  --muted: #6f665f;
  --gold: #b28a55;
  --white: #ffffff;
  --shadow: 0 22px 54px rgba(12, 9, 7, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.42;
}

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

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

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

.topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 16px;
}

.brand img {
  width: 76px;
  height: auto;
  filter: brightness(0) invert(1);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: var(--black);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 36%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 86svh;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 64px 18px 28px;
  color: var(--white);
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(40px, 11.2vw, 72px);
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 30ch;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: fit-content;
  min-width: 205px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-dark {
  width: 100%;
  background: var(--wine);
  color: var(--white);
}

.section {
  padding: 42px 18px;
}

.section-title,
.form-intro {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}

.section-title p,
.form-intro p {
  margin-bottom: 0;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title h2,
.form-intro h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 8vw, 52px);
  line-height: 1;
  letter-spacing: -0.028em;
}

.section-title span,
.form-intro span {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.authority {
  background: var(--paper);
}

.mechanism {
  background: var(--paper);
}

.mechanism-grid,
.comparison-grid,
.qualification-list {
  display: grid;
  gap: 14px;
}

.mechanism-grid article,
.comparison-grid article,
.qualification-list article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(12, 9, 7, 0.08);
}

.mechanism-grid span,
.qualification-list strong {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mechanism-grid h3,
.comparison-grid h3 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.05;
}

.mechanism-grid p,
.comparison-grid li,
.qualification-list span {
  margin-bottom: 0;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.comparison {
  background: var(--bone);
}

.comparison-grid article.featured {
  border-color: rgba(178, 138, 85, 0.42);
  background: #f7f1e9;
}

.comparison-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.qualification {
  background:
    linear-gradient(135deg, rgba(63, 12, 20, 0.94), rgba(9, 8, 7, 0.94)),
    var(--wine);
  color: var(--white);
}

.qualification .section-title span,
.qualification-list span {
  color: rgba(255, 255, 255, 0.72);
}

.qualification-list article {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--black);
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  max-height: 78svh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--black);
}

.cases {
  background: var(--bone);
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-content {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.case-heading span {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-heading h3 {
  margin: 5px 0 0;
  font-size: 25px;
  line-height: 1.05;
}

.case-numbers {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  background: transparent;
}

.case-numbers div {
  display: grid;
  gap: 5px;
  padding: 15px 14px;
  border-left: 3px solid var(--gold);
  background: #f7f1e9;
}

.case-numbers dt {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-numbers dd {
  margin: 0;
  color: var(--wine);
  font-size: 34px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

details {
  border-top: 1px solid var(--line);
  padding-top: 4px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

details ul {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.form-section {
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.94), rgba(9, 8, 7, 0.9)),
    var(--black);
  color: var(--white);
}

.form-intro span {
  color: rgba(255, 255, 255, 0.7);
}

.lead-form {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

#empresa {
  display: none;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select {
  min-height: 56px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  padding: 0 13px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(178, 138, 85, 0.24);
}

.restriction,
.lead-form small,
.eligibility-msg {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
}

.eligibility-msg,
.error,
.success {
  display: none;
  padding: 11px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.eligibility-msg {
  background: rgba(178, 138, 85, 0.18);
  color: #f4ddba;
}

.error {
  background: rgba(128, 15, 32, 0.9);
  color: var(--white);
}

.success {
  background: rgba(25, 92, 58, 0.9);
  color: var(--white);
}

.benefits {
  display: grid;
  gap: 1px;
  background: var(--paper);
}

.benefits article {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.benefits span {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.benefits h3 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.05;
}

.benefits p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.closing {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: 44px 18px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.closing h2 {
  max-width: 15ch;
  margin-inline: auto;
}

.closing .button {
  width: min(100%, 260px);
}

.footer {
  display: grid;
  gap: 22px;
  justify-items: center;
  padding: 38px 18px;
  background: #100e0c;
  color: rgba(255, 255, 255, 0.68);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}

.footer img {
  width: 132px;
  height: auto;
  margin-inline: auto;
}

.footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.footer p {
  margin-bottom: 0;
  max-width: 62ch;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

.legal {
  width: 100%;
  max-width: 760px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.55;
}

.copyright {
  max-width: 640px;
  font-size: 12px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .topbar {
    padding-inline: 32px;
    min-height: 58px;
  }

  .brand img {
    width: 116px;
  }

  .hero,
  .hero-content {
    min-height: 94svh;
  }

  .hero-content {
    max-width: 1180px;
    margin-inline: auto;
    padding: 110px 32px 62px;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(70px, 7.2vw, 104px);
  }

  .hero p {
    max-width: 42ch;
    font-size: 18px;
  }

  .section,
  .closing,
  .footer {
    padding-inline: max(32px, calc((100vw - 1180px) / 2));
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .authority {
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 44px;
    align-items: center;
  }

  .video-frame video {
    max-height: 760px;
  }

  .case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

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

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

  .case-content {
    padding: 24px;
  }

  .case-numbers {
    grid-template-columns: 1fr;
  }

  .form-section {
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 44px;
    align-items: start;
  }

  .lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }

  .lead-form .eligibility-msg,
  .lead-form .restriction,
  .lead-form .error,
  .lead-form .success,
  .lead-form .button,
  .lead-form small {
    grid-column: 1 / -1;
  }

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

  .benefits article {
    min-height: 230px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .benefits article:last-child {
    border-right: 0;
  }

  .closing {
    grid-template-columns: 1fr max-content;
    align-items: center;
    justify-items: stretch;
    padding-top: 74px;
    padding-bottom: 74px;
    text-align: left;
  }

  .closing h2 {
    max-width: 18ch;
    margin-inline: 0;
  }

  .closing .button {
    width: auto;
  }

  .footer {
    grid-template-columns: 0.8fr 1fr;
    gap: 22px 54px;
    justify-items: stretch;
    align-items: center;
    text-align: left;
  }

  .footer img {
    margin-inline: 0;
  }

  .footer p {
    max-width: none;
  }

  .legal,
  .copyright {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }
}
