:root {
  --bg: #fff8f7;
  --surface: #ffffff;
  --surface-low: #faf2f1;
  --surface-high: #efe6e6;
  --surface-strong: #342f2f;
  --text: #1e1b1b;
  --muted: #5e5454;
  --primary: #765b00;
  --primary-bright: #ffc702;
  --shadow: 0 28px 60px rgba(30, 27, 27, 0.08);
  --shadow-soft: 0 18px 38px rgba(30, 27, 27, 0.06);
  --radius: 24px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(255, 199, 2, 0.14), transparent 24rem), linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-shell { min-height: 100vh; }
.container { width: min(calc(100% - 2rem), var(--content)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 247, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
}
.brand__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.brand__name { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.04em; }
.brand__tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-low);
  cursor: pointer;
}

.nav, .nav__links, .lang-switch { display: flex; align-items: center; gap: 1.25rem; }
.nav { gap: 1.5rem; }
.nav__links a, .lang-switch a { color: var(--muted); font-size: 0.95rem; }
.nav__links a.active, .nav__links a:hover, .lang-switch a.active, .lang-switch a:hover { color: var(--text); }
.nav__links a.active { font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%); color: #fff; box-shadow: 0 18px 30px rgba(118, 91, 0, 0.18); }
.btn--secondary { background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }

.hero { padding: 5.5rem 0 4rem; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.1fr);
  gap: 1rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; width: 3.5rem; height: 1px; background: currentColor; opacity: 0.5; }

