/* ============================================================
   KITEDUSTRY — Stylesheet
   ============================================================ */

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

:root {
  --navy:      #0a0e1a;
  --navy-mid:  #111827;
  --navy-soft: #1e2a3a;
  --ocean:     #0e7aff;
  --ocean-dark:#0056cc;
  --white:     #ffffff;
  --off-white: #f5f6f8;
  --text:      #1a2233;
  --muted:     #5b6b7e;
  --border:    #e2e8f0;
  --gold:      #c9a84c;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-w:     1160px;
  --radius:    10px;
  --transition:150ms ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Utility ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 800px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
}
.btn--primary {
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(14,122,255,.35);
}
.btn--primary:hover { background: var(--ocean-dark); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(14,122,255,.45); }
.btn--submit {
  background: var(--white);
  color: var(--navy);
  font-size: .875rem;
  padding: 14px 36px;
}
.btn--submit:hover { background: var(--off-white); transform: translateY(-1px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(10,14,26,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__logo-mark {
  color: var(--ocean);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 8px 16px;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav__link--cta {
  background: var(--ocean);
  color: var(--white);
  padding: 8px 20px;
}
.nav__link--cta:hover { background: var(--ocean-dark); }

/* ---- Lang switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.lang-switcher--mobile {
  margin-top: 32px;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  gap: 8px;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.35);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.lang-btn:hover   { color: var(--white); }
.lang-btn.active  { color: var(--white); background: rgba(255,255,255,.1); }
.lang-switcher--mobile .lang-btn { font-size: 1rem; padding: 8px 16px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(10,14,26,.97);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu__link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.6rem;
  font-family: var(--font-serif);
  letter-spacing: .02em;
}
.mobile-menu__link:hover { color: var(--ocean); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(14,122,255,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(14,122,255,.08) 0%, transparent 60%),
    linear-gradient(165deg, #0a0e1a 0%, #0d1525 50%, #0a1020 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 32px 80px;
  max-width: 760px;
}
.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.6);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero__scroll span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 48px 32px;
}
.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 48px;
  flex: 1;
  min-width: 180px;
}
.stats__number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.02em;
}
.stats__label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.08);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 120px 0;
}
.section__header {
  text-align: center;
  margin-bottom: 72px;
}
.section__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 16px;
}
.section__eyebrow--light { color: rgba(255,255,255,.5); }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.02em;
}
.section__title--light { color: var(--white); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }

.about__intro {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}
.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--text);
  font-weight: 400;
}

.about__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 96px;
}
.about__col p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: .975rem;
}
.about__col p:last-child { margin-bottom: 0; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  margin-bottom: 96px;
}
.how__header {
  text-align: center;
  margin-bottom: 56px;
}
.how__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}
.how__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
}
.how__step {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.how__step:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.07);
}
.how__step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--ocean);
  opacity: .35;
  line-height: 1;
}
.how__step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
}
.how__step-text {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
}
.how__connector { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--off-white);
  border-radius: 16px;
  padding: 72px 56px;
  margin-bottom: 96px;
}
.services__header {
  text-align: center;
  margin-bottom: 56px;
}
.services__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: rgba(14,122,255,.2);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(14,122,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  margin-bottom: 20px;
}
.service-card__title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.service-card__text {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   WHY US
   ============================================================ */
.why {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why__content {
  max-width: 680px;
  width: 100%;
}
.why__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 36px;
  margin-top: 8px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.55;
}
.why__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14,122,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  flex-shrink: 0;
  margin-top: 1px;
}
.why__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__quote {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px 44px;
  position: relative;
}
.why__quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--ocean);
  opacity: .25;
  position: absolute;
  top: 8px;
  left: 32px;
  line-height: 1;
}
.why__quote-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.why__quote-author {
  font-size: .8rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--navy);
}
.contact__subtitle {
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  margin-top: 16px;
  line-height: 1.7;
}
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 52px 48px;
  margin-bottom: 48px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group--full {
  margin-bottom: 32px;
}
.form-label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.form-required { color: var(--ocean); }
.form-input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .925rem;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,.25); }
.form-input:focus {
  border-color: var(--ocean);
  background: rgba(14,122,255,.06);
}
.form-input.error { border-color: #e05;  }
.form-textarea {
  min-height: 140px;
  resize: vertical;
}
.form-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.form-privacy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--navy-mid);
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white);
  font-size: 1.1rem;
  font-family: var(--font-serif);
}
.form-success.visible { display: flex; }
.form-success svg { color: var(--ocean); }

.contact-alt {
  text-align: center;
  color: rgba(255,255,255,.35);
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact-alt__email {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color var(--transition);
}
.contact-alt__email:hover { color: var(--ocean); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060810;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px 32px;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__logo {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.footer__tagline {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  letter-spacing: .08em;
}
.footer__copy {
  font-size: .75rem;
  color: rgba(255,255,255,.15);
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about__columns  { grid-template-columns: 1fr; gap: 32px; }
  .services__grid  { grid-template-columns: 1fr 1fr; }
  .stats__divider  { display: none; }
  .stats__item     { padding: 12px 24px; }
  .how__steps      { flex-direction: column; }
  .how__step:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
}

@media (max-width: 680px) {
  .nav__links   { display: none; }
  .nav__burger  { display: flex; }
  .services     { padding: 48px 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .section      { padding: 80px 0; }
  .container    { padding: 0 20px; }
  .stats__inner { gap: 0; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,.68,0,1.2), transform .65s cubic-bezier(.22,.68,0,1.2);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
