/* =========================================================
   Gonzales & Asociados — technical sheets (/products/*)
   Builds on styles.css
   ========================================================= */
.subpage { --fruit: var(--gold); }

/* ---------- hero ---------- */
.phero { padding: 112px 0 112px; position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--fruit) 30%, transparent), transparent 70%); pointer-events: none; opacity: .55; }
.crumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--on-dark-muted); margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--gold-2); }
.phero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.phero__title { font-size: clamp(44px, 6vw, 82px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.phero__latin { font-style: italic; color: var(--gold-2); margin: 10px 0 22px; font-size: 16px; }
.phero__meta { display: grid; gap: 0; margin: 0 0 34px; border-top: 1px solid var(--ink-line); }
.phero__meta li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); font-size: 15px; }
.phero__meta b { font-family: var(--head); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: 2px; }
.phero__photo { margin: 0; position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 500 / 552; max-width: 470px; justify-self: end; width: 100%; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero__photo figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(35, 35, 33, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--on-dark); }
.phero__photo figcaption i { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- key facts band ---------- */
.kfacts { position: relative; z-index: 2; margin-top: -64px; }
.kfacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kfacts__grid > div { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 20px; border-top: 4px solid var(--fruit); display: grid; gap: 4px; align-content: start; }
.kfacts b { font-family: var(--head); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
.kfacts span { color: var(--muted); font-size: 14.5px; }

/* ---------- spec cards ---------- */
.sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sheet__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 12px; }
.sheet__card h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.sheet__card h3 small { font-size: inherit; color: var(--muted); }
.sheet__card dl { margin: 0; }
.sheet__card dl > div { display: grid; grid-template-columns: minmax(110px, .8fr) 1.2fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.sheet__card dt { color: var(--muted); font-size: 14px; }
.sheet__card dd { margin: 0; font-weight: 600; font-size: 15px; color: var(--text); }
.note-line { margin-top: 18px; }
.print-btn { color: var(--text); }

/* ---------- availability strip ---------- */
.avail { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
.mstrip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; }
.mstrip__c { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 0 10px; border-radius: 10px; }
.mstrip__m { text-align: center; font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.mstrip__c i { display: block; height: 34px; background: var(--sand); transform-origin: left; }
.mstrip__c:first-child i { border-radius: 8px 0 0 8px; }
.mstrip__c:last-child i { border-radius: 0 8px 8px 0; }
.mstrip__c i.on { background: var(--c); }
.mstrip__c i.start { border-radius: 8px 0 0 8px; }
.mstrip__c i.end { border-radius: 0 8px 8px 0; }
.mstrip__c i.start.end { border-radius: 8px; }
.mstrip__c.is-now { background: rgba(184, 152, 96, .16); }
.mstrip__c.is-now .mstrip__m { color: var(--gold-dark); }
.js .avail .mstrip__c i.on { transform: scaleX(0); transition: transform .5s var(--ease); }
.js .avail.is-in .mstrip__c i.on { transform: scaleX(1); }
.avail .mstrip__c i { transition-delay: calc(var(--i, 0) * 40ms); }
.avail__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.avail__legend span { display: inline-flex; align-items: center; gap: 8px; }
.avail__legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--sand); }
.avail__legend i.now { background: rgba(184, 152, 96, .35); }
.zones--sheet { margin-top: 26px; }
.origins { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.origins .eyebrow { margin: 0; }
.origins ul { display: flex; flex-wrap: wrap; gap: 8px; }
.origins li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
.origins li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fruit); margin-right: 8px; vertical-align: 1px; }

/* ---------- tables ---------- */
.tbl { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(10px, 2vw, 18px) clamp(14px, 3vw, 30px); overflow-x: auto; }
.tbl table, .transit { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { font-family: var(--head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tbl tbody th { font-family: var(--head); font-size: 18px; color: var(--gold-dark); white-space: nowrap; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(184, 152, 96, .08); }

/* ---------- logistics ---------- */
.logi { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; align-items: start; }
.logi__col { display: grid; gap: 18px; }
.tcard__k--sm { font-size: clamp(30px, 3vw, 40px); }
.tcard--table h3 { margin-bottom: 14px; }
.transit th, .transit td { padding: 13px 0; border-bottom: 1px solid var(--ink-line); text-align: left; }
.transit th { font-family: var(--head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.transit td:last-child, .transit th:last-child { text-align: right; white-space: nowrap; font-family: var(--head); font-weight: 700; color: var(--on-dark); padding-left: 16px; }
.transit td:first-child { color: var(--on-dark-muted); }
.tcard--table .small { margin-top: 14px; }
.trace-list { margin-top: 14px; font-weight: 600; line-height: 1.7; }

/* ---------- related ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.related__card { display: grid; grid-template-columns: 120px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.related__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related__card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.related__body { display: grid; align-content: center; gap: 4px; padding: 16px 18px; border-left: 4px solid var(--c); }
.related__body b { font-family: var(--head); font-size: 18px; }
.related__body small { color: var(--muted); font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 10%, rgba(184, 152, 96, .18), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { margin-bottom: 14px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__photo { justify-self: start; max-width: 420px; }
  .kfacts__grid { grid-template-columns: repeat(2, 1fr); }
  .sheet { grid-template-columns: 1fr; }
  .logi { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phero { padding: 96px 0 96px; }
  .crumbs { margin-bottom: 26px; }
  .phero__meta li { grid-template-columns: 1fr; gap: 2px; }
  .kfacts { margin-top: -56px; }
  .kfacts__grid { gap: 10px; }
  .kfacts__grid > div { padding: 16px; }
  .kfacts b { font-size: 21px; }
  .kfacts span { font-size: 13px; }
  .avail { overflow-x: auto; }
  .avail .mstrip { min-width: 520px; }
  .sheet__card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .related__card { grid-template-columns: 96px 1fr; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}

/* ---------- print: a clean one-document technical sheet ---------- */
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff; font-size: 11pt; }
  .nav, .progress, .skip, .footer, .cta-band, #more, .hero__ctas, .print-btn, .crumbs, .hero__glow, .phero::after, .wa-float { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 18px 0; break-inside: avoid; }
  .phero { padding: 0 0 18px; background: #fff; color: var(--text); }
  .phero .eyebrow { color: var(--gold-dark); }
  .phero__grid { grid-template-columns: 1.3fr .7fr; gap: 24px; }
  .phero__title { font-size: 34pt; }
  .phero__photo { box-shadow: none; max-width: 220px; }
  .hero__lead { color: var(--muted); }
  .phero__meta { border-color: var(--line); }
  .phero__meta li { border-color: var(--line); }
  .kfacts { margin-top: 0; }
  .kfacts__grid > div { box-shadow: none; border: 1px solid var(--line); border-top: 4px solid var(--fruit); }
  .dark { background: #fff; color: var(--text); }
  .dark .eyebrow, .tcard .tcard__k, .transit th { color: var(--gold-dark) !important; }
  .tcard { background: #fff; border-color: var(--line); }
  .tcard p, .dark .muted, .transit td:first-child, .ports small { color: var(--muted); }
  .transit td:last-child { color: var(--text); }
  .transit th, .transit td { border-color: var(--line); }
  .ports__dot { background: #fff; }
  .h2 { font-size: 20pt; }
  .sec-head { margin-bottom: 14px; }
  .avail, .tbl { box-shadow: none; border: 1px solid var(--line); }
  .js .avail .mstrip__c i.on { transform: none; }
}
