/* Amernet Core – style modułów. Kolory bazowe pochodzą z motywu (zmienne --am-*), tu są wartości zapasowe. */
:root {
	--am-red: #e60904;
	--am-red-dark: #b80703;
	--am-ink: #1d1d1d;
	--am-dark: #121212;
	--am-muted: #696969;
	--am-line: #e3e3e3;
	--am-soft: #f4f4f4;
	--am-radius: 6px;
}

.am-btn {
	display: inline-block;
	padding: .65em 1.3em;
	border-radius: var(--am-radius);
	background: var(--am-red);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: background .15s;
}
.am-btn:hover, .am-btn:focus-visible { background: var(--am-red-dark); }
.am-btn--ghost { background: transparent; color: var(--am-red) !important; box-shadow: inset 0 0 0 2px var(--am-red); }
.am-btn--ghost:hover, .am-btn--ghost:focus-visible { background: var(--am-red); color: #fff !important; }

/* ---------- Mapa hotelu ---------- */
.am-hotelmap { color: #fff; }
.am-hotelmap__scroller { position: relative; }
.am-hotelmap__stage { position: relative; line-height: 0; }
.am-hotelmap__base, .am-hotelmap__overlay { width: 100%; height: auto; display: block; }
.am-hotelmap__overlay { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; pointer-events: none; }
.am-hotelmap__overlay.is-active { opacity: 1; }
.am-hotelmap__area { position: absolute; display: block; }
.am-pin {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
	transform: translate(-19px, -50%); color: #fff; text-decoration: none; line-height: 1.2;
}
.am-pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 19px), -50%); }
.am-pin__n {
	flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: var(--am-red); font: 700 16px/1 var(--am-font, inherit);
	box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 6px 18px rgba(0,0,0,.35);
	animation: am-pulse 2.6s infinite;
}
.am-pin__label {
	padding: .5em .9em; border-radius: 6px; background: rgba(18,18,18,.86); backdrop-filter: blur(4px);
	font: 700 15px/1.2 var(--am-font, inherit); white-space: nowrap; transition: background .15s;
}
.am-pin:hover .am-pin__label, .am-pin:focus-visible .am-pin__label, .am-pin.is-active .am-pin__label { background: var(--am-red); }
.am-pin:hover .am-pin__n, .am-pin.is-active .am-pin__n { animation: none; transform: scale(1.08); }
.am-pin:focus-visible { outline: none; }
.am-pin:focus-visible .am-pin__n { outline: 3px solid #fff; outline-offset: 4px; }
.am-hotelmap__swipe { display: none; }

.am-zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.am-zone-card {
	display: flex; flex-direction: column; height: 100%; border-radius: 10px; overflow: hidden;
	background: #1d1d1f; color: #fff !important; text-decoration: none; box-shadow: inset 0 0 0 1px #2c2c2e;
	transition: transform .15s, box-shadow .15s;
}
.am-zone-card:hover, .am-zone-card:focus-visible, .am-zone-card.is-active { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--am-red); }
.am-zone-card__img { position: relative; aspect-ratio: 16 / 10; background: #2a2a2c; overflow: hidden; }
.am-zone-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-zone-card__n {
	position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--am-red); font: 700 14px/1 var(--am-font, inherit);
}
.am-zone-card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.am-zone-card__title { font: 700 16px/1.25 var(--am-font, inherit); }
.am-zone-card__text { font-size: 13.5px; line-height: 1.45; color: #b5b5b8; }

@media (max-width: 1100px) {
	.am-pin__label { font-size: 13px; }
	.am-zones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	/* Na telefonie zdjęcie zostaje czytelne: stała szerokość i przewijanie w poziomie. */
	.am-hotelmap__scroller { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; }
	.am-hotelmap__scroller::-webkit-scrollbar { display: none; }
	.am-hotelmap__stage { width: 820px; }
	.am-pin__label { display: none; }
	.am-pin, .am-pin--left { transform: translate(-50%, -50%); }
	.am-hotelmap__swipe { display: block; margin: 10px 0 0; font-size: 14px; color: #a0a0a4; text-align: right; }
	.am-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
	.am-zone-card__text { display: none; }
}

/* ---------- Strefa z punktami ---------- */
.am-zone__stage { position: relative; line-height: 0; border-radius: var(--am-radius); overflow: hidden; background: var(--am-dark); }
.am-zone__img { width: 100%; height: auto; display: block; }
.am-dot {
	position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0;
	border: 0; border-radius: 50%; cursor: pointer;
	background: var(--am-red); box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 2px 10px rgba(0,0,0,.4);
	animation: am-pulse 2.4s infinite;
}
.am-dot--wifi { background: var(--am-red) url("wifi.svg") center/16px no-repeat; }
.am-dot:hover, .am-dot:focus-visible { animation: none; transform: scale(1.15); outline: none; }
.am-dot__tip {
	position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
	padding: .35em .7em; border-radius: 4px; background: var(--am-dark); color: #fff;
	font-size: 13px; line-height: 1.3; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s;
}
.am-dot:hover .am-dot__tip, .am-dot:focus-visible .am-dot__tip { opacity: 1; }
@keyframes am-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 0 0 0 rgba(230,9,4,.5); } 50% { box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 0 0 12px rgba(230,9,4,0); } }
@media (prefers-reduced-motion: reduce) { .am-dot { animation: none; } }
.am-zone__hint { color: var(--am-muted); margin: 12px 0 8px; }
.am-zone__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.am-zone__list button {
	padding: .45em .9em; border: 1px solid var(--am-line); border-radius: 999px;
	background: #fff; color: var(--am-ink); font: inherit; font-size: 15px; cursor: pointer;
}
.am-zone__list button:hover, .am-zone__list button:focus-visible { border-color: var(--am-red); color: var(--am-red); }
.am-zone__others { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-top: 18px; border-top: 1px solid var(--am-line); margin-top: 8px; }
.am-zone__others span { color: var(--am-muted); }
.am-zone__back { margin-left: auto; }

