:root {
  --navy-950: #090f1d;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --brand-blue: #1e3a5f;
  --brand-blue-hover: #284b7a;
  --accent-amber: #f59e0b;
  --accent-amber-dark: #d97706;
  --accent-amber-soft: #fef3c7;

  --surface-white: #ffffff;
  --surface-light: #f8fafc;
  --surface-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.14);

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 22px 48px rgba(15, 23, 42, 0.14);
  --container-max: 1200px;
}

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

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

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
  color: var(--text-main);
  background: var(--surface-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 92px 0;
}

.section--light {
  background: var(--surface-light);
}

.section--navy {
  background: var(--navy-900);
  color: #f8fafc;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
  background: #e8eff7;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-eyebrow--amber {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.section-subtitle {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.section-header--light .section-subtitle {
  color: #cbd5e1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.btn-lg {
  padding: 15px 24px;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-blue);
}

.btn-amber {
  background: var(--accent-amber);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.28);
}

.btn-amber:hover {
  background: #fbbf24;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn-outline-dark {
  background: #fff;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline-dark:hover {
  background: var(--surface-muted);
  border-color: #94a3b8;
}

.card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

/* Single Clean Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-body);
  white-space: nowrap;
  transition: color 0.15s ease;
}

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

.nav-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--surface-muted);
  color: var(--brand-blue);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--surface-light);
}

.btn-tel svg {
  color: var(--brand-blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy-900);
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-link {
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.94rem;
}

.drawer-link--primary {
  margin-top: 6px;
  background: var(--navy-900);
  color: #fff;
  text-align: center;
}

/* HERO */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(9, 15, 29, 0.96) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(15, 23, 42, 0.78) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 22px;
}

.hero-eyebrow .sep {
  opacity: 0.4;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.05rem, 3.8vw, 3.05rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--accent-amber);
}

.hero-desc {
  margin: 0 0 30px;
  font-size: 1.04rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.hero-desc strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-metrics {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-metrics dt {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.hero-metrics dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

/* Hero Right Quick Form Card */
.hero-quote-card {
  background: #fff;
  color: var(--text-main);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hq-head {
  margin-bottom: 18px;
}

.hq-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: #e8eff7;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.hq-head h2 {
  margin: 0 0 4px;
  font-size: 1.28rem;
  font-weight: 800;
}

.hq-head p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hq-field {
  margin-bottom: 13px;
}

.hq-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 5px;
}

.hq-field input,
.hq-field select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface-light);
  font-size: 0.92rem;
  color: var(--text-main);
}

.hq-field input:focus,
.hq-field select:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #fff;
}

.hq-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.hq-tel-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.hq-tel-bar span {
  color: var(--text-muted);
  font-weight: 600;
}

.hq-tel-bar a {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--brand-blue);
}

/* SECTION 1: 13 Portfolio Cards (1 + 4 Multi-Photo Preview) */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pf-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.pf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pf-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-muted);
}

.pf-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pf-card:hover .pf-cover img {
  transform: scale(1.04);
}

.pf-count-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.pf-sub-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px;
  background: var(--surface-light);
  border-bottom: 1px solid var(--border);
}

.pf-sub-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: #e2e8f0;
}

.pf-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.pf-loc {
  color: var(--brand-blue);
}

.pf-cat {
  color: var(--text-muted);
}

.pf-body h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.38;
}

.pf-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.56;
}

/* BEFORE & AFTER */
.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.ba-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
}

.ba-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.ba-showcase {
  max-width: 960px;
  margin: 0 auto 54px;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.ba-before-wrap .ba-img--before {
  max-width: none;
}

.ba-badge {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.84);
  color: #fff;
  pointer-events: none;
}

.ba-badge--before { left: 16px; }
.ba-badge--after { right: 16px; background: rgba(30, 58, 95, 0.9); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-line {
  width: 2px;
  height: 100%;
  background: #fff;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.ba-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 14px;
}

.meta-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 3px;
}

.ba-meta-bar h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.ba-meta-bar p {
  margin: 0;
  max-width: 500px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.process-heading {
  text-align: center;
  margin: 0 0 24px;
  font-size: 1.24rem;
  font-weight: 800;
}

.process-heading small {
  color: var(--brand-blue);
  font-weight: 700;
}

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

.process-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.process-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.process-img span {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
}

.process-body {
  padding: 16px;
}

.process-body h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 800;
}

.process-body p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.54;
}

/* SECTION 2: Calculator & Hope Summary Infographic */
.calc-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  margin-bottom: 36px;
}

.card-head {
  margin-bottom: 20px;
}

.step-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: #e8eff7;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.step-label--amber {
  background: var(--accent-amber-soft);
  color: #92400e;
}

