/* StroomSmart — gedeelde stylesheet */

:root {
  --color-primary: #eb5c1d;
  --color-primary-dark: #c84a12;
  --color-secondary: #f9f9f9;
  --color-accent: #e6b112;
  --color-bg-dark: #6b6e70;
  --color-text: #000000;
  --color-text-soft: #3a3d40;
  --color-text-muted: #6b6e70;
  --color-border: #e6e6e6;
  --color-white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);

  --container: 1200px;

  --font-body: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav-brand img {
  height: 44px;
  width: auto;
}

.nav-brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-brand-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: var(--color-secondary);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--color-primary);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.nav-link-contact {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero-photo-mobile {
  display: none;
}

.hero-photo-usps {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* Achtergrondafbeelding van de hero */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-thuisbatterij.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero::after {
  /* Lichte scrim: alleen onder de tekst links iets donkerder, rechts vrijwel doorzichtig */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 22, 24, 0) 0%, rgba(20, 22, 24, 0) 35%, rgba(20, 22, 24, 0) 60%, rgba(20, 22, 24, 0) 100%);
  pointer-events: none;
}

.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-trust {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  color: var(--color-white);
}

.hero-copy h1 span {
  color: var(--color-accent);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-text-panel {
  display: inline-block;
  background: rgba(20, 22, 24, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-top: 8px;
}

.hero-text-panel .hero-lead {
  margin-bottom: 0;
}

.hero-text-panel .hero-trust {
  margin-top: 18px;
  gap: 10px 18px;
  font-size: 0.85rem;
}

.hero-text-panel .hero-trust span {
  white-space: nowrap;
}

.hero-text-panel .hero-trust span::before {
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: url('assets/usp-bullet.png') center / contain no-repeat;
}

.hero-trust span::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  background: url('assets/usp-bullet.png') center / contain no-repeat;
}

/* Lead-formulier in hero */
.lead-card {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  box-shadow: var(--shadow-lg);
}

.lead-card h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.lead-card .lead-sub {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.lead-card .form-row {
  margin-bottom: 10px;
}

.lead-card .form-row input {
  padding: 11px 13px;
  font-size: 0.95rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(235, 92, 29, 0.15);
}

.form-fineprint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  text-align: center;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f6ec;
  color: #1f6b34;
  border: 1px solid #b8e0c2;
}

.form-status.error {
  display: block;
  background: #fdecec;
  color: #9b2424;
  border: 1px solid #f1bcbc;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--color-secondary);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Sectie 2 — Waarom */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.reason-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      #efefef 0 10px,
      #f7f7f7 10px 20px
    );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

img.reason-img {
  object-fit: cover;
  background: none;
  display: block;
}

.reason-img::after {
  content: "afbeelding";
  border: 1px dashed var(--color-text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
}

.reason-body {
  padding: 24px 26px 28px;
}

.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.reason-body h3 {
  margin-bottom: 8px;
}

.reason-body p {
  color: var(--color-text-soft);
  margin: 0;
  font-size: 0.98rem;
}

/* Sectie 3 — Stappen */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.step-num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.5rem;
  margin: 0;
}

.step p {
  color: var(--color-text-soft);
  margin: 0;
}

/* Sectie 4 — FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 26px 24px;
  color: var(--color-text-soft);
}

/* Page hero (sub-pages) */
.page-hero {
  background: var(--color-secondary);
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin: 0 0 12px;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-text-soft);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}

.contact-list .ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(235, 92, 29, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  margin-bottom: 6px;
}

.contact-card .lead-sub {
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

/* Empty page (voor-bedrijven) */
.empty-state {
  text-align: center;
  padding: 120px 0;
}

.empty-state h1 {
  margin-bottom: 16px;
}

.empty-state p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 28px;
}

.empty-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(230, 177, 18, 0.15);
  color: #8a6700;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1f2122;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  background: var(--color-white);
  border-radius: 8px;
  padding: 4px;
}

.footer-brand-text {
  font-weight: 800;
  color: var(--color-white);
  font-size: 1.1rem;
}

