/* ==========================================================================
   LILKA – Material 3 pro Android, světlý barevný motiv
   Barevné role podle M3, víc barevných tónů pro ikony a sekce.
   ========================================================================== */

/* ---- Design tokens (světlý režim) ------------------------------------------ */
:root {
  /* Primární – živá modrá */
  --md-primary: #0B57D0;
  --md-on-primary: #FFFFFF;
  --md-primary-container: #D3E3FD;
  --md-on-primary-container: #041E49;

  --md-secondary: #545F71;
  --md-secondary-container: #D8E2F9;
  --md-on-secondary-container: #111C2B;

  --md-tertiary: #7D5260;
  --md-tertiary-container: #FFD8E4;
  --md-on-tertiary-container: #31111D;

  --md-error: #B3261E;

  /* Plochy – čistě světlé */
  --md-surface: #FBFCFF;
  --md-surface-container-lowest: #FFFFFF;
  --md-surface-container-low: #F5F8FF;
  --md-surface-container: #EEF3FC;
  --md-surface-container-high: #E6EDF9;
  --md-surface-container-highest: #DDE6F5;
  --md-on-surface: #1B1F27;
  --md-on-surface-variant: #434A57;
  --md-outline: #737A87;
  --md-outline-variant: #C5CCDA;

  /* Barevné tóny pro ikony a sekce */
  --tone-blue-c: #D3E3FD;  --tone-blue-on: #041E49;
  --tone-green-c: #C4EED0; --tone-green-on: #0A3D1C;
  --tone-orange-c: #FFDCC2; --tone-orange-on: #5C2A00;
  --tone-pink-c: #FFD9E2;  --tone-pink-on: #3E0B20;
  --tone-purple-c: #E8DEFF; --tone-purple-on: #21005D;
  --tone-teal-c: #A8F0EC;  --tone-teal-on: #00201F;
  --tone-yellow-c: #FFEFA8; --tone-yellow-on: #3A2F00;

  --shape-xs: 4px;
  --shape-sm: 8px;
  --shape-md: 12px;
  --shape-lg: 16px;
  --shape-xl: 28px;
  --shape-full: 999px;

  --elev-1: 0 1px 2px rgba(20,30,60,.12), 0 1px 3px 1px rgba(20,30,60,.08);
  --elev-2: 0 1px 2px rgba(20,30,60,.14), 0 2px 6px 2px rgba(20,30,60,.10);
  --elev-3: 0 2px 4px rgba(20,30,60,.16), 0 6px 12px 4px rgba(20,30,60,.10);

  --motion-standard: cubic-bezier(.2, 0, 0, 1);
  --motion-duration: 200ms;

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --nav-h: 80px;
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--md-surface);
  color: var(--md-on-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--nav-h);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--md-primary); text-decoration: none; }
:focus-visible { outline: 3px solid var(--md-primary); outline-offset: 2px; border-radius: var(--shape-xs); }

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* ---- Type scale (M3 roles) ------------------------------------------------- */
.display { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); line-height: 1.12; font-weight: 400; letter-spacing: -.01em; margin: .25rem 0 1rem; color: var(--md-on-surface); }
.headline { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.22; font-weight: 400; margin: 0 0 .5rem; color: var(--md-on-surface); }
.title { font-size: 1rem; line-height: 1.5; font-weight: 500; margin: 0 0 .25rem; letter-spacing: .01em; color: var(--md-on-surface); }
.body-l { font-size: 1.0625rem; line-height: 1.55; color: var(--md-on-surface-variant); margin: 0; }
.body-m { font-size: .9375rem; line-height: 1.5; color: var(--md-on-surface-variant); margin: 0; }
.body-s { font-size: .8125rem; line-height: 1.45; color: var(--md-on-surface-variant); margin: 0; }
.label-l { font-size: .875rem; font-weight: 500; letter-spacing: .01em; margin: .75rem 0 0; color: var(--md-on-surface-variant); }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--md-primary); }

