/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-dark: #1a1a1a;
  --color-green: #2d5a3d;
  --color-green-dark: #1e3d2a;
  --color-green-light: #4a8c62;
  --color-white: #ffffff;
  --color-gray: #f5f5f3;
  --color-text: #333333;
  --color-text-light: rgba(255, 255, 255, 0.85);

  --font: 'Outfit', sans-serif;
  --radius-pill: 999px;
  --radius-card: 24px;
  --transition: 0.3s ease;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-reveal: 0.9s;
  --section-px: clamp(16px, 4vw, 48px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

body.custom-cursor {
  cursor: none;
}

body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor input,
body.custom-cursor textarea,
body.custom-cursor .tag {
  cursor: none;
}

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

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

/* ===== Animations ===== */
@keyframes kenBurns {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1%, -1%); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes iconDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes logoSignWord {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateY(6px) rotate(-4deg);
  }
  25% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes logoFlourishDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes logoInkSettle {
  0% { filter: blur(1px); opacity: 0.85; }
  100% { filter: blur(0); opacity: 1; }
}

/* Hero load animations */
[data-animate="hero-title"] {
  opacity: 0;
  animation: heroTitleReveal 1.2s var(--ease-out-expo) forwards;
  animation-delay: var(--delay, 0s);
}

[data-animate="hero-fade"] {
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out-expo) forwards;
  animation-delay: var(--delay, 0s);
}

.header--loading {
  opacity: 0;
  transform: translateY(-100%);
  animation: fadeDown 0.8s var(--ease-out-expo) 0.1s forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 0.12s);
}

.reveal--right {
  transform: translateX(48px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 0.1s + 0.15s);
}

