/* ==========================================================================
   ink1009 JAPAN — Hyundai Motor Design System Theme
   Typography: M PLUS U (Static Local Fonts: Regular 400 ~ Black 900)
   ========================================================================== */

@font-face {
  font-family: 'M PLUS U';
  src: url('../fonts/MPLUSU-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS U';
  src: url('../fonts/MPLUSU-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS U';
  src: url('../fonts/MPLUSU-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS U';
  src: url('../fonts/MPLUSU-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS U';
  src: url('../fonts/MPLUSU-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS U';
  src: url('../fonts/MPLUSU-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primary — Hyundai Blue (PMS 654C) */
  --color-primary-50:  #E6EAEF;
  --color-primary-100: #CCD5DF;
  --color-primary-200: #A6B5C7;
  --color-primary-300: #8095AF;
  --color-primary-400: #4D6B8F;
  --color-primary-500: #002C5F;
  --color-primary-600: #002651;
  --color-primary-700: #001F44;
  --color-primary-800: #001836;
  --color-primary-900: #001128;

  /* Secondary — Active / Selected Teal */
  --color-secondary-50:  #E6F6FA;
  --color-secondary-500: #007FA8;
  --color-secondary-700: #29789C;
  --color-control:       #009EC3;

  /* CI Auxiliary Colors — Warm Sand & Accents */
  --color-sand:        #E4DCD3;
  --color-sand-light:  #F6F3F2;
  --color-gold:        #A36B4F;
  --color-active-blue: #00AAD2;
  --color-sky-blue:    #AACAE6;
  --color-active-red:  #E63312;

  /* Neutral */
  --color-neutral-0:    #FFFFFF;
  --color-neutral-50:   #F4F5F6;
  --color-neutral-100:  #E5E5E5;
  --color-neutral-200:  #CECDCA;
  --color-neutral-300:  #B1B1B1;
  --color-neutral-500:  #767676;
  --color-neutral-600:  #5A6065;
  --color-neutral-700:  #33383D;
  --color-neutral-900:  #141618;
  --color-neutral-1000: #000000;

  /* Surface */
  --bg-base:     #FFFFFF;
  --bg-subtle:   #F6F3F2;
  --bg-elevated: #F4F5F6;
  --bg-localnav: #111823;

  /* Text */
  --text-primary:    #111315;
  --text-secondary:  #4A525A;
  --text-tertiary:   #72787F;
  --text-on-primary: #FFFFFF;

  /* Border */
  --border-default: #E2E5E9;
  --border-subtle:  #E4DCD3;
  --border-strong:  #002C5F;
  --border-focus:   #007FA8;

  /* Layout & Spacing */
  --container-width: 1200px;
  --space-section:   112px;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 24, 54, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 24, 54, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 24, 54, 0.14);

  /* Motion */
  --duration-fast: 200ms;
  --duration-base: 300ms;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Font Family — Unified M PLUS U */
  --font-main: 'M PLUS U', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, button, input, select, textarea {
  font-family: var(--font-main);
  font-feature-settings: "palt" 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout & Section Header (Centered, Spacious, Zero Clutter)
   ========================================================================== */
.hm-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hm-section {
  padding: var(--space-section) 0;
  position: relative;
}

.hm-section--sand {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hm-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.hm-section-title {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hm-section-lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hm-section-lead strong {
  color: var(--color-primary-500);
  font-weight: 800;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.hm-btn--primary {
  background-color: var(--color-primary-500);
  color: var(--text-on-primary);
}
.hm-btn--primary:hover {
  background-color: var(--color-primary-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.hm-btn--teal {
  background-color: var(--color-secondary-500);
  color: var(--text-on-primary);
}
.hm-btn--teal:hover {
  background-color: var(--color-secondary-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.hm-btn--line {
  background-color: var(--color-neutral-0);
  color: var(--color-primary-500);
  border-color: var(--color-primary-500);
}
.hm-btn--line:hover {
  background-color: var(--color-primary-50);
}

.hm-btn--white {
  background-color: var(--color-neutral-0);
  color: var(--color-primary-500);
}
.hm-btn--white:hover {
  background-color: var(--color-primary-50);
}

.hm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.hm-badge--best {
  background-color: var(--color-active-red);
  color: #FFFFFF;
}
.hm-badge--new {
  background-color: var(--color-primary-50);
  color: var(--color-primary-500);
}

/* ==========================================================================
   1. GNB Header (.hm-gnb) — Aligned to 1200px Grid
   ========================================================================== */
.hm-gnb {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
}

.hm-gnb__inner {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hm-gnb__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hm-gnb__logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hm-gnb__sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-left: 14px;
  border-left: 1px solid var(--color-neutral-200);
}

.hm-gnb__util {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.hm-gnb__tel-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.hm-gnb__tel-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-secondary-500);
}
.hm-gnb__tel {
  font-size: 21px;
  font-weight: 900;
  color: var(--color-primary-500);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hm-gnb__cta {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

/* ==========================================================================
   2. Hero Section (.hm-hero)
   ========================================================================== */
.hm-hero {
  position: relative;
  background-color: var(--color-sand-light);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(246, 243, 242, 0.98) 0%,
    rgba(246, 243, 242, 0.95) 48%,
    rgba(246, 243, 242, 0.72) 78%,
    rgba(246, 243, 242, 0.45) 100%
  );
}

.hm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 64px 24px 68px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}

.hm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 18px;
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hm-hero__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-active-blue);
}

.hm-hero__title {
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hm-hero__highlight {
  color: var(--color-primary-500);
  display: inline-block;
}
.hm-hero__highlight strong {
  font-size: 1.22em;
  font-weight: 900;
  color: var(--color-secondary-500);
  margin: 0 4px;
  border-bottom: 5px solid var(--color-secondary-500);
  line-height: 1.05;
  display: inline-block;
}

.hm-hero__desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hm-hero__desc strong {
  color: var(--text-primary);
  font-weight: 800;
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hm-hero__actions .hm-btn {
  height: 56px;
  padding: 0 32px;
  font-size: 17px;
}

/* Hero Bottom KPI Strip */
.hm-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.hm-hero__metric {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 16px;
}
.hm-hero__metric:last-child {
  border-right: none;
  padding-right: 0;
}

.hm-hero__metric-lbl {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
  display: block;
}

.hm-hero__metric-val {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
  white-space: nowrap;
}
.hm-hero__metric-val small {
  font-size: 15px;
  font-weight: 700;
  margin-left: 3px;
  color: var(--color-sky-blue);
}

/* Right Showcase Card */
.hm-hero__showcase {
  background-color: var(--color-neutral-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hm-hero__showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-neutral-100);
}
.hm-hero__showcase-tag {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary-500);
}

.hm-hero__showcase-img-wrap {
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 18px;
}
.hm-hero__showcase-img-wrap img {
  max-height: 184px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 24, 54, 0.12));
}

.hm-hero__showcase-price-box {
  background-color: var(--color-sand-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hm-hero__showcase-price-lbl {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-primary);
}
.hm-hero__showcase-price-lbl small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
  white-space: nowrap;
}
.hm-hero__showcase-price-val {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-primary-500);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.hm-hero__showcase-price-val small {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-left: 2px;
}

.hm-hero__showcase-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.hm-hero__showcase-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.hm-hero__showcase-list li svg {
  color: var(--color-secondary-500);
  flex-shrink: 0;
}

/* ==========================================================================
   3. Sticky Local Navigation (.hm-localnav) — Aligned to 1200px Grid
   ========================================================================== */
.hm-localnav-wrap {
  position: sticky;
  top: 76px;
  z-index: 95;
  background-color: var(--bg-localnav);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hm-localnav {
  max-width: var(--container-width);
  height: 56px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hm-localnav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.hm-localnav__links::-webkit-scrollbar {
  display: none;
}

.hm-localnav__links a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: color var(--duration-fast);
}
.hm-localnav__links a:hover,
.hm-localnav__links a.is-active {
  color: #FFFFFF;
}
.hm-localnav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: var(--color-control);
}

.hm-localnav__consult {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 18px;
  background-color: #FFFFFF;
  color: var(--color-primary-500);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.hm-localnav__consult:hover {
  background-color: var(--color-primary-50);
}

/* ==========================================================================
   4. Section 1: Cost Reduction Cards & Simulator (#cost-impact)
   ========================================================================== */
.hm-cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.hm-cost-card {
  background-color: var(--color-neutral-0);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.hm-cost-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hm-cost-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-neutral-100);
}
.hm-cost-card__scale {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
}
.hm-cost-card__cut-badge {
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.hm-cost-card__before {
  background-color: var(--color-neutral-50);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-cost-card__before-lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}
.hm-cost-card__before-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: var(--color-active-red);
  text-decoration-thickness: 2px;
}

.hm-cost-card__arrow {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-secondary-500);
  margin: 10px 0;
  line-height: 1;
}

.hm-cost-card__after {
  background-color: var(--color-primary-50);
  border: 2px solid var(--color-primary-500);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  margin-bottom: 16px;
}
.hm-cost-card__after-lbl {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary-500);
  margin-bottom: 6px;
}
.hm-cost-card__after-val {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-primary-500);
  line-height: 1.1;
}
.hm-cost-card__after-val small {
  font-size: 16px;
  font-weight: 800;
  margin-left: 3px;
}

.hm-cost-card__yearly {
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 900;
}

/* Interactive Cost Simulator */
.hm-sim-box {
  background-color: var(--color-sand-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hm-sim-box__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hm-sim-slider-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hm-sim-slider-top span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}
.hm-sim-current-val {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-primary-500);
  white-space: nowrap;
}

.hm-sim-range {
  width: 100%;
  height: 10px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-primary-100);
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
}
.hm-sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary-500);
  border: 4px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 44, 95, 0.35);
  cursor: grab;
}

.hm-sim-result {
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hm-sim-result__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-sky-blue);
  margin-bottom: 4px;
}
.hm-sim-result__amount {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}
.hm-sim-result__sub {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 6px;
  white-space: nowrap;
}
.hm-sim-result__sub strong {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 900;
}
.hm-sim-result .hm-btn {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. Section 2: 6 Zero Promises — High-Impact 3x2 Showcase (#why-ink1009)
   ========================================================================== */
.hm-zero-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.hm-zero-card {
  background-color: var(--color-neutral-0);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  will-change: transform, box-shadow;
  transition: border-color var(--duration-fast) var(--ease-out);
}

/* Irregular, organic wave-like floating bounce across the 6 cards */
@keyframes hmWaveBounceA {
  0%, 100% {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(0, 24, 54, 0.05);
  }
  50% {
    transform: translateY(-9px);
    box-shadow: 0 14px 28px rgba(0, 44, 95, 0.12);
  }
}

@keyframes hmWaveBounceB {
  0%, 100% {
    transform: translateY(2px);
    box-shadow: 0 2px 6px rgba(0, 24, 54, 0.04);
  }
  45% {
    transform: translateY(-8px);
    box-shadow: 0 12px 26px rgba(0, 44, 95, 0.11);
  }
}

@keyframes hmWaveBounceC {
  0%, 100% {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 24, 54, 0.05);
  }
  55% {
    transform: translateY(-10px);
    box-shadow: 0 16px 30px rgba(0, 44, 95, 0.13);
  }
}

.hm-zero-card:nth-child(1) {
  animation: hmWaveBounceA 4.2s ease-in-out 0s infinite;
}
.hm-zero-card:nth-child(2) {
  animation: hmWaveBounceB 4.9s ease-in-out -1.1s infinite;
}
.hm-zero-card:nth-child(3) {
  animation: hmWaveBounceC 4.5s ease-in-out -2.3s infinite;
}
.hm-zero-card:nth-child(4) {
  animation: hmWaveBounceB 5.2s ease-in-out -0.6s infinite;
}
.hm-zero-card:nth-child(5) {
  animation: hmWaveBounceC 4.4s ease-in-out -1.8s infinite;
}
.hm-zero-card:nth-child(6) {
  animation: hmWaveBounceA 5.0s ease-in-out -2.9s infinite;
}

.hm-zero-card:hover {
  border-color: var(--color-primary-500);
}

.hm-zero-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hm-zero-card__val {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-primary-500);
  margin-bottom: 14px;
}
.hm-zero-card__val small {
  font-size: 24px;
  font-weight: 900;
  margin-left: 3px;
  color: var(--color-secondary-500);
}

.hm-zero-card__desc {
  display: inline-block;
  background-color: var(--color-neutral-50);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* 13-Year 98% Retention Banner */
.hm-retention-banner {
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-700) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.hm-retention-banner__stat {
  text-align: center;
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes hmBadgeFloatTop {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0, 170, 210, 0);
  }
  50% {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 170, 210, 0.45);
  }
}

@keyframes hmBadgeFloatBottom {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0, 229, 255, 0);
  }
  50% {
    transform: translateY(4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 170, 210, 0.5);
  }
}

