/* ============================================================
   StackNetic — sitio corporativo
   Sistema de estilos (tema oscuro, acento dorado de marca)
   ============================================================ */

/* ---------- Fuente ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0e14;
  --bg-raised: #10141d;
  --surface: #121826;
  --surface-2: #161d2c;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e2e6ee;
  --text-2: #aab2c0;
  --text-3: #8b93a2;
  --gold: #d4af37;
  --gold-soft: #e3c76a;
  --gold-strong: #e8ce74;
  --gold-ink: #191307;
  --blue: #2f6fad;
  --ok: #3ecf8e;
  --ok-bg: rgba(62, 207, 142, 0.1);
  --err: #ff7a6e;
  --err-bg: rgba(255, 122, 110, 0.1);
  --warn: #eec25f;
  --warn-bg: rgba(238, 194, 95, 0.1);
  --radius: 14px;
  --radius-sm: 9px;
  --container: 1120px;
  --header-h: 4.25rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold-strong); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.17rem; }
h4 { font-size: 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--text); font-weight: 620; }

code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

::selection { background: rgba(212, 175, 55, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Utilidades ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4.5vw, 2rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem;
  z-index: 100;
  background: var(--gold); color: var(--gold-ink);
  padding: 0.55rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--text); font-weight: 650; font-size: 1.06rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; }
.brand .brand-accent { color: var(--gold-soft); }

.site-nav { display: flex; align-items: center; gap: 0.4rem; }

.site-nav a {
  color: var(--text-2);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--gold-soft); }
.site-nav a.btn-primary { color: var(--gold-ink); background: var(--gold); }
.site-nav a.btn-primary:hover { color: var(--gold-ink); background: var(--gold-strong); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: 0.5rem 0.6rem; cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem clamp(1.15rem, 4.5vw, 2rem) 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0.85rem; }
  .site-nav .btn { margin-top: 0.5rem; justify-content: center; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.97rem; font-weight: 620;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: var(--gold-strong); color: var(--gold-ink); }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.btn svg { flex: none; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(52rem 26rem at 78% -18%, rgba(212, 175, 55, 0.07), transparent 60%),
    radial-gradient(40rem 22rem at 8% -12%, rgba(47, 111, 173, 0.08), transparent 60%);
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 46rem; }

.hero h1 { margin-bottom: 1.1rem; }
.hero .lead {
  font-size: clamp(1.04rem, 1.9vw, 1.19rem);
  color: var(--text-2);
  max-width: 40rem;
  margin-bottom: 1.9rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem;
  padding: 0; margin: 0; list-style: none;
}
.hero-points li {
  margin: 0;
  font-size: 0.87rem; font-weight: 520; color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.38rem 0.75rem; border-radius: 999px;
}

/* ---------- Secciones ---------- */
.section { padding: clamp(3.6rem, 7vw, 5.75rem) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-raised); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4.5vw, 3rem); }
.eyebrow {
  display: block;
  font-size: 0.78rem; font-weight: 680;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--text-2); }

/* ---------- Grid de servicios ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: rgba(212, 175, 55, 0.4); }

.card .icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.95rem; }
.card ul { color: var(--text-2); font-size: 0.95rem; margin: 0.65rem 0 0; }

/* ---------- Proyectos ---------- */
.project-list { display: grid; gap: 1.25rem; }

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.project-card:hover { border-color: rgba(212, 175, 55, 0.4); }

