:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --muted: #eee8dc;
  --ink: #20201d;
  --ink-soft: #57534b;
  --line: #ded6c8;
  --accent: #8d6b36;
  --accent-dark: #5f451f;
  --deep: #17201c;
  --deep-soft: #26352f;
  --focus: #1d5f77;
  --error: #9b2c2c;
  --shadow: 0 18px 50px rgba(26, 31, 28, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

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

a {
  color: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 214, 200, 0.9);
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  min-width: max-content;
}

.brand span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.nav-links,
.header-actions,
.button-row,
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(29, 95, 119, 0.35);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--deep-soft);
}

.btn-secondary,
.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--deep);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--accent);
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--surface);
}

.section-accent {
  background: #ece4d6;
}

.hero {
  padding-top: 92px;
}

.official-site-header {
  border-bottom: 1px solid rgba(255, 250, 242, 0.12);
  background: rgba(25, 23, 22, 0.88);
}

.official-site-header .brand,
.official-site-header .nav-links a {
  color: #fffaf2;
}

.official-site-header .brand span {
  color: rgba(255, 250, 242, 0.72);
}

.official-site-header .brand strong {
  font-weight: 560;
}

.official-site-header .nav-links a:hover {
  color: #b9965c;
}

.official-site-header .btn-ghost {
  border-color: rgba(255, 250, 242, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf2;
}

.official-site-header .btn-primary,
.inventario-page .btn-primary {
  border-color: rgba(255, 255, 255, 0.16);
  background: #b9965c;
  color: #201712;
  font-weight: 650;
}

.official-site-header .btn-primary:hover,
.inventario-page .btn-primary:hover {
  background: #d2b47a;
}

.inventario-page {
  background: #fffaf2;
  color: #191716;
}

.inventario-page .eyebrow,
.inventario-page .card span,
.inventario-page .three-columns h3 {
  color: #4a0717;
}

.inventario-page .section-muted {
  background: #f7efe3;
}

.inventario-page .section-accent {
  background: #efe2cf;
}

.inventario-hero {
  background:
    linear-gradient(120deg, rgba(18, 13, 12, 0.96), rgba(46, 22, 18, 0.9)),
    url("/img/inventario.jpg");
  background-position: center;
  background-size: cover;
  color: #fffaf2;
}

.inventario-hero .eyebrow {
  color: #d8bd84;
}

.inventario-hero .lead,
.inventario-hero .trust-line {
  color: rgba(255, 250, 242, 0.78);
}

.inventario-page .inventario-hero .metric {
  border-color: rgba(216, 189, 132, 0.42);
  background: linear-gradient(135deg, rgba(31, 27, 25, 0.9), rgba(74, 7, 23, 0.76));
  box-shadow: 0 18px 46px rgba(10, 7, 6, 0.24);
}

.inventario-page .inventario-hero .metric strong {
  color: #fffaf2;
}

.inventario-page .inventario-hero .metric span {
  color: rgba(250, 238, 220, 0.84);
}

.inventario-hero .btn-secondary {
  border-color: rgba(255, 250, 242, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf2;
}

.trust-strip {
  border-bottom: 1px solid rgba(74, 7, 23, 0.14);
  background: #fffaf2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0;
}

.trust-grid div {
  border-left: 3px solid #b9965c;
  padding-left: 14px;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: #191716;
  line-height: 1.25;
}

.trust-grid span {
  color: #6f6157;
  font-size: 0.92rem;
}

.inventario-page .metric,
.inventario-page .card,
.inventario-page .three-columns article,
.inventario-page .lead-form,
.inventario-page .faq-list details {
  border-color: rgba(74, 7, 23, 0.16);
  background: rgba(255, 250, 242, 0.72);
}

.inventario-page .notice {
  border-left-color: #b9965c;
  background: rgba(255, 250, 242, 0.82);
}

.inventario-page .quote {
  border-color: rgba(74, 7, 23, 0.16);
  background: #fffaf2;
  color: #201712;
}

.inventario-page .steps li {
  border-top-color: #b9965c;
}

.inventario-page input,
.inventario-page select,
.inventario-page textarea {
  border-color: rgba(74, 7, 23, 0.24);
}

.inventario-page .progress-track span {
  background: #b9965c;
}

.inventario-footer {
  border-top-color: rgba(255, 250, 242, 0.12);
  background: #120d0c;
  color: #fffaf2;
}

.inventario-footer p {
  color: rgba(255, 250, 242, 0.7);
}

.inventario-footer .btn-ghost {
  border-color: rgba(255, 250, 242, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf2;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 8px;
  background: #1f7a4d;
  color: #fffaf2;
  box-shadow: 0 18px 42px rgba(18, 13, 12, 0.24);
  padding: 0.8rem 1rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.floating-whatsapp:hover {
  background: #256f49;
  transform: translateY(-1px);
}

.floating-whatsapp__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.16);
  color: #fffaf2;
  font-size: 0.72rem;
  font-weight: 850;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.split h2,
.form-intro h2,
.final-cta h2,
.founder-grid h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 850px;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
}

.lead {
  margin: 26px 0;
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-line,
.fine-print,
.field-note {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust-line {
  max-width: 780px;
  margin-top: 22px;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.metric,
.card,
.three-columns article,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1.12rem;
}

.metric span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.split h2,
.form-intro h2,
.founder-grid h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p,
.split p,
.founder-grid p,
.final-cta p,
.form-intro p {
  color: var(--ink-soft);
}

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

.card-grid.compact .card {
  min-height: 230px;
}

.card {
  padding: 22px;
}

.card span,
.three-columns h3 {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.card h3,
.three-columns h3 {
  margin: 10px 0 10px;
  line-height: 1.25;
  font-size: 1.12rem;
}

.card p,
.three-columns p {
  margin: 0;
  color: var(--ink-soft);
}

.notice {
  margin-top: 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 253, 248, 0.78);
  padding: 18px 20px;
}

.notice p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--deep);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.split,
.founder-grid,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.rich-text p:first-child {
  margin-top: 0;
}

.rich-text ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.quote {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 18px;
  color: var(--deep);
  font-weight: 800;
}

.three-columns,
.two-columns {
  display: grid;
  gap: 16px;
}

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

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

.three-columns article {
  padding: 24px;
}

.section-close {
  max-width: 850px;
  margin: 28px 0 0;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  border-top: 3px solid var(--accent);
  padding: 18px 4px 0;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.steps span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.founder-grid {
  align-items: center;
}

.founder-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--muted);
  box-shadow: var(--shadow);
}

.founder-photo img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tag-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-layout {
  align-items: start;
}

.lead-form {
  padding: 26px;
}

.form-progress {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-weight: 800;
}

.progress-track {
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--muted);
}

.progress-track span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}

