/* ============================================================
   Andes Harvest — reconstrucción estática de andesharvest.com
   Tipografías: Mulish (sustituto de Avenir LT) + Raleway (botones)
   Colores y medidas tomados del sitio Wix original.
   ============================================================ */

:root {
  --green-dark: #677D2E;   /* títulos, texto hero, botón oliva */
  --green-cta: #547738;    /* botones CTA grandes y nav activo */
  --green-bright: #51AF33; /* línea header, links de producto, botón enviar */
  --bg-mint: #F9FFF5;
  --bg-why: #F9FAFB;
  --bg-footer: #FAF5F5;
  --bg-gray: #EFEFEF;
  --font-body: 'Mulish', 'Avenir', 'Helvetica Neue', Arial, sans-serif;
  --font-cta: 'Raleway', 'Mulish', sans-serif;
  --font-helv: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: #000;
  background: var(--bg-gray);
}

.page { background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 3px solid var(--green-bright); }
.lang-bar { max-width: 980px; margin: 0 auto; padding: 9px 20px 0; text-align: right; font-size: 11px; letter-spacing: .4px; }
.lang-bar a { text-decoration: none; color: #8A878A; font-weight: 300; }
.lang-bar a.active { color: var(--green-cta); font-weight: 800; }
.lang-bar .sep { color: #8A878A; margin: 0 8px; font-weight: 300; }
.header-row { max-width: 980px; margin: 0 auto; padding: 0 20px 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.logo img { width: 343px; height: 46px; object-fit: cover; object-position: left top; max-width: 62vw; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; }
.main-nav a { font-size: 15px; text-decoration: none; padding: 5px 9px; color: #000; font-weight: 300; white-space: nowrap; }
.main-nav a.boxed { background: #F5F5F5; }
.main-nav a.active { color: var(--green-cta); font-weight: 800; font-size: 16px; }
.main-nav a:hover { color: var(--green-dark); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 298px; overflow: hidden; }
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero .hero-inner { position: relative; padding-top: 38px; padding-bottom: 40px; }
.hero h1 { font-weight: 300; font-size: 36px; line-height: 1.27; color: var(--green-dark); max-width: 480px; }
.hero h1.es { font-size: 31px; max-width: 470px; }

.btn-olive { display: block; margin-top: 30px; background: var(--green-dark); color: #fff; font-family: var(--font-cta); font-size: 18px; font-weight: 400; text-decoration: none; width: 193px; padding: 9px 0; text-align: center; }
.btn-olive:hover { opacity: .9; }

/* ---------- Títulos de sección ---------- */
.section-title { font-weight: 800; font-size: 32px; color: var(--green-dark); text-align: center; }

/* ---------- Cards export (home) ---------- */
.export { padding: 30px 0 56px; }
.export .container { max-width: 1032px; }
.export .section-title { margin-bottom: 42px; }
.cards-3 { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.card { background: #fff; border: 1px solid #B2B2B2; width: 300px; padding: 24px 16px 20px; text-align: center; }
.card-imgs { display: flex; justify-content: center; align-items: center; height: 185px; margin-bottom: 24px; }
.card-imgs img { object-fit: contain; }
.card h3 { font-family: var(--font-helv); font-size: 22px; font-weight: 700; color: var(--green-bright); line-height: 1.22; margin-bottom: 16px; min-height: 54px; }
.card p { font-size: 13px; font-weight: 300; line-height: 1.4; min-height: 78px; }
.card .read-more { display: inline-block; margin-top: 4px; font-family: Arial, sans-serif; font-size: 13px; color: var(--green-bright); }

.btn-cta { display: block; margin: 46px auto 0; background: var(--green-cta); color: #fff; font-family: var(--font-cta); font-size: 18px; font-weight: 400; text-decoration: none; text-align: center; padding: 10px 28px; width: max-content; max-width: 100%; }
.btn-cta:hover { opacity: .92; }

/* ---------- Banda distribución local (home) ---------- */
.band-mint { background: var(--bg-mint); padding: 48px 0 56px; text-align: center; }
.band-mint .icon { width: 123px; margin: 28px auto 24px; }
.band-mint p { font-size: 16px; font-weight: 300; line-height: 1.6; max-width: 680px; margin: 0 auto; }
.band-mint ul { list-style: none; margin-top: 6px; }
.band-mint li { font-size: 16px; font-weight: 300; line-height: 1.6; }
.band-mint li::before { content: "•\00a0\00a0"; }

/* ---------- Banda why choose (home) ---------- */
.band-why { background: var(--bg-why); padding: 48px 0 56px; text-align: center; }
.band-why .container { max-width: 1032px; }
.band-why .cols { display: flex; justify-content: center; gap: 88px; margin-top: 32px; flex-wrap: wrap; }
.band-why .col { width: 255px; }
.band-why .col img { height: 99px; margin: 0 auto 12px; }
.band-why h3 { font-size: 22px; font-weight: 300; margin-bottom: 6px; }
.band-why p { font-size: 16px; font-weight: 300; line-height: 1.2; }

/* ---------- Sección contacto ---------- */
.contact-section { padding: 56px 0 70px; }
.contact-section.gray { background: var(--bg-gray); }
.contact-title { font-weight: 800; font-size: 32px; color: var(--green-dark); text-align: center; line-height: 1.35; max-width: 700px; margin: 0 auto 44px; }
.contact-title.light { font-weight: 300; color: #605E5E; }
.contact-form { width: 466px; max-width: 100%; margin: 0 auto; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid #BCBCBC; background: #fff; font-family: var(--font-body);
  font-weight: 300; font-size: 15px; color: #333; padding: 10px 12px; margin-bottom: 10px;
  border-radius: 0; -webkit-appearance: none;
}
.contact-form ::placeholder { color: #A5A5A5; opacity: 1; }
.contact-form textarea { height: 142px; resize: vertical; }
.contact-form .send-row { text-align: right; }
.contact-form .form-note { font-size: 14px; color: #13D68F; margin-right: 14px; visibility: hidden; }
.contact-form .form-note.show { visibility: visible; }
.contact-form button {
  background: var(--green-bright); color: #fff; border: 0; font-family: var(--font-body);
  font-weight: 300; font-size: 20px; padding: 6px 18px; cursor: pointer;
}
.contact-form button:hover { opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-footer); padding: 48px 0 110px; }
.footer-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 16px; font-weight: 800; margin-bottom: 22px; }
.f-locations { flex: 1 1 400px; max-width: 500px; }
.f-locations .loc { display: flex; gap: 13px; font-size: 16px; font-weight: 300; line-height: 1.55; margin-bottom: 24px; }
.f-locations .loc img { width: 20px; height: 14px; margin-top: 4px; flex: 0 0 auto; }
.f-links { flex: 0 0 170px; }
.f-links a { display: block; font-size: 16px; font-weight: 300; margin-bottom: 14px; color: #000; width: max-content; }
.f-contact { flex: 1 1 200px; }
.f-contact .mail { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 300; }
.f-contact .mail img { width: 22px; }

.page-tail { height: 280px; background: var(--bg-gray); border-top: 1px solid #D6D6D6; }

/* ---------- Heros con foto (company / contact) ---------- */
.photo-hero { position: relative; height: 300px; overflow: hidden; }
.photo-hero img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero .caption { position: absolute; left: 11.7%; top: 44%; transform: translateY(-50%); color: #fff; font-size: 56px; font-weight: 300; }
.photo-hero .caption.spaced { font-size: 42px; letter-spacing: 2px; }

/* ---------- Página Company ---------- */
.company-icons { padding: 52px 0 34px; }
.company-icons .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.company-icons .col { width: 290px; }
.company-icons .col .badge { height: 146px; margin: 0 auto 20px; }
.company-icons h3 { font-size: 24px; font-weight: 300; text-align: center; margin-bottom: 20px; }
.company-icons ul { list-style: none; text-align: left; }
.company-icons li { display: flex; gap: 11px; font-size: 16px; font-weight: 300; line-height: 1.25; margin-bottom: 15px; }
.company-icons li img { width: 12px; height: 10px; margin-top: 5px; flex: 0 0 auto; }
.btn-outline { display: block; width: max-content; margin: 34px auto 0; border: 1px solid var(--green-bright); color: var(--green-bright); font-family: Arial, sans-serif; font-size: 14px; font-weight: 400; text-decoration: none; padding: 6px 28px; background: #fff; }
.btn-outline:hover { background: var(--green-bright); color: #fff; }

.company-text { padding: 46px 0 70px; }
.company-text h2 { font-size: 24px; font-weight: 300; margin-bottom: 22px; }
.company-text p { font-size: 16px; font-weight: 300; line-height: 1.42; text-align: justify; max-width: 660px; margin-bottom: 14px; }
.company-text strong { font-weight: 700; }

/* ---------- Página Distribution ---------- */
.dist-hero { padding: 22px 0 10px; }
.dist-hero .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.dist-hero h1 { font-size: 47px; font-weight: 300; color: var(--green-dark); margin-bottom: 32px; }
.dist-hero .lead { font-size: 18px; font-weight: 300; line-height: 1.5; max-width: 555px; }
.dist-hero .icon { width: 299px; flex: 0 0 auto; }
.dist-intro { font-size: 18px; font-weight: 300; margin: 48px 0 36px; }
.dist-cols { display: flex; gap: 30px; flex-wrap: wrap; padding-bottom: 44px; }
.dist-col { min-width: 130px; flex: 1; }
.dist-col .thumbs { display: flex; gap: 0; height: 102px; margin-bottom: 14px; align-items: flex-start; }
.dist-col .thumbs img { height: 94px; width: auto; }
.dist-col .thumbs img[src*="oil"] { height: 102px; }
.dist-col .thumbs img[src*="flour"] { height: 87px; margin-top: 7px; }
.dist-col h3 { font-size: 24px; font-weight: 300; margin-bottom: 14px; }
.dist-col ul { list-style: none; }
.dist-col li { display: flex; gap: 9px; font-size: 16px; font-weight: 300; line-height: 1.2; margin-bottom: 13px; }
.dist-col li img { width: 12px; height: 10px; margin-top: 4px; flex: 0 0 auto; }

/* ---------- Página Products (listado) ---------- */
.products-hero { position: relative; min-height: 330px; overflow: hidden; }
.products-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.products-hero .hero-inner { position: relative; padding-top: 55px; padding-bottom: 40px; }
.products-hero h1 { font-size: 40px; font-weight: 300; color: var(--green-cta); line-height: 1.25; margin-left: 37px; }
.products-hero p { font-size: 18px; font-weight: 300; color: var(--green-cta); margin: 22px 0 0 43px; line-height: 1.35; }

.products-grid-zone { padding: 46px 0 20px; }
.products-layout { display: flex; gap: 64px; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; }
.pg-title { font-size: 26px; font-weight: 800; color: var(--green-dark); text-align: center; margin: 0 0 24px; }
.side .pg-title + .grid-cards { margin-bottom: 40px; }
.grid-cards { display: grid; gap: 14px; justify-content: center; }
.grid-cards.g4 { grid-template-columns: repeat(4, 131px); }
.grid-cards.g2 { grid-template-columns: repeat(2, 131px); }
.pcard { background: #fff; border: 1px solid #D8D8D8; border-radius: 8px; padding: 10px 6px 12px; text-align: center; display: flex; flex-direction: column; }
.pcard img { width: 100%; max-width: 118px; height: 110px; object-fit: contain; margin: 0 auto 8px; }
.pcard h4 { font-family: var(--font-helv); font-size: 18px; font-weight: 700; line-height: 1.28; margin-bottom: 8px; flex: 1; }
.pcard a { font-family: Arial, sans-serif; font-size: 13px; color: var(--green-bright); }

/* ---------- Fichas de producto ---------- */
.product-page { display: flex; align-items: stretch; min-height: 100vh; background: var(--bg-gray); }
.product-side { background: #fff; flex: 0 0 346px; padding: 26px 20px 60px; text-align: center; }
.product-side .back { font-size: 12px; font-weight: 800; color: #8F8F8F; text-decoration: none; letter-spacing: .2px; }
.product-side .back:hover { color: var(--green-dark); }
.product-side h1 { font-size: 26px; font-weight: 300; line-height: 1.3; margin: 46px 0 26px; }
.product-side .btn-side { display: block; background: var(--green-bright); color: #fff; font-size: 15px; font-weight: 300; text-decoration: none; padding: 12px 0; width: 197px; margin: 0 auto 14px; }
.product-side .btn-side.secondary { background: #fff; color: #000; border: 1px solid #C9C9C9; }
.product-side .btn-side.secondary:hover { border-color: var(--green-bright); color: var(--green-bright); }
.product-main { flex: 1; padding: 30px 36px 70px; min-width: 0; }
.product-banner { position: relative; max-width: 754px; }
.product-banner img { width: 100%; aspect-ratio: 754 / 233; object-fit: cover; }
.product-banner .cap { position: absolute; left: 24px; bottom: 16px; color: #fff; font-size: 33px; font-weight: 300; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.product-body { max-width: 754px; }
.product-body h6 { font-size: 20px; font-weight: 300; margin: 30px 0 4px; }
.product-body p { font-size: 15px; font-weight: 300; line-height: 1.55; margin-bottom: 8px; }
.product-body p.green { color: var(--green-bright); font-weight: 800; margin-top: 20px; }
.product-body .green-link { display: inline-block; color: var(--green-bright); font-weight: 800; font-size: 15px; text-decoration: none; margin-top: 22px; }
.product-body .green-link:hover { text-decoration: underline; }
.product-body .u-link { display: inline-block; color: #000; font-size: 15px; font-weight: 300; margin-top: 4px; }
.product-body .imgrow { display: flex; gap: 18px; margin: 18px 0; flex-wrap: wrap; align-items: flex-start; }
.product-body .imgrow img { max-width: 100%; height: auto; }

/* Tabla de beneficios (páginas more-info) */
.benefits h5 { font-size: 20px; font-weight: 300; margin: 44px 0 20px; }
.benefits table { width: 100%; border-collapse: collapse; }
.benefits th { font-size: 14px; font-weight: 800; text-align: left; padding: 8px 6px; border-bottom: 1px solid #9A9A9A; }
.benefits td { vertical-align: top; padding: 16px 6px 18px; border-bottom: 1px solid #C7C7C7; }
.benefits td.comp { color: var(--green-bright); font-weight: 800; font-size: 13px; letter-spacing: .3px; }
.benefits td ul { list-style: none; }
.benefits td li { font-size: 14px; font-weight: 300; line-height: 1.5; margin-bottom: 6px; }
.benefits td li::before { content: "• "; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero h1, .hero h1.es { font-size: 28px; }
  .dist-hero .row { flex-direction: column-reverse; }
  .dist-hero .icon { width: 220px; }
  .dist-hero h1 { font-size: 34px; }
  .products-hero h1, .products-hero p { margin-left: 0; }
  .header-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-page { flex-direction: column; }
  .product-side { flex: none; padding-bottom: 30px; }
  .grid-cards.g4 { grid-template-columns: repeat(2, 131px); }
  .photo-hero .caption { font-size: 34px; }
  .band-why .cols { gap: 36px; }
  .page-tail { height: 120px; }
}
