:root {
  --bg: #090909;
  --panel: #1f1f1f;
  --text: #f8f8f8;
  --muted: #a2a2a2;
  --white: #ffffff;
  --accent: #ffef00;
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Vazirmatn", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

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

h1,
h2,
h3,
h4,
.brand,
.site-menu,
.eyebrow,
.label {
  font-family: "Kanit", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 24px;
  font-size: clamp(47px, 6vw, 73px);
  line-height: 0.96;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
}

h4 {
  color: var(--accent);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--muted);
}

.brand {
  font-size: 31px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-menu a:hover,
.site-menu-trigger:hover {
  color: var(--accent);
}

.site-menu-group.has-submenu {
  position: relative;
  padding: 14px 0;
  margin: -14px 0;
}

.site-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.site-menu-trigger::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  min-width: 240px;
  padding: 12px 0;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  text-transform: none;
  font-size: 15px;
  font-weight: 500;
}

.site-submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.site-menu-group.has-submenu:hover .site-submenu,
.site-menu-group.has-submenu:focus-within .site-submenu {
  display: flex;
}

.site-submenu a {
  padding: 10px 20px;
  color: var(--white);
  white-space: nowrap;
}

.site-submenu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.header-cta {
  justify-self: end;
}

.button,
.header-cta,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  border: 0;
  border-radius: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.button:hover,
.header-cta:hover,
button.button:hover {
  background: #fff56a;
  color: #000;
}

.full {
  width: 100%;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 75px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 35px;
}

.hero-copy {
  padding-right: 40px;
}

.hero-copy p {
  max-width: 640px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-line {
  width: min(var(--max), calc(100% - 48px));
  margin: 35px auto 0;
  border: 0;
  border-top: 1px solid var(--muted);
}

.eyebrow,
.label {
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

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

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 345px;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 35px;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url("https://dawidkumala.pl/wp-content/uploads/2025/05/miesni-osiagnieciem-silownia-czlowiek-aktywny-768x513.jpg") center / cover no-repeat;
}

.service-card h3 {
  margin: 0;
}

.reviews-widget {
  margin-top: 32px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 150px;
  padding-bottom: 150px;
}

.about-copy {
  align-self: start;
}

.about img {
  align-self: start;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
}

.about-instagram {
  align-self: start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.about-instagram * {
  max-width: 100%;
}

.transformations h2,
.pricing h2,
.trainer-guide h2,
.contact-head h2 {
  color: var(--white);
}

.case-study {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 32px;
  padding: 10px 40px 50px 10px;
  border-bottom: 1px solid var(--muted);
}

.case-study + .case-study {
  padding-top: 50px;
}

.video-case {
  padding-right: 40px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.case-gallery.single {
  grid-template-columns: minmax(240px, 420px);
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
}

.case-content {
  align-self: center;
}

.check-list,
.price-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  padding-left: 22px;
  list-style: disc outside;
}

.check-list li {
  margin: 8px 0;
}

.check-list li::marker {
  color: var(--accent);
}

.price-card li {
  position: relative;
  margin: 8px 0;
  padding-left: 34px;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 22px;
  height: 22px;
  background: url("../icons/Dumbbell-Large-Minimalistic.svg") center / contain no-repeat;
}

.pricing {
  padding-top: 150px;
}

.price-card {
  display: grid;
  grid-template-rows: 28px 104px 64px 1fr auto;
  min-height: 540px;
  padding: 32px 22px;
  background: var(--panel);
}

.price-card + .price-card {
  border-left: 0;
}

.price-card .label {
  margin: 0;
  color: var(--white);
  font-size: 17px;
}

.price-card h3 {
  margin: 0;
}

.price-card p:not(.label) {
  margin-bottom: 0;
  color: var(--text);
}

.price-card ul {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid var(--muted);
}

.trainer-guide {
  padding-top: 150px;
}

.package-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
  padding-top: 70px;
}

.package-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.package-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  font-size: 21px;
}

.package-photo {
  min-height: 520px;
  overflow: hidden;
  background: var(--panel);
}

.package-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.package-fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-fit li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 34px;
}

.package-fit li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 22px;
  height: 22px;
  background: url("../icons/Dumbbell-Large-Minimalistic.svg") center / contain no-repeat;
}

.package-section,
.package-fit,
.package-cta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.package-fit {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 32px;
}

