/* =========================================
   ORLLO ENERGY – Współpraca Page Styles
   ========================================= */

/* ---- Partner Hero ---- */
.partner-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.partner-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0f2044 50%, #142c5e 100%);
}
.partner-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(245,166,35,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(34,197,94,.04) 0%, transparent 50%);
}
.partner-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.partner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.partner-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.highlight-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}
.highlight-pill i { color: var(--gold); }

/* ---- Partner Hero — typografia ---- */
.partner-hero h1 {
  color: #fff !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}
.partner-hero .hero-accent {
  color: var(--gold) !important;
  display: block;
}
.partner-hero .hero-subtitle {
  color: rgba(255,255,255,.85) !important;
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 36px;
  max-width: 650px;
}
.partner-hero .hero-subtitle strong {
  color: #fff !important;
}
.partner-hero .hero-badge {
  color: var(--gold) !important;
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ---- Active nav link ---- */
.active-link { color: var(--gold) !important; }

/* ---- Partner sections ---- */
.partner-section { padding: 60px 0; background: var(--off-white); }
.partner-section--dark {
  padding: 60px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}

/* ---- Why intro list ---- */
.why-intro {
  max-width: 750px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 24px rgba(10,22,40,.08);
}
.why-intro p {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 500;
}
.why-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.5;
}
.why-list li i { color: var(--gold); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }

/* ---- Status flow ---- */
.status-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 20px;
  padding: 28px 32px;
  background: var(--navy);
  border-radius: 16px;
  max-width: 860px;
}
.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.status-step span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
}
.status-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
}
.status-dot--1 { background: #64748b; }
.status-dot--2 { background: #f59e0b; }
.status-dot--3 { background: #3b82f6; }
.status-dot--4 { background: #8b5cf6; }
.status-dot--5 { background: #22c55e; border-color: #22c55e; }
.status-arrow { color: var(--gold); font-size: 0.9rem; }
.status-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* ---- Why offer box ---- */
.why-offer-box {
  max-width: 750px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 24px rgba(10,22,40,.08);
  border-left: 4px solid var(--gold);
}
.why-offer-box h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-offer-box h3 i { color: var(--gold); }
.why-offer-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.5;
}
.why-offer-list li i { color: var(--gold); font-size: 0.88rem; margin-top: 3px; flex-shrink: 0; }

/* ---- Why footnote ---- */
.why-footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .why-intro, .why-offer-box { padding: 24px 20px; }
  .why-offer-list { grid-template-columns: 1fr; }
  .status-flow { padding: 20px 16px; gap: 6px; }
  .status-step span { font-size: 0.62rem; }
  .status-arrow { display: none; }
}

/* ---- Offer grid ---- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--transition);
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.offer-card--featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: var(--navy-light);
  color: var(--white);
}
.offer-card--featured h3 { color: var(--white); }
.offer-card--featured li { color: rgba(255,255,255,.75) !important; }
.offer-card--featured li i { color: var(--gold) !important; }
.offer-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245,166,35,.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.offer-icon--blue { background: rgba(59,130,246,.12); color: var(--blue); }
.offer-icon--green { background: rgba(34,197,94,.12); color: var(--green-dark); }
.offer-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.offer-card ul { display: flex; flex-direction: column; gap: 10px; }
.offer-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
}
.offer-card li i { color: var(--green-dark); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }

/* ---- Tasks section ---- */
.partner-tasks { padding: 60px 0; background: var(--white); }
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.col-content .section-tag { margin-bottom: 14px; }
.col-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.col-content > p { color: var(--gray-600); margin-bottom: 28px; }
.tasks-list { display: flex; flex-direction: column; gap: 20px; }
.tasks-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.task-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245,166,35,.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tasks-list h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.tasks-list p { font-size: 0.85rem; color: var(--gray-600); }

/* ---- Visual card ---- */
.visual-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.07);
  position: sticky;
  top: 100px;
}
.visual-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245,166,35,.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.visual-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.visual-card > p { font-size: 0.88rem; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.earnings-example {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.earning-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 0.82rem;
}
.earning-row:last-child { border-bottom: none; }
.earning-row--highlight { background: rgba(245,166,35,.1); }
.earning-val {
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  font-size: 0.85rem;
}
.visual-note { font-size: 0.78rem; color: rgba(255,255,255,.4); font-style: italic; }

/* ---- Profile grid ---- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.profile-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.profile-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(245,166,35,.3);
  transform: translateY(-3px);
}
.profile-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245,166,35,.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.profile-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.profile-card p { font-size: 0.82rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.profile-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.profile-note i { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.profile-note p { font-size: 0.88rem; color: rgba(255,255,255,.75); line-height: 1.6; }

/* ---- Why grid ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.why-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.why-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(245,166,35,.15);
  line-height: 1;
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-item p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* ---- Logotypy partnerów sprzętowych ---- */
.partners-logos-section {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.partners-logos-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

/* ---- Partner form ---- */
.partner-form-section {
  padding: 60px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.partner-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.partner-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  z-index: 1;
}
.partner-form-wrapper textarea {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-main);
}
.partner-form-wrapper textarea::placeholder { color: rgba(255,255,255,.3); }
.partner-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,166,35,.06);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.form-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.form-submit-row .btn { width: 100%; justify-content: center; }
.partner-success {
  text-align: center;
  padding: 20px;
}
.partner-success .success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: 0 10px 40px rgba(34,197,94,.4);
  animation: successPop .6s ease both;
}
.partner-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.partner-success p {
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-card--featured { grid-column: 1 / 3; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .two-col-layout { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card--featured { grid-column: auto; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .partner-form-wrapper { padding: 28px 20px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .profile-grid { grid-template-columns: 1fr; }
  .partner-highlights { gap: 6px; }
}

/* Załącznik CV */
#p-cv-file {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
}
#p-cv-file::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: #f5a623;
  color: #10151f;
  font-weight: 600;
  cursor: pointer;
}
#p-cv-file::file-selector-button:hover {
  background: #ffb43a;
}

/* ---- CV email link (same style as privacy link) ---- */
.cv-email-link { color: #C28C3D; text-decoration: underline; text-decoration-color: #C28C3D; }
.cv-email-link:hover { color: #d49a4d; text-decoration-color: #d49a4d; }
