:root {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --text: #777777;
  --muted: #777777;
  --heading: #333333;
  --line: #e9e9e9;
  --line-strong: #d5d5d5;
  --dark: #111111;
  --container: 1110px;
  --hover: #dd3333;
  --accent: var(--hover);
  --accent-2: var(--hover);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Raleway", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 14px;
  padding-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #777777;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #777777;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-announcement {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #f1f1f1;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--heading);
  border-radius: 0;
  width: auto;
  height: auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--heading);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    background-color 0.35s ease;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.main-nav a {
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 75px;
}

.main-nav a:hover {
  color: var(--hover);
}

.section {
  border-bottom: 0;
}

.section-top {
  min-height: 36.5vw;
  background-image: url("../img/slider-3-1-1.png");
  background-size: 100% auto;
  background-position: center 20%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 0;
}

.section h2,
.section h3 {
  line-height: 1.2;
  margin-top: 0;
}

.section h2 {
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--heading);
}

.section-info,
.section-partners {
  background: var(--bg-elev);
}

.section-info {
  background: #f8f9f9;
}

.section-announcement h2,
.section-info h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 0;
  text-align: center;
  padding: 70px 0;
}

.section-newsletter h2,
.site-footer h2 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
}

.section p {
  margin: 0 0 1em;
}

.section-announcement p,
.section-info p {
  font-size: 20px;
  line-height: 34px;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.songs-anchor {
  margin: 0 0 20px;
  color: #777777;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
}

.songs-anchor strong {
  color: #777777;
}

.song-accordion {
  display: grid;
  gap: 30px;
}

.spoiler {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.spoiler-title {
  width: 100%;
  border: 0;
  background: #f0f0f0;
  color: var(--heading);
  position: relative;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  padding: 7px 7px 7px 34px;
  display: block;
  cursor: pointer;
  border-radius: 10px;
}

.spoiler-icon {
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  display: block;
  text-align: center;
  color: #333333;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
}

.spoiler-content {
  display: none;
  padding: 20px 0;
  background: transparent;
  color: var(--heading);
  font-size: 20px;
  line-height: 34px;
  border-radius: 10px;
  text-align: center;
}

.spoiler.is-open .spoiler-content {
  display: block;
}

.spoiler-content div {
  display: block;
}

.section-services {
  background: #f8f9f9;
  padding: 70px 0;
}

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

.service-item {
  padding: 30px;
  background: #fff;
  margin-bottom: 30px;
  line-height: 23.8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.service-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
}

.service-item h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 10px;
}

.service-item h4 a,
.service-item h4 {
  color: #333333;
}

.service-item p {
  margin: 0;
  font-size: 14px;
  line-height: 23.8px;
  color: #777777;
}

.partner-links {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.section-partners {
  padding: 70px 0;
}

.section-partners h2 {
  font-size: 14px;
  font-weight: 700;
  color: #aaaaaa;
  letter-spacing: 2px;
  text-align: center;
  margin: 0 0 40px;
}

.section-partners p {
  font-size: 20px;
  line-height: 34px;
  text-align: center;
  margin: 0 0 40px;
}

.section-partners p a {
  color: #777777;
}

.partner-item {
  text-align: center;
}

.partner-item > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  background: transparent;
  border: 0;
  padding: 0;
}

.partner-logo {
  width: auto;
  height: auto;
  display: block;
}

.cta-heading {
  text-align: center;
}

.partner-logo-hardrock {
  max-width: 300px;
}

.partner-logo-academy {
  max-width: 450px;
  width: 100%;
}

.partner-caption {
  display: inline-block;
  font-weight: 700;
  margin-top: 8px;
  color: var(--hover);
  font-size: 14px;
  line-height: 1.3;
}

/* ── CTA section (RockRadio link bar) ────────────────── */
.section-cta {
  background: #222222;
  padding: 70px 0;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-heading h2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 23px;
  font-weight: 600;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.cta-button-area {
  flex-shrink: 0;
}

.btn-sprawdz {
  display: inline-block;
  border: 1px solid var(--hover);
  background: transparent;
  color: var(--hover);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.4rem;
  text-transform: uppercase;
}

.btn-sprawdz:hover,
.btn-sprawdz:focus-visible {
  background: var(--hover);
  color: #fff;
}

/* ── Footer widgets (newsletter + social) ────────────── */
.footer-widgets {
  background: #050505;
  padding: 70px 0 35px;
}

.footer-widgets-row {
  display: flex;
  justify-content: space-between;
}

.footer-col-logo {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-col-logo img {
  max-width: 300px;
  height: auto;
}

.newsletter-heading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}

.newsletter-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 18px;
  color: #bbbbbb;
}

.newsletter-form input[type="email"] {
  width: 100%;
  border: none;
  background: #f7f7f7;
  color: #6b6b6b;
  padding: 12px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  width: 260px;
}

.newsletter-form button[type="submit"] {
  display: inline-block;
  background: #333333;
  color: #f7f7f7;
  border: 0;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 10px;
  font-family: "Raleway", Arial, sans-serif;
  text-transform: uppercase;
}

.newsletter-form button[type="submit"]:hover,
.newsletter-form button[type="submit"]:focus-visible {
  background: #555555;
}

.form-note {
  color: #bbbbbb;
  font-size: 14px;
  margin: 8px 0;
}

.form-note a:hover {
  color: var(--accent);
}

.footer-social-area {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 10px;
}

.footer-social-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 30px;
}

