.brands-section { position: relative; padding: 65px 0 45px; color: #f6f5f0; background: #172640; border-top: 1px solid #ffffff24; overflow: hidden; }
.brands-section *, .brands-section *::before, .brands-section *::after { box-sizing: border-box; }
.brands-container { width: min(1420px, calc(100% - 96px)); margin: 0 auto; }
.brands-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 24px; }
.brands-eyebrow { font-size: 14px; letter-spacing: .09em; color: #c3cddd; margin-bottom: 20px; }
.brands-heading h2 { font-size: clamp(40px, 4.3vw, 62px); line-height: 1.04; letter-spacing: -.045em; font-weight: 400; color: #f6f5f0; }
.brands-heading h2 em { font-family: Georgia, serif; font-weight: 400; color: #91ed36; }
.brands-introduction > p { font-size: 17px; line-height: 1.75; color: #c3cddd; }
.brands-controls { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.brands-controls > span { font-size: 15px; color: #b6c5d8; margin-right: auto; padding-right: 20px; }
.brands-arrow { display: grid; place-items: center; width: 48px; height: 48px; background: #223650; border: 1px solid #71839a; border-radius: 3px 13px 3px 3px; color: #f6f5f0; font-size: 25px; cursor: pointer; transition: background .2s, color .2s; }
.brands-arrow[hidden] { display: none; }
.brands-arrow:hover:not(:disabled) { background: #91ed36; border-color: #91ed36; color: #172640; }
.brands-arrow:disabled { opacity: .35; cursor: default; }
.brands-slider { overflow-x: auto; overflow-y: hidden; padding: 30px 14px 35px; margin: 0 -14px; scroll-padding-inline: 14px; scrollbar-width: thin; scrollbar-color: #627995 #1d2e4e; cursor: grab; }
.brands-slider.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.brands-track { display: flex; width: max-content; padding-right: 10px; align-items: stretch; }
.brand-card { --brand-color: #91ed36; position: relative; display: block; flex: 0 0 auto; width: clamp(265px, 23vw, 310px); min-height: 400px; margin-left: -8px; border: 1px solid color-mix(in srgb, var(--brand-color) 50%, #33435a); border-top: 5px solid var(--brand-color); border-radius: 5px 28px 5px 5px; background: radial-gradient(ellipse at 100% 0, color-mix(in srgb, var(--brand-color) 12%, transparent), transparent 65%), #20314a; color: #f6f5f0; transform: perspective(1000px) rotateY(-6deg) rotateZ(-1.5deg); transform-origin: center; overflow: hidden; box-shadow: 0 12px 22px #08142638; transition: transform .3s, box-shadow .3s, border-color .3s; }
.brand-card:first-child { margin-left: 0; }
.brand-card::after { content: ""; position: absolute; bottom: 0; right: 0; width: 80%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand-color)); }
.brand-card:hover, .brand-card:focus-visible { z-index: 2; color: #fff; transform: translateY(-10px) rotateY(0) rotateZ(0); border-color: var(--brand-color); box-shadow: 0 18px 30px #08142666; }
.brand-card-content { display: flex; position: relative; z-index: 1; flex-direction: column; min-height: 400px; height: 100%; padding: 22px 25px; }
.brand-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--brand-color); font-size: 14px; }
.brand-card-top > span:last-child { font-size: 24px; }
.brand-logo { display: flex; align-items: center; justify-content: center; height: 115px; margin: 20px 0 25px; }
.brand-logo img { display: block; max-width: 100%; max-height: 95px; width: auto; height: auto; object-fit: contain; }
.brand-logo img[src$="/warunkiprzylacza.webp"] { filter: url("../img/warunkiprzylacza-dark-filter.svg#light-logo"); }
.brand-info h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.035em; font-weight: 500; color: #f6f5f0; margin: 0; }
.brand-info p { font-size: 16px; line-height: 1.5; color: #c4cfe0; margin-top: 12px; overflow-wrap: anywhere; }
.brand-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid #ffffff26; color: var(--brand-color); font-size: 16px; margin-top: auto; }
.brand-info { padding-bottom: 25px; }
.brand-link > span:last-child { font-size: 24px; transition: transform .2s; }
.brand-card:hover .brand-link > span:last-child { transform: translate(3px, -3px); }
.brand-watermark { position: absolute; right: -8px; bottom: 40px; color: var(--brand-color); opacity: .045; font-size: 170px; line-height: 1; letter-spacing: -.09em; font-weight: 700; pointer-events: none; }
.brands-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding-top: 25px; border-top: 1px solid #ffffff26; }
.brands-footer p { color: #bac7d8; font-size: 15px; }
.brands-footer a { display: inline-flex; align-items: center; gap: 25px; padding: 12px 0; border-bottom: 1px solid #7c8da5; font-size: 16px; color: #f6f5f0; }
.brands-footer a:hover { color: #91ed36; }
.brands-section a:focus-visible, .brands-section button:focus-visible, .brands-slider:focus-visible { outline: 3px solid #f6f5f0; outline-offset: 4px; }
.brands-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1199px) {
	.brands-container { width: calc(100% - 60px); }
	.brand-card { width: 280px; }
}
@media (max-width: 767px) {
	.brands-section { padding: 45px 0 30px; }
	.brands-container { width: calc(100% - 36px); }
	.brands-heading { align-items: stretch; flex-direction: column; gap: 25px; margin-bottom: 10px; }
	.brands-heading h2 { font-size: 44px; }
	.brands-eyebrow { font-size: 13px; margin-bottom: 18px; }
	.brands-introduction > p { font-size: 16px; }
	.brands-controls { margin-top: 20px; }
	.brands-controls > span { font-size: 14px; padding-right: 10px; }
	.brands-arrow { width: 44px; height: 44px; flex-shrink: 0; }
	.brands-slider { scroll-snap-type: x proximity; padding-bottom: 25px; }
	.brand-card { width: min(280px, calc(100vw - 65px)); scroll-snap-align: start; }
	.brand-card-content { padding: 20px 22px; }
	.brands-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.brands-section *, .brands-section *::after { transition: none !important; scroll-behavior: auto !important; }
}
