:root {
  --ink: #173640;
  --ink-soft: #36535a;
  --blue: #315f76;
  --blue-dark: #193f50;
  --green: #55775c;
  --moss: #78906a;
  --cream: #f5f1e7;
  --paper: #fbf8f0;
  --mist: #dfe8e7;
  --line: rgba(23, 54, 64, .17);
  --gold: #b9863b;
  --shadow: 0 12px 32px rgba(12, 35, 43, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #1f2f36;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
}

.site-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: var(--mist);
  box-shadow: 0 0 36px rgba(0, 0, 0, .28);
}
.wrap { width: calc(100% - 76px); max-width: 1104px; margin-inline: auto; }
.food-hero {
  position: relative;
  overflow: hidden;
  color: #f8f4e9;
  background:
    radial-gradient(circle at 84% 12%, rgba(196, 218, 176, .19), transparent 28%),
    linear-gradient(125deg, #123d55 0%, #2f6670 53%, #647c62 100%);
}
.food-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.5px);
  background-size: 43px 43px;
  pointer-events: none;
}
.topbar, .food-hero-grid, .project-nav { position: relative; z-index: 2; }
.topbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: grid; color: #fff; text-decoration: none; line-height: .86; letter-spacing: .08em; }
.brand strong { font-size: .72rem; }
.brand small { font: 600 2.15rem/1 Georgia, 'Times New Roman', serif; letter-spacing: .03em; }
.top-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 28px; }
.top-links a { position: relative; color: rgba(255,255,255,.86); font-size: .85rem; text-decoration: none; }
.top-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: #c7d8b3; transition: right .22s; }
.top-links a:hover::after, .top-links a:focus-visible::after { right: 0; }
.food-hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(290px,.65fr); gap: clamp(38px,6vw,78px); align-items: center; padding-block: clamp(48px,7vw,82px); }
.food-hero-copy .eyebrow { color: #c8d9bd; }
.food-hero-copy h1 { margin: 0 0 18px; color: #fff; font-size: clamp(3rem,6.8vw,5.9rem); letter-spacing: -.045em; }
.food-hero-copy .lead { max-width: 760px; margin: 0; color: #e3ece6; font-size: clamp(1.06rem,1.8vw,1.3rem); }
.food-hero-art, .food-hero-mosaic, .food-hero-mosaic figure { margin: 0; }
.food-hero-art { min-width: 0; }
.food-hero-art img { display: block; width: 100%; aspect-ratio: 1.08; object-fit: cover; border: 1px solid rgba(255,255,255,.28); border-radius:16px; background: #dfe8df; box-shadow: 0 28px 68px rgba(8,29,38,.34); }
.food-hero-art figcaption { margin: 12px 12px 0; color: rgba(255,255,255,.72); font-size: .73rem; line-height: 1.45; }
.food-hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.24); border-radius:16px; background: rgba(255,255,255,.1); box-shadow: 0 28px 68px rgba(8,29,38,.3); }
.food-hero-mosaic figure { overflow: hidden; min-height: 300px; border-radius:8px; }
.food-hero-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-nav { overflow-x: auto; border-top: 1px solid rgba(255,255,255,.16); background: rgba(8,35,49,.3); scrollbar-width: thin; }
.project-nav .wrap { display: flex; }
.project-nav a { flex: 0 0 auto; padding: 17px 19px; color: rgba(255,255,255,.74); border-bottom: 3px solid transparent; font-size: .76rem; text-decoration: none; white-space: nowrap; }
.project-nav a:hover, .project-nav a:focus-visible, .project-nav .active { color: #fff; border-bottom-color: #b8cc93; background: rgba(255,255,255,.05); }

.food-main { padding: 34px 34px 44px; background: linear-gradient(180deg, #e7eeeb 0%, #f5f1e7 22%, #f8f5ed 100%); }
.crumbs { margin: 0 0 22px; font-size: .86rem; }
.crumbs a { color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: .79rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.13; }
h1 { max-width: 880px; margin-bottom: 18px; color: var(--blue-dark); font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { margin-bottom: 14px; color: var(--blue-dark); font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { margin-bottom: 8px; color: var(--blue-dark); font-size: 1.28rem; }
p { margin: 0 0 1.05em; }
.lead { max-width: 820px; color: var(--ink-soft); font-family: Georgia, 'Times New Roman', serif; font-size: 1.22rem; line-height: 1.58; }
.rule { width: 72px; height: 3px; margin: 24px 0 28px; border: 0; background: linear-gradient(90deg, var(--green), var(--gold)); }

.section-card, .callout, .references, .quote-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--shadow);
}
.section-card { overflow: hidden; }
.section-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.section-card-body { padding: 22px; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.route-link, .button-link { color: var(--blue-dark); font-weight: 800; text-decoration: none; }
.route-link::after, .button-link::after { content: '  \2192'; }
.callout { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--green); }
.callout strong { color: var(--blue-dark); }

.food-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 38px; }
.food-item { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 22px rgba(16, 48, 56, .09); }
.food-item a { color: inherit; text-decoration: none; }
.food-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.food-item:hover img { transform: scale(1.025); }
.food-item figcaption { padding: 14px 16px 16px; }
.food-item h3 { margin-bottom: 4px; font-size: 1.12rem; }
.food-item p { margin: 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.42; }

.evidence-table { width: 100%; margin: 22px 0 30px; border-collapse: collapse; background: rgba(255,255,255,.62); font-size: .93rem; }
.evidence-table th, .evidence-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.evidence-table th { background: var(--blue-dark); color: #fff; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.evidence-table tr:nth-child(even) td { background: rgba(223,232,231,.45); }
.taxon { font-style: italic; white-space: nowrap; }
.certainty { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #dce8d8; color: #31513b; font-size: .75rem; font-weight: 800; }
.certainty.caution { background: #f3e4c7; color: #70501f; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 22px 0 10px; }
.gallery figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 22px rgba(16,48,56,.09); }
.gallery figure > a { display: block; overflow: hidden; border-radius: 12px; background: #dde6e3; }
.gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.gallery figure > a:hover img { transform: scale(1.035); }
.gallery figcaption { padding: 13px 15px 15px; color: var(--ink-soft); font-size: .79rem; line-height: 1.48; }
.gallery--documentary { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.gallery--documentary img { aspect-ratio: 3/2; }
.animal-feature { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 30px; align-items: start; margin: 34px 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(222,233,226,.82)); box-shadow: var(--shadow); }
.animal-feature figure { margin: 0; overflow: hidden; border-radius: 16px; background: #dce6df; }
.animal-feature figure > a, .animal-feature figure img { display: block; width: 100%; }
.animal-feature figure img { aspect-ratio: 1.08; object-fit: cover; }
.animal-feature figcaption { padding: 14px 16px 17px; color: var(--ink-soft); font-size: .78rem; line-height: 1.48; }
.credit { color: var(--ink-soft); font-size: .79rem; }
.quote-card { margin: 24px 0; padding: 22px 24px; background: #e7eeeb; }
.quote-card blockquote { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; }
.quote-card cite { color: var(--ink-soft); font-size: .8rem; font-style: normal; }

.fish-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 22px 0 28px; padding: 0; list-style: none; }
.fish-list li { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.66); }
.fish-list em { display: block; color: var(--blue-dark); font-family: Georgia, 'Times New Roman', serif; }
.fish-list span { color: var(--ink-soft); font-size: .79rem; }

.cite { position: relative; white-space: nowrap; }
.cite a { color: var(--blue); font-weight: 800; text-decoration: none; }
.cite:hover::after, .cite:focus-within::after {
  content: attr(data-ref);
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 8px);
  width: min(330px, 76vw);
  padding: 10px 12px;
  border-radius: 9px;
  background: #173640;
  color: #fff;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}
.references { margin-top: 38px; padding: 24px 28px; }
.references h2 { font-size: 1.45rem; }
.references ol { margin: 0; padding-left: 22px; }
.references li { margin-bottom: 12px; font-size: .82rem; overflow-wrap: anywhere; }
.references a { color: var(--blue-dark); }

.site-footer { padding: 18px 28px 22px; border-top: 3px solid var(--gold); background: #1d3f4e; color: #eef5f2; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.footer-links a { color: #eef5f2; font-size: .8rem; font-weight: 700; text-decoration: none; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 42px); }
  .topbar { min-height: 78px; align-items: flex-start; padding-block: 17px; }
  .top-links { gap: 10px 16px; }
  .top-links a { font-size: .72rem; }
  .food-hero-grid { grid-template-columns: 1fr; padding-block: 42px; }
  .food-hero-art, .food-hero-mosaic { width: min(430px,100%); }
  .food-hero-mosaic figure { min-height: 240px; }
  .food-main { padding: 26px 20px 36px; }
  .route-grid, .food-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery--documentary, .animal-feature { grid-template-columns: 1fr; }
  .fish-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .evidence-table { display: block; overflow-x: auto; }
}

@media (max-width: 460px) {
  .fish-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .food-hero-copy h1 { font-size: 2.65rem; }
}

/* Marcos armonizados: revisión integral 2. */
.food-hero-art img,.food-hero-mosaic{border-radius:16px;box-shadow:0 14px 32px rgba(8,29,38,.18)}
.food-hero-mosaic{padding:10px}
.food-hero-mosaic figure{border-radius:8px}
