:root {
  --white: #ffffff;
  --black: #111111;
  --navy: #0b1f3a;
  --navy-deep: #07182c;
  --red: #c8102e;
  --muted: #6b6b6b;
  --border: #e6e7e9;
  --light: #f7f8fa;
  --max-width: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   NAVIGATION
========================= */

.site-header {
  position: fixed;
  top: 8px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  pointer-events: none;
}

.floating-nav {
  width: min(1180px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(11, 31, 58, .10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    min-height .45s var(--ease),
    padding .45s var(--ease),
    box-shadow .45s var(--ease),
    background-color .45s ease,
    transform .45s var(--ease);
  pointer-events: auto;
}

.site-header.scrolled .floating-nav {
  min-height: 62px;
  padding-top: 7px;
  padding-bottom: 7px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 20px 55px rgba(11, 31, 58, .15);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 42px;
  object-fit: contain;
}

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

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: .72;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* =========================
   SHARED SECTION SYSTEM
========================= */

.section {
  padding: 120px 24px;
}

.section-heading {
  width: min(var(--max-width), 100%);
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading h2,
.contact-content h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .5s var(--ease), opacity .25s ease;
}

.text-link:hover {
  gap: 13px;
  opacity: .72;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy .eyebrow {
  color: var(--red);
}

.is-hidden {
  display: none !important;
}

/* =========================
   HERO
========================= */

.hero {
  padding: 112px 16px 0;
}

.hero-banner {
  width: min(1440px, 100%);
  aspect-ratio: 2.4 / 1;
  min-height: 440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--light);
}

.hero-banner picture,
.hero-banner img {
  width: 100%;
  height: 100%;
}

.hero-banner img {
  object-fit: cover;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 24px 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform .45s var(--ease),
    background-color .3s ease,
    border-color .3s ease,
    gap .45s var(--ease);
}

.hero-cta:hover {
  transform: translateY(-2px);
  gap: 14px;
  background: var(--black);
  border-color: var(--black);
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 24px 92px;
  text-align: center;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

.hero-copy h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--black);
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .95;
}

.hero-description {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* =========================
   VALUE STRIP
========================= */

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-item {
  min-height: 130px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.value-item + .value-item {
  border-left: 1px solid var(--border);
}

.value-item strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.value-item span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

/* =========================
   PRODUCTS
========================= */

.product-carousel {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
}

.product-track {
  display: flex;
  transition: transform .85s var(--ease);
  will-change: transform;
}

.product-card {
  width: 100%;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  min-height: 600px;
  border: 1px solid var(--border);
  background: var(--white);
}

.product-image {
  min-height: 600px;
  overflow: hidden;
  background: var(--light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 58px 56px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.product-kicker {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.product-content h3 {
  margin-top: 12px;
  color: var(--black);
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  letter-spacing: -.06em;
  line-height: 1;
}

.product-description {
  max-width: 540px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.product-specs {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  color: var(--black);
  font-size: 13px;
}

.product-specs li {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.product-specs li:last-child {
  border-bottom: 1px solid var(--border);
}

.product-specs span {
  color: var(--muted);
}

.product-specs strong {
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition:
    transform .4s var(--ease),
    border-color .25s ease,
    background-color .25s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.carousel-count {
  min-width: 52px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* =========================
   KOREAN VALUES
========================= */

.values-layout {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 120px 24px;
}

.values-section .section-heading {
  margin-bottom: 64px;
}

.values-section .section-heading h2 {
  max-width: 700px;
  color: var(--white);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.value-card {
  min-height: 280px;
  padding: 28px 24px;
}

.value-card + .value-card {
  border-left: 1px solid rgba(255,255,255,.16);
}

.value-card > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.value-card h3 {
  margin-top: 70px;
  color: var(--white);
  font-size: 24px;
  letter-spacing: -.03em;
}

.value-card p {
  margin-top: 12px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.7;
}

/* =========================
   CONTACT CTA
========================= */

.contact-section {
  padding: 120px 24px;
  background: var(--white);
  color: var(--black);
  border-top: 1px solid var(--border);
}

.contact-content {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  color: var(--black);
}

.contact-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 13px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform .4s var(--ease),
    opacity .25s ease,
    background-color .25s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  opacity: .9;
  background: var(--black);
}

.contact-button-outline {
  background: transparent;
  color: var(--navy);
}

.contact-button-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transition: transform .45s var(--ease), box-shadow .3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 64px 24px 28px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.brand-logo-footer {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.footer-label {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

.social-icons a,
.footer-contact a {
  color: var(--black);
  font-size: 14px;
  text-decoration: none;
}

.social-icons a:hover,
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  width: min(var(--max-width), 100%);
  margin: 54px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .8s var(--ease),
    transform .9s var(--ease);
}

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

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .nav-links {
    gap: 20px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 460px;
  }

  .product-content {
    padding: 48px 32px 54px;
  }

  .values-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .value-card:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.16);
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 8px;
    padding: 0 10px;
  }

  .floating-nav {
    min-height: 64px;
    padding: 8px 16px;
  }

  .site-header.scrolled .floating-nav {
    min-height: 58px;
  }

  .brand-logo {
    height: 36px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    padding-top: 94px;
  }

  .hero-banner {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .hero-cta-wrap {
    padding-top: 20px;
  }

  .hero-cta {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .hero-copy {
    padding: 50px 18px 70px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-item {
    min-height: 100px;
    padding: 24px 20px;
  }

  .value-item + .value-item {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .section {
    padding: 88px 18px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .contact-content h2 {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }

  .product-image {
    min-height: 420px;
  }

  .product-content {
    padding: 42px 24px 48px;
  }

  .product-specs li {
    grid-template-columns: 120px 1fr;
    gap: 14px;
  }

  .values-layout {
    padding: 88px 18px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
    padding: 26px 0 30px;
  }

  .value-card + .value-card,
  .value-card:nth-child(3),
  .value-card:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .value-card h3 {
    margin-top: 36px;
  }

  .contact-section {
    padding: 88px 18px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-button {
    width: min(320px, 100%);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