.am-dialog {
	width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
	padding: 0; border: 0; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.am-dialog::backdrop { background: rgba(0,0,0,.6); }
.am-dialog__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.am-dialog__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-dialog__text { padding: 28px 28px 24px; }
.am-dialog__text h2 { margin: 0 0 .6em; font-size: 24px; padding-bottom: .4em; border-bottom: 3px solid var(--am-red); display: inline-block; }
.am-dialog__related-title { margin: 1.2em 0 .4em; font-weight: 700; }
.am-dialog__related { margin: 0; padding-left: 1.1em; }
.am-dialog__close {
	position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.92); color: var(--am-ink); font-size: 26px; line-height: 1; cursor: pointer;
}
.am-dialog__close:hover { background: var(--am-red); color: #fff; }
@media (max-width: 640px) {
	.am-dialog__body { grid-template-columns: 1fr; }
	.am-dialog__img img { max-height: 220px; }
	.am-dialog__text { padding: 20px; }
}

/* ---------- Zakładki / Programy TV ---------- */
.am-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--am-line); margin-bottom: 24px; }
.am-tabs__nav button {
	padding: .7em 1.2em; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
	background: none; color: var(--am-ink); font: inherit; font-weight: 700; cursor: pointer;
}
.am-tabs__nav button[aria-selected="true"] { border-bottom-color: var(--am-red); color: var(--am-red); }
.am-tabs__nav button:focus-visible { outline: 2px solid var(--am-red); outline-offset: -2px; }
.am-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.am-channel { display: flex; flex-direction: column; border: 1px solid var(--am-line); border-radius: var(--am-radius); overflow: hidden; background: #fff; }
.am-channel__logo { aspect-ratio: 16 / 7; background: var(--am-soft); display: grid; place-items: center; padding: 16px; }
.am-channel__logo img { max-height: 100%; width: auto; object-fit: contain; }
.am-channel__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.am-channel__name { margin: 0; font-size: 20px; }
.am-channel__tag { margin: 0; color: var(--am-muted); font-size: 15px; }
.am-channel details summary { cursor: pointer; color: var(--am-red); font-weight: 700; }
.am-channel details p { font-size: 15px; margin: .6em 0 0; }
.am-channel__facts { margin: 4px 0 8px; font-size: 14px; }
.am-channel__facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 5px 0; border-top: 1px solid var(--am-line); }
.am-channel__facts dt { color: var(--am-muted); }
.am-channel__facts dd { margin: 0; }
.am-channel .am-btn { margin-top: auto; align-self: flex-start; }

/* ---------- Realizacje i referencje ---------- */
.am-realizations__map { height: 460px; border-radius: var(--am-radius); margin-bottom: 24px; z-index: 0; background: var(--am-soft); }
.am-realizations__list { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 32px; }
.am-realizations__list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--am-line); }
.am-realizations__list span { color: var(--am-muted); }
.am-letters { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.am-letters figure { margin: 0; text-align: center; }
.am-letters a { display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 14px rgba(0,0,0,.08); transition: transform .15s, box-shadow .15s; }
.am-letters a:hover, .am-letters a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.am-letters img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; display: block; border-radius: 0; }
.am-letters figcaption { margin-top: 10px; font-size: 14px; color: var(--am-muted); line-height: 1.35; }
.am-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.am-names li { padding: .55em 1.1em; border-radius: 999px; background: #fff; border: 1px solid var(--am-line); font-size: 15px; }
.am-names li::marker { content: none; }

/* ---------- Kafelki podstron ---------- */
.am-cards { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.am-card a {
	display: flex; flex-direction: column; height: 100%;
	border: 1px solid var(--am-line); border-radius: var(--am-radius); overflow: hidden;
	color: var(--am-ink); text-decoration: none; background: #fff; transition: box-shadow .15s, transform .15s;
}
.am-card a:hover, .am-card a:focus-visible { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.am-card__img { aspect-ratio: 16 / 10; background: var(--am-soft); overflow: hidden; }
.am-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.am-card__title { font-weight: 700; font-size: 19px; }
.am-card__title::after { content: " →"; color: var(--am-red); }
.am-card__text { font-size: 15px; color: var(--am-muted); }
.am-card__date { font-size: 13px; color: var(--am-muted); text-transform: uppercase; letter-spacing: .04em; }
