/* ============================================================
   RumiTech — hoja de estilos
   Tipografía: Archivo Variable
   Paleta: Cream #FFF4D6 · Dark Green #192406 · Green #639A3F · Lime #AEC900
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 60% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-Italic-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 60% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #FFF4D6;
  --cream-dim: #F4E7BE;
  --dark: #192406;
  --dark-soft: #22300a;
  --green: #639A3F;
  --lime: #AEC900;
  --white: #ffffff;

  --ink: var(--dark);
  --paper: var(--cream);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 3px;

  --hairline: rgba(25, 36, 6, 0.16);
  --hairline-on-dark: rgba(255, 244, 214, 0.22);

  /* Escala tipográfica: 3 tamaños base en todo el sitio */
  --fs-lg: clamp(2rem, 4.2vw, 3.2rem);   /* títulos */
  --fs-md: clamp(1.15rem, 1.9vw, 1.45rem); /* preguntas / slogans */
  --fs-sm: clamp(0.98rem, 1.05vw, 1.05rem); /* texto largo */

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--dark);
  font-weight: 400;
  font-variation-settings: "wght" 400, "wdth" 100;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

::selection { background: var(--lime); color: var(--dark); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

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

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--dark { background: var(--dark); color: var(--cream); }
.section--green { background: var(--green); color: var(--cream); }

.eyebrow {
  font-size: var(--fs-sm);
  color: var(--green);
  font-variation-settings: "wght" 500;
  font-weight: 500;
}
.section--dark .eyebrow, .section--green .eyebrow { color: var(--lime); }

.lede {
  font-size: var(--fs-md);
  max-width: 62ch;
  color: var(--dark-soft);
}
.section--dark .lede { color: var(--cream-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  border: 1px solid transparent;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; width: 18px; height: 18px; }
.btn--pill { border-radius: 999px; }
.btn--primary {
  background: var(--lime);
  color: var(--dark);
}
.btn--primary:hover { background: var(--cream); }
.btn--outline {
  border-color: currentColor;
  background: transparent;
}
.btn--outline:hover { background: var(--dark); color: var(--cream); }
.section--dark .btn--outline:hover, .section--green .btn--outline:hover { background: var(--cream); color: var(--dark); }
.btn--ghost {
  padding: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }

.btn-wa {
  background: var(--green);
  color: var(--white);
}
.btn-wa:hover { background: var(--dark); color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 244, 214, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark img { height: 58px; width: auto; }
.brand-mark span {
  font-size: 1.05rem;
  font-variation-settings: "wght" 500;
  font-weight: 500;
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.92rem;
  font-variation-settings: "wght" 400;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { border-color: var(--dark); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  padding: 8px var(--gutter) 18px;
}
.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--hairline);
  font-size: 1rem;
}
.mobile-nav.is-open { display: flex; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn span.long { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand-mark img { height: 46px; }
}
@media (max-width: 420px) {
  .brand-mark img { height: 38px; }
}

/* ---------- Hero carousel ---------- */
.hero {
  position: relative;
  height: min(84vh, 760px);
  min-height: 460px;
  overflow: hidden;
  background: var(--dark);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease);
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25,36,6,.35) 0%, rgba(25,36,6,.35) 40%, rgba(25,36,6,.88) 100%);
}
.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 56px;
  max-width: var(--container);
  margin: 0 auto;
  color: var(--cream);
}
.hero__category {
  color: var(--lime);
  font-size: 0.85rem;
  font-variation-settings: "wght" 500;
  margin-bottom: 14px;
}
.hero__title {
  font-size: var(--fs-lg);
  font-variation-settings: "wght" 800, "wdth" 100;
  max-width: 16ch;
  margin-bottom: 18px;
}
.hero__copy { max-width: 46ch; display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.hero__copy .problem { color: var(--cream-dim); font-size: 1rem; }
.hero__copy .solution { color: var(--cream); font-size: 1.05rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__controls {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: none;
}
.hero__arrow {
  pointer-events: all;
  background: rgba(255,244,214,0.14);
  border: 1px solid var(--hairline-on-dark);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s var(--ease);
}
.hero__arrow:hover { background: rgba(255,244,214,0.28); }
.hero__dots {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  right: var(--gutter);
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 26px;
  height: 3px;
  background: rgba(255,244,214,0.35);
  border: none;
  padding: 0;
  transition: background .18s var(--ease);
}
.hero__dot.is-active { background: var(--lime); }

@media (max-width: 640px) {
  .hero { height: 88vh; }
  .hero__dots { right: var(--gutter); bottom: 18px; }
  .hero__arrow { width: 38px; height: 38px; }
}

/* ---------- ¿Qué necesitás resolver? ---------- */
.needs-title {
  font-size: var(--fs-lg);
  font-variation-settings: "wght" 800, "wdth" 100;
  font-weight: 800;
  max-width: 14ch;
  margin-bottom: 8px;
}
.needs-list {
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
}
.needs-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 3.4vw, 34px) 4px;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left .25s var(--ease), color .18s var(--ease);
}
.needs-row:hover { padding-left: 14px; color: var(--green); }
.needs-row__label {
  font-size: var(--fs-lg);
  font-variation-settings: "wght" 800, "wdth" 100;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.needs-row__num {
  font-size: 0.85rem;
  font-variation-settings: "wght" 500;
  color: var(--green);
  flex-shrink: 0;
}
.needs-row__arrow {
  flex-shrink: 0;
  font-size: 1.6rem;
  transition: transform .25s var(--ease);
}
.needs-row:hover .needs-row__arrow { transform: translateX(6px); }

@media (max-width: 640px) {
  .needs-row { flex-wrap: wrap; }
  .needs-row__num { order: -1; width: 100%; }
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head h2 { font-size: var(--fs-lg); }

/* ---------- Category cards (home / productos) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: var(--cream);
  display: flex;
  align-items: flex-end;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25,36,6,.15), rgba(25,36,6,.9));
}
.cat-card__body { position: relative; z-index: 2; padding: 30px; }
.cat-card__body h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.cat-card__body p { color: var(--cream-dim); max-width: 34ch; font-size: var(--fs-sm); margin-bottom: 16px; }

.cat-card--pack { background: var(--dark-soft); }
.cat-card--pack { min-height: 400px; }
.cat-card--pack img { object-fit: contain; height: 44%; inset: 7% 0 auto 0; }
.cat-card--pack::after { background: linear-gradient(180deg, rgba(25,36,6,0) 45%, rgba(25,36,6,.9) 80%); }
.cat-grid .cat-card { min-height: 400px; }

@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  background: var(--white);
  transition: border-color .18s var(--ease);
}
.product-card:hover { border-color: var(--green); }
.product-card__img {
  aspect-ratio: 4/3.3;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card { position: relative; }
.product-card__img.is-empty {
  background: var(--dark);
  position: relative;
}
.product-card__img.is-empty::after {
  content: "";
  width: 34px; height: 34px;
  background: var(--green);
  opacity: 0.55;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.product-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__sub { font-size: var(--fs-sm); color: var(--green); font-variation-settings: "wght" 500; }
.product-card__body h3 { font-size: var(--fs-md); }
.product-card__body p { font-size: var(--fs-sm); color: var(--dark-soft); flex: 1; }
.product-card__link { font-size: var(--fs-sm); font-variation-settings: "wght" 500; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Problem/Solution block ---------- */
.ps-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.ps-block .ps-item .label { font-size: var(--fs-md); font-variation-settings: "wght" 800; font-weight: 800; color: var(--green); margin-bottom: 12px; }
.ps-block .ps-item p { font-size: var(--fs-sm); }
.section--dark .ps-block .label { color: var(--lime); }

.ps-block--editorial .ps-item p strong {
  font-variation-settings: "wght" 800;
  font-weight: 800;
}

.category-heading {
  font-size: var(--fs-lg);
  max-width: 20ch;
  margin-bottom: 32px;
}

@media (max-width: 760px) {
  .ps-block { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Subcategory blocks (category pages) ---------- */
.subcat {
  margin-top: 64px;
}
.subcat__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.subcat__head h3 { font-size: var(--fs-md); }
.subcat__head span { font-size: var(--fs-sm); color: var(--dark-soft); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--dark-soft);
  padding: 20px 0 0;
}
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs .sep { opacity: 0.5; }

/* ---------- Product detail page ---------- */
.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding-top: 28px;
}
.product-hero__img {
  background: var(--white);
  border: 1px solid var(--hairline);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.product-hero__img { padding: 0; }
.product-hero__sub { color: var(--green); font-variation-settings: "wght" 500; font-size: var(--fs-sm); margin-bottom: 12px; }
.product-hero h1 { font-size: var(--fs-lg); margin-bottom: 16px; }
.product-hero__tagline { font-size: var(--fs-md); font-variation-settings: "wght" 500; color: var(--dark-soft); margin-bottom: 28px; max-width: 42ch; }
.product-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.product-hero--no-image { grid-template-columns: 1fr; max-width: 62ch; }

@media (max-width: 820px) {
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 72px;
}
.pd-col h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.pd-col + .pd-col h2 { color: var(--green); }
.pd-block { margin-bottom: 40px; }
.pd-block:last-child { margin-bottom: 0; }
.pd-block h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--dark);
  font-variation-settings: "wght" 800;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pd-block p { font-size: var(--fs-sm); }
.pd-block .pending { color: var(--dark-soft); font-style: italic; opacity: 0.75; }
.benefits-list { display: flex; flex-direction: column; gap: 10px; }
.benefits-list li { display: flex; gap: 10px; font-size: var(--fs-sm); font-variation-settings: "wght" 500; }
.benefits-list li::before { content: "—"; color: var(--green); flex-shrink: 0; }

.tech-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tech-table tr { border-bottom: 1px solid var(--hairline); }
.tech-table tr:last-child { border-bottom: none; }
.tech-table td { padding: 11px 4px; }
.tech-table td:first-child { color: var(--dark-soft); }
.tech-table td:last-child { text-align: right; font-variation-settings: "wght" 500; }

.presentation-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 72px;
  padding: 26px 30px;
  background: var(--dark);
  color: var(--cream);
}
.presentation-strip .label { font-size: 0.8rem; color: var(--lime); margin-bottom: 6px; }
.presentation-strip .value { font-size: var(--fs-md); }

.warning-note {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--green);
  font-size: 0.92rem;
  color: var(--dark-soft);
}

