:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5d6863;
  --paper: #fbfaf6;
  --line: #d8ded8;
  --green: #155c42;
  --green-2: #0f3f31;
  --gold: #c89a3b;
  --blue: #274f73;
  --soft: #eef4f0;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(15, 40, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(216, 222, 216, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  display: flex;
  width: 58px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(216, 222, 216, 0.9);
}

.brand-logo img {
  max-width: 48px;
  max-height: 32px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 22px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  padding: 8px 2px;
}

.nav-cta {
  color: var(--green);
  font-weight: 800;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.language-switch button {
  min-width: 36px;
  min-height: 32px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #231b0c;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 64px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #20382f;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 30, 25, 0.91) 0%, rgba(12, 30, 25, 0.76) 37%, rgba(12, 30, 25, 0.16) 74%),
    linear-gradient(0deg, rgba(12, 30, 25, 0.48), rgba(12, 30, 25, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 72px) 30px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 46px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #231b0c;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost {
  border-color: var(--line);
  color: var(--green);
  background: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  margin: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.trust-strip div {
  min-height: 90px;
  padding: 18px;
  background: rgba(8, 28, 22, 0.72);
}

.trust-strip dt {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-strip dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.lead-band {
  background: var(--green-2);
  color: var(--white);
}

.official-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.official-strip-inner {
  width: min(1120px, 100%);
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 44px);
}

.official-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.official-strip img {
  width: auto;
  max-height: 54px;
  object-fit: contain;
}

.lead-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px) clamp(18px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
}

.lead-inner h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.lead-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 44px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

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

.steps {
  display: grid;
  gap: 14px;
}

.steps article,
.doc-panel,
.lead-form,
.contact-box,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(22, 39, 33, 0.06);
}

.steps article {
  padding: 22px;
}

.steps span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold);
  font-weight: 900;
}

.steps p,
.faq p {
  margin-bottom: 0;
}

.admin-note {
  margin: 4px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(188, 139, 74, 0.12);
  color: var(--ink);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.country-grid li {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  font-weight: 800;
}

.doc-panel {
  padding: clamp(22px, 4vw, 38px);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px var(--soft);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.form-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-box {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 20px;
}

.contract-steps {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contract-steps li {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-weight: 800;
}

.contract-steps li::before {
  content: attr(data-step-label);
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green);
  font-size: 0.78rem;
}

.contract-steps li.is-active {
  border-color: rgba(200, 154, 59, 0.55);
  color: var(--ink);
  background: #fff8e8;
}

.contract-steps li.is-complete::before,
.contract-steps li.is-active::before {
  background: var(--gold);
  color: #231b0c;
}

.contact-box span,
.contact-box a {
  color: var(--muted);
}

.lead-form {
  display: grid;
  padding: clamp(18px, 4vw, 32px);
}

.wizard-form {
  gap: 0;
}

.wizard-panel {
  display: grid;
  gap: 18px;
}

.wizard-panel[hidden] {
  display: none;
}

.panel-heading {
  display: grid;
  gap: 6px;
}

.panel-heading span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd4cf;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.upload-card {
  min-height: 178px;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px dashed #b5c2bb;
  border-radius: 8px;
  background: var(--soft);
}

.upload-card span {
  font-size: 1rem;
}

.upload-card small {
  min-height: 42px;
  color: var(--muted);
  font-weight: 600;
}

.upload-card input {
  min-height: 44px;
  padding: 9px;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 0.84rem;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-status[data-status="pending"] {
  color: var(--muted);
}

.form-status[data-status="success"] {
  color: #176b43;
}

.form-status[data-status="error"] {
  color: #a33025;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(200, 154, 59, 0.58);
  border-radius: 8px;
  background: #fff8e8;
}

.price-box span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-box strong {
  color: #231b0c;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.summary-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  margin: 0;
}

.summary-row dt {
  color: var(--muted);
  font-weight: 800;
}

.summary-row dd {
  margin: 0;
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq summary + p {
  margin-top: 12px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: #101917;
}

.footer div {
  display: grid;
  gap: 4px;
}

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

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(12, 30, 25, 0.88), rgba(12, 30, 25, 0.48));
  }

  .lead-inner,
  .split,
  .split.reverse,
  .form-section {
    grid-template-columns: 1fr;
  }

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

  .trust-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    position: relative;
    padding-right: 154px;
  }

  .header-actions {
    align-items: flex-start;
  }

  .language-switch {
    position: absolute;
    top: 14px;
    right: 18px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    justify-content: flex-start;
    font-size: 0.88rem;
  }

  .nav a:not(.nav-cta):not([href="#contratacion"]) {
    display: none;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  .hero-content {
    padding-top: 82px;
  }

  .button {
    width: 100%;
  }

  .country-grid,
  .form-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .official-strip-inner,
  .form-actions,
  .price-box {
    align-items: stretch;
    flex-direction: column;
  }

  .footer {
    display: grid;
  }
}
