/* Style dedykowane dla strony głównej */

/* Hero */
.hero {
  padding-top: 74px;
  background:
    radial-gradient(circle at 7% 15%, rgba(242, 113, 33, .08), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 68px;
}
.hero-copy .lead { margin: 26px 0 0; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #4f5968;
  font-size: .9rem;
}
.hero-proof span {
  padding-left: 18px;
  position: relative;
}
.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: .55em;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  border-radius: 40px 40px 16px 40px;
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 30px;
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-weight: 800;
  max-width: 230px;
}

/* Sekcja zapowiedzi rebrandingu (Neuro English Lounge) */
.rebrand-section {
  padding: 10px 0 54px;
  position: relative;
  z-index: 2;
}

.rebrand-card {
  position: relative;
  border-radius: 26px;
  padding: 38px 44px;
  /* Ramka przechodząca z pomarańczowego w błękit i granat Neuro English Lounge */
  background:
    linear-gradient(135deg, #fffbf7 0%, #ffffff 42%, #f5f8fc 100%) padding-box,
    linear-gradient(135deg, #f27121 0%, #ff8c42 25%, #2a6cb8 68%, #082b59 100%) border-box;
  border: 2.5px solid transparent;
  box-shadow:
    0 16px 42px rgba(8, 43, 89, 0.08),
    0 6px 18px rgba(242, 113, 33, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rebrand-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 50px rgba(8, 43, 89, 0.12),
    0 8px 24px rgba(242, 113, 33, 0.12);
}

.rebrand-badge {
  position: absolute;
  top: -14px;
  left: 36px;
  background: linear-gradient(90deg, #f27121 0%, #082b59 100%);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(8, 43, 89, .25);
}

.rebrand-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.rebrand-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .03em;
}

.brand-old {
  color: var(--orange-dark);
}

.brand-arrow {
  color: #64758a;
  font-size: 1rem;
}

.brand-new {
  color: #082b59;
}

.rebrand-card h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 850;
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 12px;
}

.rebrand-gradient-text {
  background: linear-gradient(90deg, #f27121 0%, #1e5ba4 60%, #082b59 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.rebrand-desc {
  margin: 0;
  font-size: 1.02rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 680px;
}

.rebrand-text-link {
  color: #082b59;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 750;
  transition: color .2s ease;
  word-break: break-all;
}

.rebrand-text-link:hover {
  color: var(--orange-dark);
}

.rebrand-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.btn-rebrand {
  background: linear-gradient(135deg, #082b59 0%, #123f71 100%);
  color: white;
  border: 1px solid #082b59;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 750;
  font-size: .96rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(8, 43, 89, .22);
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-rebrand:hover {
  background: linear-gradient(135deg, #f27121 0%, #d64c21 100%);
  border-color: #f27121;
  box-shadow: 0 10px 26px rgba(242, 113, 33, .3);
  transform: translateY(-2px);
  color: white;
}

.rebrand-tagline {
  font-size: .8rem;
  font-weight: 700;
  color: #64758a;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .rebrand-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .rebrand-actions {
    align-items: flex-start;
  }
  .rebrand-card {
    padding: 34px 26px;
  }
  .rebrand-badge {
    left: 20px;
    font-size: .72rem;
    padding: 4px 14px;
  }
}

@media (max-width: 640px) {
  .rebrand-section {
    padding: 0 0 40px;
  }
  .btn-rebrand {
    width: 100%;
    justify-content: center;
  }
}

/* Sekcja O nas (skrót) */
.about { background: white; }
.split-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 76px;
  align-items: center;
}
.media-card img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.content-block > p:not(.eyebrow) {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 22px 0 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: white;
}
.pillar .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: .75rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.pillar p {
  margin: 8px 0 0;
  font-size: .91rem;
}

/* Oferta (przegląd) */
.offer { background: var(--cream); }
.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}
.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}
.section-heading p:last-child {
  max-width: 680px;
  margin: 16px auto 0;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(47, 37, 31, .05);
}
.offer-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.offer-card-body { padding: 24px; }
.offer-card-body p { margin: 12px 0 18px; }
.card-kicker {
  color: var(--orange-dark) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 850;
}
.offer-card h3 a {
  color: inherit;
  transition: color .2s ease;
}
.offer-card h3 a:hover {
  color: var(--orange-dark);
}
.offer-card a img {
  transition: transform .3s ease;
}
.offer-card:hover a img {
  transform: scale(1.02);
}

/* Powody (Dlaczego my) */
.reasons { background: white; }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reason {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.reason b {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-size: .75rem;
}
.reason p {
  margin: 8px 0 0;
  font-size: .93rem;
}

/* Sekcja kontaktowa na stronie głównej */
.contact { background: linear-gradient(135deg, #fff7f0, #fff); }
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  font-size: 1.04rem;
}
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.contact-list a,
.contact-list div {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list small {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-list strong { font-size: 1rem; }
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d8dce2;
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:not([type="checkbox"]),
.contact-form select { min-height: 48px; }

/* Checkbox zgody */
.contact-form label.form-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-weight: 400 !important;
  font-size: .88rem !important;
  color: #4b5563 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  margin: 16px 0 20px !important;
}
.contact-form label.form-checkbox-label input[type="checkbox"] {
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 1px 0 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  accent-color: var(--orange) !important;
  cursor: pointer !important;
  border-radius: 4px !important;
}
.contact-form label.form-checkbox-label span {
  font-size: .88rem !important;
  line-height: 1.4 !important;
  color: #4b5563 !important;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 113, 33, .1);
}
.contact-form textarea { resize: vertical; }
.form-note {
  margin: 12px 0 0;
  font-size: .75rem;
}

/* Responsywność strony głównej */
@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-media { max-width: 700px; }
  .hero-badge { left: 18px; }
  .offer-grid,
  .reason-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding-top: 50px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; gap: 10px; }
  .offer-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form { padding: 22px; }
  .hero-badge {
    position: static;
    margin-top: 12px;
    max-width: none;
  }
}