.reveal.is-visible .reveal-child,
.reveal-child.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .reveal-child:nth-child(1) { transition-delay: calc(var(--i, 0) * 0.08s + 0.1s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal, .reveal--right, .reveal-child,
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero__bg-img,
  .hero__bg-video {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  .cursor, .cursor-dot {
    display: none !important;
  }

  .section-dots {
    display: none !important;
  }

  .hero__scroll {
    display: none !important;
  }

  .logo--signing .logo__wordmark,
  .logo--signing .logo__sign-word,
  .logo--signing .logo__flourish {
    clip-path: none !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  .about__img {
    --parallax-y: 0px !important;
  }

  .icon-draw [stroke] {
    stroke-dashoffset: 0 !important;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%) skewX(-15deg);
  transition: none;
}

.btn:hover::after {
  animation: shimmer 0.7s var(--ease-out-expo);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}

.btn--header {
  background: var(--color-green-light);
  color: var(--color-white);
}

.btn--header:hover {
  background: #5aa876;
  color: var(--color-white);
}

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

.btn--submit {
  background: var(--color-green-light);
  color: var(--color-white);
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(24px + var(--safe-top)) calc(var(--section-px) + var(--safe-right)) 24px calc(var(--section-px) + var(--safe-left));
  transition:
    background 0.4s var(--ease-out-quart),
    padding 0.4s var(--ease-out-quart),
    box-shadow 0.4s var(--ease-out-quart);
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: calc(16px + var(--safe-top)) calc(var(--section-px) + var(--safe-right)) 16px calc(var(--section-px) + var(--safe-left));
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 101;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.logo__wordmark {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.12em;
  font-family: 'Alex Brush', 'Pinyon Script', 'Brush Script MT', cursive;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 14px rgba(0, 0, 0, 0.35);
  padding-bottom: 10px;
  transform: rotate(-2.5deg);
  transform-origin: left center;
}

.logo__sign-word {
  display: inline-block;
  transform-origin: left bottom;
}

.logo__sign-word--link {
  font-size: 0.82em;
  opacity: 0.92;
}

.logo--signing .logo__sign-word {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  animation: logoSignWord 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.55s + var(--w) * 0.42s);
}

.logo--signing .logo__wordmark {
  animation: logoInkSettle 0.6s ease-out 2.4s forwards;
}

.logo__flourish {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0;
  width: 96%;
  height: 14px;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.logo__flourish path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.logo--signing .logo__flourish path {
  animation: logoFlourishDraw 1.1s var(--ease-out-expo) 2.1s forwards;
}

.logo--signed .logo__flourish path {
  stroke-dashoffset: 0;
}

.logo--signed .logo__sign-word {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 101;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 4px;
  backdrop-filter: blur(8px);
}

.lang-switcher__btn {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.lang-switcher__btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.lang-switcher__btn--active {
  background: var(--color-green-light);
  color: #ffffff;
}

.lang-switcher--mobile {
  display: none;
}

.nav__link {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav__link:hover::before,
.nav__link--active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link:hover {
  opacity: 1;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.4s var(--ease-out-expo);
}

.nav__link--active::after {
  transform: translateX(-50%) scale(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: #1a2e1a;
}

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

.hero__bg-img {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  object-position: center center;
  filter: blur(3px);
  z-index: 0;
  transition: opacity 0.6s ease;
}

.hero__bg-video {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  object-position: center center;
  filter: blur(3px);
  z-index: 1;
  opacity: 1;
}

.hero__media--video-active .hero__bg-img {
  opacity: 0;
  pointer-events: none;
}

.hero__media:not(.hero__media--video-active) .hero__bg-video {
  opacity: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Title over blurred background */
.hero__title-bg {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 96vw;
  padding: 0 24px;
  pointer-events: none;
}

.hero__title-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  z-index: -1;
}

.hero__title-line {
  display: block;
  font-size: clamp(1.5rem, 5.5vw, 5.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: clamp(0.02em, 0.5vw, 0.06em);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero__title-line + .hero__title-line {
  margin-top: 0.15em;
}

/* Hero content — bottom area */
.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 calc(var(--section-px) + var(--safe-right)) calc(90px + var(--safe-bottom)) calc(var(--section-px) + var(--safe-left));
  gap: clamp(24px, 4vw, 48px);
}

.hero__headline {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  max-width: 480px;
  flex-shrink: 0;
}

.hero__side {
  max-width: min(380px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 8px;
}

.hero__description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__scroll-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-icon {
  display: flex;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll:hover {
  color: #ffffff;
}

.hero__scroll--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

/* Section dots — side navigation */
.section-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.section-dots__item {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(45, 90, 61, 0.35);
  border: 1.5px solid rgba(45, 90, 61, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition:
    transform 0.35s var(--ease-out-expo),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    width 0.35s var(--ease-out-expo),
    height 0.35s var(--ease-out-expo);
  text-decoration: none;
}

.section-dots__item:hover,
.section-dots__item--active {
  background: var(--color-green-light);
  border-color: var(--color-green-light);
  transform: scale(1.2);
}

.section-dots__item--active {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 12px rgba(74, 140, 98, 0.6);
}

.section-dots__label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(30, 61, 42, 0.9);
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.section-dots__item:hover .section-dots__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* SVG icon draw */
.icon-draw [stroke] {
  stroke-dasharray: var(--path-length, 120);
  stroke-dashoffset: var(--path-length, 120);
}

.service-card.is-drawn .icon-draw [stroke] {
  animation: iconDraw 1.4s var(--ease-out-expo) forwards;
  animation-delay: var(--draw-delay, 0s);
}

/* ===== Section Titles ===== */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-green-light);
  margin-top: 16px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out-expo) 0.2s;
}

.reveal.is-visible .section-title::after,
.section-title--light::after {
  transform: scaleX(1);
}

.section-title--light::after {
  background: rgba(255, 255, 255, 0.6);
}

.section-title--light {
  color: var(--color-white);
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 120px var(--section-px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.about__text p {
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

.about__images {
  position: relative;
  height: 520px;
}

.about__img {
  position: absolute;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}

.about__img:hover {
  transform: translateY(calc(var(--parallax-y, 0) - 6px)) scale(1.02);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.about__img--1 {
  top: 0;
  left: 0;
  width: 55%;
  height: 65%;
  z-index: 2;
}

.about__img--2 {
  bottom: 0;
  right: 0;
  width: 55%;
  height: 65%;
  z-index: 1;
}

.about__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img-placeholder svg {
  width: 80px;
  height: 80px;
  transition: transform 0.5s var(--ease-out-expo);
}

.about__img:hover .about__img-placeholder svg {
  transform: scale(1.1);
  animation: float 3s ease-in-out infinite;
}

.about__img-placeholder--community {
  background: linear-gradient(135deg, #2d5a3d, #4a8c62);
  color: rgba(255, 255, 255, 0.7);
}

.about__img-placeholder--planning {
  background: linear-gradient(135deg, #1e3d2a, #2d5a3d);
  color: rgba(255, 255, 255, 0.7);
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease-out-expo);
}

.about__img:hover .about__photo {
  transform: scale(1.05);
}

/* ===== Experience ===== */
.experience {
  padding: 80px var(--section-px) 100px;
  background: var(--color-gray);
}

.experience__header {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.experience__subtitle {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #666;
}

.experience__list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.experience-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.experience-card--reverse .experience-card__media {
  order: 2;
}

.experience-card--reverse .experience-card__body {
  order: 1;
}

.experience-card__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-height: 220px;
}

.experience-card__media--logo {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
}

.experience-card__photo {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s var(--ease-out-expo);
}

.experience-card:hover .experience-card__photo {
  transform: scale(1.02);
}

.experience-card__photo--secondary {
  object-position: center top;
}

.experience-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--color-gray);
  border-radius: 12px;
}

.experience-card__logo {
  max-width: 220px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.experience-card__company {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-green-light);
  margin-bottom: 8px;
}

.experience-card__role {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.experience-card__meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 16px;
}

.experience-card__desc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #555;
}

/* ===== Stats ===== */
.stats {
  padding: 64px var(--section-px);
  background: var(--color-white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat {
  padding: 24px 16px;
}

.stat__number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-green-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #666;
  line-height: 1.4;
}

/* ===== Wave Dividers ===== */
.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 80px);
}

.wave-divider--to-green {
  color: var(--color-green-dark);
  background: var(--color-white);
}

.wave-divider--to-gray {
  color: var(--color-gray);
  background: var(--color-green-dark);
}

.wave-divider--to-contact {
  color: var(--color-green);
  background: var(--color-gray);
}

/* ===== Services ===== */
.services {
  background: var(--color-green-dark);
  padding: 80px var(--section-px) 100px;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(74, 140, 98, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.services__header {
  max-width: 600px;
  margin-bottom: 64px;
}

.services__subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition:
    background 0.4s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo),
    border-color 0.4s ease,
    box-shadow 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 50%, rgba(74,140,98,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-green-light);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-out-expo), color 0.3s ease;
}

.service-card:hover .service-card__icon {
  transform: scale(1.12) translateY(-2px);
  color: #6db886;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Programs ===== */
.programs {
  padding: 80px var(--section-px) 100px;
  text-align: center;
  background: var(--color-gray);
}

.programs .section-title {
  margin-bottom: 12px;
}

.programs__hint {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.programs__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.tag {
  padding: 12px 28px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--color-green-dark);
  border: 2px solid transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
}

.tag:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(45, 90, 61, 0.15);
  background: var(--color-green-dark);
  color: var(--color-white);
}

.tag--active {
  background: var(--color-green-dark);
  color: var(--color-white);
  border-color: var(--color-green-light);
  box-shadow: 0 8px 28px rgba(45, 90, 61, 0.25);
  transform: translateY(-2px);
}

.programs__panel {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transition:
    grid-template-rows 0.6s var(--ease-out-expo),
    opacity 0.4s ease,
    margin 0.4s ease;
}

.programs__panel--open {
  grid-template-rows: 1fr;
  margin-top: 32px;
  opacity: 1;
}

.programs__panel-inner {
  overflow: hidden;
  min-height: 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px clamp(20px, 4vw, 32px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-green-light);
  text-align: left;
  transform: translateY(12px);
  transition: transform 0.5s var(--ease-out-expo);
}

.programs__panel--open .programs__panel-inner {
  transform: translateY(0);
}

.programs__panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}

.programs__panel-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-green);
  padding: 80px var(--section-px) calc(100px + var(--safe-bottom));
}

.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__text p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.3s ease;
}

.contact__form input:focus::placeholder,
.contact__form textarea:focus::placeholder {
  opacity: 0.4;
}

.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn--submit {
  transition: background 0.3s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}

.btn--submit:hover {
  background: #5aa876;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green-light), #6db886);
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ===== Custom Cursor ===== */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.3s ease;
  will-change: transform;
}

body.custom-cursor .cursor,
body.custom-cursor .cursor-dot {
  opacity: 1;
}

.cursor {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(74, 140, 98, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  margin-top: 0;
  margin-left: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-green-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor--hover {
  width: 56px;
  height: 56px;
  border-color: rgba(74, 140, 98, 0.9);
  background: rgba(74, 140, 98, 0.08);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  padding: 40px var(--section-px) calc(40px + var(--safe-bottom));
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo--footer .logo__wordmark--static {
  display: block;
  font-size: 1.45rem;
  transform: rotate(-1.5deg);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about {
    gap: 48px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .experience-card {
    gap: 32px;
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    padding: calc(80px + var(--safe-top)) var(--section-px) calc(40px + var(--safe-bottom));
    background: rgba(0, 0, 0, 0.92);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
    backdrop-filter: blur(8px);
    overflow-y: auto;
  }

  .nav--open {
    opacity: 1;
    pointer-events: all;
  }

  .nav--open .nav__link {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.5s var(--ease-out-expo) forwards;
  }

  .nav--open .nav__link:nth-child(1) { animation-delay: 0.05s; }
  .nav--open .nav__link:nth-child(2) { animation-delay: 0.1s; }
  .nav--open .nav__link:nth-child(3) { animation-delay: 0.15s; }
  .nav--open .nav__link:nth-child(4) { animation-delay: 0.2s; }
  .nav--open .nav__link:nth-child(5) { animation-delay: 0.25s; }
  .nav--open .nav__link:nth-child(6) { animation-delay: 0.3s; }
  .nav--open .nav__link:nth-child(7) { animation-delay: 0.35s; }

  .nav__link {
    font-size: 1.4rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .btn--header {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .lang-switcher--mobile {
    display: none;
  }

  .nav--open .lang-switcher--mobile {
    display: flex;
    margin-top: 24px;
  }

  .lang-switcher__btn {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__content {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: calc(72px + var(--safe-bottom));
    gap: 20px;
  }

  .hero__headline {
    max-width: 100%;
  }

  .hero__side {
    max-width: 100%;
    width: 100%;
  }

  .hero__scroll {
    bottom: calc(20px + var(--safe-bottom));
  }

  .section-dots {
    display: none;
  }

  .hero__title-bg {
    top: 34%;
    padding: 0 var(--section-px);
  }

  .about {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 40px;
  }

  .about__images {
    height: clamp(280px, 55vw, 400px);
    min-height: 280px;
  }

  .experience {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .experience-card,
  .experience-card--reverse {
    grid-template-columns: 1fr;
  }

  .experience-card--reverse .experience-card__media,
  .experience-card--reverse .experience-card__body {
    order: unset;
  }

  .experience-card__media {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 16px;
  }

  .experience-card__photo {
    min-height: 180px;
    max-height: 260px;
  }

  .experience-card__role {
    font-size: 1.3rem;
  }

  .stats {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services {
    padding-top: 80px;
    padding-bottom: 80px;
  }

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

  .programs {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .programs__tags {
    gap: 10px;
  }

  .tag {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .contact {
    padding-top: 80px;
    padding-bottom: calc(80px + var(--safe-bottom));
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .hero {
    min-height: 520px;
  }

  .hero__title-bg {
    top: 30%;
  }

  .hero__headline {
    font-size: 1.25rem;
  }

  .hero__description {
    font-size: 0.9rem;
  }

  .logo__wordmark {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
    max-width: min(100%, 220px);
    white-space: normal;
    line-height: 1.15;
    transform: rotate(-2deg);
  }

  .about__images {
    height: clamp(240px, 70vw, 320px);
  }

  .about__img--1,
  .about__img--2 {
    width: 58%;
    height: 62%;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat {
    padding: 16px 12px;
  }

  .stat__number {
    font-size: 2.2rem;
  }

  .experience-card {
    padding: 20px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }

  .footer__copy {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 100dvh;
  }

  .hero__title-bg {
    top: 28%;
  }

  .hero__content {
    padding-bottom: calc(56px + var(--safe-bottom));
    gap: 12px;
  }

  .hero__headline {
    font-size: 1.1rem;
  }

  .hero__description {
    display: none;
  }

  .hero__scroll {
    display: none;
  }
}
