/* Super OZE — B2B home, faithful Figma implementation */

:root {
  --bg: #f8f8f8;
  --ink: #292627;
  --ink-soft: rgba(41, 38, 39, 0.8);
  --gray: #636363;
  --gray-2: #515151;
  --gray-3: #959595;
  --gray-4: #bbbbbb;
  --gray-5: #a2a2a2;
  --brand: #00dd8e;
  --brand-deep: #008c5a;
  --cream: #fff5d2;
  --surface: #f1f1f1;
  --surface-2: #f3f3f3;
  --dark: #292627;
  --white: #ffffff;
  --amber: #ffb114;
  --line: #515151;

  --radius-card: 30px;
  --radius-tile: 20px;
  --radius-button: 10px;
  --radius-pill: 70px;

  --font-display: "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-mono: "Inter", system-ui, sans-serif;
}

/* Inter v4 — opsz axis auto-switches to display proportions at larger sizes */
html {
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01", "ss03";
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  background: 0;
  cursor: pointer;
  color: inherit;
}

/* ---------- stage: fixed 1440 desktop ---------- */
.stage {
  width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.h-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.035em;
  color: #fff;
}

.h-hero__light {
  font-weight: 200;
  letter-spacing: -0.025em;
}

.h-section__light {
  font-weight: 300;
  letter-spacing: -0.025em;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.h-section--invert {
  color: #fff;
}

.h-card {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h-kpi {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.h-irr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 37px;
  letter-spacing: -0.005em;
  color: #fff;
}

.body-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}

.body-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-soft);
}

.mono {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(248, 248, 248, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__logo {
  width: 89px;
  height: 43px;
  display: flex;
  align-items: center;
}

.nav__logo img {
  width: 89px;
  height: 43px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__item:hover {
  color: var(--brand-deep);
}

.nav__item--trigger {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__caret {
  width: 9px;
  height: 9px;
  transition: transform 0.25s ease;
}

.nav__item:hover .nav__caret,
.nav__dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}

/* dropdown panel */
.nav__dropdown {
  position: relative;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -28px;
  width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 6px 16px -6px rgba(0, 0, 0, 0.08),
    0 24px 48px -16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
  padding: 12px;
}

.nav__dropdown.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* invisible bridge so hover doesn't break */
.nav__menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav__menu-inner {
  display: flex;
  flex-direction: column;
}

.nav__menu-item {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s ease;
}

.nav__menu-item:hover {
  background: rgba(0, 221, 142, 0.1);
  color: var(--brand-deep);
  padding-left: 22px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 1440px;
  height: 645px;
  padding: 0;
}

.hero__media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 636px;
  border-radius: 40px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.48) 100%),
    url(assets/hero.jpg);
  background-size: cover;
  background-position: center bottom;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 727px 428px;
  column-gap: 185px;
  padding: 109px 38px 0 62px;
  height: 100%;
}

.hero__media { z-index: 1; }

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 740px;
}

.hero__eyebrow {
  color: var(--brand);
}

.hero__title {
  text-wrap: pretty;
}

.hero__lede {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
}

.hero__ctas {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.btn--brand {
  background: var(--brand);
  color: #000;
}

.btn--brand:hover {
  background: #00f2a0;
  box-shadow: 0 8px 22px -8px rgba(0, 221, 142, 0.6);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--ghost-dark:hover {
  background: var(--ink);
  color: #fff;
}

.btn--dark {
  background: #000;
  color: #fff;
}

.btn--dark:hover {
  background: #1c1c1c;
  color: var(--brand);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6);
}

.nav__cta {
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn .arrow {
  width: 18px;
  height: 12px;
}

/* hero glass card */
.hero__card {
  position: relative;
  align-self: start;
  margin-top: 0;
  width: 428px;
  height: 496px;
  border-radius: var(--radius-tile);
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(44px);
  -webkit-backdrop-filter: blur(44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

.hero__card-eyebrow {
  color: var(--brand);
}

.hero__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 0;
  padding: 14px 10px 14px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: background 0.35s ease, border-color 0.35s ease,
              transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  min-height: 92px;
  cursor: pointer;
}

.step-row.is-active {
  background: rgba(0, 221, 142, 0.08);
  border-color: rgba(0, 221, 142, 0.45);
  transform: translateX(2px);
}

.step-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 221, 142, 0.4);
}

.step-row__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.step-row__text {
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: -0.01em;
  min-width: 0;
}

.step-row__title {
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  color: #fff;
}

.step-row__sub {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.65);
  white-space: pre-line;
}

.hero__pager {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  display: flex;
  gap: 13px;
  padding: 8px 16px;
  border-radius: 8px;
}

