:root {
  --ink: #14241c;
  --muted: #51645a;
  --bg: #ffffff;
  --bg-soft: #eef4f0;
  --brand: #1f7a45;
  --brand-deep: #145a32;
  --brand-bright: #2f9e55;
  --lime: #7dce5a;
  --black: #0b100e;
  --charcoal: #121a16;
  --line: #d5e0d8;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --max: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Intro —— */
.page-intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.page-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-intro__inner {
  text-align: center;
  width: min(220px, 55vw);
}

.page-intro__logo {
  width: 100%;
  height: auto;
  margin: 0 auto 1.25rem;
  animation: intro-logo 0.7s var(--ease) both;
}

.page-intro__bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.page-intro__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-bright), var(--lime));
  animation: intro-bar 1s var(--ease) 0.15s forwards;
}

@keyframes intro-logo {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-bar {
  to {
    width: 100%;
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(11, 16, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  color: #fff !important;
  background: var(--brand);
  padding: 0.55rem 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-bright);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 40%, rgba(31, 122, 69, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(20, 90, 50, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0b100e 0%, #15231c 45%, #0f1813 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 4rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  line-height: 1;
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.35rem, 5.5vw, 3.6rem);
  color: #fff;
}

.hero-line {
  margin: 0 0 1.6rem;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-shot {
  margin: 0;
  overflow: hidden;
  background: #1a2620;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}

body.is-ready .hero-shot img {
  transform: scale(1);
}

.hero-shot--main {
  position: absolute;
  inset: 8% 0 18% 12%;
  z-index: 1;
}

.hero-shot--top {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}

.hero-shot--bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  z-index: 2;
}

body.is-ready .hero-copy > * {
  animation: rise-in 0.75s var(--ease) both;
}

body.is-ready .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
body.is-ready .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
body.is-ready .hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
body.is-ready .hero-copy > *:nth-child(4) { animation-delay: 0.28s; }

body.is-ready .hero-visual {
  animation: rise-in 0.9s var(--ease) 0.18s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Trust —— */
.trust {
  background: var(--black);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.trust-item {
  padding: 1.6rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.25rem;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
}

.trust-item span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* —— Shared sections —— */
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--brand-deep);
  margin-bottom: 0.55rem;
}

.section-title--left {
  text-align: left;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* Categories */
.categories {
  padding: 4rem 0 2.5rem;
  background: var(--bg);
}

.cat-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.cat-block:last-child {
  border-bottom: 1px solid var(--line);
}

.cat-block--reverse .cat-media {
  order: 2;
}

.cat-block--reverse .cat-copy {
  order: 1;
}

.cat-media {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.75rem;
  align-items: end;
}

.cat-media img {
  width: 100%;
  object-fit: cover;
  background: var(--bg-soft);
}

.cat-media img:first-child {
  aspect-ratio: 16 / 11;
}

.cat-media img:last-child {
  aspect-ratio: 1;
  max-height: 240px;
}

.cat-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.cat-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.cat-copy > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.cat-points {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.cat-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.cat-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brand);
}

/* Process */
.process {
  padding: 3.75rem 0;
  background: var(--bg-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.process-copy p {
  color: var(--muted);
  max-width: 34rem;
}

.process-steps {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.process-steps li {
  display: grid;
  gap: 0.15rem;
  padding-left: 0;
}

.process-steps strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.process-steps span {
  color: var(--muted);
  font-size: 0.98rem;
}

.process-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 22px 50px rgba(20, 36, 28, 0.12);
}

/* Benefits */
.benefits {
  padding: 2.75rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.benefit img {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.65rem;
  object-fit: contain;
}

.benefit h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--brand-deep);
}

.benefit p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Marcas */
.marcas {
  padding: 3.25rem 0;
  background: var(--bg-soft);
}

.marcas .section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.marcas .section-lead {
  margin-bottom: 2rem;
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: center;
  justify-items: center;
}

.logos img {
  max-height: 68px;
  width: auto;
  opacity: 0.86;
  transition: opacity 0.25s ease, transform 0.25s ease;
  filter: grayscale(0.15);
}

.logos img:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: none;
}

/* Nosotros */
.nosotros {
  padding: 4rem 0;
  background: var(--bg);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.75rem;
  align-items: start;
}

.nosotros-lead {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 38rem;
}

.nosotros-copy > p {
  color: var(--muted);
  max-width: 40rem;
}

.nosotros-pillars {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.nosotros-pillars article {
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
}

.nosotros-pillars h3 {
  font-size: 1.05rem;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.nosotros-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.nosotros-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.nosotros-aside img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-soft);
}

.nosotros-aside p {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* FAQ */
.faq {
  padding: 3.5rem 0;
  background: var(--bg-soft);
}

.faq .section-lead {
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.15rem 1rem 0.15rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-deep);
  padding: 0.95rem 0;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.faq-item a {
  color: var(--brand);
  text-decoration: underline;
}

/* Contact */
.contacto {
  padding: 3.75rem 0 4.25rem;
  background:
    linear-gradient(180deg, #dfece4 0%, var(--bg-soft) 35%, #fff 100%);
}

.contacto .section-lead {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-facts {
  display: grid;
  gap: 1.25rem;
}

.contact-facts h3 {
  font-size: 0.92rem;
  color: var(--brand);
  margin: 0 0 0.2rem;
}

.contact-facts p {
  margin: 0;
}

.contact-facts a:hover {
  color: var(--brand);
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.55rem 1.4rem;
  box-shadow: 0 16px 40px rgba(20, 36, 28, 0.06);
}

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--brand-deep);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 0.95rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fafbfa;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 122, 69, 0.35);
  border-color: var(--brand);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.3rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 122, 69, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Footer / WA */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 1.4rem 0;
  font-size: 0.92rem;
  text-align: center;
}

.footer-inner p {
  margin: 0.2rem 0;
}

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

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.08s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-intro,
  .page-intro__logo,
  .page-intro__bar span,
  .reveal,
  .hero-shot img,
  .logos img,
  .btn,
  .nav-cta,
  .wa-float,
  body.is-ready .hero-copy > *,
  body.is-ready .hero-visual {
    animation: none !important;
    transition: none !important;
  }

  .page-intro {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  body.is-loading {
    overflow: auto;
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 3rem;
  }

  .hero-visual {
    min-height: 340px;
    max-width: 520px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cat-block,
  .cat-block--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cat-block--reverse .cat-media,
  .cat-block--reverse .cat-copy {
    order: initial;
  }

  .process-grid,
  .contact-grid,
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .nosotros-aside {
    position: static;
    max-width: 420px;
  }

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

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

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0f1512;
    border-bottom: 1px solid #243029;
    padding: 0.35rem 0 0.75rem;
  }

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

  .nav a {
    padding: 0.85rem 1.25rem;
  }

  .nav-cta {
    margin: 0.35rem 1.25rem 0.5rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

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

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

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

  .cat-media {
    grid-template-columns: 1fr 0.75fr;
  }
}
