/* =========================================================
   Gonzales & Asociados — printable catalog (/catalog)
   A4 pages; the same file prints and becomes the PDF.
   ========================================================= */
body.catalog { background: #cfc9bb; font-size: 10pt; line-height: 1.5; }

/* ---------- toolbar (screen only) ---------- */
.cat-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px clamp(16px, 4vw, 40px); background: rgba(35, 35, 33, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--on-dark); font-size: 15px; }
.cat-bar__back { text-decoration: none; font-family: var(--head); font-weight: 600; color: var(--on-dark-muted); }
.cat-bar__back:hover { color: var(--on-dark); }
.cat-bar__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat-bar .btn--ghost { color: var(--on-dark); }

/* ---------- pages ---------- */
.pages { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 32px 12px 64px; }
.pg { position: relative; width: 210mm; height: 297mm; padding: 15mm 16mm 20mm; background: var(--paper); color: var(--text); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: 6mm; }
.pg__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 4mm; border-bottom: 1px solid var(--line); }
.pg__head img { width: 9mm; height: auto; }
.pg__kicker, .pg__label { font-family: var(--head); font-weight: 700; font-size: 7.5pt; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
.pg__label { margin-bottom: 2.5mm; }
.pg__label--gap { margin-top: 5mm; }
.pg__title { font-size: 24pt; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; max-width: 160mm; }
.pg__lead { font-size: 11pt; color: var(--muted); max-width: 165mm; }
.pg__small { font-size: 9pt; color: var(--muted); margin-top: 4mm; }
.pg__small b { color: var(--text); }
.pg__foot { position: absolute; left: 16mm; right: 16mm; bottom: 9mm; display: flex; justify-content: space-between; padding-top: 3mm; border-top: 1px solid var(--line); font-size: 7.5pt; color: var(--muted); letter-spacing: .04em; }

/* ---------- cover ---------- */
.pg--cover { background: var(--ink); color: var(--on-dark); padding: 18mm; justify-content: space-between; }
.cover__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 35, 33, .55) 0%, rgba(35, 35, 33, .2) 35%, rgba(35, 35, 33, .82) 68%, rgba(35, 35, 33, .97) 100%); }
.cover__top, .cover__body, .cover__foot { position: relative; }
.cover__top img { width: 34mm; height: auto; }
.cover__body { margin-top: auto; }
.cover__kicker { font-family: var(--head); font-weight: 700; font-size: 9pt; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6mm; }
.cover__title { font-size: 40pt; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.cover__title em { font-style: normal; color: var(--gold); }
.cover__fruits { display: flex; flex-wrap: wrap; gap: 3mm; margin-top: 9mm; }
.cover__fruits > span { display: inline-flex; align-items: center; gap: 2.5mm; padding: 2mm 4mm; border-radius: 999px; border: 1px solid rgba(245, 236, 214, .25); background: rgba(35, 35, 33, .5); font-family: var(--head); font-weight: 600; font-size: 9pt; }
.cover__fruits > span::before { content: ""; width: 2.5mm; height: 2.5mm; border-radius: 50%; background: var(--c); }
.cover__foot { display: flex; justify-content: space-between; margin-top: 12mm; padding-top: 4mm; border-top: 1px solid rgba(245, 236, 214, .2); font-size: 8.5pt; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- group ---------- */
.cos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm; }
.co { border: 1px solid var(--line); border-radius: 3mm; padding: 4mm; background: var(--card); display: grid; gap: 1mm; align-content: start; }
.co__logo { height: 16mm; display: flex; align-items: center; margin-bottom: 2mm; }
.co__logo img { max-height: 16mm; max-width: 100%; width: auto; object-fit: contain; }
.co__logo span { font-family: var(--head); font-weight: 800; color: #2f5e2e; font-size: 11pt; }
.co b { font-family: var(--head); font-size: 9.5pt; }
.co small { color: var(--muted); font-size: 8pt; line-height: 1.4; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--on-dark); border-radius: 4mm; padding: 2mm 6mm; }
.nums div { padding: 4mm 0; display: grid; }
.nums div:nth-child(-n+3) { border-bottom: 1px solid var(--ink-line); }
.nums b { font-family: var(--head); font-weight: 800; font-size: 22pt; color: var(--gold); line-height: 1.1; }
.nums span { font-size: 9pt; color: var(--on-dark-muted); }
.biz3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5mm; }
.biz3 div { border-top: 2px solid var(--gold); padding-top: 3mm; }
.biz3 b { font-family: var(--head); font-size: 10pt; display: block; margin-bottom: 1.5mm; }
.biz3 p { font-size: 9pt; color: var(--muted); }

