/* Ayudante BIM — estilos de la página.
   Paleta y medidas del diseño «Tienda de productos digitales»: lavanda e índigo. */

:root {
  --bg: #F4F4F5;
  --ink: #090A0D;
  --muted: #4A5571;
  --accent: #2C2743;
  --accent-hover: #534984;
  --panel: #DDDFF0;
  --line: #CCD0EC;
  --line-strong: #778AA9;
  --chip-line: #8F9EBC;
  --soft: #EEEFF7;
  --mauve: #A388A8;
  --rose: #D5C0CE;
  --white: #FFFFFF;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --section-gap: clamp(64px, 9vw, 96px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }

a { color: var(--ink); }
a:hover { color: var(--accent-hover); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: 24px; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-top: var(--section-gap); }

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

/* ---------- piezas comunes ---------- */

.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}
.section-head > p:not(.eyebrow) {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }
.btn svg { flex: none; }

.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--line); border-color: var(--line); color: var(--ink); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.status--live::before { border-color: var(--accent); background: var(--accent); }
.status--dev::before { border-color: var(--mauve); background: var(--mauve); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 3px 10px;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* ---------- cabecera ---------- */

.site-header { position: relative; z-index: 10; }

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 24px; height: 29px; color: var(--accent); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav a { padding: 10px 0; text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 919px) {
  .js .header-row { flex-wrap: nowrap; gap: 12px; padding-block: 10px; }
  .js .brand { font-size: 20px; white-space: nowrap; }
  .js .menu-btn { display: inline-flex; flex: none; }
  .js .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(44, 39, 67, 0.12);
  }
  .js .site-header.is-open .nav { display: flex; }
  .js .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--panel);
    font-size: 18px;
  }
}

/* ---------- portada ---------- */

.hero { padding-top: 8px; }

.hero-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 56px);
  border-radius: 24px;
  background: var(--panel);
}

.hero-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

h1 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.lede strong { color: var(--ink); font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.works-with > span { margin-right: 4px; font-size: 13px; color: var(--muted); }
.works-with .tags li { padding: 4px 12px; font-size: 13px; }

.hero-figure { flex: 1 1 420px; min-width: 0; }

/* El edificio: la hoja assets/obra.css dibuja la figura; aquí va su encaje en la portada. */
.obra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  color: var(--muted);
  font-family: var(--font-mono);
}
.obra .iso-stage { aspect-ratio: 760 / 560; }
.obra .iso-stage img { width: 100%; height: 100%; object-fit: contain; }
/* La leyenda va siempre en dos filas: su texto cambia cada semana y, si saltara
   de una a dos líneas, movería el resto de la página. */
.obra-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.obra-hint { text-transform: uppercase; }
.obra:not([data-live]) .obra-hint { visibility: hidden; }
.obra [data-readout] { color: var(--accent); font-variant-numeric: tabular-nums; text-wrap: balance; }

@media (max-width: 480px) {
  .obra-caption { font-size: 11px; letter-spacing: 0.02em; }
  .obra [data-readout] { min-height: 2.8em; }
}

/* ---------- tres áreas ---------- */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.area-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.area h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.area > p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.area-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}
.area-list li { display: flex; align-items: baseline; gap: 10px; }
.area-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mauve);
  transform: translateY(-2px);
}
.area .text-link { margin-top: auto; }

/* ---------- productos ---------- */

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.catalog-head .section-head { margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line);
}
.product-media--blue { background: var(--chip-line); }
.product-media--rose { background: var(--rose); }
.product-media--mauve { background: var(--mauve); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.thumb { filter: drop-shadow(0 12px 14px rgba(44, 39, 67, 0.2)); }
.thumb--sheet { width: 150px; transform: rotate(-4deg); }
.thumb--wide { width: 200px; }
.thumb--stack { width: 190px; }
.thumb--graph { width: 200px; transform: rotate(3deg); }

.product-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.product-kind { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.product h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.3; }
.product-body > p:last-child { font-size: 14px; line-height: 1.55; color: var(--muted); }

.product-foot { display: flex; flex-direction: column; gap: 10px; }
.product-note { padding: 0 4px; font-size: 12px; color: var(--muted); }
.product-foot .btn { min-height: 44px; font-size: 14px; }

.catalog-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- cursos ---------- */

.courses-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 24px;
  background: var(--accent);
  color: var(--white);
}
.courses-panel :focus-visible { outline-color: var(--white); }