.card-head h3 {
  margin: 0 0 4px;
  font-size: 1.24rem;
  font-weight: 800;
}

.card-head p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.elig-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.elig-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface-light);
}

.elig-text strong {
  display: block;
  font-size: 0.93rem;
  margin-bottom: 2px;
}

.elig-text small {
  display: block;
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.elig-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.elig-btn {
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
}

.elig-btn.active[data-val="yes"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.elig-btn.active[data-val="no"] {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.elig-verdict {
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid;
}

.elig-verdict--pass {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0c4a6e;
}

.elig-verdict--warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #7c2d12;
}

.elig-verdict strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.elig-verdict p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.56;
}

.calc-block {
  margin-bottom: 20px;
}

.calc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.period-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.period-btn {
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-light);
  cursor: pointer;
}

.period-btn strong {
  display: block;
  font-size: 0.86rem;
}

.period-btn span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.period-btn.active {
  border-color: var(--navy-900);
  background: #fff;
}

.period-btn.active span {
  color: var(--brand-blue);
}

.area-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.area-top .calc-label {
  margin-bottom: 0;
}

.area-input-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

.area-input-box input {
  width: 72px;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1.5px solid var(--navy-900);
  font-size: 0.98rem;
  font-weight: 800;
  text-align: right;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  outline: none;
  margin: 8px 0 12px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-amber);
  border: 3px solid var(--navy-900);
  cursor: pointer;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.preset-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.preset-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.calc-result {
  background: var(--navy-900);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.calc-result-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.res-sub {
  display: block;
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.res-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.res-value strong {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--accent-amber);
  line-height: 1;
}

.cap-tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 8px;
  border-radius: 5px;
  margin-left: 6px;
}

.res-note {
  text-align: right;
}

.res-note span {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
}

.res-note small {
  font-size: 0.73rem;
  color: #94a3b8;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-amber);
  transition: width 0.24s ease;
}

.progress-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 6px;
}

/* Hope Summary Infographic (Clean Web Layout) */
.hope-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.hope-head h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.hope-head span {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hope-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hope-card h4 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 800;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.86rem;
}

.mini-table th,
.mini-table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.mini-table th {
  background: var(--surface-light);
  font-weight: 700;
}

.td-strong {
  font-weight: 800;
  color: var(--brand-blue);
}

.exclude-box {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.exclude-box strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.exclude-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.exclude-box li span {
  font-weight: 800;
  color: var(--brand-blue);
  margin-right: 4px;
}

.legal-note {
  margin: 0;
  font-size: 0.78rem;
  color: #991b1b;
  background: #fef2f2;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.5;
}

.flow-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.flow-header h4 {
  margin: 0;
}

.flow-tabs {
  display: inline-flex;
  background: var(--surface-muted);
  padding: 3px;
  border-radius: 8px;
  gap: 4px;
}

.flow-tab {
  border: 0;
  background: transparent;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.flow-tab.active {
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.flow-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.84rem;
}

.flow-list li.is-highlight {
  background: #f0f7ff;
  border-color: #bfdbfe;
}

.flow-list b {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.74rem;
}

.docs-box strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.docs-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.docs-mini-grid div {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-light);
}

.docs-mini-grid span {
  display: block;
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--navy-900);
}

.docs-mini-grid small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* SECTION 3: Waste Plant Navy Section */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  margin-bottom: 48px;
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.9rem;
}

.compare-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-weight: 800;
}

.compare-table .muted {
  color: #94a3b8;
}

.compare-table .col-brand {
  background: rgba(245, 158, 11, 0.1);
  border-left: 2px solid var(--accent-amber);
  font-weight: 700;
}

.compare-table thead .col-brand {
  background: var(--accent-amber);
  color: var(--navy-950);
}

.waste-media-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.waste-media-head h3 {
  margin: 0 0 4px;
  font-size: 1.24rem;
  font-weight: 800;
}

.waste-media-head p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
}

.video-frame {
  aspect-ratio: 9 / 14;
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-caption {
  padding: 12px 14px;
}

.video-caption span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 2px;
}

.video-caption strong {
  display: block;
  font-size: 0.85rem;
}

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

.plant-thumb-btn {
  padding: 0;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
}

.plant-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.plant-thumb-btn:hover img {
  transform: scale(1.05);
}

.plant-thumb-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 10px 8px;
  background: linear-gradient(transparent, rgba(9, 15, 29, 0.88));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
}

/* SECTION 4: Trust & 4-ZERO */
.trust-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.biz-card {
  display: flex;
  flex-direction: column;
}

.biz-head h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 900;
}