/* ---------- group photos ---------- */
.grp__photos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3mm; }
.grp__photos figure { margin: 0; position: relative; height: 46mm; border-radius: 3mm; overflow: hidden; }
.grp__photos img { width: 100%; height: 100%; object-fit: cover; }
.grp__photos figcaption { position: absolute; left: 2.5mm; bottom: 2.5mm; padding: 1mm 2.5mm; border-radius: 999px; background: rgba(250, 249, 244, .92); font-family: var(--head); font-weight: 700; font-size: 7pt; }

/* ---------- fruit pages ---------- */
.pg--fruit { gap: 4mm; }
.fr__top { display: grid; grid-template-columns: 50mm 1fr; gap: 7mm; align-items: center; }
.fr__img { width: 100%; aspect-ratio: 500 / 552; object-fit: cover; border-radius: 4mm; }
.fr__badge { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 7.5pt; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--c); padding: 1.2mm 3mm; border-radius: 999px; margin-bottom: 3mm; }
.fr__name { font-size: 30pt; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.fr__latin { font-style: italic; color: var(--gold-dark); font-size: 9.5pt; margin: 1mm 0 3mm; }
.fr__lead { font-size: 10pt; color: var(--muted); }
.fr__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 5mm; margin: 0; }
.fr__facts div { border-top: 2px solid var(--c); padding: 2.5mm 0 0; }
.fr__facts dt { font-family: var(--head); font-weight: 800; font-size: 14pt; color: var(--c); line-height: 1.15; }
.fr__facts dd { margin: 0; font-size: 8.5pt; color: var(--muted); }
.fr__win { background: var(--card); border: 1px solid var(--line); border-radius: 3mm; padding: 4mm 5mm 3mm; }
.fr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 32mm 1fr; gap: 3mm; padding: 1.4mm 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 8.5pt; }
.spec dd { margin: 0; font-weight: 600; font-size: 9pt; }
.sz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2mm; }
.sz div { background: var(--card); border: 1px solid var(--line); border-radius: 2.5mm; padding: 2.5mm 3mm; display: grid; gap: .5mm; }
.sz b { font-family: var(--head); font-size: 12pt; color: var(--gold-dark); }
.sz span { font-weight: 600; font-size: 8.5pt; }
.sz small { color: var(--muted); font-size: 7.5pt; line-height: 1.3; }
/* logistics block on sheets without a size guide */
.fr__logi { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8mm; }
.tt { width: 100%; border-collapse: collapse; font-size: 8.5pt; }
.tt td { padding: 1.4mm 0; border-top: 1px solid var(--line); color: var(--muted); }
.tt td:last-child { text-align: right; font-weight: 700; color: var(--text); white-space: nowrap; padding-left: 3mm; }
.pp { display: grid; grid-template-columns: 1fr 1fr; gap: 2mm; }
.pp li { border: 1px solid var(--line); border-radius: 2mm; padding: 2mm 3mm; background: var(--card); display: flex; justify-content: space-between; align-items: baseline; }
.pp b { font-family: var(--head); font-size: 9.5pt; }
.pp small { color: var(--muted); font-size: 7.5pt; }
.fr__china { font-size: 8.5pt; color: var(--muted); }
.fr__china b { color: var(--text); font-family: ui-monospace, Consolas, monospace; }
.fr__note { font-size: 7.5pt; color: var(--muted); margin-top: auto; }

/* ---------- month strip (shared look with the sheets) ---------- */
.mstrip { display: grid; grid-template-columns: repeat(12, 1fr); }
.mstrip__c { display: flex; flex-direction: column; gap: 1.5mm; }
.mstrip__m { text-align: center; font-family: var(--head); font-weight: 700; font-size: 7pt; letter-spacing: .06em; color: var(--muted); }
.mstrip__c i { display: block; height: 6mm; background: var(--sand); }
.mstrip__c:first-child i { border-radius: 1.5mm 0 0 1.5mm; }
.mstrip__c:last-child i { border-radius: 0 1.5mm 1.5mm 0; }
.mstrip__c i.on { background: var(--c); }
.mstrip__c i.start { border-radius: 1.5mm 0 0 1.5mm; }
.mstrip__c i.end { border-radius: 0 1.5mm 1.5mm 0; }
.mstrip__c i.start.end { border-radius: 1.5mm; }