.hm-retention-banner__lbl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(0, 170, 210, 0.22);
  border: 1px solid rgba(0, 170, 210, 0.65);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  animation: hmBadgeFloatTop 3.6s ease-in-out infinite;
}
.hm-retention-banner__lbl strong {
  font-size: 17px;
  font-weight: 900;
  color: #5CE1FF;
}

.hm-retention-banner__num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}
.hm-retention-banner__num {
  font-size: 62px;
  font-weight: 900;
}
.hm-retention-banner__unit {
  font-size: 26px;
  font-weight: 900;
  color: var(--color-active-blue);
  margin-left: 2px;
}

.hm-retention-banner__sub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(170, 202, 230, 0.6);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  animation: hmBadgeFloatBottom 4.1s ease-in-out -1.5s infinite;
}
.hm-retention-banner__sub strong {
  font-size: 18px;
  font-weight: 900;
  color: #5CE1FF;
}

.hm-retention-banner__body h3 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}
.hm-retention-banner__body p {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   6. Section 3: Color Freedom & Eco Stack (#color-quality)
   ========================================================================== */
.hm-quality-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: stretch;
}

.hm-compare-card {
  background-color: var(--color-neutral-50);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.hm-compare-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hm-tab-group {
  display: inline-flex;
  background-color: #FFFFFF;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
}

.hm-tab {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.hm-tab[aria-selected="true"] {
  background-color: var(--color-primary-500);
  color: #FFFFFF;
}

.hm-compare-hint {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-secondary-500);
}

.hm-ba-slider {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid var(--border-default);
  user-select: none;
  touch-action: pan-y;
}

.hm-ba-slider__after,
.hm-ba-slider__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hm-ba-slider__after img,
.hm-ba-slider__before img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #FFFFFF;
  padding: 12px;
}

.hm-ba-slider__before {
  clip-path: inset(0 50% 0 0);
}

.hm-ba-slider__label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  pointer-events: none;
}
.hm-ba-slider__label--before {
  left: 14px;
  background-color: rgba(20, 22, 24, 0.85);
  color: #FFFFFF;
}
.hm-ba-slider__label--after {
  right: 14px;
  background-color: var(--color-primary-500);
  color: #FFFFFF;
}