.related-products { margin-top: 88px; }

@media (max-width: 820px) {
  .pd-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Nosotros ---------- */
.nosotros-statement { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 4vw, 48px); }
.nosotros-statement .concept {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-variation-settings: "wght" 800, "wdth" 100;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 16ch;
  color: var(--lime);
}
.nosotros-statement .intro {
  font-size: var(--fs-sm);
  color: var(--cream-dim);
  max-width: 52ch;
}

.nosotros-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.nosotros-body__text { display: flex; flex-direction: column; gap: 22px; font-size: var(--fs-sm); }
.nosotros-body__img { overflow: hidden; }
.nosotros-body__img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .nosotros-body { grid-template-columns: 1fr; }
  .nosotros-body__img { order: -1; max-height: 320px; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline-on-dark);
  border: 1px solid var(--hairline-on-dark);
  margin-top: 56px;
}
.pillar { background: var(--dark); padding: 34px 30px; }
.pillar h3 { font-size: var(--fs-md); margin-bottom: 10px; color: var(--lime); }
.pillar p { color: var(--cream-dim); font-size: var(--fs-sm); }

@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-hero {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
}
.contact-hero h1 {
  font-size: var(--fs-lg);
  max-width: 18ch;
  margin-bottom: 22px;
}
.contact-hero p.lede { color: var(--cream-dim); font-size: var(--fs-md); margin-bottom: 36px; }
.contact-hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-hero__ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-dim);
  font-variation-settings: "wght" 500;
  border-bottom: 1px solid var(--hairline-on-dark);
  padding-bottom: 4px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.contact-hero__ig:hover { color: var(--cream); border-color: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-card {
  border: 1px solid var(--hairline);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card--single { max-width: none; }
.contact-card h3 { font-size: var(--fs-md); }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  font-size: 0.98rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.contact-list a:hover { border-color: var(--green); background: var(--white); }
.contact-list .num { font-variation-settings: "wght" 500; }
.contact-list .left { display: flex; align-items: center; gap: 10px; }
.contact-list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--green); }

