/* =========================================================
   Lifessence LP — Styles
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- tokens ---------- */
:root {
  --yellow: #FFBF00;
  --dark: #1c2032;
  --dark-2: #1c2032;
  --dark-3: #1c2032;
  --teal: #009687;
  --teal-dark: #007a70;
  --light: #fdfdfd;
  --light-end: #f8f8f8;
  --white: #FFFFFF;
  --text: #464646;
  --text-light: #7E7E7E;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
  --section-py: 100px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, .12);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.section-label {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

.section-label span {
  color: var(--yellow);
}

.section-sublabel {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================================================
   NAV BAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: rgba(22, 25, 37, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo img {
  height: 32px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 32px;
}

.navbar__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color .25s;
}

.navbar.scrolled .navbar__links a {
  color: rgba(255, 255, 255, .7);
}

.navbar__links a:hover {
  color: var(--dark);
}

.navbar.scrolled .navbar__links a:hover {
  color: var(--white);
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  font-size: .9rem;
  transition: background .25s, transform .2s;
}

.navbar__cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

.navbar.scrolled .navbar__hamburger span {
  background: var(--white);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--light) 0%, var(--light-end) 100%);
  padding: 120px 0 40px;
  overflow: hidden;
  text-align: center;
  color: var(--dark);
}

/* Video background */
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  background-color: var(--dark);
  background-image: url('assets/desktop-first-frame.png');
  background-position: center;
  background-size: cover;
}

@media (max-width: 767px) {
  .hero__video {
    background-image: url('assets/mobile-first-frame.png');
  }
}

/* Semi-transparent overlay – subtle warm tint, lets video show */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(170deg, rgba(255, 248, 230, .2) 0%, rgba(255, 243, 210, .15) 50%, rgba(255, 240, 200, .25) 100%);
  z-index: 1;
}

/* Ensure all hero content sits above video + overlay */
.hero>.container {
  position: relative;
  z-index: 2;
}

/* Frosted glass panel behind text */
.hero__glass {
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 840px;
  margin: 0 auto 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 191, 0, .18);
  color: #996d00;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 auto 20px;
  color: var(--dark);
}

.hero__title span {
  color: var(--yellow);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--teal);
  color: var(--white);
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(0, 201, 167, .35);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 201, 167, .4);
}

.btn-primary svg {
  transition: transform .25s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(22, 25, 37, .25);
  color: var(--dark);
  transition: border-color .25s, background .25s, transform .2s;
}

.btn-outline:hover {
  border-color: var(--dark);
  background: rgba(22, 25, 37, .04);
  transform: translateY(-2px);
}

/* Hero images row */
.hero__images {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-end;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__images img {
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
  object-fit: cover;
  transition: transform .4s;
}

.hero__images img:nth-child(1) {
  width: 18%;
  transform: translateY(10px);
}

.hero__images img:nth-child(2) {
  width: 20%;
  transform: translateY(-5px);
}

.hero__images img:nth-child(3) {
  width: 24%;
  transform: translateY(-20px);
}

.hero__images img:nth-child(4) {
  width: 20%;
  transform: translateY(-5px);
}

.hero__images img:nth-child(5) {
  width: 18%;
  transform: translateY(10px);
}

/* Hero pain-points */
.hero__pain {
  max-width: 960px;
  margin: 60px auto 0;
  text-align: left;
  background: var(--dark);
  border-radius: 24px;
  padding: 48px 48px 44px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .2);
}

.hero__pain-quote {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero__pain-quote::before {
  content: '"';
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 800;
  margin-right: 4px;
}

.hero__pain-quote::after {
  content: '"';
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 800;
  margin-left: 4px;
}

.hero__pain-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hero__pain-item {
  padding-left: 20px;
  border-left: 3px solid var(--yellow);
}

.hero__pain-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.hero__pain-item p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  line-height: 1.65;
}

/* =========================================================
   JAK TO DZIAŁA — timeline
   ========================================================= */
.how-it-works {
  padding: var(--section-py) 0;
  position: relative;
  background-image: url('assets/bg/section-jak-to-dziala-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 50, .85);
  z-index: 0;
}

.how-it-works>.container {
  position: relative;
  z-index: 1;
}

.how-it-works .section-label {
  color: var(--white);
}

.how-it-works .section-sublabel {
  color: rgba(255, 255, 255, .6);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

/* vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--yellow), rgba(255, 191, 0, .2));
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  position: relative;
  padding: 30px 0;
}

.timeline-step:nth-child(odd) {
  flex-direction: row;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-step__content {
  flex: 1;
  padding: 28px 32px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .2);
  transition: transform .3s, box-shadow .3s;
}

.timeline-step__content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, .3);
}

.timeline-step:nth-child(odd) .timeline-step__content {
  text-align: right;
}

.timeline-step:nth-child(even) .timeline-step__content {
  text-align: left;
}

.timeline-step__number {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-step__number img {
  width: 72px;
  height: 72px;
}

.timeline-step__content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.timeline-step__content p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

.timeline-step__content .examples {
  margin-top: 10px;
  font-size: .88rem;
  font-style: italic;
  color: rgba(255, 255, 255, .5);
}

/* placeholder for the other side */
.timeline-step__spacer {
  flex: 1;
}

/* =========================================================
   CZY TO DLA MNIE — personas
   ========================================================= */
.personas {
  padding: var(--section-py) 0;
  background: linear-gradient(170deg, var(--light) 0%, var(--light-end) 100%);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.persona-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s, box-shadow .35s;
}

.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.persona-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--teal);
}

