:root {
  --ink: #243020;
  --ink-soft: #4a543f;
  --leaf: #50622a;
  --leaf-dark: #29371b;
  --sage: #dce7d1;
  --cream: #f8f2e4;
  --paper: #fffdf8;
  --gold: #c39a31;
  --tomato: #b85a42;
  --teal: #3f7d74;
  --line: rgba(36, 48, 32, 0.16);
  --shadow: 0 20px 60px rgba(36, 48, 32, 0.14);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--content)) / 2));
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(12px);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 28px rgba(36, 48, 32, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.brand-mark {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 0.3rem;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  padding: 8rem max(1.25rem, calc((100vw - var(--content)) / 2)) 4.4rem;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0.82) 40%, rgba(255, 253, 248, 0.22) 70%),
    url("portada.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(36, 48, 32, 0.16);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section h2,
.social-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 9ch;
  font-size: 5rem;
}

.hero-lead {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.8rem 1.1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--leaf-dark);
  background: var(--gold);
}

.button-secondary {
  color: currentColor;
  border-color: currentColor;
  background: transparent;
}

.full-width {
  width: 100%;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip p {
  margin: 0;
  padding: 1.05rem 1rem;
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: 6rem max(1.25rem, calc((100vw - var(--content)) / 2));
}

.section-grid {
  display: grid;
  gap: 3rem;
}

.two-columns {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

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

.section h2,
.social-band h2 {
  font-size: 3rem;
}

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

.copy-flow p {
  margin: 0;
}

.copy-flow p + p {
  margin-top: 1rem;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2.3rem;
}

.section-heading.with-action {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-intro {
  background: var(--paper);
}

.section-steps {
  background: #eef5ea;
}

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

.step-card,
.product-card,
.differential-grid article,
.process-list article,
.signup-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.step-card {
  min-height: 220px;
  padding: 1.4rem;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--leaf);
  font-weight: 900;
}

.step-card h3,
.product-card h3,
.process-list h3,
.differential-grid h3 {
  margin: 1.25rem 0 0.45rem;
  font-size: 1.3rem;
  line-height: 1.2;
}

.step-card p,
.product-card p,
.process-list p,
.differential-grid p {
  margin: 0;
}

.section-kits {
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  color: var(--leaf-dark);
  font-weight: 900;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36, 48, 32, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.product-content {
  flex: 1;
  padding: 1.4rem;
}

.product-tag {
  margin: 0 0 0.35rem;
  color: var(--tomato);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-visual {
  display: grid;
  min-height: 210px;
  place-items: center;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.color-tomato {
  background:
    linear-gradient(rgba(36, 48, 32, 0.18), rgba(36, 48, 32, 0.18)),
    var(--tomato);
}

.color-sage {
  color: var(--leaf-dark);
  background:
    linear-gradient(rgba(255, 253, 248, 0.4), rgba(255, 253, 248, 0.4)),
    var(--sage);
}

.mini-list,
.benefit-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.mini-list li,
.benefit-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
}

.mini-list li + li,
.benefit-list li + li {
  margin-top: 0.45rem;
}

.mini-list li::before,
.benefit-list li::before {
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 0.72rem;
  height: 0.38rem;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  content: "";
  transform: rotate(-45deg);
}

.section-tech {
  color: var(--paper);
  background: var(--leaf-dark);
}

.section-tech p {
  color: rgba(255, 253, 248, 0.78);
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-list article {
  padding: 1.35rem;
  border-color: rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.07);
}

.process-list h3 {
  color: var(--paper);
}

.section-differentials {
  background: var(--cream);
}

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

.differential-grid article {
  min-height: 210px;
  padding: 1.4rem;
  background: var(--paper);
}

.section-subscription {
  background: #f7f8f5;
}

.signup-panel {
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.signup-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.signup-panel legend,
.field span:first-child {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 900;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.segmented-control label {
  min-width: 0;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.segmented-control input:checked + span {
  color: var(--paper);
  border-color: var(--leaf);
  background: var(--leaf);
}

.field {
  display: block;
  margin-top: 1rem;
}

.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  background: #fff;
}

.field input:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible,
.main-nav a:focus-visible,
.text-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(195, 154, 49, 0.5);
  outline-offset: 3px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-soft);
}

.checkbox-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22rem;
  accent-color: var(--leaf);
}

.signup-summary {
  margin: 1rem 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  font-weight: 800;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--leaf-dark);
  font-weight: 900;
}

.section-founders {
  background: var(--paper);
}

.founder-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--leaf-dark);
}

.founder-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.section-sustainability {
  color: var(--paper);
  background: var(--teal);
}

.section-sustainability p {
  color: rgba(255, 253, 248, 0.82);
}

.section-social {
  background: var(--paper);
}

.social-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--tomato);
}

.social-band .eyebrow {
  color: var(--paper);
}

.social-band h2 {
  max-width: 760px;
  font-size: 2.4rem;
}

.section-faq {
  background: #f7f8f5;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0.65rem 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem max(1.25rem, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  color: var(--paper);
  background: var(--leaf-dark);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
}

.site-footer a:last-child {
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 4rem;
  }

  .section h2 {
    font-size: 2.45rem;
  }

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

  .two-columns,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.with-action,
  .social-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.9rem;
  }

  .hero {
    min-height: 82svh;
    padding: 7.2rem 1.25rem 3.2rem;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.92) 0%, rgba(255, 253, 248, 0.78) 46%, rgba(255, 253, 248, 0.58) 100%),
      url("portada.png") 58% center / cover no-repeat;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 4.2rem 1.25rem;
  }

  .section h2,
  .social-band h2 {
    font-size: 2.1rem;
  }

  .signal-strip,
  .steps-grid,
  .differential-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .differential-grid article {
    min-height: auto;
  }

  .social-band {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
