/* ==========================================================================
   El Cofre Kids — landing page styles
   Implementation of "El Cofre Kids.dc.html" (Claude Design prototype).
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  /* Surfaces */
  --bg:          #FDF6EA;  /* page cream            */
  --surface:     #FFFCF6;  /* raised card           */
  --sand:        #F7E9D5;  /* warm tint             */
  --sand-hover:  #F3E7D4;  /* ghost button hover    */
  --photo:       #EADFCB;  /* image placeholder bed */

  /* Brand */
  --wine:        #6B1D2E;
  --wine-dark:   #4A121F;
  --rust:        #A8412F;
  --gold:        #E3A22C;
  --gold-dark:   #CE8F1E;
  --forest:      #1E4433;
  --mint:        #E7EFE6;
  --blush:       #F7E3E0;

  /* Ink */
  --ink:         #2B1A18;
  --ink-soft:    #4A3A34;
  --ink-muted:   #6A5A54;
  --on-dark:     #FDF6EA;
  --on-forest:   #F3F7F1;

  /* Hairlines on light / dark grounds */
  --line:        rgba(107, 29, 46, 0.12);
  --line-strong: rgba(107, 29, 46, 0.16);
  --line-dark:   rgba(253, 246, 234, 0.22);

  /* Type */
  --display: "Unbounded", "Trebuchet MS", sans-serif;
  --body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Geometry */
  --r-lg: 36px;
  --r-md: 28px;
  --r-sm: 20px;
  --pill: 999px;
  --shell: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--rust); }

button { font: inherit; color: inherit; }

*:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

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

/* --- Layout primitives -------------------------------------------------- */
.shell { max-width: var(--shell); margin: 0 auto; }

.section { padding: 20px 28px 44px; }
.section--top { padding: 22px 28px 8px; }
.section--band { padding: 44px 28px; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; }

/* --- Shared type -------------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}
.eyebrow--gold   { color: var(--gold); }
.eyebrow--forest { color: var(--forest); }
.eyebrow--faint  { color: inherit; opacity: 0.6; letter-spacing: 0.14em; }

.h1 { font-size: 60px; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-size: 40px; line-height: 1.05; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }

.lead     { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 50ch; }
.body-lg  { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.body     { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.body-sm  { font-size: 15px; line-height: 1.55; color: var(--ink-muted); }

.step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Section heading rows: title left, action/description right */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.section-head p { max-width: 40ch; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 17px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--wine); color: var(--on-dark); }
.btn--primary:hover { background: var(--wine-dark); color: var(--on-dark); }

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

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--wine);
  padding: 15px 24px;
  font-size: 14px;
}
.btn--ghost:hover { background: var(--sand-hover); color: var(--wine); }

.btn--sm { padding: 13px 22px; font-size: 14px; }