.courses-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.courses-copy h2 { color: var(--white); }
.courses-copy > p { max-width: 480px; font-size: 16px; line-height: 1.6; color: var(--line); }

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.checks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks svg { flex: none; margin-top: 2px; }

.courses-list {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
}
.course-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.course h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.25; }
.course p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- bloques a dos columnas: servicios, BIM, preguntas ---------- */

.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }

.split-intro {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.split-intro > p:not(.eyebrow) { max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.split-body { flex: 1.3 1 420px; min-width: 0; }

.rows { display: flex; flex-direction: column; gap: 12px; }
.row-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--panel);
}
.row-card > div { display: flex; flex-direction: column; gap: 6px; }
.row-card h3 { font-size: 16px; font-weight: 600; }
.row-card p { max-width: 480px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.row-card svg { flex: none; }

/* ---------- software ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 899px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--panel);
}
.fact strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fact span { font-size: 14px; line-height: 1.45; color: var(--muted); }

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.case--wide { grid-column: span 2; }

.case-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.case h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.case-pitch { font-size: 15px; line-height: 1.55; }

.ticks { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ticks li { position: relative; padding-left: 18px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1.5px;
  background: var(--line-strong);
}
.ticks b { color: var(--ink); font-weight: 600; }

.case-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.case-link { font-size: 14px; font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }

.case--media { flex-direction: row; align-items: stretch; gap: 24px; }
.case-media { flex: 1 1 46%; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.case-media img { width: 100%; border: 1px solid var(--line); border-radius: 12px; }
.case-media figcaption { font-size: 12px; color: var(--muted); }
.case-col { flex: 1 1 54%; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 1000px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case--wide { grid-column: auto; }
  .case--media { flex-direction: column; }
}

/* ---------- cómo trabaja ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
  counter-reset: paso;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1.5px solid var(--ink);
  counter-increment: paso;
}
.steps li::before {
  content: "Paso " counter(paso);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.steps h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.3; }
.steps p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- sobre Nestor ---------- */

.about { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }

.profile {
  flex: 1 1 300px;
  max-width: 380px;
  padding: 24px;
  border-radius: 18px;
  background: var(--panel);
}
.profile-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; }
.profile-head img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.profile-head small { display: block; font-size: 12px; color: var(--muted); }
.profile-head strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.25; }
.profile dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--chip-line);
  font-size: 14px;
}
.profile dt { flex: none; color: var(--muted); }
.profile dd { text-align: right; font-weight: 500; }

.about-text { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-text > p { max-width: 640px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.about-text > p strong { color: var(--ink); font-weight: 600; }

.observed { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.observed h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.traits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.traits li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font-size: 14px;
  line-height: 1.5;
}
.traits b { font-weight: 600; }
.traits span { color: var(--muted); }
.observed-sign { font-size: 13px; color: var(--muted); }

/* ---------- BIM, en simple ---------- */

.edu-text { display: flex; flex-direction: column; gap: 14px; }
.edu-text p { max-width: 460px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.edu-text strong { color: var(--ink); font-weight: 600; }

.glossary { border-top: 1px solid var(--line); }
.glossary > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.glossary dt { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.glossary dd { font-size: 14px; line-height: 1.55; color: var(--muted); }
.glossary dd b { color: var(--ink); font-weight: 600; }

@media (max-width: 480px) {
  .glossary > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- preguntas ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- contacto ---------- */

.contact { padding-block: var(--section-gap); }

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
  background: var(--panel);
}
.contact-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-copy h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; }
.contact-copy p { max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.contact-links { flex: 1 1 380px; min-width: 0; border-top: 1px solid var(--chip-line); }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px solid var(--chip-line);
}
.contact-row > span:first-child { font-size: 13px; color: var(--muted); }
.contact-row a { font-size: 15px; font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-value { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }

.copy-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.copy-btn:hover { border-color: var(--accent); }

/* ---------- pie ---------- */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-nav div { display: flex; flex-direction: column; gap: 10px; }
.footer-nav span { font-size: 13px; font-weight: 600; }
.footer-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chip, .faq summary svg { transition: none; }
}
