:root {
  color-scheme: light;
  --forest-900: #101010;
  --forest-800: #101010;
  --forest-700: #5e636a;
  --forest-400: #5e636a;
  --sand-50: #e8efeb;
  --sand-100: #e8efeb;
  --white: #e8efeb;
  --black: #101010;
  --accent: #ff4a24;
  --nav-height: clamp(56px, 8vw, 80px);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  height: -webkit-fill-available;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
}

.preloader__progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255, 74, 36, 0.5);
}

.preloader__progress-text {
  position: absolute;
  top: 20px;
  right: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  z-index: 10000;
}

.preloader__skip {
  position: absolute;
  top: 20px;
  left: 40px;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  border-radius: 4px;
}

.preloader__skip:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.preloader__content {
  text-align: center;
  padding: 40px;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.preloader__text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader__text.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.preloader__join {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
  width: 100%;
  max-width: 100%;
}

/* Upewnij się że obraz ładuje się nawet gdy kontener jest ukryty */
.preloader__join img {
  visibility: visible;
  opacity: 1;
}

.preloader__join[style*="display: flex"],
.preloader__join[style*="display:flex"] {
  display: flex !important;
}

.preloader__logo {
  width: clamp(400px, 60vw, 800px);
  height: auto;
  max-width: 90vw;
  display: block;
  visibility: visible;
  opacity: 1;
  object-fit: contain;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOutScale {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--forest-900);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page {
  min-height: 100vh;
  background: var(--sand-50);
  overflow-x: hidden;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  margin-bottom: calc(var(--nav-height) * -1);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  isolation: isolate;
  z-index: 40;
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: none;
  transition: backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.site-header.is-glass::after {
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px rgba(16, 16, 16, 0.2);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px clamp(24px, 8vw, 96px);
  width: 100%;
  transition: transform 0.3s ease;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.site-header.is-glass .site-nav__logo {
  transform: scale(1.03);
}

.site-nav__logo {
  width: clamp(100px, 12vw, 160px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height) + 32px) clamp(24px, 8vw, 96px) 64px;
  color: var(--white);
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.7)
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}


.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 7rem);
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
}

.rotating-word {
  display: inline-block;
  margin-left: 0.3em;
  min-width: clamp(150px, 20vw, 250px);
  text-align: left;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  opacity: 1;
  transform: translateY(0);
  flex-shrink: 0;
}

.hero__subtitle {
  letter-spacing: 0.2em;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  text-transform: uppercase;
  margin: 0;
  color: var(--white);
  opacity: 0.9;
}


.primary-btn {
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--accent);
  color: var(--white);
  min-height: 44px;
  touch-action: manipulation;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.vision {
  background: var(--forest-800);
  color: var(--white);
  padding: clamp(48px, 10vw, 120px);
  text-align: left;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.vision h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--accent);
}


.statement {
  position: relative;
  min-height: 100vh;
  padding: clamp(48px, 8vw, 80px);
  background-image: url('../images/Untitled-1.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: var(--white);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.statement__content {
  max-width: 520px;
  text-align: left;
}

.statement__text {
  font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.7;
  margin: 0;
}

.features {
  background: var(--sand-50);
  padding: clamp(48px, 8vw, 120px) clamp(48px, 8vw, 120px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
  position: relative;
}

.features__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--forest-900);
  margin: 0 auto clamp(32px, 5vw, 48px) auto;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.features__list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  max-width: 100%;
  width: 100%;
  flex-wrap: wrap;
}

.features__visual {
  width: 100vw;
  margin-top: auto;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 0;
  position: relative;
  left: 0;
  right: 0;
  max-width: 100vw;
  overflow: hidden;
  padding: 0;
}

.features__visual img {
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

.feature-card {
  background: var(--white);
  border-radius: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(16, 16, 16, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 280px;
  touch-action: manipulation;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(16, 16, 16, 0.12);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1);
  color: var(--forest-900);
}

.feature-card__icon {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--forest-900);
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--forest-700);
}

.testimonials {
  position: relative;
  padding: clamp(48px, 8vw, 120px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
      180deg,
      rgba(16, 16, 16, 0.55),
      rgba(16, 16, 16, 0.8)
    ),
    url('../images/Untitled-3.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow-x: visible;
  overflow-y: hidden;
}

.testimonials__logo {
  position: absolute;
  left: clamp(-120px, -8vw, -80px);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  width: clamp(600px, 80vh, 1000px);
  height: auto;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
}

.testimonials__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.testimonials__cards-wrapper {
  flex: 1;
  overflow: hidden;
  max-width: calc(3 * 320px + 2 * 24px);
  margin: 0 auto;
  position: relative;
}

.testimonials__cards {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  will-change: transform;
}

.testimonial-card {
  background: rgba(232, 239, 235, 0.95);
  color: var(--forest-900);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(16, 16, 16, 0.4);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(16, 16, 16, 0.5);
}

.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card h4 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  text-align: right;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--forest-800);
}