.hm-ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--color-primary-500);
  z-index: 5;
  cursor: ew-resize;
}
.hm-ba-slider__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right: 3 Bold KPI Cards */
.hm-eco-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hm-eco-kpi {
  flex: 1;
  background-color: var(--color-sand-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-eco-kpi__tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.hm-eco-kpi__main {
  font-size: 26px;
  font-weight: 900;
  color: var(--color-primary-500);
  line-height: 1.25;
  margin-bottom: 6px;
}

.hm-eco-kpi__sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   7. Section 4: Printer Lineup — 3 Simple Cards (#lineup)
   ========================================================================== */
.hm-trims-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.hm-card {
  position: relative;
  background-color: var(--color-neutral-0);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.hm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hm-card--featured {
  border: 2px solid var(--color-secondary-500);
  box-shadow: var(--shadow-md);
}

.hm-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hm-card__paper-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary-500);
  background-color: var(--color-primary-50);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.hm-card__paper-tag--teal {
  color: var(--color-secondary-700);
  background-color: var(--color-secondary-50);
}

.hm-card__name {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 8px;
}

.hm-card__price {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-primary-500);
  line-height: 1.1;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-neutral-100);
}
.hm-card__price small {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-left: 4px;
}

.hm-card__img-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  background-color: var(--color-neutral-50);
  border-radius: var(--radius-md);
  padding: 16px;
}
.hm-card__img-wrap img {
  max-height: 156px;
  width: auto;
  object-fit: contain;
}

