/* Homepage visual system. Catalog and shared interaction primitives stay in site.css. */
body[data-page=home] { --shell: calc(100% - clamp(40px, 7vw, 112px)); }
::selection { background: #dbeafa; color: #07386f; }
input, textarea { caret-color: var(--blue); }
.hero {
  position: relative;
  padding: 0;
  border: 0;
  background: #fff;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy picture";
  align-items: center;
  min-height: 0;
  padding: 48px 0 26px;
  gap: 32px;
}
.hero-copy {
  width: 100%;
  max-width: 720px;
  position: relative;
  z-index: 3;
}
.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(44px, 3.8vw, 58px);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -.035em;
}
.hero h1 span { display: block; }
.hero h1 .hero-city { color: var(--blue); }
.hero .search-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.hero-lead {
  max-width: 520px;
  margin: 22px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4c5966;
}
.hero .search { max-width: 600px; }
.hero-picture {
  position: relative;
  grid-area: picture;
  width: 100%;
  height: clamp(340px, 30vw, 500px);
  max-width: 820px;
  justify-self: end;
  margin: 0;
  background: #fff;
  overflow: hidden;
}
.hero-picture img {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: none;
  inset: 0;
  object-fit: contain;
  object-position: center;
}
.search-control {
  height: 58px;
  border: 1px solid #c4cbd2;
  grid-template-columns: 42px minmax(0, 1fr) auto;
}
.search-control input { font-size: 14px; padding-inline: 8px; }
.search-icon { width: 18px; height: 18px; margin-left: 14px; color: var(--blue); }
.search-submit { min-width: 100px; border: 0; border-radius: 0 3px 3px 0; font-size: 15px; }
.search-control:focus-within { border-color: var(--blue); }
.search-control:has(.search-clear:not([hidden])) { grid-template-columns: 42px minmax(0, 1fr) 36px auto; }
.live-results { border: 1px solid #c4cbd2; }
.section { padding: 76px 0; }
.section-heading { margin-bottom: 28px; }
.section-heading h2, .request-intro h2 {
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.13;
  letter-spacing: -.03em;
}
.section-heading--row { align-items: center; gap: 40px; }
.section-heading--row > p { max-width: 460px; font-size: 15px; }
.families { padding: 42px 0 48px; background: #fff; }
.families .section-heading { margin-bottom: 24px; }
.families h2 { font-size: clamp(22px, 2vw, 30px); }
.family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; }
.family {
  position: relative;
  min-height: 200px;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  grid-template-rows: 1fr auto;
  gap: 12px 4px;
  border: 0;
  border-right: 1px solid var(--line);
  transition: color .2s;
}
.family:first-child { padding-left: 0; }
.family:last-child { padding-right: 0; border: 0; }
.family > div { grid-column: 1; grid-row: 1; position: relative; z-index: 1; }
.family h3 { margin: 0 0 12px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.25; color: var(--blue); }
.family p { font-size: 13px; line-height: 1.65; max-width: 230px; }
.family > span:last-child { grid-column: 1; font-size: 27px; line-height: 1; color: var(--blue); }
.family:hover { background: #fff; color: var(--ink); }
.family:hover p { color: var(--muted); }
.family:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.family-image { grid-column: 2; grid-row: 1 / 3; position: relative; overflow: hidden; align-self: stretch; }
.family-image img { position: absolute; height: 100%; width: 300%; max-width: none; object-fit: cover; }
.family-image--1 img { left: 0; }
.family-image--2 img { left: -100%; }
.family-image--3 img { left: -200%; }
.products { background: #f7f8fa; }
.product-grid { gap: 20px; }
.product-card { border-color: #dde2e7; }
.product-link { grid-template-columns: 40% minmax(0, 1fr); min-height: 195px; }
.product-media { border: 0; background: #fff; padding: 16px; }
.product-media img { height: 142px; }
.product-copy { padding: 20px 16px 20px 4px; }
.product-copy h3 { font-size: 17px; line-height: 1.4; margin-top: 12px; }
.product-meta { font-size: 11px; line-height: 1.5; }
.product-meta span:first-child { color: var(--blue); font-weight: 750; }
.product-footer { padding: 12px 16px; gap: 8px; }
.product-footer strong { font-size: 14px; }
.product-select { font-size: 13px; padding-inline: 12px; }
.product-card:has(.product-select[aria-pressed=true]) { border-color: var(--blue); }
.catalog-cta { border: 0; margin-top: 25px; }
.catalog-cta a { justify-content: center; gap: 18px; min-height: 48px; font-size: 16px; }
.parameter-shell { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 7vw; }
.parameters .section-heading { max-width: 450px; }
.parameters .section-heading p { font-size: 16px; line-height: 1.7; }
.parameter summary { min-height: 76px; }
.parameter summary b { font-size: 19px; }
.parameter summary small { font-size: 12px; }
.parameter-toggle { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.parameter-toggle::before, .parameter-toggle::after { content: ''; position: absolute; inset: 8px 1px; background: #fff; }
.parameter-toggle::after { transform: rotate(90deg); }
.parameter[open] .parameter-toggle::after { transform: rotate(0); }
.parameter > div p { font-size: 14px; }
.parameters .text-action { font-size: 14px; }
.stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.story, .story--lead { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.story picture, .story--lead picture { display: block; height: auto; aspect-ratio: 4 / 3; border-radius: 4px; }
.story > div, .story--lead > div { display: flex; flex-direction: column; flex: 1; padding: 20px 0 0; }
.story h3, .story--lead h3 { font-size: 20px; line-height: 1.35; margin: 10px 0 18px; letter-spacing: -.02em; }
.story-label { text-transform: none; letter-spacing: 0; font-size: 12px; margin: 0!important; }
.story > div > p:not(.story-label) { font-size: 14px; line-height: 1.6; }
.story a { margin-top: auto; font-size: 14px; }
.story small { font-size: 11px; line-height: 1.5; }
.illustration-note { max-width: 850px; margin-top: 28px; line-height: 1.6; }
.delivery { background: #f2f4f7; padding-bottom: 0; }
.delivery .section-heading { margin-bottom: 24px; }
.request-preparation { padding: 44px 0; }
.request-preparation .section-heading h2 { font-size: 27px; }
.preparation-steps { border: 0; gap: 28px; }
.preparation-steps li { position: relative; min-height: 100px; padding: 0 20px 0 42px; }
.preparation-steps span { position: absolute; left: 0; top: 3px; font-size: 14px; }
.preparation-steps h3 { margin: 0 0 9px; font-size: 19px; }
.preparation-steps p { font-size: 14px; }
.request { padding-top: 40px; background: #fff; }
.request-shell { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 7vw; }
.request-intro { max-width: 420px; }
.request-intro p { font-size: 16px; line-height: 1.7; }
.request-workspace { padding: 0; border: 0; }
.lead-form { gap: 16px; }
.lead-form > .button { justify-self: end; min-width: 230px; }
.form-row label, .lead-form > label { font-size: 14px; }
.lead-form .consent { font-size: 12px; line-height: 1.6; }
.site-footer { background: var(--blue); padding-block: 42px; }
.site-footer p, .site-footer span { color: #d9e6f4; }
.footer-contacts a { font-size: 15px; }
.selection-feedback { border: 0; border-radius: 4px; }
.story-label { margin-bottom: 14px!important; }

/* Editorial addition only: accepted hero, cards and catalog stay unchanged. */
.selection-guide { background: #f7f8fa; }
.selection-guide-intro { max-width: 74ch; font-size: 17px; line-height: 1.7; }
.selection-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.selection-guide-grid > div { min-width: 0; max-width: 74ch; }
.selection-guide-grid h3 { margin: 32px 0 12px; font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
.selection-guide-grid h3:first-child { margin-top: 0; }
.selection-guide-grid p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; }
.selection-guide a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.selection-guide-note { max-width: 105ch; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: #4c5966; }
@media (max-width: 900px) {
  .selection-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .selection-guide-intro { font-size: 16px; }
  .selection-guide-grid h3 { font-size: 21px; }
}

@media (min-width: 1101px) {
  .families { padding: 16px 0 24px; }
  .families .section-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .family-grid { border-top: 1px solid var(--line); padding-top: 16px; }
  .family { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 18px; min-height: 128px; padding: 8px 22px; align-content: center; }
  .family-image { grid-column: 1; grid-row: 1 / 3; height: 104px; align-self: center; }
  .family > div { grid-column: 2; }
  .family > span:last-child { grid-column: 2; grid-row: 2; justify-self: end; font-size: 23px; }
  .family h3 { font-size: 18px; margin-bottom: 8px; }
  .family p { line-height: 1.5; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hero-shell { min-height: 510px; padding-block: 45px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 38px; line-height: 1.1; }
  .hero-lead { font-size: 15px; margin-block: 20px; }
  .hero-picture { width: 100%; margin-left: 0; }
  .hero-picture img { width: 100%; }
  .hero .search-control { grid-template-columns: minmax(0, 1fr) auto; }
  .hero .search-icon { display: none; }
  .hero .search-control:has(.search-clear:not([hidden])) { grid-template-columns: minmax(0, 1fr) 36px auto; }
  .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .family--wide { grid-column: auto; }
  .family { padding-inline: 16px; grid-template-columns: 1fr; }
  .family-image { grid-column: 1; grid-row: 2; width: 100%; height: 140px; }
  .family > span:last-child { grid-row: 3; }
  .family h3 { font-size: 20px; }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 900px) {
  .section { padding-block: 58px; }
  .families { padding-block: 34px; }
  .parameter-shell, .request-shell { grid-template-columns: 1fr; gap: 26px; }
  .parameters .text-action { grid-column: 1; }
  .preparation-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .preparation-steps li { border: 0; padding-left: 0; padding-top: 30px; }
  .preparation-steps h3 { font-size: 17px; }
  .request-preparation { padding-block: 36px; }
  .request { padding-top: 24px; }
}
@media (max-width: 700px) {
  body[data-page=home] { --shell: calc(100% - 28px); }
  .hero { background: #f7f8fa; padding: 0; }
  .hero-shell { min-height: 0; padding: 24px 0 0; display: flex; gap: 0; }
  .hero-copy { width: 100%; max-width: none; }
  .hero h1 { font-size: clamp(30px, 7.8vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
  .hero h1 span { display: inline; }
  .hero h1 .hero-city { color: inherit; }
  .hero .search-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .hero-lead { font-size: 14px; margin: 15px 0 18px; line-height: 1.5; }
  .hero-picture { position: relative; inset: auto; width: 100vw; height: 190px; margin: 12px calc((100% - 100vw) / 2) 0; order: 2; background: #f5f6f8; }
  .hero-picture img { object-fit: cover; object-position: 82% 60%; width: 145%; margin-left: -45%; }
  .search-control { height: 52px; grid-template-columns: 32px minmax(0, 1fr) auto; }
  .search-icon { width: 16px; margin-left: 10px; }
  .search-control input { padding-inline: 5px; font-size: 13px; }
  .search-submit { min-width: 72px; padding-inline: 10px; font-size: 14px; }
  .search-control:has(.search-clear:not([hidden])) { grid-template-columns: 32px minmax(0, 1fr) 32px auto; }
  .section-heading h2, .request-intro h2 { font-size: 30px; line-height: 1.15; }
  .section-heading--row > p { font-size: 14px; }
  .families h2 { font-size: 24px; }
  .family-grid { grid-template-columns: 1fr; }
  .family, .family:first-child, .family:last-child { min-height: 160px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr) 38%; }
  .family h3 { font-size: 20px; max-width: 220px; }
  .family p { font-size: 13px; }
  .family-image { grid-column: 2; grid-row: 1 / 3; }
  .product-grid { gap: 16px; }
  .product-link { grid-template-columns: 36% minmax(0, 1fr); min-height: 180px; }
  .product-copy h3 { font-size: 16px; }
  .product-copy { padding: 18px 12px 18px 4px; }
  .product-media { padding: 10px; }
  .product-footer { padding: 10px 12px; }
  .product-select { padding-inline: 10px; }
  .stories { grid-template-columns: 1fr; gap: 36px; }
  .story picture, .story--lead picture { aspect-ratio: 16 / 10; height: auto; }
  .story > div, .story--lead > div { padding: 18px 0 0; }
  .story h3, .story--lead h3 { font-size: 22px; }
  .delivery { padding-bottom: 0; }
  .preparation-steps { grid-template-columns: 1fr; gap: 22px; }
  .preparation-steps li { min-height: 0; padding: 0 0 0 38px; }
  .preparation-steps h3 { font-size: 18px; }
  .request-workspace { padding: 0; }
  .lead-form > .button { justify-self: stretch; width: 100%; }
  .footer-contacts a { font-size: 14px; }
}
@media (max-width: 359px) {
  body[data-page=home] { --shell: calc(100% - 24px); }
  .hero h1 { font-size: 27px; }
  .hero-shell { padding-top: 20px; }
  .hero-picture { height: 152px; }
  .hero-lead { font-size: 13px; }
  .product-footer strong { font-size: 13px; }
  .product-select { font-size: 12px; }
}
@media (min-width: 701px) and (max-height: 600px) and (orientation: landscape) {
  .hero-shell { min-height: 370px; padding-block: 28px; }
  .hero h1 { font-size: 34px; }
  .hero h1 span { display: inline; }
  .hero .search-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
  .hero-lead { margin-block: 14px; font-size: 14px; }
  .hero-picture { height: 100%; }
}