.carousel__btn {
  background: rgba(232, 239, 235, 0.2);
  border: 2px solid rgba(232, 239, 235, 0.4);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 3;
}

.carousel__btn:hover {
  background: rgba(232, 239, 235, 0.3);
  border-color: rgba(232, 239, 235, 0.6);
  transform: scale(1.1);
}

.carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  z-index: 2;
  position: relative;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(232, 239, 235, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel__dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 5px;
}

.founders {
  background: var(--accent);
  padding: clamp(80px, 12vw, 160px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.founders__quote {
  max-width: 1200px;
  text-align: center;
}

.founders__quote-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.3;
  color: var(--black);
  font-weight: 800;
  margin: 0;
}

.founders__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.5vw, 24px);
  justify-items: center;
  align-items: start;
  max-width: 800px;
  width: 100%;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-8px);
}

.founder-card__photo {
  width: 100%;
  max-width: clamp(200px, 22vw, 280px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.founder-card:hover .founder-card__photo {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.founder-card__name {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  text-transform: uppercase;
  color: var(--black);
  font-weight: 800;
  margin: 16px 0 0 0;
  letter-spacing: 0.15em;
}

.join {
  background: var(--sand-50);
  padding: clamp(80px, 12vw, 120px) clamp(48px, 8vw, 120px) clamp(40px, 6vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.join__content {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.join__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest-900);
  margin: 0 0 16px 0;
}

.join__description {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--forest-700);
  margin: 0 0 40px 0;
}

.join__card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  padding: 32px 40px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(16, 16, 16, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.join__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(255, 74, 36, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.join__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(16, 16, 16, 0.15);
  border-color: var(--accent);
}

.join__card:hover::before {
  opacity: 1;
}

.join__card:hover .join__card-arrow {
  transform: translateX(8px);
}

.join__card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(255, 74, 36, 0.8) 100%);
  border-radius: 16px;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.join__card:hover .join__card-icon {
  transform: scale(1.1) rotate(5deg);
}

.join__card-content {
  flex: 1;
  text-align: left;
  position: relative;
  z-index: 1;
}

.join__card-label {
  display: block;
  font-size: 0.9rem;
  color: var(--forest-700);
  margin-bottom: 4px;
  font-weight: 400;
}

.join__card-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--forest-900);
  line-height: 1.2;
}

.join__card-arrow {
  font-size: 32px;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.join__card:hover .join__card-arrow {
  color: var(--forest-900);
}

.join__footer-text {
  margin-top: 32px;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--forest-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.about {
  background: var(--sand-50);
  padding: clamp(48px, 8vw, 120px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__content {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.about__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 25px 80px rgba(16, 16, 16, 0.25), 0 10px 30px rgba(16, 16, 16, 0.15);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__paragraphs p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--forest-800);
  margin: 0;
}

.about__highlight {
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem) !important;
  color: var(--forest-900) !important;
  margin-top: 8px !important;
}


.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 48px) clamp(32px, 5vw, 48px);
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 32px);
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid rgba(232, 239, 235, 0.1);
  margin-bottom: clamp(24px, 4vw, 32px);
}

.footer__logo {
  width: clamp(140px, 18vw, 200px);
  height: auto;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__email {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__email:hover {
  color: var(--accent);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  transition: transform 0.3s ease, color 0.3s ease;
  border-radius: 50%;
  background: rgba(232, 239, 235, 0.05);
}

.footer__social:hover {
  transform: translateY(-2px);
  color: var(--accent);
  background: rgba(255, 74, 36, 0.1);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2vw, 16px);
  text-align: center;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__link {
  color: rgba(232, 239, 235, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__link-separator {
  color: rgba(232, 239, 235, 0.4);
  font-size: 0.85rem;
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(232, 239, 235, 0.6);
  margin: 0;
}

.footer__author {
  font-size: 0.75rem;
  color: rgba(232, 239, 235, 0.5);
  margin: 0;
}

.footer__author-link {
  color: rgba(232, 239, 235, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__author-link:hover {
  color: var(--accent);
}

/* Document pages */
.document-page {
  background: var(--sand-50);
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 48px);
  min-height: calc(100vh - var(--nav-height));
}

.document-page__container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.document-page__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest-900);
  margin: 0 0 clamp(32px, 5vw, 48px) 0;
  text-align: center;
}

.document-page__content {
  background: var(--white);
  padding: clamp(32px, 5vw, 48px);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(16, 16, 16, 0.08);
}

.document-page__content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest-900);
  margin: clamp(32px, 5vw, 48px) 0 clamp(16px, 2vw, 24px) 0;
}

.document-page__content h2:first-of-type {
  margin-top: 0;
}

.document-page__content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--forest-900);
  margin: clamp(24px, 4vw, 32px) 0 clamp(12px, 2vw, 16px) 0;
}

