/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ──────────────────────────────────────── */
:root {
  --parchment:      #F7F3EC; 
  --parchment-dark: #EDE7DC;
  --parchment-mid:  #E4DDD0;
  --olive:          #2C4A2E;
  --olive-mid:      #3D6B40;
  --olive-light:    #4E855A;
  --terra:          #C0533A;
  --saffron:        #C8973A;
  --ink:            #1C2215;
  --ink-mid:        #3A4030;
  --muted:          #6B6B5A;
  --muted-light:    #9A9A88;
  --white:          #FFFFFF;
  --border:         #DDD8CC;

  --max-w:   780px;
  --gutter:  clamp(1.5rem, 5vw, 4rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(28,34,21,.07);
  --shadow-md: 0 4px 16px rgba(28,34,21,.09);
  --shadow-lg: 0 10px 36px rgba(28,34,21,.12);
}

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-instagram {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.18s;
}

.nav-instagram:hover { color: var(--terra); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  border-radius: 100px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
}

.lang-btn--active {
  background: var(--olive);
  color: var(--white);
}

.lang-btn:hover:not(.lang-btn--active) {
  color: var(--ink);
}

/* ── HEADER ──────────────────────────────────────── */
.g-header {
  background: var(--parchment);
  padding: 4rem var(--gutter) 3.5rem;
  border-bottom: 1px solid var(--border);
}

.g-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.g-meta-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.g-meta-block { display: flex; flex-direction: column; gap: 0.2rem; }

.g-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.g-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.01em;
}

.g-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.g-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.g-tag-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-light);
  flex-shrink: 0;
}

.g-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.g-title em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--olive-mid);
  font-size: 1.05em;
  letter-spacing: -0.02em;
}

.g-intro {
  font-size: 1.1rem;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 640px;
}

/* ── QUÉ ES IRINA ────────────────────────────────── */
.g-que-es {
  padding: 0 var(--gutter);
  background: var(--white);
}

.g-que-es-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.g-que-es details summary {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.g-que-es details summary::after { content: '+'; font-size: 0.9rem; color: var(--muted-light); }
.g-que-es details[open] summary::after { content: '−'; }
.g-que-es details summary::-webkit-details-marker { display: none; }

.g-que-es details p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ── HERO IMAGE ──────────────────────────────────── */
.g-hero-img {
  width: 100%;
  height: clamp(260px, 40vw, 480px);
  overflow: hidden;
}

.g-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── MAIN ────────────────────────────────────────── */
.g-main { padding: 0 var(--gutter); }

.g-main-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── SECTIONS ────────────────────────────────────── */
.g-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.g-section:last-child { border-bottom: none; }

.g-section-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.g-section-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--terra);
  opacity: 0.35;
  line-height: 1;
}

.g-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.g-section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 2rem;
}

.g-section-title em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--olive-mid);
}

/* ── PROSE ───────────────────────────────────────── */
.g-prose p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.g-prose p:last-child { margin-bottom: 0; }
.g-prose strong { color: var(--ink); font-weight: 600; }

.g-callout {
  background: var(--parchment);
  border-left: 3px solid var(--olive-light);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
  font-size: 0.975rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── FOOD CARDS ──────────────────────────────────── */
.g-foods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.g-food-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  /* subgrid: card spans 5 shared rows so both cards in a pair align */
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.g-food-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.g-food-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--parchment-dark);
}

.g-food-body {
  /* transparent to the grid — children become direct items of the card subgrid */
  display: contents;
}

.g-food-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-content: flex-start;
  align-self: start;
  padding: 1.25rem 1.4rem 0.65rem;
}

.g-badge {
  display: inline-block;
  background: rgba(44, 74, 46, 0.08);
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(44, 74, 46, 0.15);
}

.g-food-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding: 0 1.4rem 0.5rem;
  align-self: start;
}

.g-food-desc-wrap {
  position: relative;
  padding: 0 1.4rem;
  align-self: start;
}