.contact-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); color: var(--dark-soft); }
.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
.maps-link:hover { color: var(--green); text-decoration-color: var(--green); }
.ig-embeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 4px 0 4px;
}
.ig-embeds .instagram-media { margin: 0 !important; width: 100% !important; min-width: 0 !important; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(32px, 5vw, 56px) 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { font-size: var(--fs-lg); max-width: 20ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--cream-dim);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.footer-brand img { height: 46px; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; font-size: var(--fs-sm); }
.footer-col h4 {
  color: var(--cream);
  font-size: 0.82rem;
  font-variation-settings: "wght" 500;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-sm); transition: color .15s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--cream); }
.footer-col a svg { flex-shrink: 0; width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,244,214,0.5);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Misc ---------- */
.hexnote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px; height: 8px;
  background: var(--lime);
  margin-right: 10px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.fade-in { animation: fadeIn .5s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--lime); color: var(--dark); padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }


/* ============================================================
   Ajustes septiembre 2026
   ============================================================ */

/* ---------- Palabra "biotecnología" resaltada ---------- */
.bio {
  font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 100;
  color: var(--green);
}
.hero .bio,
.section--dark .bio,
.cat-card .bio,
.pillar .bio,
.cta-band .bio,
.contact-hero .bio,
.presentation-strip .bio,
.site-footer .bio,
.nosotros-statement .bio { color: var(--lime); }