.document-page__content p {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.8;
  color: var(--forest-700);
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
}

.document-page__content ul {
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
  padding-left: clamp(20px, 3vw, 32px);
}

.document-page__content li {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.8;
  color: var(--forest-700);
  margin-bottom: clamp(8px, 1vw, 12px);
}

.document-page__content a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.document-page__content a:hover {
  color: var(--forest-900);
  text-decoration: underline;
}

.document-page__content strong {
  font-weight: 700;
  color: var(--forest-900);
}

@media (max-width: 1024px) {
  .features {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px) 0;
    gap: clamp(32px, 6vw, 48px);
  }

  .features__visual {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .features__visual img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    max-height: 60vh;
    height: auto;
  }

  .statement__content {
    max-width: 100%;
    padding-right: clamp(24px, 4vw, 48px);
  }

  .testimonials__carousel {
    max-width: calc(2 * 320px + 1 * 24px + 96px);
  }

  .testimonials__cards-wrapper {
    max-width: calc(2 * 320px + 1 * 24px);
  }

  .testimonial-card {
    min-width: 300px;
  }

  .testimonials__logo {
    width: clamp(500px, 70vh, 800px);
    left: clamp(-100px, -6vw, -60px);
  }
}

@media (max-width: 768px) {
  .site-nav__logo {
    width: clamp(90px, 18vw, 140px);
  }

  .hero {
    padding: calc(var(--nav-height) + 24px) clamp(20px, 5vw, 48px) 48px;
  }

  .hero__content {
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .rotating-word {
    min-width: auto;
    margin-left: 0.3em;
    display: inline-block;
    flex-shrink: 1;
  }

  .vision {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
  }

  .vision h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .statement {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
    align-items: flex-end;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
  }

  .statement__content {
    max-width: 100%;
    text-align: left;
    padding: 0 clamp(24px, 5vw, 48px);
  }

  .statement__text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    text-align: left;
  }

  .features {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px) 0;
    gap: clamp(32px, 6vw, 48px);
  }

  .features__title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: clamp(24px, 4vw, 32px);
    text-align: center;
  }

  .features__list {
    flex-direction: column;
  }

  .document-page {
    padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 48px);
  }

  .document-page__content {
    padding: clamp(24px, 4vw, 32px);
  }

  .feature-card {
    padding: 24px;
    min-width: 100%;
  }

  .features__visual {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .features__visual img {
    object-fit: contain;
    object-position: center;
    max-height: 60vh;
    width: 100%;
    height: auto;
  }

  .feature-card__icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
  }

  .preloader__skip {
    top: 16px;
    left: 16px;
    padding: 10px 20px;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .preloader__progress-text {
    top: 16px;
    right: 16px;
    font-size: 1rem;
  }

  .preloader__content {
    padding: 30px 20px;
  }

  .preloader__logo {
    width: clamp(300px, 75vw, 600px);
    max-width: 85vw;
  }

  .hero__subtitle {
    font-size: clamp(0.65rem, 1.1vw, 0.9rem);
  }

  .about {
    padding: clamp(48px, 8vw, 100px) clamp(24px, 5vw, 48px);
    min-height: auto;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }

  .about__image {
    order: 1;
  }

  .about__text {
    order: 2;
  }

  .about__image img {
    max-width: 100%;
  }

  .join {
    padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 48px) clamp(32px, 5vw, 48px);
  }

  .join__card {
    padding: 24px;
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }

  .join__card-content {
    text-align: center;
  }

  .join__card-icon {
    width: 56px;
    height: 56px;
  }

  .join__card-icon svg {
    width: 40px;
    height: 40px;
  }

  .join__card-arrow {
    display: none;
  }

  .join__footer-text {
    margin-top: 24px;
    font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  }

  .founders {
    padding: clamp(60px, 10vw, 120px) clamp(32px, 6vw, 64px);
  }

  .founders__quote {
    text-align: left;
    padding: 0;
    width: 100%;
  }

  .founders__quote-text {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    text-align: left;
  }

  .footer {
    padding: clamp(32px, 6vw, 60px) clamp(24px, 5vw, 48px);
  }

  .footer__email {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  }

  .testimonials {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 4vw, 48px);
  }

  .testimonials__carousel {
    flex-direction: row;
    max-width: 100%;
    gap: 12px;
  }

  .testimonials__cards-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .testimonial-card {
    min-width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    padding: 24px;
  }

  .testimonials__cards-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .testimonials__cards {
    scroll-snap-align: start;
  }

  .testimonials__logo {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: clamp(120px, 20vw, 180px);
    margin-bottom: 24px;
    opacity: 0.6;
  }

  .carousel__btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .carousel__btn svg {
    width: 16px;
    height: 16px;
  }

  .founders {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
    gap: clamp(32px, 6vw, 48px);
  }

  .founders__quote {
    margin-bottom: clamp(24px, 5vw, 32px);
    text-align: left;
    padding: 0 clamp(24px, 5vw, 48px);
  }

  .founders__quote-text {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
    text-align: left;
  }

  .founders__photos {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
  }

  .founder-card {
    max-width: 100%;
  }

  .founder-card__photo {
    max-width: clamp(180px, 45vw, 240px);
  }

  .founder-card__name {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  .join {
    padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 48px);
  }

  .join__card {
    padding: 24px;
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }

  .join__card-content {
    text-align: center;
  }

  .join__card-icon {
    width: 56px;
    height: 56px;
  }

  .join__card-icon svg {
    width: 40px;
    height: 40px;
  }

  .join__card-arrow {
    display: none;
  }

  .about {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }

  .about__image {
    order: 1;
  }

  .about__text {
    order: 2;
  }

  .about__image img {
    max-width: 100%;
  }

  .footer {
    padding: clamp(32px, 6vw, 60px) clamp(24px, 5vw, 48px);
  }
}