.pager-dot {
  width: 6.8px;
  height: 6.8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.pager-dot.is-active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}

/* ---------- About / Utility-scale partner ---------- */
.about {
  margin-top: 11px;
  width: 1440px;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 82px 146px 75px 60px;
  position: relative;
  display: grid;
  grid-template-columns: 423px 620px;
  column-gap: 190px;
  align-items: start;
}

.about__media {
  width: 423px;
  height: 559px;
  border-radius: var(--radius-tile);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)),
    url(assets/about.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.about__irr {
  position: absolute;
  left: 15px;
  top: 24px;
  right: 15px;
  height: 147px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.19);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.about__irr h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 37px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.about__irr p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 700px;
  padding-top: 8px;
}

.about__copy h2 {
  text-wrap: balance;
}

.about__copy p {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  white-space: pre-line;
}

.about__copy .btn {
  margin-top: 10px;
  align-self: flex-start;
}

/* ---------- "How it works" — 4 dark step tiles ---------- */
.how {
  margin-top: 0;
  width: 1440px;
  padding: 56px 63px 36px 63px;
}

.how__head {
  display: flex;
  flex-direction: column;
  gap: 31px;
  align-items: center;
  text-align: center;
  margin-bottom: 85px;
}

.how__grid {
  display: flex;
  gap: 22px;
  justify-content: center;
}

.how-tile {
  position: relative;
  flex: 0 0 312px;
  height: 459px;
  border-radius: var(--radius-tile);
  background: var(--ink);
  padding: 44px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s;
}

.how-tile__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.how-tile__arrow {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--brand);
  transition: transform 0.3s ease;
}

.how-tile:hover .how-tile__arrow {
  transform: translateY(4px);
}

.how-tile__body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.how-tile__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-tile__list p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--gray-3);
  margin-bottom: 4px;
}

.how-tile__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.how-tile__list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--brand);
}

.how-tile__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.how-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.how-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 100% 0%,
    rgba(0, 221, 142, 0.18),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.how-tile:hover::after {
  opacity: 1;
}

.how-tile h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: -0.02em;
  color: #fff;
}

.how-tile p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--gray-3);
  white-space: pre-line;
}

/* ---------- Co robimy: green carousel ---------- */
.offers {
  position: relative;
  margin-top: 11px;
  width: 1439px;
  height: 716px;
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.offers__head {
  position: absolute;
  left: 60px;
  top: 223px;
  width: 365px;
  display: flex;
  flex-direction: column;
  gap: 31px;
}

.offers__head h2 {
  /* matches Figma headline weight/size */
}

.offers__head p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--gray);
}

.offers__viewport {
  position: absolute;
  left: 448px;
  top: 138px;
  width: 991px;
  height: 486px;
  overflow: hidden;
}

.offers__controls {
  position: absolute;
  left: 58px;
  top: 512px;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 60px;
}

.offers__track {
  display: flex;
  gap: 10px;
  height: 100%;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.2, 1);
}

.offer-card {
  position: relative;
  flex: 0 0 348px;
  height: 486px;
  border-radius: var(--radius-card);
  background: var(--brand);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 100%,
    rgba(0, 140, 90, 0.4),
    transparent 50%
  );
  pointer-events: none;
}

.offer-card__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  position: relative;
}

.offer-card__body {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: -0.02em;
  color: #000;
}

.offer-card p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(28, 28, 28, 0.85);
}

.offer-card__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #000;
  align-self: flex-start;
  transition: gap 0.25s ease;
}

.offer-card__cta:hover {
  gap: 16px;
}

.round-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.15);
}

.round-btn:hover {
  background: var(--ink);
  color: var(--brand);
  transform: scale(1.06);
}

.round-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.offers__pager {
  display: flex;
  gap: 13px;
  align-items: center;
}

.offers__pager .pager-dot {
  background: rgba(41, 38, 39, 0.25);
}

.offers__pager .pager-dot.is-active {
  background: var(--ink);
}

/* radial blob behind track */
.offers__blob {
  position: absolute;
  left: -183px;
  top: 236px;
  width: 219px;
  height: 290px;
  border-radius: 50%;
  background: rgba(0, 140, 90, 0.5);
  filter: blur(40px);
  pointer-events: none;
}

/* ---------- Why Super OZE — cream ---------- */
.why {
  margin-top: 15px;
  width: 1438px;
  border-radius: var(--radius-card);
  background: var(--cream);
  padding: 70px 30px 30px 30px;
  position: relative;
  display: grid;
  grid-template-columns: 479px 1fr;
  gap: 40px;
}

