/* ==========================================================================
   AMOR HOMEWARE — design system v2
   Reference: PRODUCTS.png / Home.png / pages.png mockups.
   White header · photo-style cards · dark-forest footer · serif display.
   ========================================================================== */
:root {
  --forest: #1C3B2D;        /* footer, primary buttons, dark bands */
  --forest-deep: #142C21;
  --forest-soft: #E7EDE7;
  --cream: #F3EEE2;         /* light CTA bands, chips */
  --paper: #FFFFFF;
  --mist: #F7F5F0;          /* hero / alt sections */
  --sand: #EFEAE0;
  --line: #E7E3DA;
  --line-soft: #EFECE4;
  --ink: #2E2B24;
  --ink-soft: #5F5A4F;
  --muted: #8F887A;
  --brown: #8B5E3C;         /* brand accent (logo brown) */
  --brown-deep: #55351F;
  --tan: #B98A5E;
  --green: #2F5D46;         /* action green */
  --green-deep: #234A37;
  --green-soft: #E4EDE6;
  --radius: 12px;
  --shadow: 0 8px 26px rgba(40, 45, 40, .08);
  --shadow-lg: 0 18px 44px rgba(30, 35, 30, .14);
  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Quicksand", "Trebuchet MS", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p  { color: var(--ink-soft); }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--cream { background: var(--cream); }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }

.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brown);
  margin-bottom: 12px;
}
.lead { font-size: 1.02rem; max-width: 62ch; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin: 14px auto 0; }