.hm-card__specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.hm-card__spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-neutral-100);
}
.hm-card__spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hm-card__spec-row span {
  color: var(--text-secondary);
  font-weight: 600;
}
.hm-card__spec-row strong {
  color: var(--text-primary);
  font-weight: 800;
  text-align: right;
}

.hm-card .hm-btn {
  width: 100%;
}

/* ==========================================================================
   8. Section 5: Contract & Onboarding Flow (#flow)
   ========================================================================== */
.hm-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hm-step-card {
  background-color: var(--color-neutral-50);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hm-step-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary-500);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hm-step-card__title {
  font-size: 21px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hm-step-card__desc {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.hm-step-card__highlight {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary-500);
}

/* ==========================================================================
   9. Section 6: FAQ Accordion (#faq)
   ========================================================================== */
.hm-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hm-faq-item {
  background-color: var(--color-neutral-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hm-faq-btn {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.hm-faq-btn__q {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}
.hm-faq-btn__q-mark {
  color: var(--color-secondary-500);
  font-weight: 900;
  flex-shrink: 0;
}

.hm-faq-btn__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary-50);
  color: var(--color-primary-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.hm-faq-btn__icon::before,
.hm-faq-btn__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform var(--duration-fast);
}
.hm-faq-btn__icon::before {
  width: 12px;
  height: 2px;
}
.hm-faq-btn__icon::after {
  width: 2px;
  height: 12px;
}
.hm-faq-item.is-open .hm-faq-btn__icon {
  background-color: var(--color-primary-500);
  color: #FFFFFF;
}
.hm-faq-item.is-open .hm-faq-btn__icon::after {
  transform: rotate(90deg);
}

.hm-faq-panel {
  display: none;
  padding: 0 28px 24px 62px;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.hm-faq-item.is-open .hm-faq-panel {
  display: block;
}

.hm-faq-calc-box {
  margin-top: 14px;
  background-color: var(--color-sand-light);
  border-left: 4px solid var(--color-primary-500);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--text-primary);
}

/* ==========================================================================
   10. Section 7 & 8: Centered Contact Form & Split Office Cards
   ========================================================================== */
.hm-form-card {
  background-color: var(--color-neutral-50);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}

.hm-form-card--centered {
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.hm-form-group {
  margin-bottom: 22px;
}
.hm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hm-form-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hm-form-label .req {
  color: var(--color-active-red);
  margin-left: 3px;
}

/* Visual Model Radio Selector */
.hm-model-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hm-model-choice {
  cursor: pointer;
}
.hm-model-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hm-model-choice__box {
  background-color: #FFFFFF;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: all var(--duration-fast);
}
.hm-model-choice__box img {
  height: 54px;
  width: auto;
  margin: 0 auto 8px;
  object-fit: contain;
}
.hm-model-choice__name {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
}
.hm-model-choice__price {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.hm-model-choice input:checked + .hm-model-choice__box {
  border-color: var(--color-secondary-500);
  background-color: var(--color-secondary-50);
  box-shadow: 0 0 0 3px rgba(0, 127, 168, 0.12);
}

.hm-input,
.hm-textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-primary);
  background-color: #FFFFFF;
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.hm-input:focus,
.hm-textarea:focus {
  border-color: var(--color-secondary-500);
  box-shadow: 0 0 0 3px rgba(0, 127, 168, 0.14);
}

.hm-textarea {
  height: 110px;
  padding: 12px 16px;
  resize: vertical;
}

.hm-form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  display: none;
}
.hm-form-status.is-success {
  display: block;
  background-color: var(--color-secondary-50);
  color: var(--color-primary-500);
  border: 1px solid var(--color-secondary-500);
}
.hm-form-status.is-error {
  display: block;
  background-color: #FDF0EC;
  color: var(--color-active-red);
  border: 1px solid var(--color-active-red);
}

/* Split 2-Column Office Cards (Headquarters & Chiba Branch) */
.hm-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
  align-items: stretch;
}

.hm-office-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.hm-office-card__head {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary-500);
}

.hm-office-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-primary-500);
}