.project-media {
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  min-height: 15rem;
}
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.project-body { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.project-body .project-kind {
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
}
.project-body p { color: var(--text-2); font-size: 0.96rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.35rem 0 0; padding: 0; list-style: none; }
.project-tags li {
  margin: 0; font-size: 0.8rem; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.22rem 0.65rem;
}
.project-link { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.project-note { margin-top: auto; padding-top: 1rem; color: var(--text-3); font-size: 0.88rem; }

@media (max-width: 860px) {
  .project-card { grid-template-columns: 1fr; }
  .project-media { border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; }
  .project-media img { max-height: 16rem; }
}

/* ---------- Integraciones ---------- */
.integrations { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem; align-items: start; }
@media (max-width: 860px) { .integrations { grid-template-columns: 1fr; } }

.integration-list { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.integration-list li {
  margin: 0; display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem;
}
.integration-list .icon { flex: none; color: var(--gold-soft); margin-top: 0.15rem; }
.integration-list h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.integration-list p { color: var(--text-2); font-size: 0.93rem; margin: 0; }

.note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  color: var(--text-2);
  font-size: 0.92rem;
}
.note-box strong { color: var(--text); }

/* ---------- Metodología ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1rem;
  counter-reset: step;
  margin: 0; padding: 0; list-style: none;
}
.steps li {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.steps .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-soft);
  font-weight: 700; font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.steps p { color: var(--text-2); font-size: 0.93rem; margin: 0; }

/* ---------- Clientes ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: stretch;
  margin: 0; padding: 0; list-style: none;
}
.logo-strip li {
  margin: 0; flex: 1 1 14rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  background: #f4f5f7;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  min-height: 6.5rem;
}
.logo-strip img { max-height: 3.2rem; width: auto; object-fit: contain; }
.logo-strip .client-name { font-size: 0.85rem; color: #4a5261; font-weight: 600; }

/* ---------- CTA final ---------- */
.cta-band {
  background:
    radial-gradient(40rem 18rem at 85% 120%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--bg-raised);
  border-top: 1px solid var(--border);
}
.cta-band .inner {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { color: var(--text-2); margin: 0; max-width: 34rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 2.75rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.site-footer h4 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 650; margin-bottom: 0.75rem; }
.footer-brand img { width: 30px; height: 30px; }
.footer-tagline { color: var(--text-2); max-width: 24rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
  color: var(--text-3); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; max-width: 56rem; }

/* ---------- Páginas legales ---------- */
.page-head {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.page-head p { color: var(--text-2); max-width: 44rem; margin: 0; }
.page-head .updated { margin-top: 0.9rem; font-size: 0.88rem; color: var(--text-3); }

.prose { max-width: 50rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.prose h2 {
  font-size: 1.35rem;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin-bottom: 0.5rem; }
.prose .lead-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
}

/* ---------- Página 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  text-align: center;
}
.error-page .inner { margin-inline: auto; max-width: 32rem; padding: 4rem 0; }
.error-code { font-size: 5rem; font-weight: 700; letter-spacing: -0.04em; color: var(--gold-soft); line-height: 1; margin-bottom: 1rem; }

/* ============================================================
   Demos internas (Meta App Review) — labels en inglés
   ============================================================ */
.app-shell {
  min-height: calc(100vh - var(--header-h));
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.app-shell .container { max-width: 60rem; }

.demo-header { margin-bottom: 2rem; }
.demo-header .demo-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 0.6rem;
}
.demo-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.5rem; }
.demo-header p { color: var(--text-2); max-width: 40rem; }

.permission-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(47, 111, 173, 0.14);
  border: 1px solid rgba(96, 158, 214, 0.35);
  color: #9ec7ec;
  font-size: 0.83rem; font-weight: 600;
  border-radius: 999px; padding: 0.32rem 0.8rem;
  margin-top: 0.9rem;
}

.app-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.app-card h2 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.app-card h2 + p.hint { margin-top: -0.6rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.field .help { font-size: 0.82rem; color: var(--text-3); margin-top: 0.35rem; }

.input, select.input, textarea.input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  padding: 0.62rem 0.8rem;
  transition: border-color 0.15s ease;
}
.input:focus { outline: none; border-color: var(--gold-soft); }
.input::placeholder { color: var(--text-3); }
textarea.input { resize: vertical; min-height: 5.5rem; }
select.input { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aab2c0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.2rem; }

.btn-block { width: 100%; }

.result-panel {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 1.1rem 1.2rem;
  margin-top: 1.25rem;
  font-size: 0.94rem;
}
.result-panel.ok { border-color: rgba(62, 207, 142, 0.4); background: var(--ok-bg); }
.result-panel.err { border-color: rgba(255, 122, 110, 0.4); background: var(--err-bg); }
.result-panel h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; margin-bottom: 0.6rem; }
.result-panel.ok h3 { color: var(--ok); }
.result-panel.err h3 { color: var(--err); }
.result-panel .kv { margin: 0; }
.result-panel[hidden] { display: none; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; font-size: 0.92rem; }
.kv dt { color: var(--text-3); font-weight: 550; }
.kv dd { margin: 0; color: var(--text); word-break: break-all; }
.kv dd.mono { font-size: 0.87rem; }

.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; font-weight: 650;
  border-radius: 999px; padding: 0.2rem 0.7rem;
  border: 1px solid transparent;
}
.badge-ok { color: var(--ok); background: var(--ok-bg); border-color: rgba(62, 207, 142, 0.35); }
.badge-err { color: var(--err); background: var(--err-bg); border-color: rgba(255, 122, 110, 0.35); }
.badge-pending { color: var(--warn); background: var(--warn-bg); border-color: rgba(238, 194, 95, 0.35); }
.badge-neutral { color: var(--text-2); background: rgba(255, 255, 255, 0.05); border-color: var(--border); }

.env-panel h2 { font-size: 1rem; }
.env-panel .kv { font-size: 0.88rem; }
.env-status { margin-bottom: 1rem; }

.alert {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(238, 194, 95, 0.4);
  background: var(--warn-bg);
  color: var(--warn);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.alert[hidden] { display: none; }

.spinner {
  width: 1.05rem; height: 1.05rem;
  border: 2px solid rgba(25, 19, 7, 0.3);
  border-top-color: var(--gold-ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.templates-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.templates-table th, .templates-table td {
  text-align: left; padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.templates-table th { color: var(--text-3); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.templates-table td { color: var(--text-2); }
.templates-table td.mono { font-size: 0.83rem; word-break: break-all; }
.table-wrap { overflow-x: auto; }

.demo-footnote { margin-top: 2rem; color: var(--text-3); font-size: 0.85rem; }

/* ---------- Impresión (legales) ---------- */
@media print {
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .skip-link { display: none; }
  .prose p, .prose li, .page-head p { color: #222; }
  h1, h2, h3 { color: #000; }
}

/* ---------- Productos (home) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.product-card:hover { border-color: rgba(212, 175, 55, 0.4); }
.product-card img { border-bottom: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 1200 / 618; object-fit: cover; object-position: top left; }
.product-card .body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-card .product-kind { font-size: 0.76rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.35rem; }
.product-card h3 { margin-bottom: 0.4rem; }
.product-card p { color: var(--text-2); font-size: 0.93rem; margin: 0; }
.product-card .product-link { margin-top: auto; padding-top: 0.9rem; font-weight: 600; font-size: 0.92rem; }
.section-foot { margin-top: 1.75rem; }