.hero h1, .section-title, .card h3, .feature-panel h3, .cta h2, .timeline__step h3, .stat__value {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}
.hero h1 { margin: 0 0 1rem; font-size: clamp(3rem, 7vw, 5.4rem); line-height: 0.95; }
.hero p { max-width: 42rem; color: var(--muted); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-card {
  position: relative;
  padding: 2rem;
  min-height: 470px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 27, 27, 0.15), rgba(30, 27, 27, 0.6)), linear-gradient(135deg, rgba(118, 91, 0, 0.78), rgba(52, 47, 47, 0.95));
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-card::before, .feature-panel--accent::before, .cta::before, .language-card::before {
  content: "";
  position: absolute;
  inset: auto auto -6rem -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 223, 148, 0.8), rgba(255, 223, 148, 0));
}
.hero-card__badge, .card__kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-card__metric {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 190px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.hero-card__metric strong { display: block; font-size: 2rem; line-height: 1; }
.hero-card--image {
  padding: 0;
  min-height: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: grid;
  place-items: center;
  justify-self: stretch;
  margin-left: -7rem;
  pointer-events: none;
  opacity: 0.94;
}
.hero-card--image::before {
  display: none;
}
.hero-card--image img {
  width: min(100%, 980px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.hero__grid > div:first-child {
  position: relative;
  z-index: 1;
}

.section { padding: 4.5rem 0; }
.section--alt { background: var(--surface-low); }
.section--strong { background: linear-gradient(180deg, rgba(52, 47, 47, 0.04), rgba(52, 47, 47, 0.08)); }
.explainer-section {
  background: linear-gradient(180deg, rgba(118, 91, 0, 0.06), rgba(255, 199, 2, 0.08));
}
.component-grid {
  margin-top: 1.5rem;
}
.component-grid {
  align-items: stretch;
}
.component-grid .card {
  display: grid;
  align-content: start;
  text-align: left;
}
.component-grid .card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
  line-height: 1.1;
}
.component-grid .card p {
  margin: 0;
}
.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.75rem;
  align-items: center;
}
.split-section__media,
.split-section__content {
  position: relative;
}
.split-section__media {
  overflow: hidden;
}
.split-section__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-section__content h2 {
  margin: 0 0 1rem;
}
.split-section__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}
.split-section__content li {
  color: var(--muted);
  font-weight: 600;
}
.split-section__content .btn {
  margin-top: 1.5rem;
}
.visual-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.visual-section__image {
  display: block;
  width: min(100%, 1100px);
  height: auto;
  margin: 0 auto;
}
.visual-section__quote {
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.5;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.section-copy { max-width: 42rem; color: var(--muted); }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .feature-panel, .timeline__step, .contact-panel, .language-card, .info-card, .form-panel, .stat {
  position: relative;
  padding: 1.7rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.card p, .feature-panel p, .timeline__step p, .info-card p, .contact-panel p, .form-panel p { color: var(--muted); }

.bullet-list, .timeline, .detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bullet-list li, .detail-list li { display: flex; align-items: flex-start; gap: 0.7rem; }
.bullet-list li::before, .detail-list li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  flex: 0 0 auto;
}

.feature-panel--accent { overflow: hidden; background: linear-gradient(135deg, rgba(118, 91, 0, 0.96), rgba(255, 199, 2, 0.92)); color: #fff; }
.feature-panel--dark { background: var(--surface-strong); color: #fff; }
.feature-panel--accent p, .feature-panel--dark p { color: rgba(255, 255, 255, 0.82); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat { background: rgba(255, 255, 255, 0.8); }
.stat__value { font-size: 2.1rem; font-weight: 700; line-height: 1; }

.timeline__step { display: grid; grid-template-columns: 88px 1fr; align-items: start; gap: 1.25rem; }
.timeline__index {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(118, 91, 0, 0.14), rgba(255, 199, 2, 0.32));
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 16px;
  background: var(--surface-high);
  color: var(--text);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 -2px 0 var(--primary); }

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.25rem; }
.contact-panel { background: linear-gradient(180deg, rgba(118, 91, 0, 0.08), rgba(118, 91, 0, 0.02)), var(--surface); }
.contact-panel__items { display: grid; gap: 1rem; }
.contact-item { padding: 1rem; border-radius: 18px; background: var(--surface-low); }
.map-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.map-card__frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.map-card__body {
  padding: 1.4rem 1.7rem 1.7rem;
}

.cta {
  overflow: hidden;
  padding: 2.5rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--surface-strong), #4e4747);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta p { max-width: 40rem; color: rgba(255, 255, 255, 0.78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

.site-footer { padding: 2.5rem 0 1.5rem; background: var(--surface-strong); color: rgba(255, 255, 255, 0.9); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.25rem; }
.site-footer h4 { margin: 0 0 0.75rem; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.language-hero { padding: 6rem 0 4rem; text-align: center; }
.language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.language-card { overflow: hidden; text-align: left; min-height: 320px; }
.language-card h2 { margin-bottom: 0.5rem; font-family: "Space Grotesk", sans-serif; font-size: 2rem; }
.language-card--pt { background: linear-gradient(135deg, rgba(118, 91, 0, 0.1), rgba(255, 199, 2, 0.22)), var(--surface); }
.language-card--es { background: linear-gradient(135deg, rgba(52, 47, 47, 0.08), rgba(255, 199, 2, 0.18)), var(--surface); }
.language-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: 0.55rem; color: var(--muted); }
.muted { color: var(--muted); }
.showcase-card {
  overflow: hidden;
  padding: 0;
}
.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.showcase-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.kit-grid {
  align-items: stretch;
}
.kit-card {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 1.5rem;
}
.kit-card img {
  width: 92px;
  height: 92px;
  margin-top: 0.35rem;
  object-fit: contain;
}
.kit-card .showcase-card__body {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.9rem;
  padding: 1.2rem 0 0;
  width: 100%;
}
.kit-card .showcase-card__body h3 {
  margin: 0;
  min-height: 2.6em;
  display: grid;
  align-items: center;
}
.kit-card .showcase-card__body p {
  margin: 0;
  min-height: 3.2em;
  display: grid;
  align-items: center;
}
.kit-card .btn {
  min-width: 150px;
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(118, 91, 0, 0.18);
}
.compliance-table-wrap {
  margin-top: 2.25rem;
}
.compliance-table__title {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.compliance-table-wrap .section-title {
  margin-bottom: 1.25rem;
}
.compliance-table {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(118, 91, 0, 0.18);
  box-shadow: 0 22px 44px rgba(30, 27, 27, 0.08);
}
.compliance-table table {
  width: 100%;
  border-collapse: collapse;
}
.compliance-table th,
.compliance-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(30, 27, 27, 0.12);
}
.compliance-table th {
  background: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.compliance-table td {
  background: #fff;
}
.compliance-table td:first-child,
.compliance-table th:first-child {
  font-weight: 700;
}
.compliance-table tbody td:first-child {
  color: var(--primary);
}
.compliance-table tbody tr:last-child td {
  border-bottom: 0;
}
.process-step {
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: start;
  gap: 0.8rem;
  position: relative;
}
.process-step img {
  width: 84px;
  height: 84px;
  margin-top: 2.2rem;
  object-fit: contain;
}
.process-step__body {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.8rem;
  width: 100%;
  padding: 1.5rem 1.25rem;
}
.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}
.process-step__body p {
  margin: 0;
}
.icon-stat {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.9rem;
}
.icon-stat img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.icon-stat__value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.icon-stat__label {
  color: var(--muted);
  font-weight: 600;
}
.benefits-section .section-title {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}
.benefits-section {
  background: #fff;
}
.benefits-section .visual-section {
  padding-top: 3.5rem;
  padding-bottom: 0;
}

@media (max-width: 960px) {
  .hero__grid, .contact-layout, .site-footer__grid, .grid--4, .grid--3, .grid--2, .language-grid, .split-section { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__bottom, .section-head { flex-direction: column; align-items: start; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 248, 247, 0.98);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .nav.is-open, .nav[data-open="true"] { display: flex; }
  .nav__links, .lang-switch { flex-direction: column; align-items: start; gap: 0.9rem; }
  .hero, .section { padding: 3.6rem 0; }
  .hero-card { min-height: 380px; }
  .timeline__step { grid-template-columns: 1fr; }
  .timeline__index { width: 72px; height: 72px; }
  .stats { grid-template-columns: 1fr; }
}