.biz-head p {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.biz-dl {
  margin: 0 0 22px;
  border-top: 1px solid var(--border);
}

.biz-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.biz-dl dt {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.biz-dl dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.highlight-num {
  color: var(--brand-blue);
  font-weight: 900 !important;
}

.biz-card .btn {
  margin-top: auto;
}

.zero-wrap h3 {
  margin: 0 0 18px;
  font-size: 1.38rem;
  font-weight: 800;
}

.zero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.zero-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: var(--surface-light);
}

.zero-code {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.zero-item h4 {
  margin: 0 0 7px;
  font-size: 1.02rem;
  font-weight: 800;
}

.zero-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.56;
}

/* SECTION 5: Quote Form & FAQ */
.quote-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  margin-bottom: 56px;
}

.side-call-box {
  background: var(--navy-900);
  color: #fff;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 16px;
}

.call-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 6px;
}

.call-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-amber);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.side-call-box p {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.call-action-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.side-points {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.side-points h4 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: 800;
}

.side-points ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quote-form-card.is-highlighted {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.form-sync-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  margin-bottom: 15px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.req {
  color: #dc2626;
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface-light);
  font-size: 0.93rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #fff;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface-light);
  font-size: 0.82rem;
  font-weight: 700 !important;
  cursor: pointer;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-sub {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
  margin-bottom: 24px;
}

.faq-head h3 {
  margin: 0 0 6px;
  font-size: 1.32rem;
  font-weight: 800;
}

.faq-head p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
}

.faq-plus {
  font-size: 1.25rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--surface-muted);
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.66;
}

.faq-item.open .faq-a {
  display: block;
  padding-top: 14px;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 46px 0 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--accent-amber);
}

.footer-meta {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.7;
}

.footer-meta a {
  color: #e2e8f0;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
}

.footer-copy {
  padding: 16px 0 22px;
  font-size: 0.78rem;
  text-align: center;
}

/* Floating Quick Action Bar */
.floating-bar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-btn {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.float-btn--primary {
  background: var(--accent-amber);
  color: var(--navy-950);
}

.float-btn--secondary {
  background: #fff;
  color: var(--navy-900);
  border: 1px solid var(--border);
}

.float-btn--dark {
  background: var(--navy-900);
  color: #fff;
}

/* Modals (2-Mode Gallery & Quote Modal) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(9, 15, 29, 0.84);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: 100%;
  max-height: 92vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.modal-dialog--xl { max-width: 1040px; }
.modal-dialog--md { max-width: 560px; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}

.modal-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 2px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.modal-head-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-light);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

/* View 1: All Photos Scrollable Grid */
.lb-grid-view {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1;
}

.lb-summary-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-body);
}

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

.lb-grid-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-muted);
  cursor: pointer;
}

.lb-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.lb-grid-item:hover img {
  transform: scale(1.05);
}

.lb-grid-num {
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* View 2: Single Photo Slide View */
.lb-single-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.lb-single-view[hidden],
.lb-grid-view[hidden] {
  display: none;
}

.lb-stage {
  position: relative;
  background: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56vh;
}

.lb-stage img {
  max-height: 56vh;
  max-width: 100%;
  object-fit: contain;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.lb-nav--prev { left: 14px; }
.lb-nav--next { right: 14px; }

.lb-caption-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px;
  background: var(--surface-light);
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}

.lb-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 22px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}

.lb-thumb-btn {
  padding: 0;
  width: 62px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
}

.lb-thumb-btn.active {
  border-color: var(--accent-amber);
}

.lb-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mf-info {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.qm-body {
  padding: 20px 22px 24px;
  overflow-y: auto;
}

.qm-lead {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.qm-summary {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 10px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.86rem;
  white-space: pre-wrap;
  line-height: 1.62;
}

.qm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qm-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.copy-toast {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-grid,
  .calc-dashboard,
  .hope-info-grid,
  .trust-layout,
  .quote-grid {
    grid-template-columns: 1fr;
  }

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

  .process-grid,
  .video-grid,
  .plant-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lb-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }

  .section {
    padding: 64px 0;
  }

  .btn-tel span,
  .header-cta {
    display: none;
  }

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

  .period-toggle,
  .zero-grid,
  .form-row,
  .radio-grid,
  .docs-mini-grid,
  .qm-sub-actions,
  .hq-row {
    grid-template-columns: 1fr;
  }

  .floating-bar {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 4px;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 6px 8px;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.12);
  }

  .float-btn {
    flex: 1;
    border-radius: 8px;
    padding: 10px 6px;
    font-size: 0.78rem;
    box-shadow: none;
  }
}

@media (max-width: 540px) {
  .portfolio-grid,
  .process-grid,
  .video-grid,
  .plant-preview-grid {
    grid-template-columns: 1fr;
  }

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