@media (max-width: 480px) {
  .hero__content {
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .rotating-word {
    min-width: auto;
    margin-left: 0.3em;
    display: inline-block;
    flex-shrink: 1;
  }

  .statement {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }

  .founders {
    padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 48px);
  }

  .founders__quote {
    padding: 0;
  }

  .founders__quote-text {
    font-size: clamp(2rem, 12vw, 4rem);
  }

  .hero__description {
    font-size: 1rem;
  }

  .primary-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .feature-card {
    padding: 20px;
    gap: 16px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-card p {
    font-size: 0.95rem;
  }

  .preloader__skip {
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .preloader__progress-text {
    top: 16px;
    right: 16px;
    font-size: 0.9rem;
  }

  .preloader__content {
    padding: 20px;
  }

  .preloader__logo {
    width: clamp(280px, 80vw, 550px);
    max-width: 85vw;
  }

  .hero__subtitle {
    font-size: clamp(0.6rem, 1vw, 0.85rem);
  }

  .about {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }

  .about__image {
    order: 1;
  }

  .about__text {
    order: 2;
  }

  .about__image img {
    max-width: 100%;
  }

  .join {
    padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 48px) clamp(32px, 5vw, 48px);
  }

  .join__card {
    padding: 24px;
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }

  .join__card-content {
    text-align: center;
  }

  .join__card-icon {
    width: 56px;
    height: 56px;
  }

  .join__card-icon svg {
    width: 40px;
    height: 40px;
  }

  .join__card-arrow {
    display: none;
  }

  .join__footer-text {
    margin-top: 24px;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
  }

  .founders {
    padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 48px);
  }

  .founders__quote-text {
    font-size: clamp(2rem, 12vw, 4rem);
    text-align: left;
  }

  .founders__quote {
    text-align: left;
  }

  .footer {
    padding: clamp(32px, 6vw, 60px) clamp(24px, 5vw, 48px);
  }

  .footer__email {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
  }
}

@media (max-width: 320px) {
  .preloader__skip {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .preloader__progress-text {
    font-size: 0.85rem;
  }

  .preloader__logo {
    width: 90vw;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 10vw, 1.8rem);
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .rotating-word {
    min-width: auto;
    margin-left: 0.3em;
    display: inline-block;
    flex-shrink: 1;
  }

  .hero__subtitle {
    font-size: 0.6rem;
  }

  .primary-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .join__card {
    padding: 20px;
  }

  .join__card-icon {
    width: 48px;
    height: 48px;
  }

  .join__card-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .primary-btn:active,
  .join__card:active,
  .preloader__skip:active {
    transform: scale(0.98);
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card:active {
    transform: translateY(-2px);
  }
}