.persona-card__body {
  padding: 28px;
}

.persona-card__emoji {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.persona-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.persona-card__meta {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.6;
}

.persona-card__meta strong {
  color: var(--text);
}

/* =========================================================
   EKOSYSTEM
   ========================================================= */
.ecosystem {
  padding: var(--section-py) 0;
  background: linear-gradient(170deg, var(--light) 0%, var(--light-end) 100%);
}

.eco-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  flex: 1;
}

.eco-mockup {
  position: sticky;
  top: 100px;
  width: 300px;
  flex-shrink: 0;
  text-align: center;
}

.eco-mockup img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, .15);
  border: 4px solid var(--white);
}

.eco-mockup__caption {
  margin-top: 20px;
  font-size: .95rem;
  color: var(--text-light);
  font-style: italic;
}

.eco-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .35s, box-shadow .35s;
  box-shadow: var(--shadow);
}

.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.eco-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.eco-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.eco-card__desc {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================================================
   JAK ZACZĄĆ
   ========================================================= */
.get-started {
  padding: var(--section-py) 0;
  position: relative;
  background-image: url('assets/bg/section-jak-zaczac-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}

.get-started::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 50, .85);
  z-index: 0;
}

.get-started>.container {
  position: relative;
  z-index: 1;
}

.get-started .section-label {
  color: var(--white);
}

.get-started .section-sublabel {
  color: rgba(255, 255, 255, .6);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: transform .35s, background .3s;
}

.step-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .08);
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card__desc {
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: var(--section-py) 0;
  background: var(--white);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  transition: box-shadow .3s;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: color .25s;
}

.faq-item__question:hover {
  color: var(--teal);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform .3s;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}

.faq-item.active .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer p {
  padding: 0 28px 22px;
  font-size: .93rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  padding: 80px 0;
  position: relative;
  background-image: url('assets/bg/section-zacznij-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  color: var(--white);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 50, .85);
  z-index: 0;
}

.cta-banner>.container {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner__title span {
  color: var(--yellow);
}

.cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  font-size: 1.1rem;
  padding: 16px 44px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 40px 0;
  background: var(--dark);
  text-align: center;
  color: #7E7E7E;
  font-size: .85rem;
  border-top: 1px solid #7E7E7E;
}

.footer__logo {
  height: 28px;
  margin: 0 auto 16px;
}

.footer a {
  color: #7E7E7E;
  transition: color .25s;
}

.footer a:hover {
  color: var(--white);
}

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 50, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
  z-index: 10000;
  text-align: center;
}

.modal.open .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  color: var(--dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover {
  background: var(--teal);
  color: var(--white);
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.modal__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__input-group input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.modal__input-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 135, 0.15);
}

.modal__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 12px;
}

.modal__checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.modal__checkbox-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.modal__checkbox-label a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal__checkbox-label a:hover {
  color: var(--teal-dark);
}

.modal__submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}

.modal__success {
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.4s ease forwards;
}

.modal__success-icon {
  color: var(--teal);
  margin-bottom: 20px;
}

.modal__success h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.modal__success p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal__content--large {
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal__doc-text {
  text-align: left;
  overflow-y: auto;
  padding-right: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.modal__doc-text::-webkit-scrollbar {
  width: 6px;
}

.modal__doc-text::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.modal__doc-text::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

.modal__doc-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark);
  margin: 20px 0 8px;
}

.modal__doc-text h4:first-child {
  margin-top: 0;
}

.modal__doc-text p {
  margin-bottom: 12px;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(28, 32, 50, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--light);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__text {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 800px;
}

.cookie-banner__btn {
  background: var(--teal);
  color: var(--dark);
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.2s;
}

.cookie-banner__btn:hover {
  background: #e6ac00;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px;
  }
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .eco-layout {
    flex-direction: column;
    align-items: center;
  }

  .eco-mockup {
    position: relative;
    top: 0;
    margin-top: 20px;
    width: 320px;
    max-width: 100%;
  }

  .hero__title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 70px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* mobile nav */
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--dark);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__images {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero__images img {
    width: 45% !important;
    transform: none !important;
  }

  .hero__images img:nth-child(5) {
    display: none;
  }

  .hero__pain {
    padding: 32px 24px 28px;
  }

  .hero__pain-quote {
    font-size: 1.1rem;
  }

  .hero__pain-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline::before {
    left: 28px;
  }

  .timeline-step {
    flex-direction: column !important;
    padding-left: 80px;
    gap: 0;
  }

  .timeline-step__spacer {
    display: none;
  }

  .timeline-step__number {
    left: 28px;
    transform: translateX(-50%);
  }

  .timeline-step__content {
    text-align: left !important;
  }

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

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

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

  .section-label {
    font-size: 2rem;
  }

  .cta-banner__title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.6rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__images img {
    width: 90% !important;
  }

  .hero__images img:nth-child(3),
  .hero__images img:nth-child(4),
  .hero__images img:nth-child(5) {
    display: none;
  }
}