:root {
  --navy:#070f34;
  --navy2:#10194b;
  --orange:#ef4b22;
  --blue:#197ca4;
  --cyan:#eaf8ff;
  --ink:#121733;
  --muted:#60657b;
  --line:#e9edf5;
  --bg:#f7f9fc;
  --white:#fff;
  --shadow:0 20px 55px rgba(9,18,52,.12);
  --radius:22px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.55
}

img {
  max-width:100%;
  display:block
}

a {
  color:inherit;
  text-decoration:none
}

.container {
  width:min(1160px,calc(100% - 32px));
  margin:auto
}

.topbar {
  background:#070f34;
  color:#fff;
  font-size:14px
}

.topbar .container {
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:space-between;
  padding:9px 0;
  flex-wrap:wrap
}

.topbar a,.topbar span {
  opacity:.95
}

.top-left,.top-right {
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap
}

.icon {
  color:var(--orange);
  font-weight:800
}

.nav {
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.93);
  backdrop-filter:blur(16px);
  box-shadow:0 8px 28px rgba(9,18,52,.07)
}

.nav-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0
}

.logo img {
  height:54px;
  width:auto
}

.menu {
  display:flex;
  gap:28px;
  align-items:center;
  font-weight:800;
  font-size:14px;
  letter-spacing:.02em;
  text-transform:uppercase
}

.menu a {
  padding:12px 0;
  border-bottom:2px solid transparent
}

.menu a:hover,.menu a.active {
  color:var(--orange);
  border-color:var(--orange)
}

.hamb {
  display:none;
  background:var(--navy);
  color:white;
  border:0;
  border-radius:12px;
  padding:10px 14px;
  font-weight:900
}

.hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#fff 0%,#fff 36%,rgba(255,255,255,.78) 49%,rgba(255,255,255,.08) 100%),url('../img/hero.jpg') center right/cover no-repeat
}

.hero .container {
  min-height:625px;
  display:grid;
  grid-template-columns:minmax(0,560px) 1fr;
  align-items:center;
  padding:72px 0
}

.eyebrow {
  color:var(--orange);
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px
}

.hero h1,.page-hero h1 {
  font-size:clamp(42px,6vw,70px);
  line-height:.98;
  margin:12px 0;
  color:var(--navy)
}

.lead {
  font-size:clamp(18px,2.4vw,24px);
  color:#252b4b;
  font-weight:700;
  margin:0 0 22px
}

.orange {
  color:var(--orange)
}

.checks {
  display:grid;
  gap:8px;
  margin:24px 0
}

.checks div {
  display:flex;
  gap:10px;
  align-items:flex-start
}

.checks span {
  color:var(--orange);
  font-weight:900
}

.btns {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:28px 0
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 22px;
  border-radius:10px;
  font-weight:900;
  border:2px solid var(--navy);
  background:var(--navy);
  color:white;
  box-shadow:0 12px 24px rgba(7,15,52,.18)
}

.btn:hover {
  transform:translateY(-1px)
}

.btn.secondary {
  background:white;
  color:var(--navy)
}

.btn.orangebtn {
  background:var(--orange);
  border-color:var(--orange)
}

.trust-row {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:28px
}

.trust-item {
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:14px
}

.trust-item b {
  display:block;
  color:var(--navy)
}

.quote-card {
  position:absolute;
  right:42px;
  bottom:70px;
  background:linear-gradient(135deg,#0a5780,#0c86aa);
  color:white;
  border-radius:14px;
  padding:24px;
  width:260px;
  box-shadow:var(--shadow);
  font-weight:800
}

.quote-card small {
  display:block;
  margin-top:6px;
  font-weight:600;
  opacity:.9
}

.section {
  padding:68px 0
}

.section.alt {
  background:var(--bg)
}

.section-title {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px
}

.section-title h2 {
  font-size:clamp(28px,4vw,42px);
  line-height:1.05;
  color:var(--navy);
  margin:0
}

.section-title p {
  color:var(--muted);
  max-width:620px;
  margin:8px 0 0
}

.brands {
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:14px
}

.brand {
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px 10px;
  text-align:center;
  box-shadow:0 12px 28px rgba(9,18,52,.06);
  font-weight:900
}

.brand .symbol {
  height:54px;
  display:grid;
  place-items:center;
  color:var(--navy)
}

.brand-logo {
  max-width:124px;
  max-height:44px;
  margin:auto;
  object-fit:contain
}

.brand small {
  display:block;
  color:var(--muted);
  font-weight:700
}

.cards {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px
}

.card {
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 35px rgba(9,18,52,.08);
  transition:.2s
}

.card:hover {
  transform:translateY(-3px);
  box-shadow:var(--shadow)
}

.card img {
  height:150px;
  width:100%;
  object-fit:cover
}

.card-body {
  padding:17px
}

.card h3 {
  margin:0 0 8px;
  color:var(--navy);
  font-size:19px
}

.card p {
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px
}

.more {
  font-size:13px;
  text-transform:uppercase;
  color:var(--orange);
  font-weight:900
}

.two-col {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:48px;
  align-items:center
}

.feature-list {
  display:grid;
  gap:18px
}

.feature {
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px
}

.feature i,.step-num {
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#edf7fb;
  color:var(--orange);
  font-style:normal;
  font-weight:900
}

.feature b {
  color:var(--navy)
}

.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px
}