.hm-office-card__info {
  margin-bottom: 18px;
}

.hm-office-card__addr {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.hm-office-card__tel {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-secondary-500);
}

.hm-map-embed {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
  margin-top: auto;
}
.hm-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Full-width Agency Network Card */
.hm-info-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.hm-agency-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary-500);
  flex-wrap: wrap;
}

.hm-info-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-primary-500);
}

.hm-partner-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hm-partner-inline span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.hm-agency-table {
  width: 100%;
  border-collapse: collapse;
}
.hm-agency-table th,
.hm-agency-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-neutral-100);
  font-size: 15px;
  text-align: left;
}
.hm-agency-table tr:last-child th,
.hm-agency-table tr:last-child td {
  border-bottom: none;
}
.hm-agency-table th {
  width: 120px;
  font-weight: 800;
  color: var(--color-primary-500);
}

.hm-agency-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hm-agency-chip {
  background-color: var(--color-sand-light);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   11. Floating Action Buttons & Footer
   ========================================================================== */
.hm-fab-group {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-fast);
}
.hm-fab:hover {
  transform: scale(1.06);
}
.hm-fab--tel {
  background-color: var(--color-primary-500);
}
.hm-fab--mail {
  background-color: var(--color-control);
}

.hm-footer {
  background-color: var(--color-primary-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
  font-size: 13.5px;
}
.hm-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.hm-footer__brand {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
}

/* ==========================================================================
   12. Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .hm-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hm-cost-grid,
  .hm-zero-showcase,
  .hm-trims-grid {
    grid-template-columns: 1fr;
  }
  .hm-sim-box,
  .hm-quality-layout,
  .hm-offices-grid {
    grid-template-columns: 1fr;
  }
  .hm-retention-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .hm-retention-banner__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 0;
    padding-bottom: 16px;
  }
  .hm-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --space-section: 72px;
  }
  .hm-gnb__sub,
  .hm-gnb__tel-box {
    display: none;
  }
  .hm-hero__metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hm-hero__metric {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 12px;
  }
  .hm-hero__metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hm-steps-grid,
  .hm-form-row,
  .hm-model-choices {
    grid-template-columns: 1fr;
  }
  .hm-sim-result {
    flex-direction: column;
    align-items: flex-start;
  }
}