/* ---------- Galería / carrete de producto ---------- */
.gallery { position: relative; overflow: hidden; }
.gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__slide a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.gallery.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery.is-pack img { width: 86%; height: 86%; object-fit: contain; }
.gallery.is-pack { background: linear-gradient(180deg, var(--white), #f7f1e0); }
.gallery.is-empty { background: var(--dark); }

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s var(--ease), background .2s var(--ease);
}
.gallery__nav svg { width: 16px; height: 16px; }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery:hover .gallery__nav,
.gallery__nav:focus-visible { opacity: 1; }
.gallery__nav:hover { background: var(--lime); }
@media (hover: none) { .gallery__nav { opacity: 1; } }

.gallery__dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  z-index: 2;
  display: flex; justify-content: center; gap: 7px;
  pointer-events: none;
}
.gallery__dots button {
  pointer-events: auto;
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(25, 36, 6, 0.25);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.gallery__dots button.is-active { background: var(--green); transform: scale(1.25); }

.product-hero__img .gallery__nav { width: 44px; height: 44px; opacity: 1; }

/* ---------- Ficha técnica: solicitud por WhatsApp ---------- */
.sheet-request {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  font-size: var(--fs-sm);
  font-variation-settings: "wght" 500;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.sheet-request svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.sheet-request:hover { border-color: var(--green); background: var(--white); }

/* ---------- Asesoramiento técnico (cierre de cada ficha) ---------- */
.advisory {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 20px;
  padding: 28px 30px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--lime);
  background: var(--white);
}
.advisory__text { max-width: 62ch; }
.advisory h2 { font-size: var(--fs-md); margin-bottom: 8px; }
.advisory p { font-size: var(--fs-sm); color: var(--dark-soft); }

/* ---------- Footer: columna Contacto ---------- */
.footer-contact a { align-items: flex-start; }
.footer-contact a svg { margin-top: 3px; }
.footer-contact small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 244, 214, 0.55);
  font-variation-settings: "wght" 500;
  letter-spacing: 0.02em;
}
.footer-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr; } }

.product-hero > * { min-width: 0; }
.gallery { min-width: 0; max-width: 100%; }
.product-hero__cta .btn { white-space: normal; max-width: 100%; }


/* ============================================================
   Ajustes octubre 2026
   ============================================================ */

/* "biotecnología" y derivados en mayúsculas */
.bio { text-transform: uppercase; letter-spacing: 0.01em; }

/* Nosotros: encabezado con foto de la planta */
.nosotros-hero {
  position: relative;
  background-color: var(--dark);
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.nosotros-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25,36,6,.93) 0%, rgba(25,36,6,.8) 45%, rgba(25,36,6,.35) 100%);
}
.nosotros-hero .wrap { position: relative; z-index: 1; }
.nosotros-hero .nosotros-statement { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px); }

/* Nosotros: texto a una columna (sin foto lateral) */
.nosotros-body { grid-template-columns: 1fr; }
.nosotros-body__text { max-width: 70ch; }

/* Instagram: grilla propia, sin contadores */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.ig-tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--dark); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.ig-tile__icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); background: rgba(25,36,6,.45);
  opacity: 0; transition: opacity .25s var(--ease);
}
.ig-tile__icon svg { width: 34px; height: 34px; }
.ig-tile:hover img { transform: scale(1.04); }
.ig-tile:hover .ig-tile__icon { opacity: 1; }
.ig-follow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-variation-settings: "wght" 500;
}
.ig-follow svg { width: 18px; height: 18px; color: var(--green); }
.ig-follow:hover { color: var(--green); }
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .nosotros-statement .concept { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .hero__title .bio, .category-heading .bio, .product-hero h1 .bio { overflow-wrap: anywhere; }
}
.pd-grid > * { min-width: 0; }
.pd-block p, .benefits-list li { overflow-wrap: break-word; }
.benefits-list li { display: block; position: relative; padding-left: 1.7em; }
.benefits-list li::before { position: absolute; left: 0; top: 0; }

/* Palabras resaltadas: las mayúsculas se ven más grandes que las minúsculas,
   por eso se achican un poco para que no desborden y conserven el margen. */
.bio { font-size: 0.86em; letter-spacing: 0.005em; }
h1 .bio, h2 .bio, h3 .bio, .hero__title .bio, .nosotros-statement .concept .bio { font-size: 0.78em; }