.form-step {
  display: none;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.form-step.is-active {
  display: block;
}

.form-step > legend,
.checkbox-group > legend {
  margin-bottom: 16px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

label {
  display: block;
  margin: 16px 0 8px;
  color: var(--deep);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfc5b5;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.78rem 0.9rem;
}

textarea {
  resize: vertical;
}

.field-note {
  margin: 8px 0 0;
}

.hidden-field,
[hidden] {
  display: none !important;
}

.checkbox-group {
  margin: 18px 0 0;
  border: 0;
  padding: 0;
}

.checkbox-group > legend {
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.checkbox-group label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  color: var(--ink-soft);
  font-weight: 650;
}

.checkbox-group input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-error {
  min-height: 1.25rem;
  margin: 12px 0 0;
  color: var(--error);
  font-weight: 800;
}

.form-status {
  min-height: 1.25rem;
  margin: 14px 0 0;
  color: var(--deep);
  font-weight: 800;
}

.form-status.is-success {
  color: #1f7a4d;
}

.form-status.is-error {
  color: var(--error);
}

.full {
  width: 100%;
  margin-top: 12px;
}

.form-actions {
  justify-content: space-between;
  margin-top: 16px;
}

.form-actions .btn {
  flex: 1;
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-list summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--deep);
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--ink-soft);
}

.final-cta {
  background: var(--deep);
  color: #fff;
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
  max-width: 920px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.final-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: #fff;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer p {
  margin: 4px 0;
  color: var(--ink-soft);
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split,
  .founder-grid,
  .form-layout,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .header-actions {
    display: none;
  }

  .brand span {
    font-size: 0.82rem;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  .button-row,
  .form-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .btn,
  .form-actions .btn,
  .footer-inner .btn {
    width: 100%;
  }

  .card-grid,
  .three-columns,
  .two-columns,
  .steps,
  .trust-grid,
  .rich-text ul {
    grid-template-columns: 1fr;
  }

  .card-grid.compact .card {
    min-height: auto;
  }

  .lead-form {
    padding: 20px;
  }

  .founder-photo img {
    min-height: 340px;
  }
}