.step {
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
  box-shadow:0 14px 35px rgba(9,18,52,.06)
}

.step-num {
  background:var(--orange);
  color:white;
  margin-bottom:16px
}

.gallery {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:18px
}

.gallery figure {
  margin:0;
  border-radius:20px;
  overflow:hidden;
  background:white;
  box-shadow:var(--shadow);
  position:relative
}

.gallery img {
  width:100%;
  height:260px;
  object-fit:cover
}

.gallery figure:first-child {
  grid-row:span 2
}

.gallery figure:first-child img {
  height:538px
}

.tag {
  position:absolute;
  left:14px;
  top:14px;
  background:var(--navy);
  color:white;
  border-radius:99px;
  padding:6px 10px;
  font-weight:900;
  font-size:12px
}

.caption {
  padding:14px 16px;
  font-weight:900;
  color:var(--navy)
}

.reviews-contact {
  display:grid;
  grid-template-columns:1fr 1.65fr;
  gap:20px
}

.review,.contact-panel {
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  box-shadow:0 14px 35px rgba(9,18,52,.08)
}

.review .google {
  font-size:40px;
  font-weight:900;
  letter-spacing:-.04em
}

.stars {
  color:#ffb400;
  font-size:24px
}

.contact-panel {
  background:linear-gradient(135deg,var(--navy),#14205e);
  color:white
}

.contact-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:center
}

.map {
  height:220px;
  border-radius:16px;
  background:#e8edf4;
  display:grid;
  place-items:center;
  color:#283052;
  font-weight:900;
  overflow:hidden
}

.map img {
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.75)
}

.footer {
  background:#050a22;
  color:white;
  padding:24px 0;
  font-size:14px
}

.footer .container {
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap
}

.page-hero {
  background:linear-gradient(135deg,#f7fbff,#fff);
  padding:64px 0 30px;
  border-bottom:1px solid var(--line)
}

.breadcrumbs {
  font-size:14px;
  color:var(--muted);
  margin-bottom:16px
}

.content {
  padding:54px 0
}

.price-table {
  width:100%;
  border-collapse:collapse;
  background:white;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow)
}

.price-table th,.price-table td {
  padding:16px;
  border-bottom:1px solid var(--line);
  text-align:left
}

.price-table th {
  background:var(--navy);
  color:white
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.notice {
  background:#fff8f5;
  border:1px solid #ffd8cc;
  padding:18px;
  border-radius:16px;
  color:#5a2a1d
}

.mobile-cta {
  display:none;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:white;
  z-index:40;
  padding:10px 12px;
  box-shadow:0 -10px 30px rgba(0,0,0,.12);
  gap:10px
}

.mobile-cta a {
  flex:1;
  padding:13px 8px;
  border-radius:10px;
  text-align:center;
  font-weight:900
}

.mobile-cta a:first-child {
  background:var(--orange);
  color:white
}

.mobile-cta a:last-child {
  background:var(--navy);
  color:white
}

@media (max-width:980px) {
  .topbar .container {
  justify-content:center
}

.menu {
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:86px;
  background:white;
  padding:18px 24px;
  box-shadow:var(--shadow);
  flex-direction:column;
  align-items:flex-start
}

.menu.open {
  display:flex
}

.hamb {
  display:block
}

.hero {
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.82)),url('../img/hero.jpg') center/cover no-repeat
}

.hero .container {
  grid-template-columns:1fr;
  min-height:auto;
  padding:54px 0
}

.quote-card {
  position:static;
  width:auto;
  margin:20px 0
}

