/* EWH BioProduction — estilo común (DA + EN)
   Solo tema claro. Verde del logo (#35b062) en líneas; verde más oscuro en textos y botones por contraste.
   Layout: cabecera sencilla, columna de lectura centrada, bandas suaves verde hoja,
   acento rojo mariquita usado con moderación. */
:root {
  --bg: #f6f8f3;
  --surface: #ffffff;
  --band: #e7eee0;
  --fg: #1d2a1f;
  --muted: #4f5e52;
  --line: #d3dccb;
  --leaf: #23864a;
  --leaf-strong: #1b6b3a;
  --brand: #35b062;
  --ladybird: #c8372d;
  --on-leaf: #ffffff;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--leaf-strong); text-underline-offset: 0.18em; }
a:hover { color: var(--ladybird); }
:focus-visible { outline: 3px solid var(--ladybird); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: #ffffff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand img { display: block; height: 48px; width: auto; }
.brand strong { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 0.85rem; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.main-nav a { text-decoration: none; color: var(--fg); font-weight: 600; padding-block: 4px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--leaf-strong); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ladybird); }
.main-nav .lang { font-weight: 400; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 600; color: var(--leaf-strong); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.btn { display: inline-block; background: var(--leaf); color: var(--on-leaf); text-decoration: none; font-weight: 600; padding: 10px 20px; border-radius: 6px; border: 2px solid var(--leaf); }
.btn:hover { background: var(--leaf-strong); border-color: var(--leaf-strong); color: var(--on-leaf); }
.btn.ghost { background: transparent; color: var(--leaf-strong); }
.btn.ghost:hover { background: var(--band); color: var(--leaf-strong); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; border-left: 3px solid var(--brand); padding-left: 24px; }
.facts b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--leaf-strong); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); }

section { margin-bottom: clamp(40px, 6vw, 64px); }
.prose-block p, .intro { max-width: 68ch; }
.band { background: var(--band); padding-block: clamp(36px, 5vw, 56px); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }

/* Timeline: a real sequence of years */
.timeline { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.timeline b { font-family: var(--display); color: var(--leaf-strong); font-variant-numeric: tabular-nums; }

.partners ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.partners li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 16px; font-size: 0.95rem; }

/* Inner pages */
.page-head { padding-block: clamp(32px, 5vw, 56px) 0; margin-bottom: 32px; }
.toc ul { list-style: none; margin: 1em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; color: var(--fg); font-weight: 600; font-size: 0.95rem; }
.toc a:hover { border-color: var(--leaf); }
.toc span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }

.group { scroll-margin-top: 16px; }
.group h2 { border-bottom: 2px solid var(--brand); padding-bottom: 6px; }
.group-note { color: var(--muted); max-width: 68ch; }
.plist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.plist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 12px 18px; border-top: 1px solid var(--line); }
.plist li:first-child { border-top: 0; }
.pname { min-width: 0; flex: 1 1 22rem; }
.price { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.note p { color: var(--muted); font-size: 0.95rem; max-width: 68ch; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; min-width: 0; }
.card h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-family: var(--body); }
.card .big { font-family: var(--display); font-size: 1.35rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 32px 24px; font-size: 0.95rem; color: var(--muted); }
.footer-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-row strong { color: var(--fg); }
.copy { margin-top: 16px; font-size: 0.85rem; }

@media (max-width: 760px) {
  .hero-grid, .two-col, .contact-grid, .footer-row { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; padding-left: 0; border-top: 3px solid var(--brand); padding-top: 16px; }
  .facts b { font-size: 1.5rem; }
  .facts span { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