/* ---- Top app bar ---------------------------------------------------------- */
.top-app-bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--md-surface-container-lowest);
  box-shadow: 0 0 0 0 transparent;
}
.top-app-bar.scrolled { box-shadow: var(--elev-1); }
.bar-inner { display: flex; align-items: center; gap: .5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--md-on-surface); font-weight: 500; margin: 0 auto 0 .25rem; }
.brand:hover { text-decoration: none; }
.brand-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: var(--shape-md);
  background: var(--md-primary); color: var(--md-on-primary);
  font-size: 22px;
}
img.brand-icon { width: 36px; height: 36px; border-radius: var(--shape-md); background: none; padding: 0; object-fit: contain; font-size: 0; }
.brand-name { font-size: 1.25rem; letter-spacing: .01em; color: var(--md-primary); font-weight: 700; }
.bar-nav { display: none; gap: .25rem; margin-left: auto; }
.bar-nav a {
  color: var(--md-on-surface-variant);
  padding: .5rem 1rem;
  border-radius: var(--shape-full);
  font-size: .875rem; font-weight: 500;
  white-space: nowrap;
  transition: background var(--motion-duration) var(--motion-standard);
}
.bar-nav a:hover { text-decoration: none; background: var(--md-primary-container); color: var(--md-on-primary-container); }

