:root {
  --bg: #f5f0e7;
  --paper: #fffaf1;
  --ink: #17211f;
  --muted: #5f6a66;
  --line: #ded3c2;
  --teal: #0e6f68;
  --teal-dark: #0b4946;
  --gold: #d49b35;
  --red: #b63a37;
  --footer: #111a19;
  --shadow: 0 22px 60px rgba(20, 31, 30, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 26, 25, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff7e8;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 136px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.header-cta,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  color: #141414;
  background: linear-gradient(135deg, #ffd56c, #d89227);
  box-shadow: 0 13px 24px rgba(185, 109, 20, 0.28);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.header-cta:hover,
.hero-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 18px 30px rgba(185, 109, 20, 0.34);
}

.hero {
  position: relative;
  min-height: clamp(560px, 74vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fffaf1;
  background: #111a19;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 19, 18, 0.96) 0%, rgba(12, 19, 18, 0.75) 38%, rgba(12, 19, 18, 0.34) 70%, rgba(12, 19, 18, 0.7) 100%),
    linear-gradient(0deg, rgba(17, 26, 25, 0.9), transparent 44%),
    url("assets/hero-lizaro.png") center / cover no-repeat;
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 92px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 138px 0 166px;
}

.hero-copy {
  max-width: 880px;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 4.25vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 32px;
  color: rgba(255, 250, 241, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-cta {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1.02rem;
}

.content-shell {
  width: min(1060px, calc(100% - 32px));
  margin: -52px auto 86px;
  position: relative;
  z-index: 3;
}

.content-block {
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid rgba(126, 100, 62, 0.2);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-block > :first-child {
  margin-top: 0;
}

.content-block > :last-child {
  margin-bottom: 0;
}

.content-block h2,
.content-block h3,
.content-block h4 {
  color: #122421;
  line-height: 1.2;
  letter-spacing: 0;
}

.content-block h2 {
  margin: 48px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.content-block h3 {
  margin: 34px 0 12px;
  font-size: clamp(1.22rem, 2.2vw, 1.58rem);
}

.content-block p {
  margin: 0 0 18px;
  color: #263330;
  font-size: 1.04rem;
}

.content-block strong {
  color: #111a19;
  font-weight: 850;
}

.content-block img {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 28px;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(20, 31, 30, 0.16);
}

.content-block ul,
.content-block ol {
  margin: 12px 0 28px;
  padding-left: 1.4rem;
  color: #263330;
}

.content-block li {
  margin: 9px 0;
  padding-left: 4px;
}

.content-block li::marker {
  color: var(--teal);
  font-weight: 800;
}

.content-block blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  color: #1d2b28;
  background: #fbefd8;
  box-shadow: inset 0 0 0 1px rgba(212, 155, 53, 0.22);
}

.content-block blockquote p {
  margin: 0;
}

.table-wrap {
  width: 100%;
  margin: 24px 0 34px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  -webkit-overflow-scrolling: touch;
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.content-block thead {
  color: #fffaf1;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.content-block th,
.content-block td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-block th {
  font-weight: 850;
}

.content-block tbody tr:nth-child(even) {
  background: #f8f1e6;
}

.content-block tbody tr:hover {
  background: #eff6f2;
}

.site-footer {
  color: #fffaf1;
  background: var(--footer);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-brand {
  padding: 36px 0 26px;
}

.brand-footer .brand-logo {
  width: 158px;
  max-height: 68px;
}

.footer-warning {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-warning p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.98rem;
}

.footer-copy {
  padding: 22px 0 28px;
  text-align: center;
}

.footer-copy p {
  margin: 0;
  color: rgba(255, 250, 241, 0.7);
  font-size: 0.94rem;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-logo {
    width: 118px;
    max-height: 52px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(12, 19, 18, 0.98) 0%, rgba(12, 19, 18, 0.86) 54%, rgba(12, 19, 18, 0.54) 100%),
      linear-gradient(0deg, rgba(17, 26, 25, 0.94), transparent 54%),
      url("assets/hero-lizaro.png") 58% center / cover no-repeat;
  }

  .hero-inner {
    padding: 78px 0 112px;
  }

  .hero h1 {
    font-size: clamp(1.86rem, 9.2vw, 2.65rem);
    line-height: 1.07;
  }

  .content-shell {
    width: min(100% - 22px, 1060px);
    margin-top: -44px;
    margin-bottom: 58px;
  }

  .content-block {
    padding: 24px 18px;
  }

  .content-block p {
    font-size: 1rem;
  }

  .content-block h2 {
    margin-top: 38px;
    font-size: 1.62rem;
  }

  .content-block h3 {
    font-size: 1.24rem;
  }

  .table-wrap {
    margin-right: -1px;
    margin-left: -1px;
  }

  .content-block table {
    min-width: 620px;
  }

  .content-block th,
  .content-block td {
    padding: 12px 14px;
  }

  .footer-brand,
  .footer-warning,
  .footer-copy {
    width: min(100% - 32px, 1160px);
  }
}

@media (max-width: 420px) {
  .header-inner {
    width: min(100% - 22px, 1160px);
    gap: 12px;
  }

  .brand-logo {
    width: 104px;
    max-height: 48px;
  }

  .header-cta {
    padding: 0 11px;
  }

  .hero-inner {
    width: min(100% - 22px, 1160px);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-cta {
    width: 100%;
  }

  .content-block blockquote {
    padding: 18px;
  }
}