.why__media {
  width: 479px;
  height: 584px;
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(assets/why.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.why__media .why__eyebrow {
  position: absolute;
  left: 39px;
  top: 40px;
  color: #fff;
}

.why__media .why__logo {
  position: absolute;
  left: 277px;
  bottom: 30px;
  width: 175px;
  height: 85px;
  opacity: 0.95;
}

.why__media .why__logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
  padding-top: 0;
}

.why-card {
  border-radius: var(--radius-tile);
  background: rgba(255, 255, 255, 0.55);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 282px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
}

.why-card__eyebrow {
  color: var(--amber);
}

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: pre-line;
}

.why-card p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray);
}

/* ---------- Aktualny projekt — dark, accordion ---------- */
.project {
  margin-top: 15px;
  width: 1439px;
  border-radius: var(--radius-card);
  background: var(--dark);
  padding: 62px 60px 60px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.project__head {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 689px;
  margin-bottom: 38px;
}

.project__head .eyebrow {
  color: var(--brand);
}

.project__head h2 {
  color: #fff;
}

.project__head p {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.acc-item {
  border-radius: var(--radius-tile);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: background 0.25s ease;
}

.acc-item.is-open {
  background: rgba(255, 255, 255, 0.08);
}

.acc-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 40px 32px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.acc-head .eyebrow {
  color: var(--brand);
}

.acc-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.01em;
}

.acc-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.acc-item.is-open .acc-icon {
  transform: rotate(180deg);
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--brand);
  inset: 50% 0 auto;
  height: 1.5px;
  transform: translateY(-50%);
  transition: opacity 0.25s ease;
}

.acc-icon::after {
  inset: 0 50% auto;
  width: 1.5px;
  height: auto;
  bottom: 0;
  transform: translateX(-50%);
}

.acc-item.is-open .acc-icon::after {
  opacity: 0;
}

.acc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 20px 0;
  min-height: 52px;
  border-bottom: 1px solid rgb(81, 81, 81);
  margin-top: 0;
}

.acc-row:first-child {
  border-top: 1px solid rgb(81, 81, 81);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-item.is-open .acc-body {
  max-height: 800px;
}

.acc-table {
  display: flex;
  flex-direction: column;
  padding: 0 40px 32px;
}

.acc-row .label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.acc-row .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.005em;
}

.acc-row .value--text {
  font-family: var(--font-display);
  font-weight: 700;
}

.project__nda {
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 40px;
}

/* ---------- Financial model — green ---------- */
.fin {
  margin-top: 20px;
  width: 1439px;
  border-radius: var(--radius-card);
  background: var(--brand);
  padding: 62px 60px 70px;
  position: relative;
  overflow: hidden;
}

.fin__head {
  max-width: 872px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 52px;
}

.fin__head .eyebrow {
  color: var(--ink);
}

.fin__kpis {
  width: 1319px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-tile);
  padding: 20px;
  gap: 0;
}

.kpi {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

.kpi + .kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 68px;
  background: rgb(41, 38, 39);
  transform: translateY(-50%);
}

.kpi__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
}

.kpi__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  white-space: nowrap;
}

/* fin: investment details — 3 dark cards in a row */
.fin__details {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fin-card {
  border-radius: var(--radius-tile);
  background: rgba(41, 38, 39, 0.08);
  padding: 40px;
  min-height: 462px;
}

.fin-card__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.fin-card__head .eyebrow {
  color: var(--ink);
}

.fin-card__head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}

.fin-card__rows {
  display: flex;
  flex-direction: column;
}

.fin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 20px 0;
  min-height: 52px;
  border-bottom: 1px solid rgb(0, 221, 142);
  margin-top: 0;
}

.fin-row:first-child {
  border-top: 1px solid rgb(0, 221, 142);
}

.fin-row.is-total .label,
.fin-row.is-total .value {
  font-weight: 700;
}

.fin-row .label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
}

.fin-row .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
}

.fin__sources-eyebrow {
  margin-top: 50px;
  text-align: center;
  color: var(--ink);
}

.fin__sources {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 24px;
}

.fin-source {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.fin-source + .fin-source::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 60px;
  background: rgba(41, 38, 39, 0.25);
  transform: translateY(-50%);
}

.fin-source h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
}

.fin-source p {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 16px;
  width: 1440px;
  padding: 90px 60px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
}

.footer__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 50px;
  max-width: 670px;
}

.footer__cta h2 {
  text-wrap: balance;
}

.footer__cta p {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray);
}

.contact {
  width: 672px;
  background: #fff;
  border-radius: var(--radius-tile);
  padding: 30px 30px 36px;
  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.1),
    0 50px 50px -30px rgba(0, 0, 0, 0.06),
    0 114px 68px -60px rgba(0, 0, 0, 0.04);
}