/* ---- Bottom navigation bar (Android) -------------------------------------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: var(--nav-h);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: var(--md-surface-container-lowest);
  padding: 0 8px env(safe-area-inset-bottom);
  box-shadow: 0 -1px 0 var(--md-outline-variant), var(--elev-2);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--md-on-surface-variant);
  font-size: .75rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; padding-top: 12px;
}
.bottom-nav a:hover { text-decoration: none; }
.nav-pill {
  display: grid; place-items: center;
  width: 64px; height: 32px; border-radius: var(--shape-full);
  transition: background var(--motion-duration) var(--motion-standard);
}
.bottom-nav a:hover .nav-pill { background: var(--md-surface-container-high); }
.bottom-nav a.active { color: var(--md-on-surface); }
.bottom-nav a.active .nav-pill { background: var(--md-primary-container); color: var(--md-on-primary-container); }
.bottom-nav .material-symbols-rounded { font-size: 24px; }
.bottom-nav a:nth-child(1).active .nav-pill { background: var(--tone-blue-c); color: var(--tone-blue-on); }
.bottom-nav a:nth-child(2).active .nav-pill { background: var(--tone-green-c); color: var(--tone-green-on); }
.bottom-nav a:nth-child(3).active .nav-pill { background: var(--tone-orange-c); color: var(--tone-orange-on); }
.bottom-nav a:nth-child(4).active .nav-pill { background: var(--tone-purple-c); color: var(--tone-purple-on); }
.bottom-nav a:nth-child(5).active .nav-pill { background: var(--tone-pink-c); color: var(--tone-pink-on); }

/* ---- Extended FAB --------------------------------------------------------- */
.fab {
  position: fixed; right: 16px; bottom: calc(var(--nav-h) + 16px); z-index: 25;
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 20px 0 16px;
  border-radius: var(--shape-lg);
  background: linear-gradient(135deg, #0B57D0 0%, #3D7BF0 100%);
  color: #FFFFFF;
  box-shadow: var(--elev-3);
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none;
}
.fab:hover { text-decoration: none; box-shadow: var(--elev-3); filter: brightness(1.06); }
.fab .material-symbols-rounded { font-size: 24px; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 24px;
  border-radius: var(--shape-full);
  font: 500 .875rem/1 var(--font);
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--motion-duration) var(--motion-standard), box-shadow var(--motion-duration) var(--motion-standard);
}
.btn:hover { text-decoration: none; }
.btn .material-symbols-rounded { font-size: 18px; }
.btn-filled { background: var(--md-primary); color: var(--md-on-primary); box-shadow: var(--elev-1); }
.btn-filled:hover { box-shadow: var(--elev-2); background: #0A4CB8; }
.btn-tonal { background: var(--tone-yellow-c); color: var(--tone-yellow-on); }
.btn-tonal:hover { background: #FFE47F; }
.btn-outlined { background: #FFFFFF; color: var(--md-primary); border-color: #9DB8E8; }
.btn-outlined:hover { background: var(--md-primary-container); }
.btn-sm { min-height: 36px; padding: 0 16px; }
.btn-lg { min-height: 48px; padding: 0 24px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* ---- Chips ---------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border-radius: var(--shape-sm);
  font-size: .8125rem; font-weight: 500;
  color: var(--md-on-surface);
  background: #FFFFFF;
  border: 1px solid var(--md-outline-variant);
}
.chip:nth-child(1) { background: var(--tone-green-c); border-color: transparent; color: var(--tone-green-on); }
.chip:nth-child(2) { background: var(--tone-blue-c); border-color: transparent; color: var(--tone-blue-on); }
.chip:nth-child(3) { background: var(--tone-orange-c); border-color: transparent; color: var(--tone-orange-on); }
.chip:nth-child(4) { background: var(--tone-pink-c); border-color: transparent; color: var(--tone-pink-on); }
.chip .material-symbols-rounded { font-size: 18px; color: inherit; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  padding: 24px 0 40px;
  background:
    radial-gradient(900px 400px at 85% -10%, #C4EED0 0%, transparent 60%),
    radial-gradient(700px 380px at -5% 0%, #D3E3FD 0%, transparent 60%),
    linear-gradient(180deg, #FFF3F7 0%, #FBFCFF 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero .lead { font-size: 1.0625rem; color: var(--md-on-surface-variant); margin: 0; max-width: 56ch; }
.hero-media img {
  border-radius: var(--shape-xl);
  background: #FFFFFF;
  box-shadow: var(--elev-2);
}
.hero-text .display { margin-top: 12px; }
.hero-text .eyebrow {
  margin-top: 8px; padding: 4px 12px;
  background: var(--tone-yellow-c); color: var(--tone-yellow-on);
  border-radius: var(--shape-full); letter-spacing: .06em;
}

/* ---- Sections ------------------------------------------------------------- */
.section { padding: 48px 0; }
.section-tinted { background: var(--md-surface-container-low); }
.section-head { margin-bottom: 24px; max-width: 60ch; }
.section-head .body-l { margin-top: 8px; }

/* ---- Feature list (barevné ikony v seznamu) ------------------------------- */
.card-grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  background: #FFFFFF;
  border-radius: var(--shape-xl);
  overflow: hidden;
  box-shadow: var(--elev-1);
}
.card {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--md-outline-variant);
  transition: background var(--motion-duration) var(--motion-standard);
}
.card:hover { background: var(--md-surface-container-low); }
.card:last-child { border-bottom: none; }
.card .title, .card .body-m { grid-column: 2; }
.icon-badge {
  grid-row: 1 / span 2; grid-column: 1;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin: 0;
  border-radius: var(--shape-md);
  font-size: 24px;
}
.card .title { padding-top: 10px; margin: 0; }
.card .body-m { margin-top: 2px; padding-bottom: 10px; }

/* barevné tóny ikon podle pořadí karty */
.card-grid .card:nth-child(8n+1) .icon-badge { background: var(--tone-blue-c); color: var(--tone-blue-on); }
.card-grid .card:nth-child(8n+2) .icon-badge { background: var(--tone-purple-c); color: var(--tone-purple-on); }
.card-grid .card:nth-child(8n+3) .icon-badge { background: var(--tone-yellow-c); color: var(--tone-yellow-on); }
.card-grid .card:nth-child(8n+4) .icon-badge { background: var(--tone-green-c); color: var(--tone-green-on); }
.card-grid .card:nth-child(8n+5) .icon-badge { background: var(--tone-orange-c); color: var(--tone-orange-on); }
.card-grid .card:nth-child(8n+6) .icon-badge { background: var(--tone-pink-c); color: var(--tone-pink-on); }
.card-grid .card:nth-child(8n+7) .icon-badge { background: var(--tone-teal-c); color: var(--tone-teal-on); }
.card-grid .card:nth-child(8n+8) .icon-badge { background: var(--md-primary-container); color: var(--md-on-primary-container); }

/* ---- Steps ---------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.step {
  background: #FFFFFF;
  border-radius: var(--shape-xl);
  padding: 20px 24px;
  box-shadow: var(--elev-1);
  border-top: 6px solid var(--md-primary);
}
.steps .step:nth-child(1) { border-top-color: #0B57D0; }
.steps .step:nth-child(2) { border-top-color: #1E8E3E; }
.steps .step:nth-child(3) { border-top-color: #E37400; }
.steps .step:nth-child(4) { border-top-color: #A142F4; }
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: var(--shape-full);
  color: #FFFFFF; font-weight: 700; font-size: 1.0625rem;
}
.steps .step:nth-child(1) .step-num { background: #0B57D0; }
.steps .step:nth-child(2) .step-num { background: #1E8E3E; }
.steps .step:nth-child(3) .step-num { background: #E37400; }
.steps .step:nth-child(4) .step-num { background: #A142F4; }

/* ---- Google Play blok ----------------------------------------------------- */
.card-filled.gplay {
  margin-top: 24px;
  display: grid; gap: 20px; align-items: center; justify-items: start;
  background: var(--tone-green-c);
  border-radius: var(--shape-xl);
}
.gplay .title, .gplay .body-m { color: var(--tone-green-on); }
.gplay .btn-filled { background: #0A3D1C; color: #FFFFFF; }
.gplay .btn-filled:hover { background: #0F5A2A; }
.gplay-qr { margin: 0; justify-self: center; background: #FFFFFF; padding: 12px; border-radius: var(--shape-lg); }
.gplay-qr img { width: 180px; height: 180px; }
.gplay-qr figcaption { text-align: center; margin-top: 8px; color: var(--tone-green-on); }
@media (min-width: 600px) {
  .gplay { grid-template-columns: 1fr auto; }
}

/* ---- Gallery (carousel na mobilu) ----------------------------------------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px; margin: 0; padding: 0 16px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--md-outline-variant) transparent;
  margin-inline: -16px;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--md-outline-variant); border-radius: 999px; }
.gallery-item { margin: 0; scroll-snap-align: start; }
.gallery-item img { width: 100%; border-radius: var(--shape-xl); background: #FFFFFF; box-shadow: var(--elev-1); }
.gallery-item figcaption { padding: 0 8px; }

/* ---- Split & check lists -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.check-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; color: var(--md-on-surface);
  border-bottom: 1px solid var(--md-outline-variant);
  font-size: .9375rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list .material-symbols-rounded { color: #1E8E3E; font-size: 24px; }
.callout { display: grid; gap: 8px; justify-items: start; }
.callout-icon { font-size: 32px; color: var(--md-primary); }
.callout .btn { margin-top: 8px; }
.card-filled { background: #FFFFFF; border-radius: var(--shape-xl); padding: 24px; box-shadow: var(--elev-1); }
.hw-card { display: grid; gap: 8px; align-content: start; }
.hw-card .title { margin: 4px 0 0; }
.hw-icon { font-size: 28px; color: var(--md-primary); }
#hardware .split > .hw-card:nth-child(1) { background: var(--tone-blue-c); }
#hardware .split > .hw-card:nth-child(2) { background: var(--tone-green-c); }
#hardware .split > .hw-card:nth-child(3) { background: var(--tone-orange-c); }
#hardware .split > .hw-card:nth-child(1) .title, #hardware .split > .hw-card:nth-child(1) .body-m, #hardware .split > .hw-card:nth-child(1) .hw-icon { color: var(--tone-blue-on); }
#hardware .split > .hw-card:nth-child(2) .title, #hardware .split > .hw-card:nth-child(2) .body-m, #hardware .split > .hw-card:nth-child(2) .hw-icon { color: var(--tone-green-on); }
#hardware .split > .hw-card:nth-child(3) .title, #hardware .split > .hw-card:nth-child(3) .body-m, #hardware .split > .hw-card:nth-child(3) .hw-icon { color: var(--tone-orange-on); }
#hardware .split > .hw-card { margin: 0; }
#hardware .split { grid-template-columns: 1fr; }

/* EET a upgrade – barevné karty */
#eet .callout { background: var(--tone-teal-c); color: var(--tone-teal-on); }
#eet .callout .title, #eet .callout .body-m { color: var(--tone-teal-on); }
#eet .callout-icon { color: var(--tone-teal-on); }
#upgrade .card-filled { background: var(--tone-pink-c); }
#upgrade .headline, #upgrade .body-l { color: var(--tone-pink-on); }
#upgrade .callout-icon { color: var(--tone-pink-on); }
#upgrade .btn-outlined { background: #FFFFFF; color: var(--tone-pink-on); border-color: transparent; }

/* ---- Price table ---------------------------------------------------------- */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--shape-xl); overflow: hidden; background: #FFFFFF; margin-top: 16px; box-shadow: var(--elev-1); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--md-outline-variant); font-size: .9375rem; }
.price-table th { background: var(--tone-blue-c); font-weight: 500; font-size: .8125rem; color: var(--tone-blue-on); }
.price-table td { font-weight: 500; color: var(--md-on-surface); }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; }
.price-table tbody tr:nth-child(1) td:first-child { border-left: 6px solid #0B57D0; }
.price-table tbody tr:nth-child(2) td:first-child { border-left: 6px solid #1E8E3E; }
.price-table tbody tr:nth-child(3) td:first-child { border-left: 6px solid #E37400; }
.price-table tr:last-child td { border-bottom: none; }
.price-note { margin-top: 12px; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq {
  display: grid; gap: 0; background: #FFFFFF;
  border-radius: var(--shape-xl); overflow: hidden;
  box-shadow: var(--elev-1);
}
.faq-item { border-bottom: 1px solid var(--md-outline-variant); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px;
  margin: 0;
  font-size: .9375rem; font-weight: 500;
  color: var(--md-on-surface);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--md-surface-container-low); }
.faq-item summary::after {
  content: "expand_more";
  font-family: "Material Symbols Rounded";
  font-size: 24px; color: var(--md-primary);
  transition: transform var(--motion-duration) var(--motion-standard);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { padding: 0 20px 16px; margin: 0; }

/* ---- Contact -------------------------------------------------------------- */
#kontakt .card-filled {
  background: linear-gradient(135deg, #D3E3FD 0%, #C4EED0 100%);
}
#kontakt .headline, #kontakt .body-l { color: var(--md-on-surface); }
.contact { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
.contact-actions { display: grid; gap: 8px; justify-items: stretch; }
.contact-actions .btn { width: 100%; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: #1F3A68; color: #E9EEF9; padding: 32px 0; margin-top: 16px; }
.site-footer .title { color: #FFFFFF; }
.site-footer .body-s { color: #C9D6EE; }
.footer-inner { display: grid; gap: 12px 24px; grid-template-columns: 1fr; align-items: start; }
.footer-inner > p:last-child { margin: 0; padding-top: 16px; border-top: 1px solid #3A5588; }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a { color: #FFFFFF; font-size: .8125rem; }

/* ---- Floating action (FAB) – na mobilu ----------------------------------- */

/* ---- Tablet & desktop ----------------------------------------------------- */
@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); grid-auto-flow: row; grid-auto-columns: auto;
    overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0;
  }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .contact-actions .btn-filled { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bottom-nav, .fab { display: none; }
  .bar-nav { display: flex; }
  .brand { margin: 0; }
  .top-app-bar { box-shadow: var(--elev-1); }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }

  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--md-outline-variant); }
  .card { background: #FFFFFF; border-bottom: none; }
  .card:nth-last-child(-n+2) { border-bottom: none; }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }

  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  #hardware .split { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1.4fr 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions .btn-filled { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-inner > p:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
