:root {
  --bg: #e9eef5;
  --surface: #f1f5fb;
  --surface-2: #e2eaf4;
  --ink: #0d1521;
  --muted: #445a76;
  --line: #afc0d5;
  --line-strong: #8ea3bd;
  --silver: #b8c3d0;
  --blue: #1f4f88;
  --blue-2: #2d66a8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #edf2f8, #e4ebf4);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(236, 242, 250, 0.94);
  border-bottom: 2px solid var(--line-strong);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #c9d2df;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #253954;
  font-weight: 700;
  font-size: 1rem;
}

nav a:hover {
  color: var(--blue);
}

.theme-toggle {
  border: 2px solid #66788f;
  background: linear-gradient(180deg, #222a33, #0f141a);
  color: #f1f5fa;
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(9, 14, 22, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.theme-toggle:hover {
  background: linear-gradient(180deg, #2f3a46, #171e27);
}

.tour-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sound-inline {
  border: 2px solid #a9bed7;
  background: linear-gradient(180deg, #f6faff, #e8f0fb);
  color: #1c3554;
  border-radius: 999px;
  padding: 0.35rem 0.8rem 0.35rem 0.45rem;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(16, 39, 65, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sound-koala {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #94acc8;
  filter: grayscale(100%) contrast(108%) brightness(110%);
}

.sound-inline:hover {
  background: #e9f1fb;
}

.hero {
  padding: 5.2rem 0 4.2rem;
  background: radial-gradient(circle at 90% 10%, #dfe9f8, transparent 30%),
    linear-gradient(130deg, #0f1e34, #173153 45%, #1f4c82);
  color: #f6f9ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #b9cae1;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 1rem;
}

.lead {
  font-size: 1.14rem;
  line-height: 1.72;
  color: #edf4ff;
  max-width: 760px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.tagline {
  margin: 0.15rem 0 1.1rem;
  display: inline-block;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(210, 227, 248, 0.55);
  border-radius: 999px;
  font-weight: 600;
  color: #e8f2ff;
  background: rgba(11, 29, 52, 0.35);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.78rem 1.08rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #c1d0e2;
  background: linear-gradient(180deg, #f9fcff, #d8e3f1);
  color: #12223a;
  box-shadow: 0 6px 18px rgba(22, 48, 79, 0.12);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: #b8c9de;
  color: #edf4ff;
}

.hero-card {
  background: rgba(11, 29, 52, 0.62);
  border: 1px solid rgba(210, 227, 248, 0.45);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(3px);
}

.hero-card h3 {
  margin: 0.2rem 0 0.45rem;
  color: #f7fbff;
  font-size: 1.45rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: #ffffff;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #f0f6ff;
}

.hero-card li {
  color: #f0f6ff;
}

.kpi-strip {
  background: #0f1c2d;
  border-top: 1px solid #223852;
  border-bottom: 1px solid #223852;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 1rem 0;
}

.kpi-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 2px solid rgba(185, 208, 236, 0.64);
  border-radius: 10px;
  padding: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px rgba(4, 12, 24, 0.18);
}

.kpi-label {
  margin: 0;
  color: #b9cbdf;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-weight: 700;
}

.section {
  padding: 4.2rem 0;
}

.alt {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

p,
li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.panel,
.price-band,
.feature-grid article,
.contact-card {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(14, 34, 58, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.panel ul {
  margin: 0;
  padding-left: 1rem;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: center;
}

.lead-small {
  margin-top: -0.2rem;
}

.price-band p {
  margin: 0.2rem 0;
}

.price-band h3 {
  margin: 0.3rem 0;
  font-size: 2rem;
  color: #12335d;
}

.price-band h3 span {
  font-size: 1rem;
  color: #466488;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.feature-grid article h3 {
  margin: 0.2rem 0 0.4rem;
  color: #143760;
}

.feature-grid article p {
  margin: 0;
}

.video-wrap {
  margin-top: 0.8rem;
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 12px 28px rgba(15, 39, 69, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.video-wrap--xl {
  width: 100%;
}

.video-wrap video {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  min-height: 420px;
  border-radius: 10px;
  background: #000;
  object-fit: contain;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
  overflow: visible;
}

.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #b5c7dc;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 41, 69, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
  transform-origin: center;
  cursor: zoom-in;
}

.gallery-grid img:hover {
  transform: scale(1.75);
  filter: brightness(1.03);
  box-shadow: 0 24px 46px rgba(14, 34, 58, 0.34);
  z-index: 25;
  position: relative;
}

.inquiry-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}

.inquiry-points {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
}

.inquiry-form {
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.9rem;
  color: #2f435d;
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  font: inherit;
  padding: 0.62rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #c8d5e4;
  background: #fdfefe;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: #60768f;
  font-size: 0.83rem;
}

.contact {
  background: linear-gradient(150deg, #0f2745, #183b63);
  color: #f2f7ff;
}

.contact h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
}

.contact p {
  color: #eef5ff;
  font-size: 1.08rem;
  line-height: 1.75;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: rgba(11, 34, 61, 0.72);
  border-color: rgba(214, 230, 248, 0.5);
  box-shadow: 0 10px 30px rgba(4, 11, 22, 0.28);
}

.contact-card p,
.contact-card a {
  color: #ffffff;
  font-size: 1.05rem;
}

.contact-card p strong {
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.contact-card .btn {
  margin-top: 0.6rem;
  background: #ffffff;
  color: #103155;
  border: 1px solid #d7e6f8;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.2rem 0 2.1rem;
  background: #f7f9fd;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.footer-koaleh-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #b9c5d3;
  filter: grayscale(100%);
}

.division {
  margin: 0.15rem 0;
  color: #243d5c;
  font-weight: 700;
}

.note {
  font-size: 0.85rem;
  color: #5f7590;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .pricing-wrap,
  .contact-wrap,
  .inquiry-wrap,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .video-wrap video {
    min-height: 260px;
    height: min(56vh, 520px);
  }

  .theme-toggle {
    padding: 0.52rem 1rem;
    font-size: 1.04rem;
    min-height: 44px;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }
}
html.theme-dark body {
  background: linear-gradient(180deg, #0c1522, #0a1220);
  color: #e8eef8;
}

html.theme-dark .site-header {
  background: rgba(10, 18, 29, 0.94);
  border-bottom-color: #2c4561;
}

html.theme-dark nav a,
html.theme-dark .logo,
html.theme-dark .theme-toggle {
  color: #e7f0fc;
}

html.theme-dark .theme-toggle {
  background: linear-gradient(180deg, #d8e0ea, #b7c3d1);
  border-color: #8ea1b8;
  color: #101826;
}

html.theme-dark .panel,
html.theme-dark .price-band,
html.theme-dark .feature-grid article,
html.theme-dark .contact-card,
html.theme-dark .inquiry-form,
html.theme-dark .video-wrap,
html.theme-dark .site-footer {
  background: #102033;
  border-color: #3f6289;
  color: #edf3fc;
}

html.theme-dark p,
html.theme-dark li,
html.theme-dark .lead-small,
html.theme-dark .note,
html.theme-dark .division {
  color: #d6e3f2;
}

html.theme-dark #inquiry h2 {
  color: #f4f9ff;
}

html.theme-dark #inquiry .inquiry-points li {
  color: #dbe7f6;
}

html.theme-dark .inquiry-form label {
  color: #f0f6ff;
  font-weight: 700;
}

html.theme-dark .inquiry-form input,
html.theme-dark .inquiry-form select,
html.theme-dark .inquiry-form textarea {
  background: #f5f9ff;
  color: #0f1a29;
  border: 2px solid #86a5c8;
}

html.theme-dark .inquiry-form input::placeholder,
html.theme-dark .inquiry-form textarea::placeholder {
  color: #4c6786;
}

html.theme-dark .inquiry-form input:focus,
html.theme-dark .inquiry-form select:focus,
html.theme-dark .inquiry-form textarea:focus {
  outline: none;
  border-color: #a9c4e4;
  box-shadow: 0 0 0 3px rgba(169, 196, 228, 0.25);
}

html.theme-dark .inquiry-form .btn {
  background: linear-gradient(180deg, #3a5f8e, #294b74);
  border-color: #6e93bf;
  color: #f7fbff;
}

html.theme-dark .form-note {
  color: #d3e1f2;
}

html.theme-dark .alt {
  background: #0f1c2d;
  border-color: #28415f;
}

html.theme-dark .gallery-grid img {
  border-color: #3a577a;
}

html.theme-dark .btn {
  background: linear-gradient(180deg, #2d4f78, #203c5f);
  color: #ecf4ff;
  border-color: #44678f;
}

html.theme-dark .tagline {
  color: #f0f6ff;
  border-color: #5e7ea5;
  background: rgba(19, 39, 62, 0.55);
}

html.theme-dark .sound-inline {
  background: linear-gradient(180deg, #233f61, #17324f);
  border-color: #44678f;
  color: #ecf4ff;
}