.contact__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #000;
  margin-bottom: 26px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact .input,
.contact .textarea {
  width: 100%;
  background: #f3f3f3;
  border-radius: 10px;
  padding: 10px 14px;
  height: 40px;
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--gray);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
}

.contact .input:focus,
.contact .textarea:focus {
  background: #fff;
  border-color: var(--brand);
}

.contact .textarea {
  width: 100%;
  height: 178px;
  resize: none;
  padding: 12px 14px;
}

.contact .phone {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 10px;
  padding: 2px;
  height: 40px;
}

.contact .phone__cc {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 8px;
  background: #dfdfdf;
  border-radius: 8px 0 0 8px;
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--gray);
}

.contact .phone__cc .flag {
  width: 21px;
  height: 14px;
  background:
    linear-gradient(to bottom, #fff 0 50%, #dc143c 50% 100%);
  border-radius: 2px;
}

.contact .phone input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding-left: 14px;
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--gray);
  height: 36px;
}

.contact__legal {
  font-family: var(--font-text);
  font-size: 11px;
  line-height: 15px;
  color: #bbb;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact__legal input[type="checkbox"] {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.contact__submit {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.contact__submit .btn {
  border: 1px solid var(--gray);
  background: transparent;
  color: var(--gray);
  height: 48px;
  padding: 0 22px;
  font-family: var(--font-text);
  font-size: 15px;
}

.contact__submit .btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.footer__legal {
  margin-top: 50px;
  text-align: center;
}

.footer__address {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 4px;
}

.footer__privacy {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(162, 162, 162);
  text-decoration: underline;
}

/* ---------- Reveal animations ----------
   Elements are visible by DEFAULT (no opacity:0 here). useReveal handles
   the hide-then-show lifecycle by setting inline styles and driving the
   reveal animation via Web Animations API — only when the document is
   visible. If the document is hidden, elements snap to their visible
   state, ensuring users never land on a blank page.
*/

/* ---------- helpers ---------- */
.flex { display: flex; }
.col { flex-direction: column; }
.center { align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ---------- Motion polish ---------- */

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #00f2a0, var(--brand));
  background-size: 200% 100%;
  transform-origin: left center;
  z-index: 1000;
  pointer-events: none;
  animation: progressShimmer 4s linear infinite;
  box-shadow: 0 0 18px rgba(0, 221, 142, 0.55);
}

@keyframes progressShimmer {
  to { background-position: 200% 0; }
}

/* cursor-follow glow on cards */
.glow-card {
  position: relative;
  isolation: isolate;
}

/* pulsing halo on primary CTAs */
.btn--brand {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.btn--brand::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(0, 221, 142, 0.55), transparent 70%);
  opacity: 0;
  z-index: -1;
  filter: blur(14px);
  transition: opacity 0.4s ease;
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn--brand:hover::before {
  opacity: 1;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* animated conic-gradient orbs (dark sections) */
.orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite alternate,
             orbSpin 30s linear infinite;
}
.orb--brand {
  background: conic-gradient(
    from 0deg,
    rgba(0, 221, 142, 0.7),
    rgba(0, 140, 90, 0.4),
    rgba(0, 221, 142, 0.7)
  );
}
.orb--amber {
  background: conic-gradient(
    from 0deg,
    rgba(255, 177, 20, 0.55),
    rgba(217, 119, 87, 0.3),
    rgba(255, 177, 20, 0.55)
  );
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(40px, -30px); }
  100% { transform: translate(-30px, 30px); }
}
@keyframes orbSpin {
  to { transform: rotate(360deg); }
}

/* magnetic / hover lift wrappers */
.magnetic {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

/* round button — better magnetic feedback */
.round-btn.magnetic {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              background 0.2s ease, color 0.2s ease, box-shadow 0.3s ease;
}

/* hero title char-by-char reveal */
.h-hero .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em;
  margin: 0 -0.04em;
}
.h-hero .word > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: charRise 0.7s cubic-bezier(0.25, 1, 0.3, 1) forwards;
}
@keyframes charRise {
  to { opacity: 1; transform: none; }
}

/* card lift on hover — universal */
.lift {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.5s ease;
}
.lift:hover {
  transform: translateY(-6px);
}

/* shimmer for image placeholders / accents */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* fade-in for accordion content */
.acc-item.is-open .acc-table {
  animation: bodyFade 0.55s 0.05s ease both;
}
@keyframes bodyFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .orb,
  .btn--brand::before,
  .h-hero .word > span {
    animation: none !important;
  }
  .h-hero .word > span { opacity: 1; transform: none; }
}