/* ---------- calendar page ---------- */
.calx { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 3mm; padding: 3mm 5mm; }
.calx__row { display: grid; grid-template-columns: 46mm 1fr; align-items: center; gap: 3mm; padding: 3mm 0; border-top: 1px solid var(--line); }
.calx__row--head { border-top: 0; padding: 1mm 0; }
.calx__row--head .mstrip__c i { display: none; }
.calx__row > span { display: grid; grid-template-columns: 3mm 1fr; column-gap: 2mm; align-items: center; }
.calx__row > span i { width: 3mm; height: 3mm; border-radius: 50%; grid-row: span 2; }
.calx__row b { font-family: var(--head); font-size: 10pt; }
.calx__row small { color: var(--muted); font-size: 7.5pt; grid-column: 2; }
.calx .mstrip__c i { height: 7mm; }
.regionsx ol { display: grid; gap: 0; }
.regionsx li { display: grid; grid-template-columns: 34mm 14mm 1fr; align-items: center; gap: 3mm; padding: 2.4mm 0; border-top: 1px solid var(--line); }
.regionsx li b { font-family: var(--head); font-size: 10.5pt; }
.regionsx li small { color: var(--muted); }
.regionsx li span { display: flex; flex-wrap: wrap; gap: 1.5mm; }
.regionsx li i { font-style: normal; font-size: 7.5pt; font-weight: 600; color: #fff; padding: .8mm 2.5mm; border-radius: 999px; }

/* ---------- quality & terms page ---------- */
.q3, .t3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5mm; }
.q3 > div, .t3 > div { border: 1px solid var(--line); border-radius: 3mm; padding: 4mm; background: var(--card); }
.chips { font-family: var(--head); font-weight: 700; font-size: 10pt; }
.sust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm 6mm; }
.sust li { border-left: 2px solid var(--gold); padding-left: 3mm; font-size: 8.8pt; color: var(--muted); }
.sust li b { display: block; color: var(--text); font-family: var(--head); font-size: 9.5pt; }
.t3 .big { font-family: var(--head); font-size: 22pt; color: var(--gold-dark); line-height: 1; display: block; margin-bottom: 1.5mm; }
.t3 p { font-size: 8.8pt; color: var(--muted); }
.paybar2 { display: flex; gap: .8mm; height: 7mm; border-radius: 1.5mm; overflow: hidden; margin: 1mm 0 2mm; }
.paybar2 span { flex: 0 0 var(--w); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 8pt; background: var(--gold); }
.paybar2 span:nth-child(2) { background: var(--gold-2); }
.paybar2 span:nth-child(3) { background: #6d6250; color: var(--on-dark); }
.contactx { margin-top: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 6mm; background: var(--ink); color: var(--on-dark); border-radius: 4mm; padding: 6mm; }
.contactx .pg__label { color: var(--gold); }
.contactx__name { font-family: var(--head); font-weight: 700; font-size: 14pt; }
.contactx__role { color: var(--gold-2); font-size: 9pt; margin-bottom: 3mm; }
.contactx ul { display: grid; gap: 1.2mm; font-size: 9pt; }
.contactx li b { display: inline-block; min-width: 20mm; color: var(--on-dark-muted); font-weight: 600; }
.contactx__cta { border-left: 1px solid var(--ink-line); padding-left: 6mm; display: grid; align-content: center; gap: 2mm; }
.contactx__cta b { font-family: var(--head); font-size: 13pt; color: var(--gold); }
.contactx__cta p { font-size: 9pt; color: var(--on-dark-muted); }

/* ---------- small screens: shrink the A4 pages to fit ---------- */
@media screen and (max-width: 860px) { .pg { zoom: .8; } }
@media screen and (max-width: 680px) { .pg { zoom: .6; } .pages { gap: 18px; } }
@media screen and (max-width: 500px) { .pg { zoom: .44; } .cat-bar__back { font-size: 13px; } }

/* ---------- print / PDF ---------- */
@page { size: A4; margin: 0; }
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.catalog { background: #fff; }
  .cat-bar, .skip { display: none !important; }
  .pages { display: block; padding: 0; }
  .pg { box-shadow: none; zoom: 1; break-after: page; page-break-after: always; }
  .pg:last-child { break-after: auto; page-break-after: auto; }
}