.trust-row,.brands,.cards,.steps,.service-grid,.reviews-contact,.contact-grid,.two-col {
  grid-template-columns:1fr 1fr
}

.cards {
  gap:14px
}

.gallery {
  grid-template-columns:1fr 1fr
}

.gallery figure:first-child {
  grid-row:auto
}

.gallery figure:first-child img,.gallery img {
  height:260px
}

}

@media (max-width:640px) {
  body {
  padding-bottom:74px
}

.container {
  width:min(100% - 24px,1160px)
}

.top-left,.top-right {
  gap:8px;
  justify-content:center
}

.topbar {
  font-size:12px
}

.logo img {
  height:42px
}

.hero h1,.page-hero h1 {
  font-size:40px
}

.lead {
  font-size:18px
}

.trust-row,.brands,.cards,.steps,.service-grid,.reviews-contact,.contact-grid,.two-col,.gallery {
  grid-template-columns:1fr
}

.section {
  padding:46px 0
}

.gallery figure:first-child img,.gallery img {
  height:230px
}

.mobile-cta {
  display:flex
}

.btns .btn {
  width:100%
}

.section-title {
  display:block
}

.price-table {
  font-size:14px
}

.price-table th,.price-table td {
  padding:12px 10px
}

}

/* Czytelne logotypy marek */
.brand-logo  {

  display: block;

  width: 100%;

  height: 44px;

  object-fit: contain;

}

.review-link  {

  display: inline-block;

}

.hours-note  {

  color: var(--muted);

  font-size: 14px;

}

.price-note  {

  margin-top: 14px;

  color: var(--muted);

  font-size: 14px;

}


/* ===== Brand logos from CDN =====
   Logotypy marek są ładowane z CDN, dzięki czemu pozostają ostre (SVG)
   i nie trzeba trzymać chronionych plików logo w paczce strony. */
.brand-logo {
  display: block;
  width: 118px;
  height: 42px;
  object-fit: contain;
  margin: 0 auto 8px;
  filter: none;
}