.g-food-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-height: calc(0.9rem * 1.7 * 5);
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.g-food-desc.is-expanded {
  max-height: 600px;
}

.g-food-expand-btn {
  display: none;
  margin-top: 0.4rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--olive-mid);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.g-food-expand-btn:hover { color: var(--olive); }

.g-food-expand-btn.is-visible { display: inline-block; }

.g-food-usage {
  padding: 0.75rem 1.4rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted-light);
  line-height: 1.6;
  font-style: italic;
  align-self: end;
}

/* ── COMBINATIONS ────────────────────────────────── */
.g-combos-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.g-combo-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--white);
}

.g-combo-top {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.g-combo-left {
  background: var(--parchment) center / cover no-repeat;
  min-height: 170px;
}

.g-combo-right {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.g-combo-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 0.5rem;
}

.g-combo-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.g-combo-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.g-combo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.g-combo-badge {
  display: inline-block;
  background: transparent;
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1.5px solid rgba(44, 74, 46, 0.3);
}

.g-combo-recipe-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--olive-mid);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(61, 107, 64, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.g-combo-recipe-btn:hover {
  color: var(--olive);
  text-decoration-color: var(--olive);
}

.g-combo-recipe-btn .g-combo-btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-style: normal;
  text-decoration: none;
}

.g-combo-recipe-btn[aria-expanded="true"] .g-combo-btn-arrow {
  transform: rotate(180deg);
}

/* ── RECIPE DRAWER ───────────────────────────────── */
.g-combo-recipe {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  border-top: 0px solid var(--border);
}

.g-combo-recipe.is-open {
  max-height: 900px;
  border-top-width: 1px;
}

.g-recipe-panel-inner {
  padding: 2rem 2.5rem;
  background: var(--parchment);
}

.g-recipe-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--parchment-mid);
}

.g-recipe-panel-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.g-recipe-panel-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  flex-shrink: 0;
}

.g-recipe-panel-meta .dot { opacity: 0.4; }

.g-recipe-panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.g-recipe-panel-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 0.85rem;
}

.g-recipe-panel-ingredients {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.g-recipe-panel-ingredients li {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.g-recipe-panel-ingredients li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--parchment-mid);
  font-size: 0.8rem;
}

.g-recipe-panel-steps {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.g-recipe-panel-steps li {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.65;
  padding-left: 1.8rem;
  position: relative;
  counter-increment: step-counter;
}

.g-recipe-panel-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.95rem;
  color: var(--terra);
  opacity: 0.55;
  line-height: 1;
}

.g-recipe-panel-tip {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--parchment-mid);
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
}

/* ── REFERENCES ──────────────────────────────────── */
.g-refs-list {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.g-refs-list li {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.65;
}

.g-refs-list li em { font-style: italic; color: var(--ink-mid); }

.g-refs-list a {
  color: var(--olive-mid);
  text-decoration: none;
  word-break: break-all;
}

.g-refs-list a:hover { text-decoration: underline; }

/* ── CTA BLOCK ───────────────────────────────────── */
.g-cta-block {
  background: var(--parchment);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.g-cta-block p {
  font-size: 0.975rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.g-cta-btn {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}

.g-cta-btn:hover { background: var(--olive-mid); transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────────── */
.g-footer {
  background: var(--ink);
  padding: 3rem var(--gutter);
}

.g-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.g-footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  transition: color 0.18s;
}

.footer-instagram:hover { color: rgba(255,255,255,0.8); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color 0.18s;
}

.footer-contact:hover { color: rgba(255,255,255,0.8); }

.g-footer-disclaimer {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 680px) {
  .g-meta-row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .g-foods-grid { grid-template-columns: 1fr; }
  .g-combo-top { grid-template-columns: 1fr; }
  .g-combo-left { display: none; }
  .g-recipe-panel-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .g-recipe-panel-header { flex-direction: column; gap: 0.35rem; }
  .g-footer-inner { flex-direction: column; gap: 1rem; }
  .g-section { padding: 3.5rem 0; }
}
