/* ===================================================
   KaMoGa — Company Profile
   Light editorial · premium minimalist (Bose / B&O)
   clean white · generous whitespace · subtle motion
   =================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f6f5f2;          /* warm off-white — alternating sections */
  --bg-3: #ecebe6;          /* product/placeholder stage */
  --line: rgba(20, 20, 20, 0.12);
  --line-soft: rgba(20, 20, 20, 0.07);
  --text: #16161a;          /* near-black ink */
  --muted: #66666b;
  --muted-2: #9a9aa0;
  --ink: #141416;           /* primary button */
  --accent: #8a7355;        /* muted warm bronze — used sparingly */
  --radius: 6px;
  --radius-lg: 14px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand__mark {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px 32px;
}
.section__head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}
.section__sub { color: var(--muted); margin-top: 20px; font-size: 1.1rem; font-weight: 300; }

.kicker, .eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons (understated) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
/* primary — solid ink (kept class name .btn--gold for markup stability) */
.btn--gold { background: var(--ink); color: #fff; }
.btn--gold:hover { transform: translateY(-2px); background: #000; }
/* secondary — hairline outline */
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ---------- Brand ---------- */
.brand__mark { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand__accent { color: var(--text); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--text) !important;
}
.nav__cta:hover { border-color: var(--text); }
.nav__tools { display: flex; align-items: center; gap: 16px; }

.lang {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 13px; cursor: pointer;
  color: var(--muted-2); font-size: 0.8rem; font-weight: 600; font-family: inherit;
}
.lang__opt { transition: color 0.2s; }
.lang__opt.is-active { color: var(--text); }
.lang__sep { color: var(--muted-2); }

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

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.hero__glow {
  position: absolute; top: -10%; right: -15%; width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(138,115,85,0.06), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: center;
  padding: 140px 32px 90px;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; line-height: 1.05; margin-bottom: 26px; letter-spacing: -0.03em; }
.hero__lead { color: var(--muted); font-size: 1.15rem; font-weight: 300; max-width: 500px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero__stats { display: flex; gap: 48px; list-style: none; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: 'Sora', sans-serif; font-size: 2rem; color: var(--text); font-weight: 500; letter-spacing: -0.02em; }
.hero__stats span { font-size: 0.8rem; color: var(--muted-2); margin-top: 2px; }

/* Product stage (image slot) — soft studio look on light bg */
.hero__visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #faf9f7 0%, var(--bg-3) 100%);
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.25);
}
.hero__visual-tag {
  position: absolute; bottom: 22px; left: 22px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); background: rgba(255,255,255,0.7); padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-soft); backdrop-filter: blur(6px);
}
.cube {
  position: absolute; border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #e9e7e1);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 24px 44px -22px rgba(0,0,0,0.28);
  animation: float 7s ease-in-out infinite;
}
.cube--sub { width: 44%; height: 44%; border-radius: 20px; background: linear-gradient(145deg, #f4f2ee, #ded9d0); animation-delay: 0s; }
.cube--1 { width: 92px; height: 92px; top: 15%; left: 15%; animation-delay: 0.7s; }
.cube--2 { width: 70px; height: 70px; top: 20%; right: 17%; animation-delay: 1.4s; }
.cube--3 { width: 82px; height: 82px; bottom: 17%; right: 23%; animation-delay: 2.1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--muted-2), transparent); }

/* ---------- FLAGSHIP PRODUCT ---------- */
.product { display: grid; grid-template-columns: 1fr 0.88fr; gap: 64px; align-items: center; }
.product__media {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(165deg, #faf9f7, var(--bg-3));
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; position: relative;
  box-shadow: 0 40px 90px -55px rgba(0,0,0,0.25);
}
.product__media-inner {
  width: 60%; height: 60%; border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #e6e3dc);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 30px 55px -30px rgba(0,0,0,0.28);
  display: flex; align-items: flex-end; padding: 18px;
}
.product__media-tag { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.product__spec h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 28px; }

.spec-list { list-style: none; margin-bottom: 36px; }
.spec-list li {
  display: flex; flex-direction: column; gap: 3px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.spec-list li:first-child { border-top: 1px solid var(--line-soft); }
.spec-list strong { font-size: 1rem; font-weight: 600; }
.spec-list span { color: var(--muted); font-size: 0.9rem; }

/* ---------- FEATURES ---------- */
.features { background: var(--bg); }
.card {
  background: var(--bg);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 38px 32px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.22); border-color: var(--line); }
.card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; color: var(--text);
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--text); stroke-width: 1.4; fill: none; }
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.93rem; font-weight: 300; }

