/* ============================================================
   MALINOWSKI.TRAINING — Main Stylesheet
   Color Palette:
     Background:   #111111 (near-black)
     Surface:      #181818 / #222222
     Border:       #2a2a2a
     Text:         #FFFFFF / #CCCCCC
     Accent:       #00C853 (vibrant green)
     Accent Dark:  #009624
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #111111;
  color: #FFFFFF;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #00C853;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #69f0ae;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p {
  color: #CCCCCC;
  font-size: 1.05rem;
  max-width: 65ch;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00C853;
  display: block;
  margin-bottom: 0.75rem;
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--alt {
  background-color: #181818;
}

.section--dark-border {
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #00C853;
  color: #000000;
}

.btn-primary:hover {
  background-color: #00e676;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: #00C853;
  color: #00C853;
}

.btn-outline-green {
  background: transparent;
  color: #00C853;
  border: 2px solid #00C853;
}

.btn-outline-green:hover {
  background: #00C853;
  color: #000;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a2a2a;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__logo span {
  color: #00C853;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  color: #CCCCCC;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: #FFFFFF;
}

.nav__links .nav__cta {
  background-color: #00C853;
  color: #000000;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
}

.nav__links .nav__cta:hover {
  background-color: #00e676;
  color: #000;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8rem 0 4rem;
}

.hero__tagline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00C853;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.hero h1 .accent {
  color: #00C853;
}

.hero__sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 56ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 10rem 0 5rem;
  background: #0e0e0e;
  border-bottom: 1px solid #2a2a2a;
}

.page-hero h1 {
  margin: 0.5rem 0 1rem;
}

.page-hero__sub {
  font-size: 1.15rem;
  color: #AAAAAA;
  max-width: 55ch;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin: 0.75rem auto 0;
}

.section-header h2 {
  margin: 0.5rem 0 0;
}

.section-header p {
  margin-top: 0.75rem;
  color: #AAAAAA;
  font-size: 1.1rem;
}

/* ---------- PHOTO PLACEHOLDER ---------- */
.photo-placeholder {
  background: #1e1e1e;
  border: 2px dashed #2e2e2e;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #666;
  gap: 0.75rem;
}

.photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.photo-placeholder__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
}

.photo-placeholder__hint {
  font-size: 0.8rem;
  color: #444;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: #181818;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 3rem 0;
}

.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  text-align: center;
}

.stat-item__number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #00C853;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-item__label {
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ---------- SERVICE CARDS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 2.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00C853;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: #00C853;
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  display: block;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.service-card p {
  color: #AAAAAA;
  font-size: 0.975rem;
  line-height: 1.7;
}

.service-card .service-card__price {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2a2a2a;
  font-weight: 600;
  color: #00C853;
  font-size: 0.9rem;
}

/* ---------- FULL-WIDTH SERVICE CARDS (services page) ---------- */
.service-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid #2a2a2a;
}

.service-full:last-child {
  border-bottom: none;
}

.service-full__number {
  font-size: 5rem;
  font-weight: 900;
  color: #00C853;
  opacity: 0.15;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.service-full h3 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.service-full p {
  color: #AAAAAA;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.service-full ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.service-full ul li {
  color: #AAAAAA;
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.975rem;
}

.service-full ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00C853;
  font-weight: 700;
}

/* ---------- CREDENTIALS GRID ---------- */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.credential-badge {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
}

.credential-badge__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00C853;
  margin-bottom: 0.4rem;
}

.credential-badge__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
}

/* ---------- MENTOR SECTION ---------- */
.mentors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.mentor-card {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  overflow: hidden;
}

.mentor-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.mentor-card__body {
  padding: 1.5rem;
}

.mentor-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.mentor-card__title {
  font-size: 0.8rem;
  color: #00C853;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mentor-card__desc {
  font-size: 0.9rem;
  color: #AAAAAA;
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-card--placeholder {
  border-style: dashed;
  border-color: #2e2e2e;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  background: #161616;
}

.testimonial-card--placeholder .placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.testimonial-card--placeholder .placeholder-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
}

.testimonial-card--placeholder .placeholder-sub {
  font-size: 0.8rem;
  color: #333;
  margin-top: 0.4rem;
}

.testimonial-card__quote {
  font-size: 1rem;
  color: #CCCCCC;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #00C853;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-info__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.author-info__detail {
  font-size: 0.8rem;
  color: #777;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: #00C853;
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #000000;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(0,0,0,0.7);
  font-size: 1.15rem;
  margin: 0 auto 2rem;
  max-width: 55ch;
}

.cta-banner .btn-dark {
  background: #000000;
  color: #00C853;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cta-banner .btn-dark:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #AAAAAA;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: #FFFFFF;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00C853;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select option {
  background: #181818;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0a0a0a;
  border-top: 1px solid #2a2a2a;
  padding: 3.5rem 0 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .nav__logo {
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: #666;
  max-width: 30ch;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1.25rem;
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

.footer__col ul li a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__col ul li a:hover {
  color: #00C853;
}

.footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__bottom p,
.footer__bottom span {
  font-size: 0.825rem;
  color: #444;
}

.footer__location {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
}

/* ---------- ABOUT PAGE SPECIFICS ---------- */
.about-intro {
  font-size: 1.2rem;
  color: #FFFFFF;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ---------- ALTIS BADGE ---------- */
.altis-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #AAAAAA;
  margin-bottom: 1.5rem;
}

.altis-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C853;
  flex-shrink: 0;
}

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid #2a2a2a;
  counter-increment: step;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: #00C853;
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 0.2rem;
}

.process-step__content h3 {
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.process-step__content p {
  color: #AAAAAA;
  line-height: 1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid #2a2a2a;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__hamburger {
    display: flex;
  }

  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }

  .hero__content {
    padding: 6rem 0 3rem;
  }

  .grid-2,
  .service-full,
  .mentors-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonials-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .stats-bar__inner {
    gap: 2.5rem;
  }

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 8rem 0 3.5rem;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
    text-align: center;
  }

  .stats-bar__inner {
    gap: 2rem;
  }
}
