:root {
  --si-ink: #131109;
  --si-paper: #f6f5ee;
  --si-muted: #72726f;
  --si-gold: #53898D;
  --si-gold-soft: #6CA4A8;
  --si-green: #24372e;
  --si-line: rgba(19, 17, 9, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.solinternus {
  margin: 0;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  background: var(--si-paper);
  color: var(--si-muted);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: none;
  z-index: 20;
  display: block;
  background: rgba(246, 245, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--si-line);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: 80%;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-wrap,
.footer-inner {
  padding-left: 0;
  padding-right: 0;
}

.nav-wrap {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img {
  width: 297px;
  max-width: 42vw;
  display: block;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--si-line);
  border-radius: 10px;
  background: #fff !important;
  color: var(--si-ink);
  cursor: pointer;
  position: relative;
  z-index: 80;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--si-ink);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle span {
  display: block;
  width: 12px;
  height: 2px;
  margin: 2px auto;
  background: var(--si-ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a,
.footer-links a,
.social-links a {
  color: var(--si-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav a:hover,
.footer-links a:hover,
.social-links a:hover {
  color: var(--si-gold);
}

.hero {
  min-height: calc(86vh - 92px);
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.18) 100%), url("./wp-content/uploads/sites/94/solinternus/hero-workshop.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 96px 0 64px;
}

.hero-content {
  width: 80%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-content > * {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--si-gold-soft);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--si-ink);
  font-family: Prata, Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 4.8vw, 62px);
  max-width: 760px;
}

.hero p {
  max-width: 740px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--si-gold);
  border-radius: 30px;
  padding: 14px 28px;
  background: var(--si-gold);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
button.button:hover {
  background: var(--si-gold-soft);
  border-color: var(--si-gold-soft);
  color: #fff;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.84);
  color: #fff;
}

.button.secondary:hover {
  background: var(--si-gold-soft);
  border-color: var(--si-gold-soft);
}

.section {
  position: relative;
  clear: both;
  padding: 100px 0;
}

.section.dark {
  background: var(--si-ink);
  color: rgba(255, 255, 255, 0.78);
}

.section.dark h2,
.section.dark h3 {
  color: #fff;
}

.section-title {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-title.center {
  margin-inline: auto;
  text-align: center;
}

.section-title h2,
.cta-copy h2,
.about-copy h2,
.promo h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.cta-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

.section-title.center h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.section-title p,
.cta-copy p,
.about-copy p,
.promo p {
  margin: 22px 0 0;
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: stretch;
}

.split.reverse {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.image-frame {
  min-height: 620px;
  overflow: hidden;
  border-radius: 10px;
  background: #ddd;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card img,
.promo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead-form {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.lead-form label {
  color: var(--si-ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.lead-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--si-line);
  border-radius: 0;
  background: #fff;
  padding: 0 18px;
  color: var(--si-ink);
  font: inherit;
}

.lead-form textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--si-line);
  border-radius: 10px;
  background: #fff;
  padding: 14px 18px;
  color: var(--si-ink);
  font: inherit;
  resize: vertical;
}

.contact-section .image-frame img {
  object-position: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--si-line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  flex: 0 0 auto;
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 28px;
}

.card h3 {
  font-size: 22px;
}

.card p {
  flex: 1 1 auto;
  min-height: 0;
  margin: 18px 0 24px;
}

.about-highlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}

.split > *,
.about-highlight > * {
  min-width: 0;
}

#onas .image-frame img {
  object-position: right center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 42px;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 11.2;
  min-height: 0;
  overflow: hidden;
  display: block;
  padding: 0;
  background: #131109;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 17, 9, 0.04), rgba(19, 17, 9, 0.56));
}

.video-card:hover img {
  transform: scale(1.04);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(83, 137, 141, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #fff;
}

.video-label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.quote {
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.quote p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.quote cite {
  color: var(--si-gold-soft);
  font-style: normal;
  font-weight: 700;
}

.promo {
  min-height: 520px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(19, 17, 9, 0.88), rgba(19, 17, 9, 0.38)), url("./wp-content/uploads/sites/94/solinternus/sklep-ziola-swiece.png");
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, 0.84);
  padding: 70px;
  border-radius: 10px;
  overflow: hidden;
}

.promo h2 {
  color: #fff;
}

.promo-content {
  max-width: 620px;
}

.site-footer {
  width: 100vw;
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--si-line);
  padding: 42px 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

img {
  border-radius: 10px;
}

.logo img {
  border-radius: 0;
}

.button,
button.button,
.lead-form input,
.lead-form textarea {
  border-radius: 10px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.78);
}

.video-modal.is-open {
  display: grid;
}

.video-modal-player {
  width: min(900px, 90vw);
  max-height: 82vh;
  background: #000;
  border-radius: 10px;
}

.video-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #131109;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-links,
.social-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.story-page {
  padding: 90px 0 110px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.story-image {
  position: sticky;
  top: 132px;
  overflow: hidden;
  border-radius: 10px;
}

.story-image img {
  width: 100%;
  min-height: 680px;
  display: block;
  object-fit: cover;
  object-position: right center;
}

.story {
  max-width: none;
}

.story h1 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 32px;
}

.story p {
  font-size: 18px;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .nav-wrap,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 16px 22px;
  }

  .hero {
    min-height: auto;
    padding: 92px 0 76px;
  }

  .split,
  .split.reverse,
  .about-highlight,
  .cards,
  .testimonials,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .image-frame {
    min-height: 360px;
  }

  .card p {
    min-height: 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    aspect-ratio: 16 / 9;
  }

  .section {
    padding: 30px 0 !important;
  }

  .promo {
    padding: 44px 28px;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, 1200px);
  }

  .nav-wrap,
  .footer-inner {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo img {
    width: 164px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .actions,
  .button,
  button.button {
    width: 100%;
  }

  .section-title h2,
  .cta-copy h2,
  .about-copy h2,
  .promo h2 {
    font-size: 34px;
  }
}

body.solinternus .site-header,
body.solinternus .site-header:not(.dynamic-header),
body.solinternus .site-footer,
body.solinternus .site-footer:not(.dynamic-footer) {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.solinternus .site-header {
  left: 0 !important;
  right: 0 !important;
  padding: 0 !important;
}

body.solinternus .site-footer {
  padding: 42px 0 !important;
}

body.solinternus .site-header .nav-wrap,
body.solinternus .site-footer .footer-inner {
  width: 80% !important;
  max-width: 1440px !important;
}

@media (max-width: 900px) {
  body.solinternus {
    overflow-x: hidden;
  }

  .site-header {
    background: rgba(246, 245, 238, 0.98);
  }

  body.solinternus .site-header .nav-wrap {
    width: min(100% - 32px, 720px) !important;
    min-height: 76px;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px;
  }

  .logo {
    position: relative;
    z-index: 80;
  }

  .logo img {
    width: 216px;
    max-width: 70vw;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border-color: var(--si-line);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    opacity: 0;
  }

  body.menu-open .menu-toggle::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  body.menu-open .menu-toggle::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 70;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0;
    width: 100vw !important;
    max-width: none !important;
    min-height: auto;
    padding: 18px 24px 24px;
    background: #f6f5ee;
    border-top: 1px solid var(--si-line);
    border-bottom: 1px solid var(--si-line);
    box-shadow: 0 18px 35px rgba(19, 17, 9, 0.08);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 240ms ease, opacity 240ms ease;
  }

  body.menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 13px 0;
    color: var(--si-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(19, 17, 9, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding: 88px 0 72px;
    background-position: center;
  }

  .hero-content,
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 720px);
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.08;
  }

  .hero p,
  .section-title p,
  .cta-copy p,
  .about-copy p,
  .promo p,
  .story p {
    font-size: 16px;
    line-height: 1.75;
  }

  .actions {
    gap: 12px;
    margin-top: 28px;
  }

  .button,
  button.button {
    width: 100%;
    min-height: 52px;
    padding: 13px 20px;
    text-align: center;
  }

  .section {
    padding: 30px 0 !important;
  }

  .story-page {
    padding: 30px 0 42px;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-image {
    position: static;
  }

  .story-image img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title h2,
  .cta-copy h2,
  .about-copy h2,
  .promo h2,
  .story h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.14;
  }

  .split,
  .split.reverse,
  .about-highlight,
  .cards,
  .testimonials,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split.reverse .image-frame {
    order: -1;
  }

  .image-frame {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  #onas .image-frame {
    aspect-ratio: 1 / 1.05;
  }

  .card img {
    aspect-ratio: 4 / 3;
  }

  .card-body {
    padding: 24px;
  }

  .card h3 {
    font-size: 24px;
  }

  .lead-form {
    gap: 12px;
  }

  .lead-form label {
    line-height: 1.55;
  }

  .lead-form input {
    min-height: 52px;
  }

  .lead-form textarea {
    min-height: 132px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .video-card {
    aspect-ratio: 4 / 3;
  }

  .play-icon {
    width: 64px;
    height: 64px;
  }

  .quote {
    padding: 26px;
    width: 100%;
    margin: auto;
  }

  .promo {
    min-height: 420px;
    padding: 34px 24px;
    background-position: center;
  }

  body.solinternus .site-footer .footer-inner {
    width: min(100% - 32px, 720px) !important;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-inner p {
    width: 100%;
    font-weight: 700;
    color: var(--si-ink);
  }

  .footer-links,
  .social-links {
    width: 100%;
    justify-content: center;
    gap: 6px 14px;
  }
}

@media (max-width: 560px) {
  .logo img {
    width: 188px;
  }

  body.solinternus .site-header .nav-wrap {
    min-height: 70px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 72px 0 58px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .image-frame,
  #onas .image-frame,
  .video-card,
  .card img {
    aspect-ratio: 1 / 1;
  }

  .promo {
    min-height: 360px;
  }
}
