:root {
  --ink: #18201c;
  --muted: #5e6b64;
  --line: #d8ddd7;
  --paper: #f8f7f2;
  --white: #ffffff;
  --green: #1d6b4f;
  --green-dark: #124632;
  --gold: #c98f2b;
  --clay: #9d5244;
  --shadow: 0 18px 60px rgba(18, 28, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

main {
  margin: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 14px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14)),
    url("assets/header-fruits.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(24, 32, 28, 0.16);
  box-shadow: 0 8px 24px rgba(24, 32, 28, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(86px, 8.5vw, 104px);
  max-width: min(280px, 46vw);
  object-fit: contain;
}

.menu-toggle {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(24, 32, 28, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(24, 32, 28, 0.08);
}

.nav a:hover {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  margin-top: 0;
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: start;
  overflow: hidden;
  color: var(--white);
  background: #18201c;
  padding: clamp(42px, 7vw, 86px) clamp(20px, 6vw, 80px) 56px;
}

.hero-media {
  position: absolute;
  inset: -5%;
  background:
    linear-gradient(180deg, rgba(12, 24, 18, 0) 52%, rgba(12, 24, 18, 0.42) 100%),
    url("assets/hero-portada.png") center / cover no-repeat;
  transform: scale(1.08);
  transform-origin: center;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.hero-tagline {
  max-width: 1080px;
  margin: 0 0 26px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 4px 16px rgba(12, 24, 18, 0.72);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 16vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  justify-content: center;
  align-self: center;
  margin-top: 0;
}

.hero .button {
  min-width: 220px;
  letter-spacing: 0.04em;
}

.hero-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 38vw);
  transition: transform 180ms ease, filter 180ms ease;
}

.hero-image-button:hover {
  filter: brightness(0.98) saturate(1.08);
  transform: translateY(-2px);
}

.hero-image-button img {
  display: block;
  width: 100%;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.section,
.process-section,
.contact-section,
.trust-band,
.intro-band {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
  padding-bottom: clamp(28px, 5vw, 56px);
  background: #edf0ec;
}

.intro-band div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 16px;
  background: transparent;
  border: 0;
}

.section-heading p,
.service-card p,
.process-copy p,
.steps p,
.trust-band p,
.contact-copy p,
.site-footer {
  color: var(--muted);
}

.intro-band img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 8px;
  background: transparent;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 36px;
}

.offering-section {
  background: #f3f5f1;
}

.offering-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.offering-copy {
  max-width: 620px;
  margin-bottom: 0;
}

.offering-copy p {
  max-width: 620px;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.offering-copy h2 {
  color: var(--green-dark);
}

.offering-copy .eyebrow {
  color: var(--clay);
}

.offering-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(24, 32, 28, 0.12);
}

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

.service-card {
  min-height: 280px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 32, 28, 0.06);
}

.service-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--clay);
  font-weight: 800;
}

.process-section {
  display: block;
  background: var(--green-dark);
  color: var(--white);
}

.process-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.process-copy {
  grid-column: 1;
  grid-row: 1;
}

.process-image-wrap {
  grid-column: 1;
  grid-row: 2;
}

.process-copy p,
.process-section .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.process-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.steps {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: center;
  background: var(--white);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  min-height: calc(100vh - 96px);
  background: var(--white);
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 80px);
}

.about-hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-hero-image {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(18, 70, 50, 0.04), rgba(18, 70, 50, 0.1)),
    url("assets/hero-portada.png") center / cover no-repeat;
}

.about-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

.about-cta {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 80px);
  color: var(--white);
  text-align: center;
  background: var(--green-dark);
}

.about-cta h2 {
  margin-bottom: 0;
}

.about-cta .eyebrow {
  color: var(--gold);
}

.solutions-hero {
  padding: clamp(64px, 9vw, 128px) clamp(20px, 6vw, 80px) clamp(34px, 5vw, 58px);
  background: var(--white);
}

.solutions-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.solutions-band {
  padding-top: clamp(26px, 4vw, 44px);
}

.contact-section .button.secondary {
  color: var(--green-dark);
  border-color: var(--line);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(29, 107, 79, 0.18);
  border-color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 820px) {
  .site-header {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: 44px;
    min-height: 44px;
    padding: 0;
    color: var(--green-dark);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(24, 32, 28, 0.14);
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .menu-toggle span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-icon::before {
    top: -6px;
  }

  .menu-icon::after {
    top: 6px;
  }

  .site-header.menu-open .menu-icon {
    transform: rotate(45deg);
  }

  .site-header.menu-open .menu-icon::before {
    opacity: 0;
  }

  .site-header.menu-open .menu-icon::after {
    top: 0;
    transform: rotate(90deg);
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 0 solid rgba(24, 32, 28, 0.12);
    border-radius: 8px;
    transition: max-height 220ms ease, padding 220ms ease, border-width 220ms ease;
  }

  .site-header.menu-open .nav {
    max-height: 280px;
    padding: 6px;
    border-width: 1px;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 7px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav a:hover {
    background: rgba(29, 107, 79, 0.1);
  }

  .hero {
    min-height: 760px;
  }

  .intro-band,
  .service-grid,
  .offering-panel,
  .process-content,
  .process-section,
  .trust-band,
  .contact-section,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .process-copy,
  .process-image-wrap,
  .steps {
    grid-column: 1;
    grid-row: auto;
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero-image {
    order: -1;
    min-height: 420px;
  }

  .intro-band {
    gap: 1px;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 38px 1fr 38px;
    min-height: 74px;
    padding: 6px 14px;
  }

  .brand-logo {
    height: 56px;
    max-width: 136px;
  }

  .menu-toggle {
    width: 36px;
    min-height: 36px;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 16px;
  }

  .nav {
    font-size: 0.88rem;
  }

  .hero {
    min-height: calc(100vh - 74px);
    padding: 74px 18px 34px;
  }

  .hero-tagline {
    max-width: 350px;
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 10vw, 3.05rem);
    line-height: 1;
  }

  .hero-image-button {
    width: min(210px, 56vw);
  }

  .hero-media {
    background-position: center;
    transform: scale(1.18);
  }

  .button {
    width: 100%;
  }

  .section,
  .process-section,
  .contact-section,
  .trust-band,
  .about-section,
  .about-cta {
    padding: 52px 18px;
  }

  .about-hero-copy {
    padding: 52px 18px;
  }

  .about-hero-image {
    min-height: 330px;
  }

  .intro-band div,
  .service-card,
  .steps li,
  .contact-form {
    padding: 22px;
  }

  .intro-band {
    padding-bottom: 36px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