/* ============================================================
   Adaptación a celular (la mayoría de las visitas vienen de ahí)
   ============================================================ */
@media (max-width: 640px) {
  /* Espaciados verticales más compactos */
  .section { padding: 48px 0; }
  .section--tight { padding: 32px 0; }

  /* Hero: sin flechas (se pasa con el dedo y los puntos); el texto respira */
  .hero__controls { display: none; }
  .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .hero__copy .problem { font-size: 0.95rem; }
  .hero__copy .solution { font-size: 0.98rem; }

  /* ¿Qué necesitás resolver?: filas compactas en una línea */
  .needs-list { margin-top: 20px; }
  .needs-row { flex-wrap: nowrap; align-items: center; gap: 14px; padding: 16px 2px; }
  .needs-row:hover { padding-left: 2px; }
  .needs-row__num { order: 0; width: auto; font-size: 0.78rem; }
  .needs-row__label { flex: 1; font-size: 1.12rem; line-height: 1.25; max-width: none; }
  .needs-row__arrow { font-size: 1.25rem; }

  /* Tarjetas de categoría más bajas */
  .cat-grid { gap: 14px; }
  .cat-grid .cat-card { min-height: 270px; }
  .cat-card--pack { min-height: 320px; }
  .cat-card--pack img { height: 40%; inset: 6% 0 auto 0; }
  .cat-card__body { padding: 22px; }

  /* Listado de productos: tarjeta horizontal (foto a la izquierda) */
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { flex-direction: row; align-items: stretch; }
  .product-card__img.gallery {
    flex: 0 0 38%;
    aspect-ratio: auto;
    min-height: 168px;
    align-self: stretch;
  }
  .product-card .gallery__nav { display: none; }
  .product-card .gallery__dots { bottom: 8px; }
  .product-card .gallery.is-pack img { width: 90%; height: 82%; }
  .product-card__body { padding: 14px 14px 16px; gap: 5px; min-width: 0; }
  .product-card__sub { font-size: 0.8rem; }
  .product-card__body h3 { font-size: 1.05rem; line-height: 1.15; }
  .product-card__body p { font-size: 0.88rem; line-height: 1.4; }
  .product-card__link { font-size: 0.88rem; margin-top: 2px; }

  .subcat__head { flex-wrap: wrap; gap: 4px 12px; }

  /* Ficha de producto */
  .product-hero { padding-top: 12px; gap: 20px; }
  .product-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); margin-bottom: 10px; }
  .product-hero__tagline { margin-bottom: 20px; }
  .product-hero__cta { flex-direction: column; gap: 10px; }
  .product-hero__cta .btn { width: 100%; justify-content: center; text-align: center; }
  .pd-grid { margin-top: 36px; gap: 40px; }
  .pd-col h2 { font-size: 1.3rem; margin-bottom: 14px; }
  .pd-block { margin-bottom: 26px; }
  .tech-table { font-size: 0.9rem; }
  .tech-table td { padding: 9px 2px; vertical-align: top; }
  .tech-table td:last-child { white-space: nowrap; padding-left: 12px; }
  .sheet-request { width: 100%; }
  .presentation-strip { margin-top: 36px; padding: 22px 20px; }
  .presentation-strip .btn,
  .advisory .btn { width: 100%; justify-content: center; }
  .advisory { padding: 22px 20px; }
  .related-products { margin-top: 8px; }

  /* Bloque final y botones de contacto */
  .cta-band .btn,
  .contact-hero__actions .btn { width: 100%; justify-content: center; }

  /* Footer: navegación y categorías lado a lado */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 48px; }

  /* Nosotros */
  .pillars { margin-top: 36px; }
  .pillar { padding: 26px 22px; }
}
@media (max-width: 640px) {
  .cat-card::after { background: linear-gradient(180deg, rgba(25,36,6,.1) 0%, rgba(25,36,6,.75) 45%, rgba(25,36,6,.95) 100%); }
  .cat-card--pack::after { background: linear-gradient(180deg, rgba(25,36,6,0) 40%, rgba(25,36,6,.92) 75%); }
}

/* Nosotros: el texto ocupa todo el ancho del contenedor (mismos márgenes que el resto).
   En escritorio se reparte en dos columnas para que las líneas no queden demasiado largas. */
.nosotros-body__text { max-width: none; }
@media (min-width: 900px) {
  .nosotros-body__text {
    display: block;
    columns: 2;
    column-gap: 56px;
    font-size: clamp(1.02rem, 1.15vw, 1.12rem);
    line-height: 1.6;
  }
  .nosotros-body__text p { break-inside: avoid; margin-bottom: 22px; }
}
