@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0c0e1a;
  --bg-card: #111327;
  --text: #f0f0f0;
  --text-muted: #a0a0b0;
  --accent: #e8751a;
  --accent-light: #f5923e;
  --border: #e8751a;
  --font: 'Inter', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 13px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(12,14,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,117,26,0.15);
  padding: 0 1.5rem;
}

nav .nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

nav .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.3s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav ul {
    position: absolute;
    top: 48px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(12,14,26,0.95);
    padding: 1rem 1.5rem;
    gap: 0.8rem;
    display: none;
  }
  nav ul.open { display: flex; }


}


/* ─── SECTIONS ─── */
section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background-image: url('images/starry-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  section {
    padding: 2rem 1rem;
  }
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - 48px);
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding-top: 0;
  display: flex;
  align-items: flex-end;
  background-image: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-content {
  position: relative;
  z-index: 2;
  /*max-width: 500px;*/
  padding-bottom: 6rem;
  /*padding-left: 3rem;*/
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.hero .subtitle .accent {
  color: var(--accent);
  font-weight: 600;
}

/* ─── TEXT SECTION (2 columns) ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

.section-title {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-title .accent {
  color: var(--accent);
}

.text-block p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.text-block strong {
  color: var(--text);
}

.text-block .highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ─── CARDS (workshops comparison) ─── */
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .cards-row { grid-template-columns: 1fr; }
}

.card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: rgba(17,19,39,0.6);
}

.card h3 {
  font-weight: 400;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.card ul {
  list-style: disc;
  padding-left: 1rem;
}

.card li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card li .accent {
  color: var(--accent);
  font-weight: 600;
}

.cta-text {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-text strong {
  color: var(--text);
}

/* ─── REFERENCES CAROUSEL ─── */
.references-carousel {
  position: relative;
  width: 100%;
}

.references-viewport {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  cursor: grab;
}

.reference-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
}

.reference-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.reference-slide blockquote {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.reference-slide .name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.reference-slide .title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
}

/* ─── KONKRETY GRID ─── */
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.konkrety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .konkrety-grid { grid-template-columns: 1fr; }
}

.konkrety-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
}

.konkrety-item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.konkrety-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-photo img {
  width: 100%;
  border-radius: 8px;
  max-width: 260px;
}

.about-info h2 {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.about-info .roles {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.about-info hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 1.2rem 0;
}

.about-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.about-info .accent {
  color: var(--accent);
  font-weight: 600;
}

/* ─── CONTACT / CTA ─── */
.contact-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .contact-steps { grid-template-columns: 1fr; }
}

.step {
  border-top: 3px solid var(--accent);
  padding-top: 0.8rem;
}

.step .step-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-info .contact-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-footer {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ─── 9-GRID (Benefits) ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit-item {
  position: relative;
}

.benefit-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0 auto 0.6rem;
}

.benefit-line {
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  z-index: -1;
}

.benefit-item p {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.benefit-item strong {
  color: var(--text);
}

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  margin-left: 6px;
}

.timeline-item h3 {
  font-weight: 400;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.timeline-item ul {
  list-style: disc;
  padding-left: 1rem;
}

.timeline-item li {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.timeline-item li strong {
  color: var(--text);
}

/* ─── INFO CARDS (pigułka) ─── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .info-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .info-cards { grid-template-columns: 1fr; }
}

.info-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  background: rgba(17,19,39,0.6);
}

.info-card .label {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.info-card .value {
  font-size: 0.85rem;
  line-height: 1.5;
}

.info-card strong {
  color: var(--text);
}

/* ─── CHALLENGES LIST ─── */
.challenges-list {
  list-style: none;
  margin-top: 1.2rem;
}

.challenges-list li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.challenges-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ─── OUTCOMES LIST (with icons) ─── */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

.outcome-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.outcome-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.outcome-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.outcome-item span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─── MODULES (zigzag timeline) ─── */
.modules-timeline {
  position: relative;
}

.modules-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .modules-timeline::before { left: 10px; }
}

.module-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.module-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width: 768px) {
  .module-item::before { left: 10px; transform: none; }
}

.module-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 1.5rem);
}

.module-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 1.5rem);
}

@media (max-width: 768px) {
  .module-item:nth-child(odd),
  .module-item:nth-child(even) {
    padding-left: 2.5rem;
    padding-right: 0;
    justify-content: flex-start;
  }
}

.module-box {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  background: rgba(17,19,39,0.6);
  width: 100%;
}

.module-box h3 {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.module-box ul {
  list-style: disc;
  padding-left: 1rem;
}

.module-box li {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
  line-height: 1.5;
}

.module-box li strong {
  color: var(--text);
}

/* ─── HERO SPLIT (subpages) ─── */
section.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 0;
  padding: 0 !important;
  margin-top: 48px;
  overflow: hidden;
  align-items: stretch;
  background-image: none;
}

@media (max-width: 768px) {
  section.hero-split {
    grid-template-columns: 1fr;
    height: auto !important;
  }
}

.hero-split .hero-image {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hero-split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  max-height: 800px;
}

.hero-split .hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
}

@media (max-width: 768px) {
  .hero-split .hero-text {
    padding: 5rem 1.5rem 2rem;
  }
}

.hero-split .hero-text h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.hero-split .hero-text .accent {
  color: var(--accent);
}

.highlight-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.highlight-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(17,19,39,0.6);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.highlight-card.full {
  grid-column: 1 / -1;
}

/* ─── HERO FULLBG (grupowe) ─── */
.hero-fullbg {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  margin-top: 48px;
  background-image: none;
}

.hero-fullbg .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-fullbg .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-fullbg .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to top, rgba(12,14,26,0.7) 10%, rgba(12,14,26,0.2) 50%, transparent);*/
}

.hero-content-overlay {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem 4rem;
}

.hero-content-overlay h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-content-overlay .accent {
  color: var(--accent);
}

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero-tiles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-tiles { grid-template-columns: 1fr; }
}

.hero-tile {
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 1.2rem 1rem;
  background: rgba(12,14,26,0.7);
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 400;
}

/* ─── CTA BUTTON ─── */
.btn-cta {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.3s;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--accent-light);
}

/* ─── CONTACT FORM ─── */
.contact-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(17,19,39,0.8);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(160,160,176,0.5);
}

.form-note {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.form-validation-note {
  margin-top: 0.5rem;
  color: var(--accent);
  font-size: 0.78rem;
  display: none;
}

.form-validation-note.show {
  display: block;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background-image: url('images/starry-bg.png');
  background-size: cover;
  background-position: center;
}

.note-text {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
}

strong {
    color: var(--accent);
}


/*MOJE*/
@media (max-width: 768px) {
    #mainS{
      padding-bottom: 1em;
  }
  .hero{
    min-height: calc(55vh - 48px);
  }

  .hero-bg{
    max-height: 50%;
  }
  #indywidualne-bg{
        max-height: 40%;
  }
}