/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; background: #fffdf7; color: #21201e; font-family: 'Poppins', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* === Animations === */
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-12px,0); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(208,232,96,0.4); } 50% { box-shadow: 0 0 20px 4px rgba(208,232,96,0.2); } }
@keyframes bounceChevron { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes hueShift { 0% { filter: hue-rotate(0deg); } 50% { filter: hue-rotate(30deg); } 100% { filter: hue-rotate(0deg); } }
@keyframes ellipsePulse { 0%, 100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.05); } }
@keyframes breatheLandscape { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes floatBlob { 0% { transform: translate(0,0) scale(1); } 25% { transform: translate(8px,-6px) scale(1.015); } 50% { transform: translate(-4px,4px) scale(1.03); } 75% { transform: translate(6px,8px) scale(1.01); } 100% { transform: translate(0,0) scale(1); } }

/* === Utility classes === */
.btn-gradient-animated { background: linear-gradient(135deg, #d0e860, #67e8b6, #8abced, #d0e860); background-size: 300% 300%; animation: gradient-shift 4s ease infinite; }
.btn-hover { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s cubic-bezier(0.22,1,0.36,1); }
.btn-hover:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.card-hover { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s cubic-bezier(0.22,1,0.36,1); }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04); }
.pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-float { animation: float 4s ease-in-out infinite; will-change: transform; backface-visibility: hidden; }
.section-label { font-size: 24px; font-weight: 400; color: #21201e; letter-spacing: -1.2px; opacity: 0.8; margin-bottom: 16px; }
.desktop-only { display: flex; }
.mobile-only { display: none; }
@media (max-width: 768px) { .desktop-only { display: none !important; } .mobile-only { display: flex !important; } }

/* === Scroll animations — handled by GSAP, no CSS initial state === */

/* === Cursor Glow === */
.cursor-glow { position: fixed; top: 0; left: 0; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(138,188,237,0.08) 0%, rgba(208,232,96,0.04) 40%, transparent 70%); filter: blur(20px); pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 0.3s; }
.cursor-glow.visible { opacity: 1; }
@media (max-width: 768px) { .cursor-glow { display: none; } }

/* === Header === */
.header { position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 1000; display: flex; align-items: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background-color: rgba(255,253,247,0.6); border-bottom: 1px solid transparent; transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.header.scrolled { background-color: rgba(255,253,247,0.85); border-bottom-color: rgba(248,249,250,1); }
.header.header--dark { background-color: rgba(19,19,19,0.6); color: #fffdf7; }
.header.header--dark.scrolled { background-color: rgba(19,19,19,0.85); border-bottom-color: rgba(255,253,247,0.15); }
.header.header--dark .header__logo,
.header.header--dark .header__link,
.header.header--dark .header__cta,
.header.header--dark .header__hamburger { color: #fffdf7; }
.header.header--dark .header__cta { border-color: #fffdf7; }
.header.header--dark .header__link.active::after { background-color: #fffdf7; }
.header__inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 80px; height: 72px; display: flex; align-items: center; gap: 24px; }
.header__logo { font-size: 30px; font-weight: 600; text-decoration: none; letter-spacing: -1.5px; line-height: 1; transition: color 0.4s; margin-right: auto; }
.header__nav { display: flex; align-items: center; gap: 24px; position: relative; }
.header__link { font-size: 16px; font-weight: 400; text-decoration: none; padding-bottom: 4px; position: relative; transition: color 0.4s, opacity 0.2s; }
.header__link:hover { opacity: 0.6; }
.header__indicator { position: absolute; bottom: -2px; height: 2px; border-radius: 1px; background-color: #21201e; pointer-events: none; transition: opacity 0.3s; opacity: 0; }
.header--dark .header__indicator { background-color: #fffdf7; }
.header__cta { font-size: 16px; font-weight: 400; text-decoration: none; border: 1px solid #21201e; border-radius: 18px; padding: 10px 22px; white-space: nowrap; transition: all 0.4s; display: inline-flex; align-items: center; }
.header__cta:hover { transform: scale(1.05); }
.header__hamburger { background: none; border: none; cursor: pointer; padding: 8px; color: inherit; align-items: center; justify-content: center; }
.header__progress { position: absolute; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, #67e8b6, #8abced); transform-origin: left; transform: scaleX(0); width: 100%; transition: opacity 0.3s; opacity: 0; }
.header.scrolled .header__progress { opacity: 1; }

/* === Mobile Menu === */
.mobile-menu { position: fixed; top: 72px; right: 0; bottom: 0; width: 72%; max-width: 300px; background: #fffdf7; z-index: 999; padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: -4px 0 24px rgba(0,0,0,0.1); transform: translateX(100%); transition: transform 0.3s ease-out; }
.mobile-menu.open { transform: translateX(0); }
.header--dark ~ .mobile-menu { background: #131313; color: #fffdf7; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__link { display: block; font-size: 20px; font-weight: 400; text-decoration: none; padding: 16px 0; border-bottom: 1px solid rgba(248,249,250,1); }
.mobile-menu__cta { font-size: 16px; font-weight: 400; text-decoration: none; text-align: center; border: 1px solid currentColor; border-radius: 20px; padding: 12px 24px; margin-top: 16px; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* === Hero === */
.hero { background-color: #fffdf7; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero__wrapper { width: 100%; padding: 32px; padding-top: 72px; }
.hero__card { position: relative; width: 100%; min-height: calc(100vh - 72px - 64px); max-height: calc(100vh - 72px - 64px); overflow: hidden; border-radius: 50px; clip-path: inset(0 round 50px); border: 1px solid rgba(213,220,228,0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: scale(0.97); transition: transform 0.1s linear; }
.hero__parallax { position: absolute; inset: -40px; z-index: 1; }
.hero__plx-layer { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; object-position: center bottom; will-change: transform; transition: transform 0.1s linear; }
.hero__plx-crystal { object-fit: contain; object-position: 25% 60%; opacity: 0; animation: crystalFloat 8s ease-in-out infinite, crystalFadeIn 1.5s ease-out 0.8s forwards; filter: drop-shadow(0 0 30px rgba(138,188,237,0.4)); }
@keyframes crystalFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(3deg); } }
@keyframes crystalFadeIn { to { opacity: 1; } }
.hero__hue-overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(135deg, rgba(103,232,182,0.06) 0%, rgba(208,232,96,0.06) 50%, rgba(138,188,237,0.06) 100%); mix-blend-mode: color; }
.hero-hue-overlay { animation: hueShift 12s ease-in-out infinite; }
.hero__content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 60px 32px 0; }
.hero__label { font-size: 24px; font-weight: 400; color: #21201e; margin: 0 0 24px; letter-spacing: -1.2px; opacity: 0.8; }
.hero__heading { font-size: clamp(40px, 5.5vw, 84px); font-weight: 600; color: #21201e; line-height: 100px; letter-spacing: -4.2px; max-width: 1238px; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.3em; row-gap: 0.05em; }
.hero__word { display: inline-block; white-space: pre; opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1), filter 0.55s cubic-bezier(0.22,1,0.36,1); }
.hero__word.revealed { opacity: 1; transform: translateY(0); filter: blur(0); }
.hero__subtitle { font-size: clamp(16px, 1.25vw, 24px); font-weight: 400; color: #21201e; line-height: 36px; letter-spacing: -1.2px; opacity: 0; max-width: 723px; margin: 0 0 24px; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.hero__subtitle.revealed { opacity: 0.8; transform: translateY(0); }
.hero__cta { font-size: 18px; font-weight: 400; color: #21201e; border: 1px solid rgba(255,255,255,0.6); border-radius: 20px; padding: 14px 36px; display: inline-block; text-decoration: none; cursor: pointer; opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.hero__cta.revealed { opacity: 1; transform: translateY(0); }
.hero__scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 20; pointer-events: none; animation: bounceChevron 1.4s ease-in-out infinite; opacity: 0; transition: opacity 0.6s; }
.hero__scroll-indicator.revealed { opacity: 1; }
.hero__scroll-hex { position: relative; width: 104px; height: 114px; display: flex; align-items: center; justify-content: center; }
.hero__scroll-hex-outer { position: absolute; inset: 0; }
.hero__scroll-hex-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero__scroll-arrow { position: relative; z-index: 1; }

/* === About === */
.about { background: #fffdf7; padding: 100px 0; overflow: visible; }
.about__container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
@media (max-width: 1024px) { .about__grid { grid-template-columns: 1fr; } }
.about__images { position: relative; display: flex; justify-content: center; overflow: visible; }
.about__image-parallax { position: relative; width: 520px; max-width: 100%; }
.about__image-wrapper { position: relative; width: 520px; max-width: 100%; height: 420px; margin-top: 40px; }
@media (max-width: 640px) { .about__image-wrapper { height: 300px; width: 100%; } }
.about__image-main { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; }
.about__img { width: 100%; height: 100%; object-fit: cover; }
.about__hex-deco { position: absolute; top: -40px; right: -30px; pointer-events: none; z-index: 20; }
.about__badge { position: absolute; z-index: 30; }
.badge { display: flex; align-items: center; gap: 8px; background: rgba(255,253,247,0.62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(213,220,228,0.35); border-radius: 18px; padding: 8px 16px 8px 8px; white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.badge__icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,253,247,0.5); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.badge span { font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: -0.8px; color: #21201e; }
.about__text { max-width: 768px; }
.about__heading { font-size: 34px; font-weight: 500; color: #21201e; line-height: 48px; letter-spacing: -1.7px; margin-bottom: 24px; }
.about__body { font-size: 24px; font-weight: 400; color: #21201e; line-height: 36px; letter-spacing: -1.2px; opacity: 0.8; margin-bottom: 40px; }
.about__cta { font-size: 18px; font-weight: 400; color: #21201e; border: 1px solid #21201e; border-radius: 20px; padding: 14px 36px; display: inline-block; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.about__cta:hover { background: #21201e; color: #fffdf7; }

/* === Section Divider === */
.section-divider { background: #fffdf7; display: flex; justify-content: center; }
.section-divider__line { width: 760px; max-width: 80%; height: 4px; background: #f7f5f0; border-radius: 2px; }
.section-divider--dark { background: #131313; }
.section-divider__line--dark { background: rgba(247,245,240,0.15); }

/* === Services === */
.services { background: #fffdf7; padding-top: clamp(96px,8vw,128px); padding-bottom: 0; }
.services__container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.services__scroll-wrap { position: relative; height: 300vh; }
.services__sticky { position: sticky; top: 90px; }
.services__header { margin-bottom: 48px; }
.services__heading { font-size: 34px; font-weight: 500; color: #21201e; line-height: 48px; letter-spacing: -1.7px; }
.services__layout { display: flex; gap: 24px; align-items: stretch; }
.services__card { position: relative; overflow: hidden; border-radius: 50px; border: 1px solid rgba(213,220,228,0.5); background: #f0f2f5; aspect-ratio: 1372/704; flex: 1; min-width: 0; }
.services__bg { position: absolute; inset: 0; overflow: hidden; }
.services__bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.services__bg-img--next { opacity: 0; }
.services__fg-img { display: none; }
.services__gradient { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: linear-gradient(to right, rgba(240,242,245,0.92) 0%, rgba(240,242,245,0.5) 30%, transparent 55%); }
.services__icon { position: absolute; top: 40px; left: 48px; z-index: 10; width: 120px; height: 128px; }
.services__icon-hex-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.services__icon-hex-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; object-fit: contain; }
.services__icon-symbol { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.services__icon-check { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.services__content { position: absolute; bottom: 0; left: 0; padding: 48px 56px; max-width: 480px; z-index: 5; }
.services__title { font-size: 48px; font-weight: 600; color: #21201e; line-height: 48px; letter-spacing: -2.4px; margin-bottom: 16px; transition: opacity 0.4s, transform 0.4s; }
.services__desc { font-size: 20px; font-weight: 400; color: rgba(33,32,30,0.7); line-height: 30px; letter-spacing: -0.8px; margin-bottom: 24px; max-width: 520px; transition: opacity 0.4s, transform 0.4s; }
.services__btn { display: inline-flex; align-items: center; padding: 14px 32px; border-radius: 20px; background: #21201e; color: #fffdf7; font-size: 18px; font-weight: 400; text-decoration: none; transition: opacity 0.2s; }
.services__btn:hover { opacity: 0.8; }
.services__nav { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 40px 0; flex-shrink: 0; width: 48px; }
.services__dots { display: flex; flex-direction: column; gap: 12px; }
.services__dot { width: 12px; height: 40px; border-radius: 50px; background: rgba(33,32,30,0.2); border: none; cursor: pointer; padding: 0; transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1); backdrop-filter: blur(4px); }
.services__dot:hover { background: rgba(33,32,30,0.4); }
.services__dot.active { width: 14px; height: 72px; background: rgba(33,32,30,0.85); box-shadow: 0 0 12px rgba(33,32,30,0.15); }
.services__arrows { display: flex; flex-direction: column; gap: 8px; }
.services__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(33,32,30,0.25); background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); cursor: pointer; display: flex; align-items: center; justify-content: center; color: #21201e; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); }
.services__arrow:hover { background: rgba(255,255,255,0.4); border-color: rgba(33,32,30,0.5); }

/* === Process === */
.process { background: #fffdf7; padding: clamp(96px,8vw,128px) 0; }
.process__container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.process__header { text-align: center; margin-bottom: 48px; }
.process__heading { font-size: clamp(32px,5vw,48px); font-weight: 600; color: #21201e; line-height: 1.15; letter-spacing: -2.4px; margin-bottom: 20px; }
.process__subtitle { font-size: 24px; font-weight: 400; color: #21201e; max-width: 768px; line-height: 1.5; letter-spacing: -1.2px; opacity: 0.8; margin: 0 auto; }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .process__grid { grid-template-columns: 1fr; } }
.process__card { background: #f7f5f0; border-radius: 50px; border: 1px solid rgba(247,245,240,1); padding: clamp(24px,3vw,40px); position: relative; overflow: hidden; min-height: 342px; display: flex; flex-direction: column; justify-content: space-between; cursor: default; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
.process__card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.process__card-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(213,220,228,0.55) 0%, rgba(213,220,228,0) 55%); border-radius: inherit; pointer-events: none; }
.process__number { position: relative; z-index: 1; font-size: 48px; font-weight: 400; color: #21201e; line-height: 1; align-self: flex-end; letter-spacing: -2.4px; }
.process__card-content { position: relative; z-index: 1; }
.process__icon { margin-bottom: 16px; }
.process__title { font-size: 34px; font-weight: 500; color: #21201e; line-height: 1.2; margin-bottom: 16px; letter-spacing: -1.7px; }
.process__desc { font-size: 24px; font-weight: 400; color: #21201e; line-height: 1.5; max-width: 560px; letter-spacing: -1.2px; opacity: 0.8; }
.process__cta-wrap { margin-top: 32px; }
.process__cta { font-size: 18px; font-weight: 400; color: #21201e; border: 1px solid #21201e; border-radius: 20px; padding: 8px 16px; text-decoration: none; display: inline-block; transition: background-color 0.2s, color 0.2s; }
.process__cta:hover { background: #21201e; color: #fffdf7; }

/* === Reviews === */
.reviews { background: #fffdf7; padding: clamp(96px,8vw,128px) 0; }
.reviews__container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.reviews__header { text-align: center; margin-bottom: 48px; }
.reviews__heading { font-size: 48px; font-weight: 600; color: #21201e; line-height: 1.15; letter-spacing: 0; margin-bottom: 20px; }
.reviews__subtitle { font-size: 24px; font-weight: 400; color: #21201e; max-width: 768px; line-height: 1.5; letter-spacing: -1.2px; opacity: 0.8; margin: 0 auto; }
.reviews__desktop { display: flex; gap: 20px; }
.reviews__mobile { display: none; overflow: hidden; touch-action: pan-y; }
@media (max-width: 768px) { .reviews__desktop { display: none; } .reviews__mobile { display: block; } }
.reviews__track { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1); }
.reviews__slide { min-width: 100%; }
.review-card { background: #f7f5f0; border-radius: 50px; border: 1px solid rgba(213,220,228,1); padding: clamp(24px,3vw,40px); position: relative; overflow: hidden; min-height: 248px; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; cursor: default; flex: 1; }
.review-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.review-card__gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(213,220,228,0.55) 0%, rgba(213,220,228,0) 55%); border-radius: inherit; pointer-events: none; }
.review-card__content { position: relative; z-index: 1; }
.review-card__content h4 { font-size: 24px; font-weight: 500; color: #21201e; line-height: 1.2; margin-bottom: 16px; letter-spacing: -1.2px; }
.review-card__content p { font-size: 24px; font-weight: 400; color: #21201e; line-height: 1.5; letter-spacing: -1.2px; }
.reviews__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; }
.reviews__dots { display: flex; align-items: center; gap: 12px; }
.reviews__dot { width: 50px; height: 16px; border-radius: 50px; background: #d5dce4; border: none; cursor: pointer; padding: 0; transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1); }
.reviews__dot.active { width: 100px; height: 28px; background: #21201e; }
.reviews__arrows { display: flex; gap: 12px; }
.reviews__arrow { width: 56px; height: 56px; border-radius: 20px; background: #f7f5f0; border: 1px solid rgba(213,220,228,1); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s, transform 0.2s; padding: 0; }
.reviews__arrow:hover:not(:disabled) { background: #edeae3; transform: scale(1.05); }
.reviews__arrow:disabled { opacity: 0.35; cursor: not-allowed; }

/* === Projects === */
.projects { background: #131313; color: #f7f5f0; padding: clamp(96px,8vw,128px) 0; }
.projects__container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.projects__header { text-align: center; margin-bottom: 64px; }
.projects__heading { font-size: 34px; font-weight: 600; color: #f7f5f0; line-height: 1.1; letter-spacing: -1.7px; margin-bottom: 12px; }
.projects__subtitle { font-size: 16px; font-weight: 400; color: #f7f5f0; letter-spacing: -0.5px; opacity: 0.8; }
.projects__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 342px 342px; gap: 20px; }
@media (max-width: 768px) { .projects__grid { grid-template-columns: 1fr; grid-template-rows: auto; } }
.project-card { background: #f7f5f0; border-radius: 50px; border: 1px solid rgba(247,245,240,1); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); cursor: pointer; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.15); }
.project-card--tall { grid-row: 1 / 3; }
@media (max-width: 768px) { .project-card--tall { grid-row: auto; min-height: 320px; } .project-card { min-height: 320px; } }
.project-card__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(247,245,240,0) 40%, rgba(220,215,205,0.35) 100%); pointer-events: none; }
.project-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.5s ease-out, opacity 0.3s; }
.project-card:hover .project-card__bg { transform: scale(1.03); }
.project-card__overlay--dark { background: linear-gradient(to top, rgba(21,20,18,0.92) 0%, rgba(21,20,18,0.5) 40%, rgba(21,20,18,0.1) 70%, rgba(21,20,18,0.0) 100%); z-index: 1; }
.project-card--rotava { padding: 0; border-color: transparent; }
.project-card--rotava .project-card__arrow { position: absolute; top: 32px; right: 32px; z-index: 2; }
.project-card--rotava .project-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 42px; z-index: 2; }
.project-card--rotava .project-card__content h3 { color: #fffdf7; font-size: 38px; }
.project-card--rotava .project-card__content p { color: rgba(255,253,247,0.7); font-size: 18px; letter-spacing: -0.5px; margin-bottom: 20px; }
.project-card__tag { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: #D0EA60; margin-bottom: 8px; }
.project-card__btn--light { background: rgba(255,253,247,0.12); color: #fffdf7; border: 1px solid rgba(255,253,247,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.project-card__btn--light:hover { background: rgba(255,253,247,0.22); }
.project-card__arrow { position: relative; z-index: 1; display: flex; justify-content: flex-end; transition: transform 0.3s; }
.project-card:hover .project-card__arrow { transform: translate(4px,-4px) rotate(15deg); }
.project-card__content { position: relative; z-index: 1; }
.project-card__content h3 { font-size: 34px; font-weight: 500; color: #21201e; line-height: 1.15; margin-bottom: 8px; letter-spacing: -1.7px; }
.project-card__content p { font-size: 24px; font-weight: 400; color: #21201e; margin-bottom: 24px; line-height: 1.3; letter-spacing: -1.2px; opacity: 0.8; }
.project-card__btn { display: inline-flex; align-items: center; padding: 12px 28px; border-radius: 20px; font-size: 18px; font-weight: 400; cursor: pointer; transition: opacity 0.2s, background-color 0.2s, color 0.2s; }
.project-card__btn--dark { background: #21201e; color: #fffdf7; border: 1px solid #ffffff; }
.project-card__btn--dark:hover { opacity: 0.8; }
.project-card__btn--outline { background: transparent; color: #21201e; border: 1px solid #21201e; }
.project-card__btn--outline:hover { background: #21201e; color: #fffdf7; }
.projects__cta { text-align: center; margin-top: 48px; }
.projects__cta-link { display: inline-flex; align-items: center; padding: 14px 36px; border-radius: 9999px; border: 1px solid #f7f5f0; color: #f7f5f0; font-size: 18px; font-weight: 400; text-decoration: none; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.projects__cta-link:hover { background: #f7f5f0; color: #131313; box-shadow: 0 8px 24px rgba(247,245,240,0.15); }

/* === Contact === */
.contact { position: relative; overflow: hidden; background: #131313; padding: 120px 0; }
.contact__ellipse { display: none; }
.contact__ellipse--glow { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 140%; max-width: 1800px; pointer-events: none; z-index: 2; opacity: 1; mix-blend-mode: screen; }
.contact__bg-img { position: absolute; bottom: 0; left: 0; right: 0; height: 80%; pointer-events: none; }
.contact__bg-img::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to bottom, #131313 0%, transparent 100%); z-index: 1; }
.contact__bg { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0.85; }
.contact__inner { position: relative; z-index: 10; max-width: 753px; margin: 0 auto; padding: 0 24px; }
.contact__inner::before { display: none; }
.contact__header { text-align: center; margin-bottom: 48px; }
.contact__heading { font-size: clamp(32px,4vw,48px); font-weight: 600; color: #fffdf7; line-height: 48px; letter-spacing: -2.4px; margin-bottom: 24px; }
.contact__subtitle { font-size: clamp(16px,1.25vw,24px); font-weight: 400; color: #fffdf7; line-height: 36px; letter-spacing: -1.2px; opacity: 0.8; max-width: 640px; margin: 0 auto; }
.contact__form { background: rgba(255,253,247,0.45); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-radius: 38px; border: none; padding: 40px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 640px) { .contact__row { grid-template-columns: 1fr; } }
.contact__field { margin-bottom: 24px; }
.contact__row .contact__field { margin-bottom: 0; }
.contact__field label { display: block; font-size: 24px; font-weight: 400; color: #21201e; margin-bottom: 16px; }
.contact__optional { font-size: 24px; font-weight: 400; color: rgba(33,32,30,0.5); }
.contact__field input, .contact__field textarea { display: block; width: 100%; height: 68px; background: rgba(255,255,255,0.85); border-radius: 20px; border: none; padding: 0 20px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 400; color: #21201e; outline: none; outline-offset: 2px; box-sizing: border-box; transition: outline 0.2s; }
.contact__field input:focus, .contact__field textarea:focus { outline: 2px solid rgba(103,232,182,0.7); }
.contact__field textarea { height: 166px; resize: none; padding: 20px; line-height: 1.6; }
.contact__submit-wrap { position: relative; }
.contact__submit { width: 100%; height: 76px; border-radius: 20px; border: none; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 500; color: #21201e; transition: transform 0.15s ease-out; }

/* === Footer === */
.footer { background: #131313; width: 100%; padding: 80px 0 0; overflow: hidden; }
.footer__container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 64px; } }
.footer__col { transition: opacity 0.6s ease, transform 0.6s ease; }
.footer__col h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.8px; color: #fffdf7; margin-bottom: 24px; }
.footer__col ul { display: flex; flex-direction: column; gap: 14px; }
.footer__col li { display: flex; align-items: center; gap: 16px; }
.footer__col li svg { flex-shrink: 0; }
.footer-link { font-size: 18px; font-weight: 400; letter-spacing: -0.4px; color: #fffdf7; text-decoration: none; display: inline-flex; align-items: center; position: relative; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), color 0.3s, opacity 0.2s; }
.footer-link:hover { transform: translateX(4px); color: #67e8b6 !important; }
.footer-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: #67e8b6; transform: scaleX(0); transform-origin: left center; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.footer-link:hover::after { transform: scaleX(1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fffdf7; flex-shrink: 0; }
.footer__bottom { border-top: 1px solid rgba(255,253,247,0.12); padding: 28px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer__bottom p { font-size: 16px; font-weight: 400; color: #fffdf7; letter-spacing: -0.3px; }
.footer__bottom a { font-size: 16px; }
.footer__gradient-line { height: 8px; background: linear-gradient(90deg, #d0e860 0%, #67e8b6 100%); }

/* === Contact Page (standalone) === */
.contact-page { position: relative; padding-top: 140px; min-height: 100vh; overflow: hidden; }
.contact-page__bg { position: absolute; left: 0; right: 0; bottom: 0; height: 85%; z-index: 1; }
.contact-page__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact-page__gradient-overlay { position: absolute; inset: 0; z-index: 0; }
.contact-page__gradient-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.contact-page::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to bottom, transparent 0%, #131313 100%); z-index: 1; pointer-events: none; }
.contact-page__container { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 0 80px 80px; }
.contact-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 1024px) { .contact-page__grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-page__info { padding-top: 20px; }
.contact-page__heading { font-size: clamp(40px, 5vw, 64px); font-weight: 600; color: #21201e; line-height: 1.1; letter-spacing: -3.2px; margin-bottom: 16px; }
.contact-page__subtitle { font-size: 24px; font-weight: 400; color: #21201e; line-height: 36px; letter-spacing: -1.2px; opacity: 0.8; margin-bottom: 40px; }
.contact-page__links { display: flex; flex-direction: column; gap: 12px; }
.contact-page__links li { display: flex; align-items: center; gap: 12px; }
.contact-page__icon { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-page__icon svg { display: block; width: 24px; height: 24px; }
.contact-page__links a { font-size: 18px; font-weight: 400; color: #21201e; text-decoration: none; letter-spacing: -0.5px; transition: color 0.2s; }
.contact-page__links a:hover { color: #67e8b6; }
.contact-page__form-wrap { background: rgba(213, 220, 228, 0.2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 38px; border: 1px solid rgba(213,220,228,0.5); padding: 40px; }
.contact-page__form .contact__field { margin-bottom: 20px; }
.contact-page__form .contact__field:last-of-type { margin-bottom: 24px; }
.contact-page__form .contact__field label { display: block; font-size: 18px; font-weight: 500; color: #21201e; margin-bottom: 10px; }
.contact-page__form .contact__field input,
.contact-page__form .contact__field textarea { display: block; width: 100%; height: 56px; background: #fff; border-radius: 16px; border: 1px solid rgba(213,220,228,0.8); padding: 0 20px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 400; color: #21201e; outline: none; outline-offset: 2px; box-sizing: border-box; transition: outline 0.2s, border-color 0.2s; }
.contact-page__form .contact__field input:focus,
.contact-page__form .contact__field textarea:focus { outline: 2px solid rgba(103,232,182,0.7); border-color: transparent; }
.contact-page__form .contact__field textarea { height: 140px; resize: none; padding: 16px 20px; line-height: 1.6; }
.contact-page__form .contact__submit { width: 100%; height: 64px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 500; color: #21201e; transition: transform 0.15s ease-out; }

/* === Dark section cursors === */
#projekty, #kontakt { cursor: default; }
#projekty a, #projekty button, #kontakt a, #kontakt button { cursor: pointer; }

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* --- Animation fallbacks (no GSAP on mobile or slow load) --- */
  .hero__word,
  .hero__subtitle,
  .hero__cta { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__scroll-indicator { opacity: 1 !important; filter: none !important; }

  /* --- Header --- */
  .header__inner { padding: 0 20px; }

  /* --- Hero --- */
  .hero__wrapper { padding: 12px; padding-top: 72px; }
  .hero__card { min-height: calc(100vh - 72px - 24px); max-height: none; border-radius: 24px; clip-path: inset(0 round 24px); transform: none !important; transition: none !important; }
  .hero__content { padding: 32px 20px 0; }
  .hero__label { font-size: 16px; margin-bottom: 12px; }
  .hero__heading { font-size: 32px; line-height: 1.15; letter-spacing: -1.6px; }
  .hero__subtitle { font-size: 15px; line-height: 1.5; letter-spacing: -0.5px; margin-bottom: 20px; }
  .hero__cta { font-size: 15px; padding: 12px 24px; border-radius: 16px; }
  .hero__scroll-indicator { bottom: 12px; }
  .hero__scroll-hex { width: 72px; height: 79px; }
  .hero__scroll-hex-outer { width: 72px; height: 79px; }
  .hero__scroll-hex-inner { width: 58px; height: 62px; }
  .hero__scroll-arrow { width: 16px; height: 21px; }
  .hero__plx-layer { inset: 0; width: 100%; height: 100%; }
  .hero__parallax { inset: 0; }

  /* --- About --- */
  .about { padding: 48px 0; overflow: hidden !important; }
  .about__container { padding: 0 20px; }
  .about__text { max-width: 100%; }
  .about__heading { font-size: 24px; line-height: 1.35; letter-spacing: -1px; margin-bottom: 16px; }
  .about__body { font-size: 15px; line-height: 1.6; letter-spacing: -0.3px; margin-bottom: 24px; }
  .about__cta { font-size: 15px; padding: 12px 24px; border-radius: 16px; }
  .about__hex-deco { display: none; }
  .about__badge { transform: scale(0.65) !important; transform-origin: center center !important; }
  .about__badge:nth-child(2) { top: -10px !important; left: 10px !important; right: auto !important; }
  .about__badge:nth-child(3) { top: 5% !important; right: -10px !important; left: auto !important; }
  .about__badge:nth-child(4) { bottom: 80px !important; left: -10px !important; right: auto !important; }
  .about__badge:nth-child(5) { bottom: 30px !important; left: 30% !important; right: auto !important; }
  .about__badge:nth-child(n+6) { display: none !important; }
  .about__image-parallax { width: 100%; }
  .about__image-wrapper { height: 300px; margin-top: 24px; width: 100%; overflow: visible; }
  .about__image-main { border-radius: 20px; }

  /* --- Section dividers --- */
  .section-divider__line { max-width: 90%; }

  /* --- Services --- */
  .services { padding-top: 48px; padding-bottom: 48px; }
  .services__container { padding: 0 20px; }
  .services__scroll-wrap { height: auto; }
  .services__sticky { position: relative; top: auto; }
  .services__header { margin-bottom: 20px; }
  .services__heading { font-size: 26px; line-height: 1.3; letter-spacing: -1.2px; }
  .services__layout { flex-direction: column; gap: 16px; }
  .services__card { border-radius: 24px; aspect-ratio: auto; min-height: 380px; }
  .services__icon { top: 20px; left: 20px; width: 72px; height: 78px; }
  .services__content { padding: 20px 24px; max-width: 100%; }
  .services__title { font-size: 28px; line-height: 1.15; letter-spacing: -1.4px; }
  .services__desc { font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
  .services__btn { font-size: 15px; padding: 10px 22px; border-radius: 16px; }
  .services__gradient { background: linear-gradient(to top, rgba(240,242,245,0.95) 0%, rgba(240,242,245,0.7) 50%, transparent 80%); }
  .services__nav { flex-direction: row; width: 100%; padding: 0; align-items: center; justify-content: center; gap: 20px; }
  .services__dots { flex-direction: row; gap: 6px; }
  .services__dot { width: 28px; height: 8px; }
  .services__dot.active { width: 48px; height: 10px; }
  .services__arrows { display: none; }
  .services__card { touch-action: pan-y; cursor: grab; }

  /* --- Process --- */
  .process { padding: 48px 0; }
  .process__container { padding: 0 20px; }
  .process__header { margin-bottom: 32px; }
  .process__heading { font-size: 26px; letter-spacing: -1.2px; }
  .process__subtitle { font-size: 16px; }
  .process__card { border-radius: 24px; min-height: auto; padding: clamp(20px,3vw,32px); }
  .process__number { font-size: 36px; }
  .process__title { font-size: 24px; letter-spacing: -1.2px; }
  .process__desc { font-size: 16px; }

  /* --- Reviews --- */
  .reviews { padding: 48px 0; }
  .reviews__container { padding: 0 20px; }
  .reviews__header { margin-bottom: 32px; }
  .reviews__heading { font-size: 28px; }
  .reviews__subtitle { font-size: 16px; }
  .review-card { border-radius: 24px; min-height: auto; padding: clamp(20px,3vw,32px); }
  .review-card__content h4 { font-size: 20px; }
  .review-card__content p { font-size: 16px; }
  .reviews__controls { margin-top: 24px; }
  .reviews__dot { width: 28px; height: 10px; }
  .reviews__dot.active { width: 56px; height: 16px; }
  .reviews__arrow { width: 44px; height: 44px; border-radius: 14px; }

  /* --- Projects --- */
  .projects { padding: 48px 0; }
  .projects__container { padding: 0 20px; }
  .projects__header { margin-bottom: 32px; }
  .projects__heading { font-size: 26px; }
  .projects__subtitle { font-size: 14px; }
  .project-card { border-radius: 24px; padding: 24px; min-height: 280px; }
  .project-card__content h3 { font-size: 24px; letter-spacing: -1.2px; }
  .project-card__content p { font-size: 16px; margin-bottom: 16px; }
  .project-card__btn { font-size: 15px; padding: 10px 22px; }
  .project-card--rotava .project-card__content { padding: 20px 24px; }
  .project-card--rotava .project-card__content h3 { font-size: 24px; }
  .project-card--rotava .project-card__content p { font-size: 15px; }

  /* --- Contact (inline) --- */
  .contact { padding: 48px 0; }
  .contact__inner { padding: 0 20px; }
  .contact__heading { font-size: 28px; line-height: 1.2; letter-spacing: -1.4px; }
  .contact__subtitle { font-size: 15px; line-height: 1.5; }
  .contact__form { border-radius: 24px; padding: 24px; }
  .contact__row { gap: 16px; }
  .contact__field label { font-size: 16px; margin-bottom: 10px; }
  .contact__optional { font-size: 16px; }
  .contact__field input, .contact__field textarea { height: 52px; border-radius: 14px; font-size: 15px; }
  .contact__field textarea { height: 140px; }
  .contact__submit { height: 56px; font-size: 18px; border-radius: 14px; }

  /* --- Footer --- */
  .footer { padding: 40px 0 0; }
  .footer__container { padding: 0 20px; }
  .footer__grid { gap: 28px; margin-bottom: 32px; }
  .footer__col h3 { font-size: 18px; margin-bottom: 14px; }
  .footer__col ul { gap: 10px; }
  .footer-link { font-size: 15px; }
  .footer__bottom { padding: 16px 0; flex-direction: column; text-align: center; gap: 8px; }
  .footer__bottom p, .footer__bottom a { font-size: 13px; }

  /* --- Contact Page (standalone) --- */
  .contact-page { padding-top: 90px; }
  .contact-page__container { padding: 0 20px 32px; }
  .contact-page__heading { font-size: 32px; letter-spacing: -1.6px; }
  .contact-page__subtitle { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
  .contact-page__links { gap: 10px; }
  .contact-page__links a { font-size: 15px; }
  .contact-page__form-wrap { border-radius: 24px; padding: 20px; }
  .contact-page__form .contact__field label { font-size: 15px; margin-bottom: 8px; }
  .contact-page__form .contact__field input,
  .contact-page__form .contact__field textarea { height: 48px; border-radius: 12px; font-size: 15px; }
  .contact-page__form .contact__field textarea { height: 110px; }
  .contact-page__form .contact__submit { height: 52px; font-size: 16px; border-radius: 12px; }
}

/* ═══ Small mobile — max-width: 480px ═══ */
@media (max-width: 480px) {
  .hero__heading { font-size: 28px; }
  .hero__card { border-radius: 20px; clip-path: inset(0 round 20px); }
  .services__card { min-height: 340px; border-radius: 20px; }
  .services__content { padding: 16px 20px; }
  .services__title { font-size: 24px; }
  .services__desc { font-size: 14px; }
  .process__card { border-radius: 20px; }
  .review-card { border-radius: 20px; }
  .project-card { border-radius: 20px; padding: 20px; }
  .contact__form { border-radius: 20px; padding: 16px; }
  .contact-page__form-wrap { border-radius: 20px; padding: 16px; }
}
