/* Opakované komponenty: hlavička, značka, tlačítka, typografie, patička,
   úvodní blok podstránek, lightbox, formulář. */

@layer components {

  /* ---------- Typografie ---------- */

  .kicker {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brass);
  }
  .on-paper .kicker, .on-paper-2 .kicker { color: var(--brass-ink); }

  .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.02; letter-spacing: -0.005em; }
  .h1 { font-size: var(--fs-h1); line-height: 0.95; }
  .h2 { font-size: var(--fs-h2); }
  .h3 { font-size: var(--fs-h3); line-height: 1.12; }

  .lead { font-size: var(--fs-l); line-height: 1.55; }
  .on-iron .lead, .on-coal .lead { color: rgb(238 230 216 / 0.86); }
  .on-paper .lead, .on-paper-2 .lead { color: var(--ink-soft); }

  .prose { max-width: 36em; }
  .prose p + p { margin-top: 1.05em; }
  .on-iron .prose, .on-coal .prose { color: rgb(238 230 216 / 0.86); }

  .en { font-style: italic; letter-spacing: 0.01em; }

  /* ornament: linka — nýt — linka (nýty jsou motiv z loga i z řemesla) */
  .rule {
    display: block;
    width: 116px;
    height: 12px;
    color: var(--brass);
    background:
      radial-gradient(circle, currentColor 2.6px, transparent 3.2px) center / 12px 12px no-repeat,
      linear-gradient(currentColor, currentColor) left center / calc(50% - 12px) 1px no-repeat,
      linear-gradient(currentColor, currentColor) right center / calc(50% - 12px) 1px no-repeat;
  }
  .rule--start {
    background:
      radial-gradient(circle, currentColor 2.6px, transparent 3.2px) left center / 12px 12px no-repeat,
      linear-gradient(currentColor, currentColor) 18px center / calc(100% - 18px) 1px no-repeat;
  }
  .center .rule, .rule--center { margin-inline: auto; }
  .on-paper .rule, .on-paper-2 .rule { color: var(--brass-ink); }

  /* ---------- Tlačítka a odkazy ---------- */

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 14px 26px;
    border: 1px solid var(--leather);
    background: var(--leather);
    color: var(--cream);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  }
  .btn:hover { background: var(--leather-hi); border-color: var(--leather-hi); }
  .btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
  .btn:hover .icon { transform: translateX(4px); }
  .btn[disabled] { opacity: 0.7; cursor: progress; }

  .btn--ghost { background: transparent; border-color: rgb(194 155 95 / 0.55); color: var(--cream); }
  .btn--ghost:hover { background: rgb(194 155 95 / 0.1); border-color: var(--brass); }
  .on-paper .btn--ghost, .on-paper-2 .btn--ghost { color: var(--ink); border-color: rgb(122 92 48 / 0.5); }
  .on-paper .btn--ghost:hover, .on-paper-2 .btn--ghost:hover { background: rgb(122 92 48 / 0.08); border-color: var(--brass-ink); }

  .btn--sm { min-height: 42px; padding: 10px 18px; font-size: 0.78rem; letter-spacing: 0.22em; }

  .link-arrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--brass); text-decoration: none;
    font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase;
  }
  .link-arrow .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
  .link-arrow:hover .icon { transform: translateX(4px); }
  .on-paper .link-arrow, .on-paper-2 .link-arrow { color: var(--brass-ink); }

  /* ---------- Hlavička ---------- */

  /* hlavička jede s návštěvníkem: na podstránkách se „přilepí“, na úvodu leží přes fotku */
  .site-header {
    position: sticky; top: 0; z-index: 30; padding-block: 18px 16px;
    transition: padding 0.3s var(--ease), background-color 0.3s;
  }
  .site-header--overlay {
    position: fixed; inset: 0 0 auto;
    padding-bottom: 72px;
    background: linear-gradient(to bottom, rgb(15 13 11 / 0.82), rgb(15 13 11 / 0.35) 55%, rgb(15 13 11 / 0));
  }
  .site-header--solid { background: var(--coal); border-bottom: 1px solid var(--iron-line); }

  /* po odscrollování se zmenší a ztmaví, ať nepřekáží */
  .site-header.is-stuck {
    padding-block: 9px;
    background: rgb(15 13 11 / 0.95);
    border-bottom: 1px solid var(--iron-line);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  }
  @supports (backdrop-filter: blur(10px)) {
    .site-header.is-stuck { background: rgb(15 13 11 / 0.82); backdrop-filter: blur(12px); }
  }
  .site-header .brand__mark, .site-header .brand__name { transition: height 0.3s var(--ease), font-size 0.3s var(--ease); }
  .site-header.is-stuck .brand__mark { height: 44px; }
  .site-header.is-stuck .brand__name { font-size: 24px; }
  .site-header.is-stuck .brand__tag { display: none; }
  .site-header.is-stuck .site-nav { padding-top: 6px; }

  .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }

  .brand { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
  .brand__mark { height: 60px; width: auto; aspect-ratio: 813 / 1078; fill: var(--steel); flex: none; }
  .brand__text { display: flex; flex-direction: column; line-height: 1; }
  .brand__name { font-family: var(--f-brand); font-size: 31px; letter-spacing: 0.004em; color: var(--logo-word); }
  .brand__person { margin-top: 8px; font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--cream); }
  .brand__tag { margin-top: 6px; font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
  .brand:hover .brand__name { color: var(--brass-hi); }

  .site-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 46px); margin-left: auto; }
  .site-nav a {
    position: relative; padding-block: 8px;
    font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--cream-soft); text-decoration: none;
    transition: color 0.25s;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0.24em; bottom: 0; height: 1px;
    background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

  .header-contact { display: flex; align-items: center; gap: 24px; }
  .header-contact__tel {
    display: inline-flex; align-items: center; gap: 9px;
    color: var(--cream); text-decoration: none; letter-spacing: 0.06em; font-size: 1rem;
  }
  .header-contact__tel .icon { width: 17px; height: 17px; color: var(--brass); }
  .header-contact__tel:hover { color: #fff; }
  .header-contact .btn[aria-current="page"] { border-color: var(--brass); background: rgb(194 155 95 / 0.12); }

  @media (max-width: 1080px) {
    .header-contact__tel { display: none; }
  }
  @media (max-width: 860px) {
    .site-nav {
      order: 3; width: 100%; margin-left: 0; justify-content: space-between;
      border-top: 1px solid var(--iron-line); padding-top: 10px;
    }
    .site-nav a { font-size: 0.74rem; letter-spacing: 0.2em; }
  }
  @media (max-width: 520px) {
    .site-header { padding-block: 14px 12px; }
    .site-header__inner { column-gap: 10px; flex-wrap: nowrap; }
    .site-header--solid .site-header__inner { flex-wrap: wrap; }
    .brand { gap: 11px; min-width: 0; }
    .brand__mark { height: 50px; }
    .brand__name { font-size: 25px; }
    .brand__person { margin-top: 7px; font-size: 9.6px; letter-spacing: 0.28em; }
    .brand__tag { margin-top: 5px; font-size: 7.9px; letter-spacing: 0.17em; }
    .header-contact .btn--sm { min-height: 38px; padding: 8px 12px; letter-spacing: 0.16em; font-size: 0.72rem; }
  }
  @media (max-width: 360px) {
    .brand__mark { height: 42px; }
    .brand__name { font-size: 22px; }
    .brand__tag { letter-spacing: 0.12em; font-size: 7.4px; }
    .header-contact .btn--sm { padding-inline: 9px; letter-spacing: 0.12em; }
  }

  /* ---------- Úvodní blok podstránek ---------- */

  .page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(540px, 76svh, 800px);
    overflow: hidden;
  }
  .page-hero__text {
    align-self: center;
    padding-block: clamp(56px, 8vw, 110px);
    padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2);
    padding-right: clamp(28px, 5vw, 88px);
  }
  .crumbs { display: flex; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-soft); }
  .crumbs a { color: var(--cream-soft); text-decoration: none; }
  .crumbs a:hover { color: var(--cream); }
  .crumbs [aria-current] { color: var(--brass); }

  .page-hero__en { display: flex; align-items: center; gap: 16px; margin-top: 18px; color: var(--brass-hi); font-size: 1.2rem; }
  .page-hero__en::before { content: ""; width: 44px; height: 1px; background: var(--brass); }
  .page-hero .lead { margin-top: clamp(26px, 3vw, 38px); max-width: 32em; }
  .page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 34px; }

  .page-hero__media { position: relative; margin: 0; background: var(--coal); }
  .page-hero__media picture, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .page-hero__media img { object-fit: cover; }
  .page-hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to right, var(--iron) 0%, rgb(22 19 16 / 0.35) 18%, rgb(22 19 16 / 0) 42%);
  }
  .page-hero--compact { min-height: clamp(460px, 60svh, 640px); }

  @media (max-width: 860px) {
    .page-hero { grid-template-columns: 1fr; min-height: 0; }
    .page-hero__text { padding: 40px var(--gutter) 40px; }
    .crumbs { margin-bottom: 26px; }
    .page-hero__media { aspect-ratio: 5 / 4; }
    .page-hero__media::after { background: linear-gradient(to bottom, var(--iron) 0%, rgb(22 19 16 / 0) 26%); }
    /* na kontaktu ať se do širokého výřezu vejde celá vyražená značka SK */
    .page-hero--compact .page-hero__media img { object-position: 50% 62%; }
  }

  /* ---------- Poznámka / callout ---------- */

  .note {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 22px 26px;
    border: 1px solid var(--paper-line);
    background: rgb(255 255 255 / 0.35);
    color: var(--ink);
  }
  .note .icon { width: 26px; height: 26px; color: var(--brass-ink); margin-top: 2px; }
  .note p { font-style: italic; font-size: 1.1rem; }
  .on-iron .note, .on-coal .note { border-color: var(--iron-line); background: rgb(255 255 255 / 0.03); color: var(--cream); }
  .on-iron .note .icon, .on-coal .note .icon { color: var(--brass); }

  /* ---------- Závěrečná výzva ---------- */

  .cta-band { text-align: center; }
  .cta-band .h2 { margin-top: 18px; }
  .cta-band p { max-width: 34em; margin: 18px auto 0; }
  .cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; margin-top: 36px; }

  /* ---------- Patička ---------- */

  .site-footer { padding-block: clamp(64px, 8vw, 100px) 28px; border-top: 1px solid var(--iron-line); }
  .site-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1.2fr 0.8fr 1fr;
    gap: 44px clamp(28px, 4vw, 64px);
  }
  .site-footer__brand { display: flex; gap: 22px; align-items: flex-start; }
  .site-footer__mark { height: 92px; width: auto; aspect-ratio: 813 / 1078; fill: var(--steel); flex: none; }
  .site-footer__name { font-family: var(--f-brand); font-size: 2.1rem; line-height: 1; color: var(--logo-word); }
  .site-footer__person { margin-top: 10px; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; }
  .site-footer__tag { margin-top: 8px; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--brass); }
  .site-footer__place { margin-top: 18px; color: var(--cream-soft); font-style: italic; }

  .footer-title { font-family: var(--f-text); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
  .footer-list { display: grid; gap: 10px; color: var(--cream-soft); }
  .footer-list a { color: var(--cream); text-decoration: none; }
  .footer-list a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brass); }
  .footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
  .footer-contact .icon { width: 18px; height: 18px; margin-top: 0.3em; color: var(--brass); }
  .footer-sister { margin-top: 22px; color: var(--cream-soft); font-size: var(--fs-s); line-height: 1.5; }
  .footer-sister a { color: var(--cream); }

  .social { display: flex; gap: 12px; }
  .social a {
    display: grid; place-items: center; width: 46px; height: 46px;
    border: 1px solid var(--iron-line); color: var(--cream); transition: border-color 0.25s, color 0.25s, background-color 0.25s;
  }
  .social a:hover { border-color: var(--brass); color: var(--brass-hi); background: rgb(194 155 95 / 0.08); }
  .social .icon { width: 20px; height: 20px; }

  .site-footer__legal {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
    margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--iron-line);
    font-size: 0.86rem; color: var(--cream-soft);
  }
  .site-footer__legal a { color: var(--cream-soft); }
  .site-footer__legal a:hover { color: var(--cream); }

  @media (max-width: 1020px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
    .site-footer__mark { height: 84px; }
  }

  /* ---------- Fotky s náhledem (lightbox) ---------- */

  .zoom { position: relative; display: block; overflow: hidden; background: var(--iron-2); cursor: zoom-in; }
  .zoom picture { display: contents; }
  .zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
  .zoom:hover img { transform: scale(1.03); }
  .zoom__hint {
    position: absolute; right: 12px; top: 12px; display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgb(15 13 11 / 0.55); color: var(--cream); opacity: 0; transition: opacity 0.3s;
  }
  .zoom__hint .icon { width: 17px; height: 17px; }
  .zoom:hover .zoom__hint, .zoom:focus-visible .zoom__hint { opacity: 1; }
  @media (hover: none) { .zoom__hint { opacity: 0.85; } }

  .lightbox {
    width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
    border: 0; background: rgb(12 10 9 / 0.96); color: var(--cream);
  }
  .lightbox::backdrop { background: rgb(12 10 9 / 0.9); }
  .lightbox[open] { display: block; }
  .lightbox__stage {
    position: relative; display: grid; place-items: center; height: 100%;
    padding: 56px clamp(12px, 6vw, 96px) 24px;
  }
  .lightbox__figure { display: grid; justify-items: center; gap: 14px; margin: 0; max-width: 100%; }
  .lightbox__img {
    max-width: 100%; max-height: calc(100dvh - 180px); width: auto; height: auto;
    object-fit: contain; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); transition: opacity 0.25s;
  }
  .lightbox__caption { text-align: center; color: var(--cream); font-size: 1.05rem; font-style: italic; }
  .lightbox__caption:empty { display: none; }
  .lightbox__btn {
    position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    color: var(--cream); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12);
    transition: background-color 0.25s, border-color 0.25s;
  }
  .lightbox__btn:hover { background: rgb(194 155 95 / 0.18); border-color: var(--brass); }
  .lightbox__btn .icon { width: 24px; height: 24px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
  .lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
  .lightbox__count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--cream-soft); }
  @media (max-width: 600px) {
    .lightbox__stage { padding: 52px 10px 78px; }
    .lightbox__img { max-height: calc(100dvh - 240px); }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; }
  }

  /* ---------- Postupné odhalování při scrollu ---------- */

  @media (prefers-reduced-motion: no-preference) {
    .reveal.is-pending { opacity: 0; transform: translateY(26px); }
    .reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  }
  @media print {
    .reveal.is-pending { opacity: 1; transform: none; }
    .site-header, .site-footer, .tile__arrow, .zoom__hint { break-inside: avoid; }
  }

  /* ---------- Formulář ---------- */

  .form { display: grid; gap: 22px; }
  .form__row { display: grid; gap: 22px; }
  @media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

  .field { display: grid; gap: 8px; }
  .field > label, .field__label, .form legend { font-size: 1rem; font-weight: 500; color: var(--ink); }
  .field__opt { font-style: italic; font-weight: 400; color: var(--ink-soft); }
  .field__hint { font-size: var(--fs-s); color: var(--ink-soft); line-height: 1.45; }
  .field__hint a { color: var(--brass-ink); }

  .input {
    width: 100%; min-height: 50px; padding: 12px 14px;
    border: 1px solid var(--paper-line); border-radius: 0;
    background: rgb(255 255 255 / 0.7); color: var(--ink);
    font-size: 1.05rem; line-height: 1.4; font-variant-numeric: lining-nums;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  }
  .input::placeholder { color: #8d8175; opacity: 1; }
  .input:hover { border-color: #c2b49d; }
  .input:focus { outline: none; border-color: var(--brass-ink); background: #fff; box-shadow: 0 0 0 3px rgb(122 92 48 / 0.15); }
  .input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgb(179 64 42 / 0.12); }
  textarea.input { min-height: 150px; resize: vertical; }

  .field__error { display: none; font-size: var(--fs-s); color: var(--error); }
  .field__error.show { display: block; }

  .choices { display: flex; flex-wrap: wrap; gap: 10px; }
  .choice { position: relative; }
  .choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .choice span {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
    border: 1px solid var(--paper-line); background: rgb(255 255 255 / 0.55); color: var(--ink);
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  }
  .choice span::before {
    content: ""; width: 14px; height: 14px; border-radius: 50%;
    border: 1px solid #a7998a; background: #fff; transition: box-shadow 0.2s, border-color 0.2s;
  }
  .choice input:hover + span { border-color: #c2b49d; }
  .choice input:checked + span { border-color: var(--brass-ink); background: #fff; }
  .choice input:checked + span::before { border-color: var(--brass-ink); box-shadow: inset 0 0 0 3.5px #fff; background: var(--brass-ink); }
  .choice input:focus-visible + span { outline: 2px solid var(--brass-ink); outline-offset: 2px; }

  .dims { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .dim { display: grid; gap: 4px; }
  .dim label { font-size: 0.92rem; color: var(--ink-soft); }
  .dim label b { font-weight: 600; color: var(--ink); }
  .dim .input { min-height: 46px; padding: 10px 10px; text-align: center; }
  @media (max-width: 480px) { .dims { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  .fieldset-doors { display: grid; gap: 18px; padding: 22px 22px 24px; border: 1px dashed var(--paper-line); background: rgb(255 255 255 / 0.22); }
  .fieldset-doors > legend { float: left; width: 100%; margin-bottom: 4px; font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; }
  .fieldset-doors > legend + * { clear: both; }

  .dropzone {
    display: grid; justify-items: center; gap: 8px; padding: 26px 18px; text-align: center;
    border: 1px dashed #b9aa93; background: rgb(255 255 255 / 0.4); color: var(--ink-soft);
    cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
  }
  .dropzone:hover, .dropzone.drag { border-color: var(--brass-ink); background: rgb(255 255 255 / 0.75); }
  .dropzone:focus-visible, input[type="file"]:focus-visible + .dropzone { outline: 2px solid var(--brass-ink); outline-offset: 2px; }
  .dropzone .icon { width: 30px; height: 30px; color: var(--brass-ink); }
  .dropzone strong { color: var(--ink); font-weight: 500; }
  .dropzone small { font-size: 0.86rem; }

  .previews { display: flex; flex-wrap: wrap; gap: 10px; }
  .previews:empty { display: none; }
  .preview { position: relative; width: 78px; height: 78px; background: var(--paper-3); }
  .preview img { width: 100%; height: 100%; object-fit: cover; }
  .preview__name { position: absolute; inset: auto 0 0; padding: 2px 4px; font-size: 10px; background: rgb(0 0 0 / 0.55); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .preview button {
    position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--ink); color: var(--paper); box-shadow: 0 2px 6px rgb(0 0 0 / 0.25);
  }
  .preview button .icon { width: 14px; height: 14px; }

  .form__legal { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
  .form__legal a { color: var(--brass-ink); }
  .form__submit { justify-self: start; }
  .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(238 230 216 / 0.35); border-top-color: var(--cream); animation: spin 0.8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .form-result { padding: 30px; border: 1px solid var(--paper-line); background: rgb(255 255 255 / 0.55); }
  .form-result h3 { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; }
  .form-result p { margin-top: 12px; color: var(--ink-soft); }
  .form-result .icon-badge { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: var(--leather); color: var(--cream); }
  .form-result .icon-badge .icon { width: 26px; height: 26px; }
  .form-error { border-color: rgb(179 64 42 / 0.4); background: rgb(179 64 42 / 0.05); }
  .form-error h3 { font-size: 1.5rem; }
}