.social-links a {
  color: #ffffff;
  line-height: 1;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Footer bottom (copyright bar) ───────────────────── */
.site-footer {
  background: var(--dark);
}

.footer-bottom {
  background: #222222;
  padding: 40px 0;
}

.footer-bottom-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.back-to-top i {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  font-size: 22px;
}
.back-to-top {
  border-radius: 0px 20px 0 0;
  color: #999999;
  background: #222222;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  height: 50px;
  line-height: 50px;
  margin: auto;
  position: absolute;
  right: 60px;
  top: -65px;
  transition: all 0.2s linear 0s;
  width: 50px;
  z-index: 99;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--hover);
}

.copyright {
  color: #bbbbbb;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-links {
    gap: 20px;
  }

  .partner-item > a:first-child {
    min-height: 240px;
  }

  .partner-caption {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-top: 64px;
  }

  .section-announcement h2,
  .section-info h2,
  h2 {
    padding: 0 0 40px;
  }

  .back-to-top {
    right: auto;
  }

  .footer-bottom {
    padding: 40px 0;
  }

  .section-announcement p,
  .section-info p {
    font-size: 18px;
    line-height: 30px;
  }

  .section.section-top {
    min-height: 52vw;
    padding: 0;
    background-size: 135% auto;
    background-position: center 18%;
    background-attachment: scroll;
  }

  .header-inner {
    min-height: 64px;
    position: relative;
    padding: 0 10px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    border-top: 0;
    border-bottom: 0;
    padding: 0 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 0.45s ease,
      opacity 0.35s ease,
      transform 0.35s ease,
      padding 0.35s ease,
      visibility 0s linear 0.35s;
  }

  .main-nav a {
    display: block;
    width: 100%;
    line-height: 1.5;
    font-size: 14px;
    padding: 0.35rem 0;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .main-nav.is-open {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem;
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      max-height 0.45s ease,
      opacity 0.35s ease,
      transform 0.35s ease,
      padding 0.35s ease,
      visibility 0s;
  }

  .main-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .section-announcement h2,
  .section-info h2 {
    font-size: 32px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-cta {
    padding: 40px 0;
  }

  .cta-heading h2 {
    font-size: 18px;
    margin-bottom: 0;
    padding: 0 0 20px;
  }

  .cta-row {
    flex-direction: column;
    gap: 16px;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
  }

  .footer-widgets-row {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .footer-col-logo,
  .footer-col-form {
    margin-bottom: 30px;
    flex: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    padding: 20px;
    margin-bottom: 0;
  }

  .section-partners {
    padding-top: 48px;
  }

  .section-partners h2 {
    font-size: 14px;
    margin-bottom: 0;
    padding: 0 0 20px;
  }

  .section-partners p {
    font-size: 16px;
    line-height: 1.6;
  }

  .partner-links {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .partner-item {
    width: 100%;
  }

  .partner-item a,
  .partner-item > a:first-child {
    display: flex;
    text-align: center;
    justify-content: center;
  }

  .partner-caption {
    font-size: 14px;
  }
}