.brand .symbol {
  width: 132px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand small {
  display: block;
  text-align: center;
}

/* Godziny otwarcia: sobota usunięta, bo serwis nie pracuje w soboty. */
.topbar .hours-saturday {
  display: none !important;
}


/* ===== Poprawki końcowe: logo, marki, opinie Google ===== */
.logo img {
  height: 58px;
  width: auto;
  background: transparent;
}

.brands {
  grid-template-columns: repeat(auto-fit, minmax(132px, 158px));
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

.brand {
  display: flex;
  min-height: 144px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand .symbol {
  width: 132px;
  height: 58px;
  margin: 0 auto 8px;
}

.brand-logo {
  width: 118px;
  height: 42px;
  object-fit: contain;
  margin: 0 auto;
}

.other-symbol {
  width: 54px !important;
  height: 54px !important;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #f6f8fc;
  color: var(--navy);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  display: grid !important;
  place-items: center;
}

.google {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.google-logo {
  display: inline-block;
  width: 128px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.review-summary {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: stretch;
}

.google-rating-box,
.review-snippets blockquote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(9,18,52,.06);
}

.google-rating-box {
  padding: 22px;
}

.google-rating-box b {
  color: var(--navy);
  font-size: 36px;
}

.google-rating-box small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.review-snippets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-snippets.single {
  grid-template-columns: 1fr;
}

.review-snippets blockquote {
  margin: 0;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 760px) {
  .review-summary,
  .review-snippets {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 44px;
  }
}


/* ===== FINAL V3: wyśrodkowanie marek, czytelny cennik pod modele ===== */
.brands {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: stretch;
  gap: 16px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.brand {
  flex: 0 1 150px;
  min-width: 138px;
}

.brand .symbol {
  margin-left: auto;
  margin-right: auto;
}

.brand-logo {
  width: 122px;
  height: 42px;
  object-fit: contain;
}

.brand-other .symbol,
.other-symbol {
  margin-left: auto !important;
  margin-right: auto !important;
}

.price-table .category-row td {
  background: #f3f6fb;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.price-table tbody tr:not(.category-row) td:first-child {
  font-weight: 800;
  color: var(--navy);
}

@media (max-width: 760px) {
  .brands {
    max-width: 520px;
    gap: 12px;
  }

  .brand {
    flex-basis: calc(50% - 12px);
    min-width: 0;
  }

  .brand-logo {
    width: 108px;
  }
}


.review-snippets cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}


/* ===== FINAL V5: animowane tło hero, monochromatyczne logotypy, notatki dla właściciela ===== */
.hero {
  background: linear-gradient(90deg,#fff 0%,#fff 36%,rgba(255,255,255,.82) 52%,rgba(255,255,255,.18) 100%);
  isolation: isolate;
}

.hero-bg-layer {
  position: absolute;
  inset: -14px;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  filter: blur(4px) saturate(1.05);
  transform: scale(1.04);
  transition: opacity 1400ms ease-in-out;
  z-index: -2;
}

.hero-bg-layer.is-active {
  opacity: .72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#fff 0%,#fff 34%,rgba(255,255,255,.84) 52%,rgba(255,255,255,.12) 100%);
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer {
    transition: none;
  }
}

.brand-logo {
  filter: grayscale(100%) brightness(0) !important;
  opacity: .86;
}

.brand:hover .brand-logo {
  opacity: 1;
  filter: grayscale(100%) brightness(0) !important;
}

.google-profile-link,
.rating-link,
.google-rating-link {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.google-rating-link {
  width: 100%;
}

.google-rating-box-inner {
  display: grid;
  gap: 8px;
}

.google-rating-link:hover,
.google-profile-link:hover,
.rating-link:hover {
  transform: translateY(-1px);
}

.dev-note {
  background: #fff3cd;
  border: 2px solid #ff9800;
  border-left-width: 8px;
  color: #442b00;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
  font-weight: 700;
}

.gallery figure img[src$="witryna.jpg"] {
  object-position: center center;
}


/* ===== FINAL V6: dopracowanie galerii, hero, opinii i folii hydrożelowych ===== */
.hero-bg-layer {
  inset: -8px;
  filter: blur(1.4px) saturate(1.08) contrast(1.02);
  transform: scale(1.025);
}

.hero-bg-layer.is-active {
  opacity: .66;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.review .google {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rating-link > div,
.google-rating-box-inner > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.stars {
  display: inline-block;
  color: #ffbd2e;
  letter-spacing: 1px;
  line-height: 1;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery figure:first-child {
  grid-row: auto;
}

.gallery figure:first-child img,
.gallery img {
  height: 260px;
}

.gallery-lightbox {
  display: block;
  cursor: zoom-in;
}

.gallery-lightbox img {
  transition: transform .25s ease, filter .25s ease;
}

.gallery-lightbox:hover img {
  transform: scale(1.025);
  filter: contrast(1.03) saturate(1.05);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 8, 24, .86);
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-overlay img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
}

.image-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.image-card img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}

.brand-logo {
  filter: grayscale(100%) brightness(0) !important;
  opacity: .88;
}

.brand:hover .brand-logo {
  filter: grayscale(100%) brightness(0) !important;
  opacity: 1;
}

@media (max-width: 760px) {
  .gallery img,
  .gallery figure:first-child img {
    height: 230px;
  }
}

/* ===== FINAL V7: dopracowanie po V6 ===== */
.service-grid .card.is-clickable {
  cursor: pointer;
}

.service-grid .card.is-clickable:focus-visible {
  outline: 3px solid rgba(255, 74, 31, .55);
  outline-offset: 4px;
}

/* ===== FINAL V8: poprawki po ostatnich uwagach ===== */
.hero {
  background: linear-gradient(90deg,#fff 0%,#fff 36%,rgba(255,255,255,.82) 52%,rgba(255,255,255,.18) 100%);
}
.hero-bg-layer {
  opacity: 0;
  filter: blur(.8px) saturate(1.04) contrast(1.02);
  transform: scale(1.018);
}
.hero-bg-layer.is-active { opacity: .78; }
.hero::after {
  background: linear-gradient(90deg,#fff 0%,#fff 34%,rgba(255,255,255,.82) 52%,rgba(255,255,255,.10) 100%);
}
.quote-card { right: max(42px, calc((100vw - 1160px) / 2)); }
.review-rating-row,
.google-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.review-stars-line { display: block; margin-top: 4px; }
.review-snippets blockquote .stars {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 1px;
}
.contact-panel .map img {
  filter: saturate(.98) contrast(1.03);
  object-position: center center;
}
@media (max-width: 760px) {
  .quote-card { position: static; width: auto; margin: 20px 0; }
}


/* ===== FINAL V9: kompaktowe opinie, lżejsze menu, poprawki layoutu ===== */
.menu { font-weight: 500; letter-spacing: .035em; }
.menu a { font-weight: 500; }

.hero { position: relative; isolation: isolate; }
.hero .container { position: relative; z-index: 2; }
.hero-bg-layer { z-index: 0; opacity: 0; }
.hero-bg-layer.is-active { opacity: .72; }
.hero::after { z-index: 1; }

.quote-card {
  right: auto !important;
  justify-self: end;
  max-width: 330px;
}

.reviews-compact-section { padding-top: 54px; padding-bottom: 54px; }
.compact-title { margin-bottom: 18px; }
.reviews-compact {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.google-compact-box {
  background: linear-gradient(135deg, var(--navy), #14205e);
  color: white;
  border-radius: 20px;
  padding: 20px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 14px 35px rgba(9,18,52,.14);
  min-height: 150px;
}
.google-compact-box .google-logo {
  width: 82px;
  height: auto;
  background: white;
  border-radius: 999px;
  padding: 5px 10px;
}
.google-compact-box strong { font-size: 32px; line-height: 1; }
.google-compact-box small { opacity: .84; font-weight: 700; }
.google-compact-box .stars { font-size: 18px; letter-spacing: 1px; }
.reviews-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 4px 12px;
  mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
}
.reviews-scroll::-webkit-scrollbar { height: 7px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: rgba(15,23,42,.22); border-radius: 999px; }
.review-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(9,18,52,.07);
}
.review-card .stars { display: block; font-size: 17px; margin-bottom: 8px; }
.review-card p {
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.45;
  font-size: 14px;
}
.review-card cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.google-rating-box-inner { align-items: center; text-align: center; justify-items: center; }
.google-rating-box-inner > div { justify-content: center; }
.google-rating-box .google-logo { max-width: 92px; }
.google-reviews-contact .review-summary { align-items: stretch; }

.about-flow { display: grid; gap: 28px; }
.about-intro { max-width: 900px; }
.about-main-image img {
  width: 100%;
  height: min(480px, 50vw);
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
}
.about-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.contact-panel .map img,
.contact-hero .map img { object-position: center center; }

@media (max-width: 860px) {
  .reviews-compact { grid-template-columns: 1fr; }
  .google-compact-box { min-height: 0; }
  .reviews-scroll { mask-image: none; }
  .about-features { grid-template-columns: 1fr; }
  .about-main-image img { height: 320px; }
}


/* ===== FINAL V10 FIX2: kadrowanie hero, dłuższe opinie i kontakt obok opinii ===== */
.hero-bg-layer { background-repeat: no-repeat; }
.reviews-and-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}
.reviews-and-contact .reviews-compact { min-width: 0; }
.home-contact-panel {
  background: linear-gradient(135deg, var(--navy), #14205e);
  color: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 35px rgba(9,18,52,.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
}
.home-contact-panel h3 { margin: 0 0 8px; color: #fff; font-size: 22px; }
.home-contact-panel p { margin: 0 0 14px; color: rgba(255,255,255,.84); line-height: 1.45; }
.home-contact-links { display: grid; gap: 6px; margin-bottom: 14px; }
.home-contact-links a { color: #fff; text-decoration: none; font-weight: 800; overflow-wrap: anywhere; }
.home-contact-panel .btn.secondary.light {
  border-color: rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.08);
  justify-content: center;
}
.review-card { flex-basis: 315px; min-height: 174px; }
.review-card p { font-size: 13.5px; line-height: 1.42; }
@media (max-width: 980px) {
  .reviews-and-contact { grid-template-columns: 1fr; }
  .home-contact-panel { min-height: auto; }
}

/* ===== FINAL V11: opinie z pionowym przewijaniem + kontakt ze zdjęciem ===== */
.reviews-and-contact {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: stretch;
}
.reviews-and-contact .reviews-compact {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.reviews-scroll {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 430px;
  scroll-snap-type: y proximity;
  padding: 2px 10px 28px 4px;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 42px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 42px), transparent);
}
.reviews-scroll::-webkit-scrollbar { width: 7px; height: auto; }
.reviews-scroll::-webkit-scrollbar-thumb { background: rgba(15,23,42,.25); border-radius: 999px; }
.review-card {
  flex: 0 0 auto !important;
  width: auto;
  min-height: 0;
  scroll-snap-align: start;
}
.home-contact-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(9,18,52,.12) 0%, rgba(9,18,52,.50) 44%, rgba(9,18,52,.92) 100%),
    url('../img/home_contact_workshop.jpg') center/cover no-repeat;
}
.home-contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 38% 30%, rgba(255,255,255,.10), transparent 36%);
  pointer-events: none;
}
.home-contact-panel > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .reviews-and-contact { grid-template-columns: 1fr; }
  .reviews-and-contact .reviews-compact { grid-template-columns: 1fr; }
  .reviews-scroll {
    max-height: 520px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
  }
  .home-contact-panel { min-height: 330px; }
}


/* ===== FINAL V12 FULL: treści, opinie i kontakt ===== */
.hero .checks div:nth-child(2) {
  font-weight: 850;
  color: var(--navy);
}
.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.google-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.google-side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(9,18,52,.07);
}
.google-side-link:hover { transform: translateY(-1px); }
.google-rating-box-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
}
.google-rating-box-inner > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}
.google-rating-box-inner small {
  margin-top: 0 !important;
}
.google-rating-box-inner .google-logo {
  margin-bottom: 2px !important;
}
.brand-note {
  margin-top: 14px;
  max-width: 760px;
}
@media (max-width: 760px) {
  .feature-list { grid-template-columns: 1fr; }
  .reviews-and-contact .reviews-compact { grid-template-columns: 1fr; }
}

/* ===== V13: SEO pages, clickable cards, cookie banner ===== */
.cards .card,
.service-grid .card {
  display:flex;
  flex-direction:column;
}
.cards .card.is-clickable,
.service-grid .card.is-clickable {
  cursor:pointer;
}
.cards .card.is-clickable:focus-visible,
.service-grid .card.is-clickable:focus-visible {
  outline:3px solid rgba(255,74,31,.55);
  outline-offset:4px;
}
.card-body {
  flex:1;
  display:flex;
  flex-direction:column;
}
.card-body .more {
  margin-top:auto;
  align-self:flex-start;
  color:var(--orange);
}
.faq-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.faq-item {
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  box-shadow:0 14px 35px rgba(9,18,52,.06);
}
.faq-item h3 { margin:0 0 8px; color:var(--navy); font-size:18px; }
.faq-item p { margin:0; color:var(--muted); }
.seo-links { margin-top:28px; display:flex; gap:12px; flex-wrap:wrap; }
.seo-links a { color:var(--orange); font-weight:900; }
.map iframe { width:100%; height:100%; border:0; }
.cookie-banner {
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:9999;
  background:#050a22;
  color:white;
  border-radius:18px;
  box-shadow:0 20px 55px rgba(9,18,52,.25);
  padding:18px;
  display:none;
}
.cookie-banner.is-visible { display:block; }
.cookie-banner__inner { max-width:1160px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.cookie-banner p { margin:0; color:rgba(255,255,255,.9); }
.cookie-banner a { color:#fff; text-decoration:underline; font-weight:800; }
.cookie-banner button { border:0; background:var(--orange); color:white; border-radius:10px; padding:12px 18px; font-weight:900; cursor:pointer; white-space:nowrap; }
.privacy-content h2 { color:var(--navy); margin-top:30px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns:1fr; } .cookie-banner__inner { flex-direction:column; align-items:flex-start; } }

/* ===== V14: mapa, karty usług, lightbox i wyrównanie opinii ===== */
.topbar {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
}
.contact-panel {
  padding: 28px;
}
.contact-panel .contact-grid {
  align-items: stretch;
}
.contact-panel .map {
  height: 340px;
  min-height: calc(100% - 12px);
  align-self: center;
}
.cards {
  justify-content: center;
}
.cards .card {
  height: 100%;
}
.cards .card .more,
.service-grid .card .more {
  color: var(--orange);
}
.gallery .gallery-lightbox {
  display: block;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.gallery .gallery-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.gallery .gallery-lightbox:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
}
.reviews-and-contact,
.reviews-and-contact .reviews-compact,
.reviews-and-contact .google-side,
.reviews-and-contact .reviews-scroll,
.home-contact-panel {
  min-height: 430px;
}
.google-side {
  height: 100%;
}
.google-compact-box {
  flex: 1;
  min-height: 0;
}
.google-side-link {
  min-height: 58px;
}
@media (max-width: 980px) {
  .reviews-and-contact,
  .reviews-and-contact .reviews-compact,
  .reviews-and-contact .google-side,
  .reviews-and-contact .reviews-scroll,
  .home-contact-panel {
    min-height: auto;
  }
  .google-compact-box { min-height: 190px; }
}
@media (max-width: 760px) {
  .contact-panel .map {
    height: 300px;
    min-height: 300px;
  }
}


/* ===== V15: poprawki miniatur, centrowania usług, mapy i kontaktu po usłudze ===== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.cards .card {
  flex: 0 1 210px;
  max-width: 230px;
}
@media (max-width: 760px) {
  .cards .card { flex: 1 1 100%; max-width: none; }
}
.contact-panel .map {
  height: 390px;
  min-height: calc(100% - 2px);
}
@media (max-width: 760px) {
  .contact-panel .map { height: 340px; min-height: 340px; }
}
.gallery .gallery-lightbox {
  display: block;
  height: auto;
  border-radius: inherit;
  overflow: hidden;
}
.gallery .gallery-lightbox img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.gallery figure:first-child .gallery-lightbox img {
  height: 538px;
}
.gallery figure:first-child .gallery-lightbox {
  height: auto;
}
@media (max-width: 760px) {
  .gallery .gallery-lightbox img,
  .gallery figure:first-child .gallery-lightbox img { height: 230px; }
}

/* ===== V16: równe kafelki usług, menu pomiędzy lekkim a bold, małe miniatury zdjęć ===== */
.menu,
.menu a {
  font-weight: 650;
}
.popular-services-section .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 260px));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
}
.popular-services-section .cards .card {
  width: 100%;
  max-width: 260px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.popular-services-section .cards .card > img {
  height: 168px;
  width: 100%;
  object-fit: cover;
  flex: 0 0 auto;
}
.popular-services-section .cards .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.popular-services-section .cards .card-body p {
  flex: 1;
}
.popular-services-section .cards .card-body .more {
  margin-top: auto;
  color: var(--orange);
}
.home-service-gallery.gallery {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.home-service-gallery.gallery figure,
.home-service-gallery.gallery figure:first-child {
  grid-row: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.home-service-gallery.gallery .gallery-lightbox,
.home-service-gallery.gallery figure:first-child .gallery-lightbox {
  display: block;
  height: auto;
  line-height: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.home-service-gallery.gallery img,
.home-service-gallery.gallery figure:first-child img,
.home-service-gallery.gallery .gallery-lightbox img,
.home-service-gallery.gallery figure:first-child .gallery-lightbox img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.home-service-gallery.gallery .caption {
  padding: 12px 14px;
  line-height: 1.35;
}
@media (max-width: 760px) {
  .popular-services-section .cards {
    grid-template-columns: 1fr;
  }
  .popular-services-section .cards .card {
    max-width: none;
    min-height: 0;
  }
  .home-service-gallery.gallery img,
  .home-service-gallery.gallery figure:first-child img,
  .home-service-gallery.gallery .gallery-lightbox img,
  .home-service-gallery.gallery figure:first-child .gallery-lightbox img {
    height: 190px;
  }
}


/* ===== V18: strona tabletów, OCA i zaplecze techniczne ===== */
.equipment-section .section-title { margin-bottom: 22px; }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.equipment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(9,18,52,.08);
  display: flex;
  flex-direction: column;
}
.equipment-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.equipment-card div { padding: 18px 20px 20px; }
.equipment-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.equipment-card p { margin: 0; color: var(--muted); }
.equipment-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-equipment .equipment-card img { height: 210px; }
.service-grid { justify-content:center; }
@media (max-width: 820px) {
  .equipment-grid,
  .equipment-grid.compact { grid-template-columns: 1fr; }
  .equipment-card img,
  .compact-equipment .equipment-card img { height: 220px; }
}

/* ===== V20: podzielona galeria, sprzęt i realne naprawy ===== */
.gallery-split .section-title { margin-bottom: 20px; }
.gallery-heading {
  margin: 34px 0 16px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
}
.gallery-compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.gallery-compact figure,
.gallery-compact figure:first-child {
  grid-row: auto;
}
.gallery-compact .gallery-lightbox,
.gallery-compact figure:first-child .gallery-lightbox {
  line-height: 0;
  border-radius: 20px 20px 0 0;
}
.gallery-compact img,
.gallery-compact figure:first-child img,
.gallery-compact .gallery-lightbox img,
.gallery-compact figure:first-child .gallery-lightbox img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.gallery-compact .caption {
  min-height: 54px;
}
@media (max-width: 760px) {
  .gallery-compact img,
  .gallery-compact figure:first-child img,
  .gallery-compact .gallery-lightbox img,
  .gallery-compact figure:first-child .gallery-lightbox img { height: 205px; }
}


/* V21 social footer + video section */
.footer .container { align-items: center; }
.footer-social {
  flex: 1 1 100%; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding-top: 16px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.12); text-align: center;
}
.footer-social p { margin: 0; color: rgba(255,255,255,.82); font-weight: 500; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; font-weight: 500; opacity: .92; letter-spacing: .01em; transition: .2s ease;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); opacity: 1; transform: translateY(-1px); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.video-section { background: linear-gradient(180deg, #ffffff, #f6f9ff); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 35px rgba(9,18,52,.08); }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #06102c; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { margin: 15px 16px 6px; color: var(--navy); font-size: 18px; }
.video-card p { margin: 0 16px 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } .footer-social { flex-direction: column; } }

/* V26: spójny indeks porad w formie kafelków */
.blog-index-section .blog-cards {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  align-items: stretch;
}
.blog-index-section .blog-cards .card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-index-section .blog-cards .card img {
  height: 172px;
  object-fit: cover;
}
.blog-index-section .blog-cards .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-index-section .blog-cards .card-body p {
  flex: 1;
}
.blog-index-section .blog-cards .more {
  margin-top: auto;
}

/* V28: ciężkie przypadki zalań - galeria ekspercka */
.zalanie-gallery {
  margin-top: 56px;
}
.zalanie-gallery .section-title {
  margin-bottom: 22px;
}
.zalanie-gallery-intro {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 24px;
}
.zalanie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.zalanie-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(9,18,52,.10);
}
.zalanie-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.zalanie-grid figcaption {
  padding: 13px 15px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  background: #fff;
}
.zalanie-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid rgba(249,115,22,.22);
  color: #7c2d12;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .zalanie-grid { grid-template-columns: 1fr; }
  .zalanie-grid img { height: 260px; }
}

/* V29: artykuły poradnikowe - obraz hero i porównania ekranów */
.article-hero-image {
  margin: 6px 0 34px;
}
.article-hero-image img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(9,18,52,.10);
  border: 1px solid var(--line);
}
.image-caption {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.screen-compare-section {
  margin: 48px 0;
}
.screen-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 24px;
}
.screen-compare-grid figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(9,18,52,.10);
}
.screen-compare-grid img {
  width: 100%;
  display: block;
  height: auto;
}
.screen-compare-grid figcaption {
  padding: 14px 16px 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* V33: Porady - kafelki jak na podstronie Usługi */
.blog-index-section .blog-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  justify-content: initial;
}
.blog-index-section .blog-cards .card {
  flex: none !important;
  max-width: none !important;
  width: auto !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-index-section .blog-cards .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-index-section .blog-cards .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-index-section .blog-cards .card-body p {
  flex: 1;
}
.blog-index-section .blog-cards .more {
  margin-top: auto;
}
@media (max-width: 980px) {
  .blog-index-section .blog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .blog-index-section .blog-cards {
    grid-template-columns: 1fr;
  }
}

/* V37: krótkie opisy marek i bardziej czytelne linki w FAQ */
.brand .brand-desc {
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
.faq-item a {
  color:var(--orange);
  font-weight:700;
  text-decoration:none;
}
.faq-item a:hover {
  text-decoration:underline;
}
.brand-detail-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
@media(max-width:800px){
  .brand-detail-grid { grid-template-columns:1fr; }
}

/* V37.1: dopracowanie podstrony Marki - szersze, równe kafelki z opisami */
.brands-page .brands {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.brands-page .brand {
  min-width: 0;
  min-height: 205px;
  padding: 24px 18px 22px;
  border: 1px solid rgba(20, 34, 74, .10);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(9,18,52,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  font-weight: 500;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brands-page .brand:hover {
  transform: translateY(-3px);
  border-color: rgba(255,122,26,.35);
  box-shadow: 0 18px 42px rgba(9,18,52,.12);
}

.brands-page .brand .symbol {
  height: 54px;
  margin-bottom: 10px;
}

.brands-page .brand b {
  display: block;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -.01em;
}

.brands-page .brand small {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--muted);
}

.brands-page .brand .brand-desc {
  margin: 12px 0 0;
  max-width: 220px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--muted);
}

.brands-page .brand-other {
  grid-column: 1 / -1;
  min-height: 145px;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}

.brands-page .brand-other .brand-desc {
  max-width: 430px;
}

@media (max-width: 980px) {
  .brands-page .brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
}

@media (max-width: 560px) {
  .brands-page .brands {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brands-page .brand {
    min-height: 0;
    padding: 22px 18px;
  }

  .brands-page .brand-other {
    max-width: none;
  }
}