/* row section head: title left, "view all" right (mockup style) */
.rowhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.rowhead h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.rowhead .rowhead__sub { display: block; font-family: var(--font-body); font-size: .92rem; color: var(--muted); margin-top: 6px; font-weight: 400; }
.viewall { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--forest); white-space: nowrap; padding-bottom: 4px; }
.viewall:hover { color: var(--green-deep); text-decoration: underline; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: .93rem;
  border: 1.5px solid transparent; transition: all .22s ease; line-height: 1.2;
}
.btn--forest, .btn--primary { background: var(--forest); color: #fff; }
.btn--forest:hover, .btn--primary:hover { background: var(--forest-deep); transform: translateY(-1px); }
.btn--brown { background: var(--brown); color: #fff; }
.btn--brown:hover { background: var(--brown-deep); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn--light:hover { background: rgba(255,255,255,.14); }
.btn--sm { padding: 9px 18px; font-size: .87rem; }
.btn svg { flex: 0 0 auto; }

/* ------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.header__inner { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark { width: 44px; height: 35px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-brand); }
.brand__name { font-size: 1.22rem; font-weight: 700; color: #8C6142; letter-spacing: .01em; }
.brand__name2 { font-size: 1.02rem; font-weight: 600; color: #8C6142; letter-spacing: .04em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 24px 13px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); transition: color .18s; }
.nav a:hover { color: var(--forest); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2.5px; background: var(--forest); border-radius: 2px; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.header-search input { border: 0; outline: 0; font: inherit; font-size: .86rem; color: var(--ink); padding: 9px 4px 9px 13px; width: 168px; background: none; }
.header-search input::placeholder { color: var(--muted); }
.header-search button { padding: 9px 12px; color: var(--brown); display: flex; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s; }
.header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0 20px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }

/* ------------------------------------------------------------- breadcrumbs */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--brown); text-decoration: underline; }
.crumbs .sep { margin: 0 7px; color: var(--tan); }
.crumbs--light, .crumbs--light a { color: rgba(255,255,255,.75); }
.crumbs--light .sep { color: rgba(255,255,255,.45); }

/* ------------------------------------------------------------- home hero */
.hero { background: linear-gradient(180deg, #FAF8F3 0%, #F2EEE5 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: 58px 0 44px; }
.hero h1 { margin: 4px 0 10px; }
.hero__sub { font-family: var(--font-body); font-size: clamp(1.08rem, 1.8vw, 1.3rem); font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.hero .lead { max-width: 50ch; }
.hero__actions { display: flex; gap: 13px; margin-top: 26px; flex-wrap: wrap; }
.hero__art { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0 34px; border-top: 1px solid var(--line); }
.badge { display: flex; align-items: center; gap: 12px; }
.badge__icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--brown); color: var(--brown); display: flex; align-items: center; justify-content: center; background: #fff; }
.badge b { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.badge span { font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------- page banner (subpages) */
.banner {
  position: relative; color: #fff;
  background-color: var(--forest);
  background-image: linear-gradient(95deg, rgba(20,32,26,.9) 0%, rgba(20,32,26,.78) 42%, rgba(20,32,26,.12) 100%), var(--banner-img, none);
  background-size: cover, cover;
  background-position: center, center 50%;
  background-repeat: no-repeat, no-repeat;
  padding: 74px 0 66px;
}
.banner h1 { color: #fff; max-width: 22ch; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.banner .lead { color: rgba(255,255,255,.82); margin-top: 14px; max-width: 62ch; }
.banner__actions { display: flex; gap: 13px; margin-top: 26px; flex-wrap: wrap; }

/* ------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--6 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tan); }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; gap: 3px; }
.card__body h3 { font-family: var(--font-body); font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.card__cat { font-size: .78rem; color: var(--muted); }
.card__link { margin-top: 9px; display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-weight: 600; font-size: .82rem; }
.card:hover .card__link { color: var(--green-deep); }

/* category photo cards with bottom overlay (mockup style) */
.cat-card {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; background: var(--mist); transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card__media { position: absolute; inset: 0; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 20px; gap: 3px;
  background: linear-gradient(180deg, rgba(20,26,22,0) 42%, rgba(18,24,20,.78) 100%);
}
.cat-card__overlay h3 { color: #fff; font-size: 1.12rem; }
.cat-card__overlay .card__link { color: rgba(255,255,255,.92); font-size: .8rem; }
.cat-card:hover .cat-card__overlay .card__link { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------- feature blocks */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; transition: all .25s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon {
  width: 50px; height: 50px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--forest); margin-bottom: 15px;
}
.feature h3 { font-size: 1rem; margin-bottom: 8px; }
.feature p { font-size: .87rem; }

/* ------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--font-body); font-size: .85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { font-size: .95rem; margin-bottom: 6px; }
.step p { font-size: .8rem; }
.steps--dark .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.steps--dark h3 { color: #fff; }
.steps--dark p { color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------- bands / CTA */
.band { background: var(--forest); border-radius: 16px; padding: 46px 52px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.band p { color: rgba(255,255,255,.78); max-width: 52ch; }
.band__actions { display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap; }
.band--light { background: var(--cream); color: var(--ink); padding: 34px 44px; gap: 24px; }
.band--light h2 { color: var(--ink); }
.band--light p { color: var(--ink-soft); }
.band__icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--green); display: flex; align-items: center; justify-content: center; }
.band__text { flex: 1 1 auto; }
.band__art { flex: 0 0 220px; height: 120px; border-radius: 12px; overflow: hidden; }
.band__art img { width: 100%; height: 100%; object-fit: cover; }

.brandline { text-align: center; max-width: 760px; margin: 0 auto; }
.brandline h2 { margin-bottom: 18px; }
.brandline p { font-size: 1.02rem; }

/* ------------------------------------------------------------- filters */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: .87rem; font-weight: 500; color: var(--ink-soft); transition: all .18s; }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; background: #fff; color: var(--muted); }
.search input { border: 0; outline: 0; background: none; font: inherit; color: var(--ink); width: 200px; }
.count { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.empty { text-align: center; padding: 70px 0; color: var(--muted); }

/* ------------------------------------------------------------- product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.pd__media { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); position: sticky; top: 96px; }
.pd__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pd__info .eyebrow { margin-bottom: 10px; }
.pd__info h1 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 8px; }
.pd__code { font-size: .82rem; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.pd__info .lead { font-size: 1rem; }
.pd__actions { display: flex; gap: 12px; margin: 26px 0; flex-wrap: wrap; }
.pd__specs { margin-top: 30px; }
.pd__specs .row { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.pd__specs .row b { color: var(--ink-soft); font-weight: 600; }
.spec-block { margin-top: 46px; }
.spec-block > h2 { font-size: 1.35rem; margin-bottom: 16px; }
.checklist li { display: flex; gap: 11px; padding: 8px 0; font-size: .93rem; color: var(--ink-soft); align-items: flex-start; }
.checklist svg { flex: 0 0 auto; margin-top: 5px; color: var(--green); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mini-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.mini-card h3 { font-size: .98rem; margin-bottom: 8px; }
.mini-card p { font-size: .86rem; }

/* ------------------------------------------------------------- forms */
.form { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .93rem; color: var(--ink); background: #fff; outline: 0; transition: border-color .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { display: none; font-size: .78rem; color: #A24B33; margin-top: 5px; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #C96B4E; }
.field.is-error .err { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; font-size: .85rem; color: var(--ink-soft); cursor: pointer; background: #fff; transition: all .15s; }
.choice:hover { border-color: var(--tan); }
.choice input { accent-color: var(--forest); width: 15px; height: 15px; flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--forest-soft); color: var(--forest-deep); font-weight: 600; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form__status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: .9rem; }
.form__status.is-ok { display: block; background: var(--green-soft); color: var(--green-deep); }
.form__status.is-err { display: block; background: #F6E7DF; color: #8F4128; }
.form__status a { text-decoration: underline; font-weight: 600; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 34px; align-items: start; }
.info-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); align-items: flex-start; }
.info-list svg { flex: 0 0 auto; color: var(--forest); margin-top: 3px; }
.info-list b { display: block; font-size: .84rem; color: var(--ink); font-weight: 600; }
.info-list span, .info-list a { font-size: .9rem; color: var(--ink-soft); }
.info-list a:hover { color: var(--brown); text-decoration: underline; }
.side-card { background: var(--mist); border: 1px solid var(--line-soft); border-radius: 14px; padding: 26px; margin-bottom: 18px; }
.side-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.side-card p { font-size: .88rem; }
.side-card a.mail { color: var(--brown-deep); font-weight: 600; text-decoration: underline; }

/* ------------------------------------------------------------- about / stats */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-2 img { border-radius: 16px; border: 1px solid var(--line); }
.stat-band { background: var(--forest); border-radius: 18px; padding: 44px 36px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: 2.1rem; color: #fff; font-weight: 700; }
.stat__num small { font-size: 1rem; color: var(--tan); margin-left: 3px; }
.stat__label { font-size: .82rem; color: rgba(255,255,255,.72); margin-top: 6px; }

/* ------------------------------------------------------------- footer (forest) */
.footer { background: var(--forest); color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr 1.05fr 1.15fr; gap: 36px; padding: 58px 0 42px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer li { margin-bottom: 10px; font-size: .89rem; }
.footer__brand .brand__mark { filter: brightness(0) invert(1); opacity: .95; }
.footer__brand .brand__name, .footer__brand .brand__name2 { color: #fff; }
.footer__brand p { color: rgba(255,255,255,.58); font-size: .86rem; margin-top: 14px; max-width: 30ch; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--tan); }
.footer__contact a, .footer__contact span { color: rgba(255,255,255,.78); font-size: .89rem; word-break: break-all; }
.newsletter p { color: rgba(255,255,255,.6); font-size: .84rem; margin-bottom: 12px; }
.newsletter__row { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); }
.newsletter__row input { flex: 1; min-width: 0; border: 0; outline: 0; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .87rem; padding: 11px 14px; }
.newsletter__row input::placeholder { color: rgba(255,255,255,.45); }
.newsletter__row button { background: var(--brown); color: #fff; font-weight: 600; font-size: .86rem; padding: 0 20px; transition: background .18s; }
.newsletter__row button:hover { background: var(--brown-deep); }
.newsletter__ok { color: #BFE3C8; font-size: .86rem; margin-top: 10px; display: none; }
.newsletter__err { color: #F3C0B4; font-size: .84rem; line-height: 1.5; margin-top: 10px; display: none; }
.newsletter__err a { color: #fff; text-decoration: underline; }
.newsletter__row button:disabled { opacity: .65; cursor: default; }
.social { display: flex; gap: 10px; margin-bottom: 18px; }
.social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); transition: all .18s; }
.social a:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------- legal */
.prose { max-width: 80ch; }
.prose h2 { margin: 34px 0 12px; font-size: clamp(1.2rem, 2vw, 1.42rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 22px 0 8px; font-size: 1.02rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: .95rem; line-height: 1.78; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 20px; list-style: disc; }
.prose ul li { margin-bottom: 7px; }
.prose .updated { font-size: .84rem; color: var(--muted); margin-bottom: 28px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--mist); }
.prose .todo { background: #FFF6E0; border-left: 3px solid var(--tan); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }
.prose .todo p { color: var(--ink); font-size: .9rem; }

/* ------------------------------------------------------------- floating */
.float-stack { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 70; align-items: flex-end; }
.float-btn {
  display: inline-flex; align-items: center; gap: 9px; background: #1FA855; color: #fff;
  padding: 12px 18px; border-radius: 100px; font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 26px rgba(20, 90, 45, .35); transition: transform .2s;
}
.float-btn:hover { transform: translateY(-2px); }
.float-top { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow); }
.float-top.is-visible { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .float-btn { transition: none; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .cards--6 { grid-template-columns: repeat(3, 1fr); }
  .header-search input { width: 130px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .cards, .features, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__badges { grid-template-columns: repeat(2, 1fr); }
  .band__art { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-search { display: none; }
  .burger { display: flex; }
  .header__inner { height: 62px; }
  .header.is-open .mobile-nav { display: block; }
  .hero__inner, .split-2, .pd, .contact-grid { grid-template-columns: 1fr; }
  .pd__media { position: static; }
  .band { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .band--light { padding: 30px 24px; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .banner { padding: 54px 0 48px; }
}
@media (max-width: 560px) {
  .cards, .cards--3, .cards--6, .features, .steps, .stat-grid, .choice-grid, .hero__badges { grid-template-columns: 1fr; }
  .cards--6 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { width: 100%; }
  .grid-5 { grid-template-columns: 1fr; }
}
