:root {
  --green: #397b21;
  --deep-green: #193f16;
  --gold: #bd9400;
  --mango: #b56308;
  --sun: #ffde45;
  --cream: #fff8e3;
  --ink: #1d1a14;
  --muted: #665c49;
  --white: #fff;
  --shadow: 0 18px 50px rgba(38, 32, 18, .18);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

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

.section { padding: 72px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img { width: 95px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: #262112;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); border-color: var(--gold); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 13px Montserrat, sans-serif;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.38)), url("imagenes/banner.jpg") center/cover;
  transform: scale(1.02);
}

.hero-bg::after,
.contact-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% -10%;
  height: 58%;
  background: radial-gradient(ellipse at center, rgba(255,222,69,.72), transparent 62%);
}

.hero-content { position: relative; z-index: 1; max-width: 900px; }

h1, h2, h3 {
  font-family: Montserrat, sans-serif;
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; }
h1 span { color: #060604; }
h1:not(.plain) { color: var(--mango); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 21px; }

.page-title {
  background: linear-gradient(135deg, #fff8e3 0%, #f5e5a9 100%);
  border-bottom: 1px solid #eadcae;
}

.page-title p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 700;
  color: #15130e;
  text-shadow: 0 1px 12px rgba(255,255,255,.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 800 15px Montserrat, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-secondary { background: #4c2600; color: var(--white); }
.btn-inline { min-height: auto; padding: 7px 14px; font-size: 13px; }

.mango-gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sun) 0%, #452100 100%);
}

.mango-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: repeating-linear-gradient(132deg, transparent 0 28px, rgba(255,255,255,.55) 29px 31px);
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 68px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font: 800 13px Montserrat, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intro .eyebrow { color: #fff8d5; }
.intro h2, .intro p { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.14); }

.fruit-stack { position: relative; min-height: 430px; }
.fruit-main, .fruit-small { position: absolute; border-radius: 18px; box-shadow: var(--shadow); }
.fruit-main { inset: 0 0 auto auto; width: min(440px, 92%); }
.fruit-small { left: 0; bottom: 0; width: min(260px, 52%); }

.benefits { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.benefit { padding: 82px max(28px, calc((100vw - 1140px) / 2)); text-align: center; }
.benefit.green { background: var(--green); color: var(--white); }
.benefit.gold { background: var(--gold); color: #15110a; }
.icon { font-size: 58px; margin-bottom: 10px; }
.benefit p { max-width: 600px; margin: 0 auto; }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }

.catalog { background: #fffdf3; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }

.filters {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid #e5ddbd;
  border-radius: 999px;
  background: #fffaf0;
  color: var(--ink);
  text-align: left;
  font: 700 15px Montserrat, sans-serif;
  cursor: pointer;
}

.filter.active,
.filter:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.filters p { color: var(--muted); font-size: 16px; }

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

.product-card {
  display: grid;
  grid-template-rows: 220px auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(38, 32, 18, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(180deg, #fffefa, #fbf3d7);
}

.product-card div { padding: 20px; }
.product-card h3 { margin-bottom: 12px; color: #18571c; }
.product-card p { margin: 0; font-weight: 800; color: var(--mango); }

.steps { background: var(--green); color: var(--white); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-grid div { padding: 20px; border: 1px solid rgba(255,255,255,.26); border-radius: 18px; background: rgba(255,255,255,.08); }
.step-grid strong { display: block; color: var(--sun); font: 800 34px Montserrat, sans-serif; }
.step-grid span { font: 700 18px Montserrat, sans-serif; }

.testimonials {
  background: linear-gradient(rgba(30,28,20,.66), rgba(30,28,20,.66)), url("imagenes/testimonios.jpg") center/cover;
  color: var(--white);
  text-align: center;
}

.quote { display: none; max-width: 760px; margin: 0 auto; font-size: 25px; }
.quote.active { display: block; }
.quote cite { display: block; margin-top: 18px; color: var(--sun); font-style: normal; font-weight: 800; }
.slider-controls { margin-top: 24px; display: flex; gap: 12px; justify-content: center; }
.slider-controls button { border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.12); color: var(--white); border-radius: 999px; padding: 9px 16px; cursor: pointer; }

.faq details {
  margin: 12px 0;
  background: var(--white);
  border: 1px solid #ede3bd;
  border-radius: 14px;
  padding: 16px 20px;
}

.faq summary { cursor: pointer; font: 800 18px Montserrat, sans-serif; }
.faq p { color: var(--muted); }
.faq a { color: var(--green); font-weight: 800; }
.faq ul { color: var(--muted); }
.faq-map {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 14px;
  margin-top: 12px;
}

.contact-hero {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.34)), url("imagenes/banner-contacto.jpg") center/cover;
  overflow: hidden;
}

.contact-hero h2 { position: relative; z-index: 1; font-size: clamp(44px, 7vw, 82px); }

.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 54px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { margin: 12px 0; }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label { display: grid; gap: 6px; font-weight: 800; color: #2a2518; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dccf9b;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fffdf6;
}

.contact-form input:focus,
.contact-form textarea:focus,
.filter:focus,
.btn:focus,
.nav a:focus,
.menu-toggle:focus { outline: 3px solid rgba(189,148,0,.38); outline-offset: 3px; }

.form-note { margin: 0; color: var(--green); font-weight: 700; }

.legal-block {
  background: #fffdf6;
  padding-top: 24px;
  padding-bottom: 30px;
}

.legal-block img {
  width: min(1024px, 100%);
  margin: 0 auto 12px;
}

.legal-block p {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
  color: #363124;
  font-size: 13px;
  line-height: 1.35;
}

.site-footer { background: #15110a; color: var(--white); padding: 24px 0; }
.footer-grid { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 28px; }
.site-footer img { width: 74px; }
.site-footer nav, .social { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .btn, .product-card { transition: none; }
}

@media (max-width: 900px) {
  .section { padding: 54px 0; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 30px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; }
  .split, .catalog-layout, .contact-grid { grid-template-columns: 1fr; }
  .fruit-stack { min-height: 330px; }
  .benefits { grid-template-columns: 1fr; }
  .filters { position: static; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero { min-height: 620px; }
  .products, .step-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-rows: 190px auto; }
  .quote { font-size: 21px; }
  .slider-controls { flex-direction: column; }
}