/* --- Chips (selectable pills) ------------------------------------------- */
.chip {
  border-radius: var(--pill);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Chips sitting on the dark constructor panel */
.chip--dark {
  background: rgba(253, 246, 234, 0.06);
  color: var(--on-dark);
  border-color: rgba(253, 246, 234, 0.28);
}
.chip--dark:hover { border-color: var(--gold); }
.chip--dark[aria-pressed="true"], .chip--dark[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }

/* Static (non-interactive) tags */
.tag {
  border-radius: var(--pill);
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
  background: var(--mint);
  color: var(--forest);
}
.tag--outline {
  background: rgba(243, 247, 241, 0.1);
  border: 1px solid rgba(243, 247, 241, 0.22);
  color: inherit;
  padding: 11px 18px;
  font-size: 15px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 28px;
  background: rgba(253, 246, 234, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.brand__sub {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px;
}
.nav a {
  padding: 10px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.18s ease;
}
.nav a:hover { background: var(--sand-hover); color: var(--ink); }

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--pill);
  border: 1px solid rgba(107, 29, 46, 0.18);
  background: var(--surface);
  color: var(--wine);
  font-size: 20px;
  cursor: pointer;
}

/* Mobile drawer */
.menu {
  display: none;
  position: sticky;
  top: 74px;
  z-index: 39;
  margin: 0 20px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px;
  flex-direction: column;
  gap: 2px;
}
.menu[data-open="true"] { display: flex; }
.menu a {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.menu a:hover { background: var(--sand-hover); color: var(--ink); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: stretch; }

.hero__copy {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 24px 60px -40px rgba(107, 29, 46, 0.45);
}

.pill-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  color: var(--wine);
  border-radius: var(--pill);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
}

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.hero__media { display: grid; grid-template-rows: 1.35fr 1fr; gap: 26px; }
.hero__media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.hero__note {
  border-radius: var(--r-md);
  background: var(--wine);
  color: var(--on-dark);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.hero__note-title { font-family: var(--display); font-size: 19px; line-height: 1.25; font-weight: 500; }
.hero__note-meta  { font-size: 14px; opacity: 0.75; }

/* Photo frames ----------------------------------------------------------- */
.frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--photo);
  position: relative;
  min-height: 340px;
}
.frame--sm { border-radius: var(--r-md); min-height: 180px; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Principle band (forest)
   ========================================================================== */
.band {
  background: var(--forest);
  color: var(--on-forest);
  border-radius: var(--r-lg);
  padding: 46px 44px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
}
.band h2 { font-size: 36px; line-height: 1.08; letter-spacing: -0.02em; }
.band p  { font-size: 17px; line-height: 1.6; opacity: 0.85; }
.band .chip-row { gap: 10px; }

/* ==========================================================================
   Services
   ========================================================================== */
.service {
  border-radius: var(--r-md);
  padding: 32px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease;
}
.service:hover { transform: translateY(-4px); }
.service h3 { color: var(--ink); }
.service p  { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

/* ==========================================================================
   Heroes (characters)
   ========================================================================== */
.hero-card {
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card__media { aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.hero-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__body { padding: 18px 20px 22px; }
.hero-card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.hero-card__name { font-family: var(--display); font-size: 18px; font-weight: 500; margin-top: 7px; }

/* ==========================================================================
   Scenarios
   ========================================================================== */
.panel {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 44px 40px;
}
.panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.panel__head h2 { font-size: 38px; line-height: 1.06; max-width: 26ch; }
.panel__head p  { font-size: 16px; line-height: 1.6; max-width: 38ch; color: var(--ink-soft); }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tabs--age { gap: 8px; margin-bottom: 26px; }
.tabs--age .chip { padding: 10px 18px; }
.tabs .chip { padding: 12px 20px; font-size: 15px; font-weight: 700; }

.scenario { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px; }

.scenario__legend {
  background: var(--wine);
  color: var(--on-dark);
  border-radius: var(--r-md);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scenario__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.scenario__legend h3 { font-size: 27px; line-height: 1.15; }
.scenario__legend p  { font-size: 16px; line-height: 1.6; opacity: 0.88; }
.scenario__final {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.8;
}

.scenario__tasks-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.task-list { display: flex; flex-direction: column; gap: 10px; }

/* Numbered row — shared by quest tasks and the "how it works" steps */
.numbered {
  border-radius: var(--r-sm);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.numbered--task { background: var(--bg); }
.numbered--step { background: var(--surface); grid-template-columns: 40px 1fr; }

.numbered__n {
  width: 36px;
  height: 36px;
  border-radius: var(--pill);
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.numbered--step .numbered__n {
  width: 34px; height: 34px;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 14px;
}
.numbered__t { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.numbered__b { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ==========================================================================
   Constructor
   ========================================================================== */
.constructor {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 44px 40px;
}
.constructor__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.constructor__head h2 { font-size: 38px; line-height: 1.06; max-width: 24ch; }
.constructor__head p  { font-size: 16px; line-height: 1.6; max-width: 38ch; opacity: 0.75; }

.constructor__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
.constructor__form { display: flex; flex-direction: column; gap: 32px; }
.field { display: flex; flex-direction: column; gap: 14px; }
.field--tight { gap: 12px; }

/* Package selector cards */
.pkg-pick {
  border-radius: var(--r-sm);
  padding: 18px 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(253, 246, 234, 0.06);
  color: var(--on-dark);
  border: 1px solid rgba(253, 246, 234, 0.28);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.pkg-pick:hover { border-color: var(--gold); }
.pkg-pick[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pkg-pick__name  { font-family: var(--display); font-size: 16px; font-weight: 600; }
.pkg-pick__dur   { font-size: 13px; opacity: 0.7; }
.pkg-pick__price { font-size: 13px; font-weight: 700; }

.pkg-desc { font-size: 15px; line-height: 1.6; opacity: 0.8; max-width: 66ch; }

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

/* Brief panel */
.brief {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brief__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.brief__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.brief__v { font-size: 16px; line-height: 1.45; font-weight: 600; }

.total { background: var(--sand); border-radius: var(--r-sm); padding: 20px; }
.total__main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.total__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.total__value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--wine);
}
.total__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-top: 10px;
  color: var(--ink-soft);
}
.total__line + .total__line { margin-top: 6px; }

.brief__note { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.brief__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.brief__actions .btn { padding: 17px 24px; }

/* ==========================================================================
   Packages
   ========================================================================== */
.pkg-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pkg-card__head { padding-bottom: 16px; border-bottom: 1px solid rgba(107, 29, 46, 0.14); }
.pkg-card__name  { font-family: var(--display); font-size: 21px; font-weight: 600; }
.pkg-card__dur   { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
.pkg-card__price { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--wine); margin-top: 10px; }

.pkg-card__items { display: flex; flex-direction: column; gap: 9px; }
.pkg-card__items li {
  font-size: 15px;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}
.pkg-card__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: var(--pill);
  background: var(--gold);
}
.pkg-card__who {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(107, 29, 46, 0.14);
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.portfolio figure {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--photo);
}
.portfolio figure.is-wide { grid-column: span 2; }
.portfolio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio figure:hover img { transform: scale(1.04); }

/* ==========================================================================
   Why / Steps
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.pane { border-radius: 32px; padding: 40px 36px; }
.pane--light { background: var(--surface); }
.pane--mint  { background: var(--mint); }
.pane h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }

.why-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
}
.why-row__t { font-size: 15px; font-weight: 700; }
.why-row__b { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.step-list { display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--wine);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 52px 44px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
}
.contact h2 { font-size: 48px; line-height: 1.03; letter-spacing: -0.03em; max-width: 20ch; }
.contact__lead { margin-top: 20px; font-size: 18px; line-height: 1.6; max-width: 46ch; opacity: 0.88; }
.contact__tag {
  margin-top: 26px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--gold);
}

.contact__list { display: flex; flex-direction: column; gap: 10px; }
.contact__item {
  background: rgba(253, 246, 234, 0.08);
  border: 1px solid rgba(253, 246, 234, 0.2);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  color: var(--on-dark);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  transition: background-color 0.2s ease;
}
a.contact__item:hover { background: rgba(253, 246, 234, 0.16); color: var(--on-dark); }
.contact__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.contact__v { font-size: 19px; font-weight: 700; }

.contact__item--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.contact__item--gold .contact__k { opacity: 1; }
.contact__item--gold .contact__v { font-size: 17px; text-align: right; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 12px 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { height: 26px; width: auto; }
.footer__brand span { font-size: 13px; color: var(--ink-muted); }
.footer__links { display: flex; gap: 20px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.footer__links a { color: var(--ink); }
.footer__links a:hover { color: var(--rust); }

/* ==========================================================================
   Responsive — breakpoints carried over from the prototype
   ========================================================================== */
@media (max-width: 1080px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 820px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .hero, .band, .scenario, .constructor__grid, .split, .contact, .hero__media-row { grid-template-columns: 1fr; }
  .portfolio { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .portfolio figure.is-wide { grid-column: span 1; }
  .why-row { grid-template-columns: 1fr; gap: 6px; }

  .section, .section--top, .section--band, .header, .footer { padding-left: 20px; padding-right: 20px; }
  .section--band { padding-top: 40px; padding-bottom: 40px; }
  .hero__copy, .panel, .constructor, .contact { padding: 40px 24px; }
  .pane { padding: 32px 24px; }

  .h1 { font-size: 38px; }
  .h2, .band h2, .panel__head h2, .constructor__head h2, .contact h2, .pane h2 { font-size: 27px; }
  .h3, .scenario__legend h3 { font-size: 21px; }
  .lead, .contact__lead { font-size: 17px; }

  .frame { min-height: 300px; }
  .hero__copy, .panel, .constructor, .contact, .frame, .pane { border-radius: 22px; }
  .brief__row { grid-template-columns: 92px 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .service:hover, .hero-card:hover, .portfolio figure:hover img { transform: none; }
}

@media print {
  .header, .menu, .menu-toggle, .hero__cta, .brief__actions { display: none !important; }
  body { background: #fff; }
}