.footer-brand-text span {
  color: var(--color-primary);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer-col p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Mobiel (desktop blijft ongewijzigd): kop en bullets eerst op wit,
     daaronder de foto als vierkante band, dan het formulier. */
  .hero {
    background: #ffffff;
    color: var(--color-text);
    padding: 0 0 40px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-inner { gap: 0; }

  /* Lichtgrijs tekstvlak, zodat de kop zich losmaakt van de witte header */
  .hero-copy {
    background: #f2f3f4;
    margin-inline: -24px;
    padding: 28px 24px 30px;
  }

  .hero-copy h1,
  .hero-copy .hero-lead,
  .hero-copy .hero-trust {
    text-shadow: none;
  }

  .hero-lead {
    color: var(--color-text-soft);
    max-width: none;
  }

  /* Het donkere paneel is op wit niet meer nodig */
  .hero-text-panel {
    display: block;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    margin-top: 0;
    border-radius: 0;
  }

  .hero-text-panel .hero-trust {
    display: none;
  }

  /* Vierkante foto, full-bleed en volledig vrij van tekst */
  .hero-photo-mobile {
    display: block;
    position: relative;
    margin-inline: -24px;
    aspect-ratio: 1 / 1;
    background: url('assets/hero-mobile-square.webp') center / cover no-repeat;
  }

  .hero-photo-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 78%, #ffffff 100%);
    pointer-events: none;
  }

  /* Subtiel USP-vlak in de wandstrook rechts van de thuisbatterij.
     Smal gehouden zodat de batterij zelf vrij in beeld blijft. */
  .hero-photo-usps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 11%;
    right: 24px;
    width: 44%;
    max-width: 178px;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 10px 11px;
    background: rgba(18, 20, 22, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }

  .hero-photo-usps li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
  }

  .hero-photo-usps li::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-top: 0;
    border-radius: 0;
    background: url('assets/usp-bullet.png') center / contain no-repeat;
  }

  /* Formulier schuift over de foto tot net onder de thuisbatterij (~53%).
     De foto is full-bleed en dus 48px breder dan dit grid-item, waarop de
     procentuele marge zich baseert; die 2x 24px padding compenseren we. */
  .hero .lead-card {
    position: relative;
    z-index: 2;
    margin-top: calc(-47% - 23px);
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-cta .btn-secondary { display: none; }
  .nav-cta { gap: 8px; }
  /* Contact verhuist naar het hamburgermenu, zodat de menuknop op smalle
     telefoons binnen het scherm blijft (geen horizontale overflow). */
  .nav-cta .btn-primary { display: none; }
  .nav-link-contact { display: list-item; }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .nav-links.open {
    max-height: 500px;
    padding: 8px 16px 16px;
  }

  .nav-links a {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  .nav-links a.active::after { display: none; }

  .nav-links li:last-child a { border-bottom: none; }

  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .lead-card { padding: 24px; }
  .contact-card { padding: 24px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================== */
/* PARTNERS PAGE                                      */
/* ================================================== */
.partners-page {
  background: var(--color-white);
  color: var(--color-text);
}

/* Breadcrumb */
.partners-breadcrumb {
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.partners-breadcrumb a {
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.partners-breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.partners-breadcrumb .home-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partners-breadcrumb .crumb-sep {
  opacity: 0.55;
  font-size: 0.95rem;
}

.partners-breadcrumb .current {
  color: var(--color-text-soft);
  font-weight: 500;
}

/* Hero (modifier on .page-hero) */
.page-hero.partners-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background: #1a1d1f;
  border-bottom: none;
  color: var(--color-white);
  min-height: 460px;
  display: flex;
  align-items: center;
}

.page-hero.partners-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/partners-hero.png') no-repeat right 15% / cover;
  z-index: 0;
}

.page-hero.partners-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(15, 17, 19, 0.88) 0%,
      rgba(15, 17, 19, 0.72) 28%,
      rgba(15, 17, 19, 0.4) 55%,
      rgba(15, 17, 19, 0.1) 80%,
      rgba(15, 17, 19, 0) 100%);
  z-index: 1;
}

.page-hero.partners-hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.partners-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
}

.partners-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 720px;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.partners-hero h1 em {
  color: var(--color-primary);
  font-style: normal;
  font-weight: 800;
}

.partners-hero .partners-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 580px;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* Section-head: align with cards (left aligned) */
.partners-page .section-head {
  margin-bottom: 40px;
}

/* Three benefit cards */
.partners-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.partners-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--color-white);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.partners-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partners-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(235, 92, 29, 0.1);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.partners-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partners-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}

.partners-card p {
  font-size: 1rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  margin: 0;
}

/* Steps (3-col cards like homepage .step) */
.partners-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.partners-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partners-step-num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.partners-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.partners-step p {
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Price box — full container width, 2-col on desktop */
.partners-price {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.partners-price-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}

.partners-price-text p {
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
  font-size: 1.02rem;
}

.partners-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partners-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 16px;
}

.partners-pill::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23eb5c1d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/></svg>");
}

/* CTA + form: 2-col grid like .contact-grid */
.partners-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.partners-cta-info h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}

.partners-cta-info p {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.partners-cta-info .contact-list {
  margin: 24px 0 22px;
}

.partners-cta-info .cta-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
}

.partners-cta-info .cta-foot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
}

.partners-cta-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.partners-cta-card h2 {
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.partners-cta-card .lead-sub {
  color: var(--color-text-muted);
  margin: 0 0 22px;
  font-size: 0.96rem;
}

/* AVG note */
.partners-avg {
  padding: 22px 0 32px;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.partners-avg svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .partners-cards { grid-template-columns: repeat(2, 1fr); }
  .partners-steps { grid-template-columns: repeat(2, 1fr); }
  .partners-price { grid-template-columns: 1fr; gap: 32px; padding: 44px; }
  .partners-cta-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .partners-breadcrumb { padding: 18px 0 0; font-size: 0.78rem; }
  .partners-cards,
  .partners-steps { grid-template-columns: 1fr; gap: 18px; }
  .page-hero.partners-hero {
    padding: 64px 0 72px;
    min-height: 380px;
  }
  .page-hero.partners-hero::before {
    background-position: 70% 15%;
  }
  .page-hero.partners-hero::after {
    background:
      linear-gradient(90deg,
        rgba(15, 17, 19, 0.92) 0%,
        rgba(15, 17, 19, 0.78) 60%,
        rgba(15, 17, 19, 0.55) 100%);
  }
  .partners-hero .partners-sub { font-size: 1rem; }
  .partners-price {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 24px;
  }
  .partners-cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .partners-cta-card { padding: 28px 24px; }
  .partners-card,
  .partners-step { padding: 28px 24px; }
  .partners-step-num { font-size: 2.8rem; }
  .partners-avg { padding: 18px 0 28px; }
}