/* ---------- SEGMENTS ---------- */
.segments { background: var(--bg-2); max-width: none; }
.segments > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.segment {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px 30px;
  background: var(--bg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.segment:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.2); }
.segment__num { font-family: 'Sora', sans-serif; font-size: 0.82rem; color: var(--accent); font-weight: 600; letter-spacing: 0.12em; }
.segment h3 { font-size: 1.2rem; font-weight: 500; margin: 16px 0 10px; }
.segment p { color: var(--muted); font-size: 0.9rem; font-weight: 300; }

/* ---------- COMMERCIAL ---------- */
.commercial { background: var(--bg); max-width: none; padding: 0; }
.commercial__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 130px 32px;
}
.commercial__copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; margin-bottom: 24px; line-height: 1.1; }
.commercial__copy p { color: var(--muted); font-weight: 300; margin-bottom: 28px; }
.ticks { list-style: none; margin-bottom: 34px; }
.ticks li { padding: 11px 0 11px 32px; position: relative; color: var(--text); font-size: 0.95rem; border-bottom: 1px solid var(--line-soft); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 18px; width: 14px; height: 8px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.commercial__media {
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg); position: relative;
  background: linear-gradient(165deg, #faf9f7, var(--bg-3));
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 90px -55px rgba(0,0,0,0.25);
}
.commercial__media-tag {
  position: absolute; bottom: 22px; left: 22px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  background: rgba(255,255,255,0.7); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-soft); backdrop-filter: blur(6px);
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg-2); max-width: none; }
.about__inner { max-width: 940px; margin: 0 auto; padding: 0 0; }
.about__lead { font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.5; color: var(--text); font-weight: 300; letter-spacing: -0.01em; }

/* ---------- CONTACT ---------- */
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.contact__copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; margin-bottom: 20px; line-height: 1.1; }
.contact__copy p { color: var(--muted); font-weight: 300; margin-bottom: 34px; }
.contact__list { list-style: none; }
.contact__list li { padding: 18px 0; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; }
.contact__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.contact__list span { color: var(--muted-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.contact__list a { color: var(--text); font-weight: 500; }
.contact__list a:hover { color: var(--accent); }

.contact__form {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 40px;
}
.contact__form label { display: block; margin-bottom: 20px; }
.contact__form label span { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.contact__form input, .contact__form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 0.95rem; resize: vertical;
  transition: border-color 0.2s;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: var(--muted-2); }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--text); }
.contact__note { text-align: center; font-size: 0.8rem; color: var(--muted-2); margin-top: 16px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 64px 32px; text-align: center; background: var(--bg); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__brand { font-size: 1.5rem; }
.footer__tag { color: var(--muted); font-weight: 300; margin: 14px 0 8px; }
.footer__copy { color: var(--muted-2); font-size: 0.84rem; }

/* ---------- Reveal animation (subtle) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; order: -1; }
  .product, .commercial__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .commercial__media { order: -1; }

  .nav__links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px;
    background: var(--bg); border-left: 1px solid var(--line-soft); padding: 40px;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .burger { display: flex; }
}

@media (max-width: 540px) {
  .section { padding: 96px 22px; }
  .commercial__inner { padding: 96px 22px; }
  .grid--4 { grid-template-columns: 1fr; }
  .hero__stats { gap: 30px; }
  .hero__stats strong { font-size: 1.6rem; }
  .contact__form { padding: 28px; }
}