.package-fit .contact-form {
  justify-self: start;
  width: 100%;
}

.package-contact-details {
  margin-top: 32px;
}

.package-contact-details h3 {
  margin-bottom: 18px;
}

.package-contact-details a {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 18px;
}

.package-text p {
  font-size: 20px;
}

.package-benefits,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-benefits article,
.steps-grid article {
  padding: 28px;
  background: var(--panel);
}

.steps-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Kanit", Arial, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.package-steps h2 {
  max-width: 760px;
}

.package-cta {
  align-items: start;
  padding-bottom: 110px;
}

.package-cta .contact-form {
  width: 100%;
}

.trainer-guide h2,
.contact-head h2 {
  max-width: 980px;
}

.video-grid {
  gap: 20px;
}

.transformation-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 22px;
  align-items: start;
}

.vertical-video {
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.vertical-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  padding-top: 0;
}

.contact-copy {
  padding-right: 44px;
  font-size: 22px;
}

.contact-copy a {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 17px;
}

.contact-address {
  margin: 8px 0;
  font-size: 17px;
}

.instagram-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.instagram-link::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("../icons/Instagram_Glyph_Gradient-ko.svg") center / contain no-repeat;
}

.instagram-link.has-icon::before {
  display: none;
}

.instagram-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.contact-form {
  padding: 30px;
  background: var(--panel);
}

.contact-form h2 {
  margin-bottom: 30px;
  color: var(--white);
  font-size: 36px;
  text-align: center;
}

.contact-form label,
.contact-form .wpcf7-form label {
  display: block;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  background: transparent;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  font: inherit;
}

.contact-form textarea,
.contact-form .wpcf7-textarea {
  min-height: 120px;
  height: 120px !important;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #c7c7c7;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: 2px solid transparent;
  border-bottom-color: var(--accent);
}

.contact-form button,
.contact-form .wpcf7-submit {
  width: 100%;
}

.contact-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  border: 0;
  border-radius: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form .wpcf7-submit:hover,
.contact-form .wpcf7-submit:focus {
  background: #fff56a;
  color: #000;
}

.form-status,
.contact-form .wpcf7-response-output {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.4;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
  border-top: 1px solid var(--muted);
}

.site-footer h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.site-footer h4 {
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: var(--text);
}

.menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .about,
  .contact,
  .case-study,
  .package-hero,
  .package-section,
  .package-fit,
  .package-cta {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .contact-copy {
    padding-right: 0;
  }

  .case-study {
    padding-right: 10px;
  }

  .service-grid,
  .pricing-grid,
  .video-grid,
  .transformation-video-grid,
  .package-benefits,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
  }

  .site-menu {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu > a,
  .site-menu .site-submenu a {
    width: 100%;
    padding: 14px 20px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    white-space: normal;
  }

  .site-menu > a:last-child,
  .site-menu .site-submenu a:last-child {
    border-bottom: 0;
  }

  .site-menu-trigger {
    display: none;
  }

  .site-menu-group.has-submenu {
    display: contents;
  }

  .site-submenu {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
  }

  .site-submenu::before {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 70px;
    padding: 0 20px;
  }

  .brand {
    font-size: 25px;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 50px 0;
  }

  .hero {
    padding-top: 20px;
    row-gap: 32px;
  }

  .hero .button {
    width: 100%;
  }

  .package-hero {
    padding-top: 30px;
  }

  .package-hero-copy p:not(.eyebrow),
  .package-text p {
    font-size: 16px;
  }

  .package-benefits article,
  .steps-grid article {
    padding: 22px;
  }

  .package-photo {
    min-height: 360px;
  }

  .about,
  .pricing,
  .trainer-guide {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about {
    overflow-x: hidden;
  }

  .price-card {
    grid-template-rows: 24px auto auto 1fr auto;
    row-gap: 12px;
    min-height: auto;
  }

  .service-card {
    min-height: 300px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    order: 2;
  }

  .case-gallery img {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
  }

  .case-content {
    order: 1;
  }

  .transformation-video-grid {
    order: 2;
  }

  .contact-form {
    padding: 20px;
  }

  .contact {
    padding-top: 0;
  }

  .contact-head {
    padding-bottom: 10px;
  }

  .contact-copy {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(100% - 32px, var(--max));
  }
}
