:root {
  --color-navy: #0D1F3C;
  --color-gradient: linear-gradient(135deg, #59CCD1 25%, #91D361 90%);
  --color-gradient-soft: linear-gradient(135deg, rgba(126, 247, 201, 0.08) 25%, rgba(144, 132, 248, 0.08) 90%);
  --color-accent: #74CDA0;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-border: #e5e7eb;
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: 1100px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.25rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;
  --radius: 8px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.sp-only {
  display: inline;
}

.sp-br {
  display: block;
}

.pc-br {
  display: none;
}

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-slate-800);
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.logo img {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.header-cta {
  background: var(--color-gradient);
  color: #fff;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.header-cta:hover {
  opacity: 0.85;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-gradient);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: rgba(126, 247, 201, 0.4);
}

.btn-outline:hover {
  background: var(--color-gradient);
  color: #fff;
  border-color: transparent;
}

.btn-white {
  background: #fff;
  color: var(--color-navy);
  border-color: #fff;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ==================== Motion ==================== */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPersonRightIn {
  from {
    opacity: 0;
    transform: translate(24px, -50%);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes heroPersonLeftIn {
  from {
    opacity: 0;
    transform: translate(-24px, -50%);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes heroDiamondIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes diamondFloat {

  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(10px, -8px);
  }
}

.hero-label,
.hero-title,
.hero-sub,
.hero-badges,
.hero-cta {
  opacity: 0;
  animation: heroContentIn 0.75s ease forwards;
}

.hero-label {
  animation-delay: 0.08s;
}

.hero-title {
  animation-delay: 0.18s;
}

.hero-sub {
  animation-delay: 0.3s;
}

.hero-badges {
  animation-delay: 0.42s;
}

.hero-cta {
  animation-delay: 0.54s;
}

.hero-person-r {
  opacity: 0;
  animation: heroPersonRightIn 0.9s ease 0.26s forwards;
}

.hero-person-l {
  opacity: 0;
  animation: heroPersonLeftIn 0.9s ease 0.34s forwards;
}

.hero-diamond {
  opacity: 0;
  animation: heroDiamondIn 1s ease 0.2s forwards;
}

.hero-diamond-shape {
  animation: diamondFloat 8s ease-in-out infinite;
}

.hero-diamond--l .hero-diamond-shape,
.benefits-diamond--bl .hero-diamond-shape,
.flow-diamond--br .hero-diamond-shape {
  animation-delay: -2.5s;
}

.benefits-diamond--tr2 .hero-diamond-shape,
.flow-diamond--tl2 .hero-diamond-shape {
  animation-delay: -4s;
}

.js-scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease var(--reveal-delay, 0s),
    transform 0.65s ease var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.js-scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn,
.problem-item,
.benefit-item,
.narrowing-col,
.flow-step {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease,
    color 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(13, 31, 60, 0.14);
}

.problem-item:hover {
  transform: translateY(-3px);
  background: rgba(89, 204, 209, 0.06);
  box-shadow: 0 10px 24px rgba(13, 31, 60, 0.08);
}

.benefit-item:hover,
.narrowing-col:hover,
.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(13, 31, 60, 0.1);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.72);
}

.narrowing-col:hover,
.flow-step:hover {
  border-color: rgba(116, 205, 160, 0.55);
}

/* ==================== Section Common ==================== */
.section-title {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
  color: var(--color-navy);
}

.section-desc {
  text-align: center;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto var(--spacing-md);
  font-size: 1rem;
}

.section-desc-value {
  text-align: center;
  max-width: 500px;
  margin: var(--spacing-lg) auto 0;
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(89, 204, 209, 0.35);
  box-shadow: 0 4px 24px rgba(89, 204, 209, 0.1), inset 0 0 0 1px rgba(145, 211, 97, 0.08);
  position: relative;
  overflow: hidden;
}

/* ==================== Hero ==================== */
.hero {
  padding: 5rem 0 var(--spacing-xl);
  background: var(--color-gradient-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-diamond {
  position: absolute;
  pointer-events: none;
}

.hero-diamond--r {
  top: -15%;
  right: -10%;
  width: 200px;
  height: 200px;
  z-index: 1;
}

.hero-diamond--l {
  bottom: -15%;
  left: 0%;
  width: 200px;
  height: 200px;
  aspect-ratio: 1/ 1;
  z-index: 1;
}

.hero-diamond-shape {
  width: 100%;
  height: 100%;
  background: var(--color-gradient);
  opacity: 0.1;
  transform: rotate(45deg);
  border-radius: 48px;
}

.hero-persons {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.hero-person-r,
.hero-person-l {
  position: absolute;
  top: auto;
  bottom: 0;
  width: min(42vw, 150px);
  height: 42%;
  transform: none;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.45;
  animation: none;
}

.hero-person-r::after,
.hero-person-l::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-gradient);
  opacity: 0.15;
  pointer-events: none;
}

.hero-person-r {
  right: 0;
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-person-l {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 56% 100%, 0 100%);
}

.hero-person-r picture,
.hero-person-l picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-person-r-image,
.hero-person-l-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-label {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-gradient);
  color: #fff;
  padding: 0.375rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  display: inline-block;
}

.highlight {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-sub {
  display: inline-block;
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.badge {
  background: #fff;
  border: 1px solid rgba(172, 126, 247, 0.25);
  width: 100%;
  max-width: 320px;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-navy);
}

.asterisk {
  font-size: 0.6rem;
  color: #707070;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.hero-cta .btn {
  width: 100%;
  max-width: 360px;
}

/* ==================== Problems ==================== */
.problems {
  padding: var(--spacing-xl) 0 0;
  background: var(--color-gradient-soft);
}

.image-left-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.image-left-sticky {
  align-items: center;
  height: fit-content;
  position: relative;
  top: auto;
  flex: none;
}

.image-left-visual {
  text-align: center;
}

.image-left-visual picture,
.image-left-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 400px;
}

.image-left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.problems-card-unified {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #3d4d6c;
  margin-bottom: var(--spacing-xl);
  overflow: hidden;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.problem-icon {
  flex-shrink: 0;
}

.problem-text p {
  font-size: 0.8rem;
}

.problems-cta {
  padding: var(--spacing-sm);
  text-align: center;
  background: var(--color-gradient);
}

.problems-cta-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

/* ==================== Solution ==================== */
.solution {
  padding: var(--spacing-xl) 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./img/solution-bg.png");
  background-image: image-set(url("./img/solution-bg.avif") type("image/avif"),
      url("./img/solution-bg.webp") type("image/webp"),
      url("./img/solution-bg.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.solution-container {
  width: min(100% - 2rem, var(--container-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.solution-body {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: var(--spacing-lg);
}

.solution-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.solution-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.8;
  border-left: 4px solid var(--color-accent);
  padding-left: var(--spacing-sm);
}

.solution-label {
  font-size: 1rem;
  color: var(--color-text-light);
}

.solution-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
}

.solution-point-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.solution-point-icon svg {
  width: 100%;
  height: 100%;
}

.solution-conclusion {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.7;
  padding: var(--spacing-sm) var(--spacing-md);
  background: #f0fdf4;
  border-radius: var(--radius-lg);
  border: 1px solid #86efac;
  text-align: center;
}

.solution-conclusion-accent {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.125rem;
}

.benefits-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.benefits {
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.benefit-number {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  flex-shrink: 0;
  width: auto;
}

.benefit-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.text-chip {
  display: inline;
  padding: 0.125rem 0.15rem;
  border-radius: 2px;
  font-weight: 700;
  background-image: linear-gradient(transparent 50%, #ffe981 0%);
}

/* ==================== Narrowing (Pマーク vs ISMS) ==================== */
.narrowing {
  padding: var(--spacing-xl) 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.narrowing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./img/narrowing-bg-2.png");
  background-image: image-set(url("./img/narrowing-bg-2.avif") type("image/avif"),
      url("./img/narrowing-bg-2.webp") type("image/webp"),
      url("./img/narrowing-bg-2.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.narrowing-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.narrowing-container .section-title {
  width: 100%;
  text-align: center;
}

.narrowing-body {
  width: 100%;
}

.narrowing-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.narrowing-comparison {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: stretch;
}

.narrowing-col {
  flex: 1;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.narrowing-col--highlight {
  border: 2px solid #10b981;
  box-shadow: 0 4px 20px rgba(172, 126, 247, 0.1);
}

.narrowing-header {
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 700;
  font-size: 1.0625rem;
  text-align: center;
}

.narrowing-header--pmark {
  background: #f3f4f6;
  color: var(--color-text);
}

.narrowing-header--isms {
  background: var(--color-gradient);
  color: #fff;
}

.narrowing-list {
  padding: var(--spacing-md);
}

.narrowing-list li {
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.narrowing-list li:last-child {
  border-bottom: none;
}

.narrowing-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
  min-width: 4.5rem;
}

/* ==================== Benefits Section ==================== */
.benefits-section {
  padding: var(--spacing-2xl) 0;
  background: var(--color-gradient-soft);
  position: relative;
  overflow: hidden;
}

.benefits-diamond {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.benefits-diamond .hero-diamond-shape {
  width: 100%;
  height: 100%;
  background: var(--color-gradient);
  opacity: 0.07;
  transform: rotate(45deg);
  border-radius: 32px;
}

.benefits-diamond--tr {
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
}

/* --tr と重なる小さいダイヤ → 右上に重なり演出 */
.benefits-diamond--tr2 {
  top: 20px;
  right: 150px;
  width: 140px;
  height: 140px;
}

.benefits-diamond--bl {
  bottom: -70px;
  left: -50px;
  width: 200px;
  height: 200px;
}

.benefits-diamond--bl2 {
  bottom: -30px;
  left: 120px;
  width: 300px;
  height: 300px;
}

.benefits-diamond--tl {
  top: 20%;
  left: -90px;
  width: 140px;
  height: 140px;
}

.benefits-diamond--mr {
  top: 50%;
  right: -70px;
  width: 110px;
  height: 110px;
  transform: translateY(-50%);
}

.benefits-section .container {
  position: relative;
  z-index: 1;
}

/* ==================== Flow ==================== */
.flow {
  padding: var(--spacing-xl) 0;
  background: var(--color-gradient-soft);
  position: relative;
  overflow: hidden;
}

.flow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.flow-diamond {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.flow-diamond .hero-diamond-shape {
  width: 100%;
  height: 100%;
  background: var(--color-gradient);
  opacity: 0.09;
  transform: rotate(45deg);
  border-radius: 36px;
}

.flow-diamond--tl {
  top: -90px;
  left: -60px;
  width: 280px;
  height: 280px;
}

/* --tl と重なる中サイズ → 左上に重なり演出 */
.flow-diamond--tl2 {
  top: 30px;
  left: 100px;
  width: 160px;
  height: 160px;
}

.flow-diamond--br {
  bottom: -80px;
  right: -50px;
  width: 220px;
  height: 220px;
}

.flow-diamond--br2 {
  bottom: 20px;
  right: 110px;
  width: 100px;
  height: 100px;
}

.flow-diamond--tr {
  top: -40px;
  right: 15%;
  width: 120px;
  height: 120px;
}

.flow .container {
  position: relative;
  z-index: 1;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  position: relative;
}

.flow-step {
  background: #fff;
  width: min(500px, 100%);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: left;
  position: relative;
  display: grid;
  grid-template-columns: minmax(5.5rem, max-content) 1fr;
  grid-template-rows: 1fr auto 1fr;
  column-gap: var(--spacing-md);
  align-items: stretch;
  min-width: 0;
}

.flow-step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.flow-step h3 {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  margin-bottom: 0;
  font-size: 1.125rem;
  line-height: 1.4;
}

.flow-step p {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.6;
  flex-grow: 1;
  text-align: left;
  margin: 0;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: 20px;
}

.flow-arrow::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 14px solid var(--color-accent);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: none;
}

/* ==================== Final CTA ==================== */
.final-cta {
  padding: var(--spacing-xl) 0;
  background: var(--color-gradient);
  color: #fff;
  text-align: center;
}

.final-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  line-height: 1.4;
}

/* ==================== Free Consult ==================== */
.free-consult {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.free-consult::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(89, 204, 209, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(145, 211, 97, 0.08) 0%, transparent 50%);
  pointer-events: none;
}


.free-consult__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
  max-width: 860px;
  margin: 0 auto var(--spacing-xl);
}

.free-consult__card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(89, 204, 209, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: background 0.2s, border-color 0.2s;
}

.free-consult__card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.free-consult__index {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.75;
  width: 36px;
  padding-top: 0.1em;
}

.free-consult__body {
  flex: 1;
}

.free-consult__card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.free-consult__card-text {
  font-size: 0.875rem;
  line-height: 1.75;
}

.free-consult__cta {
  text-align: center;
}

/* ==================== Contact Form ==================== */
.contact-form {
  max-width: 560px;
  margin: 0 auto var(--spacing-lg);
  text-align: left;
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.375rem;
}

.required {
  color: #fca5a5;
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-family);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-group input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.contact-form__field-error {
  position: absolute;
  left: 0.75rem;
  bottom: -2.35rem;
  z-index: 2;
  display: none;
  max-width: calc(100% - 1.5rem);
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.contact-form__field-error::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 1rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #dc2626;
  transform: rotate(45deg);
}

.contact-form__field-error:not(:empty) {
  display: block;
}

.form-group:has(.contact-form__field-error:not(:empty)) {
  margin-bottom: calc(var(--spacing-md) + 2.35rem);
}

.form-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-form__consent-note {
  margin: 0;
  line-height: 1.6;
}

.text-sm {
  font-size: 0.875rem;
}

.contact-form__privacy-link {
  color: #fff;
  text-decoration: underline;
}

.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form__feedback {
  min-height: 1.75rem;
  margin: 0 0 var(--spacing-sm);
  color: #fff;
  font-size: 0.9375rem;
  line-height: 1.7;
  text-align: center;
}

.contact-form__feedback--success {
  color: #bbf7d0;
}

.contact-form__feedback--error {
  color: #fecaca;
}

.btn-submit {
  margin-top: var(--spacing-sm);
  transition: opacity 0.2s;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== Footer ==================== */
.footer {
  padding: var(--spacing-md) 0;
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==================== Floating CTA ==================== */
.floating-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem var(--spacing-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  z-index: 99;
}

@media (max-width: 425px) {
  .header-cta {
    display: none;
  }
}

/* ==================== Responsive: Tablet ==================== */
@media (min-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 5rem;
    --spacing-3xl: 6rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .sp-only,
  .sp-br {
    display: none;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-text {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .header,
  .floating-cta {
    backdrop-filter: blur(8px);
  }

  .header-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }

  .btn {
    padding: 0.875rem 2rem;
  }

  .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
  }

  .btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xl);
  }

  .section-desc-value {
    font-size: 1.75rem;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .hero {
    padding: 7rem 0 var(--spacing-2xl);
    min-height: 560px;
  }

  .hero-diamond--r,
  .hero-diamond--l {
    width: 360px;
    height: 360px;
  }

  .hero-person-r,
  .hero-person-l {
    top: 50%;
    bottom: auto;
    width: 260px;
    height: 100%;
    transform: translateY(-50%);
    opacity: 1;
  }

  .hero-person-r {
    animation: heroPersonRightIn 0.9s ease 0.26s forwards;
  }

  .hero-person-l {
    animation: heroPersonLeftIn 0.9s ease 0.34s forwards;
  }

  .hero-person-r {
    clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-person-l {
    clip-path: polygon(0 0, 100% 0, 120px 100%, 0 100%);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-badges {
    flex-direction: row;
    align-items: stretch;
  }

  .badge {
    width: auto;
    max-width: none;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .hero-cta .btn {
    width: auto;
    max-width: none;
  }

  .problems {
    padding-top: var(--spacing-2xl);
  }

  .problems-cta {
    padding: var(--spacing-lg);
  }

  .problems-cta-text {
    font-size: 1.75rem;
  }

  .solution,
  .narrowing,
  .flow,
  .free-consult,
  .final-cta {
    padding: var(--spacing-2xl) 0;
  }

  .solution-text {
    gap: var(--spacing-md);
  }

  .solution-lead {
    font-size: 1.125rem;
  }

  .solution-conclusion {
    font-size: 1.125rem;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .solution-conclusion-accent {
    font-size: 1.25rem;
  }

  .benefit-item {
    flex-direction: row;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
  }

  .benefit-number {
    font-size: 2rem;
    width: 60px;
  }

  .narrowing-comparison {
    flex-direction: row;
  }

  .narrowing-list li {
    align-items: center;
  }

  .free-consult__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
  }

  .free-consult__card {
    padding: var(--spacing-lg);
  }

  .free-consult__index {
    font-size: 2rem;
    width: 48px;
  }

  .final-cta-title {
    font-size: 1.75rem;
  }

  .floating-cta {
    display: none;
  }

  .footer {
    margin-bottom: 0;
  }
}

/* ==================== Responsive: Desktop ==================== */
@media (min-width: 1024px) {
  :root {
    --spacing-2xl: 6rem;
    --spacing-3xl: 8rem;
  }

  .pc-br {
    display: block;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-desc-value {
    font-size: 2rem;
  }

  .hero {
    padding: 8rem 0 var(--spacing-2xl);
    min-height: 600px;
  }

  .hero-diamond--r,
  .hero-diamond--l {
    width: 500px;
    height: 500px;
  }

  .hero-person-r,
  .hero-person-l {
    width: 340px;
  }

  .hero-person-r {
    clip-path: polygon(170px 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-person-l {
    clip-path: polygon(0 0, 100% 0, 170px 100%, 0 100%);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-sub {
    font-size: 1.125rem;
  }

  .badge {
    font-size: 0.875rem;
  }

  .image-left-section {
    flex-direction: row;
  }

  .solution {
    background-image: url("./img/solution-bg.png");
    background-image: image-set(url("./img/solution-bg.avif") type("image/avif"),
        url("./img/solution-bg.webp") type("image/webp"),
        url("./img/solution-bg.png") type("image/png"));
    background-repeat: no-repeat;
    background-position: right 60%;
    background-size: auto 100%;
  }

  .solution::before {
    content: none;
  }

  .solution-container {
    width: 55%;
    max-width: 760px;
    margin-left: 0;
  }

  .solution-text {
    width: 100%;
    max-width: 560px;
  }

  .solution-conclusion {
    font-size: 1.25rem;
  }

  .solution-conclusion-accent {
    font-size: 1.375rem;
  }

  .narrowing {
    background-image: url("./img/narrowing-bg-2.png");
    background-image: image-set(url("./img/narrowing-bg-2.avif") type("image/avif"),
        url("./img/narrowing-bg-2.webp") type("image/webp"),
        url("./img/narrowing-bg-2.png") type("image/png"));
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
  }

  .narrowing::before {
    content: none;
  }

  .narrowing-container {
    align-items: flex-end;
  }

  .narrowing-container .section-title {
    width: 55%;
    text-align: left;
  }

  .narrowing-body {
    width: 70%;
  }

  .problems-cta {
    padding: var(--spacing-xl);
  }

  .problems-cta-text {
    font-size: 2rem;
  }

  .final-cta-title {
    font-size: 2rem;
  }

  .flow-container {
    padding: 0 var(--spacing-lg);
  }

  .flow-steps {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: var(--spacing-sm);
    align-items: stretch;
  }

  .flow-step {
    width: auto;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 0;
  }

  .flow-step-number,
  .flow-step h3,
  .flow-step p {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .flow-step h3 {
    margin-bottom: 0.5rem;
  }

  .flow-arrow {
    height: auto;
  }

  .flow-arrow::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid var(--color-accent);
    border-right: none;
  }

  .flow-step:nth-child(1) {
    grid-column: 3 / 7;
  }

  .flow-arrow:nth-child(2) {
    grid-column: 7 / 8;
  }

  .flow-step:nth-child(3) {
    grid-column: 8 / 12;
  }

  .flow-arrow:nth-child(4) {
    grid-column: 12 / 13;
    grid-row: 1;
  }

  .flow-step:nth-child(5) {
    grid-column: 1 / 5;
    grid-row: 3;
  }

  .flow-step:nth-child(5)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -18px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid var(--color-accent);
    transform: translateY(-50%);
  }

  .flow-arrow:nth-child(6) {
    grid-column: 5 / 6;
    grid-row: 3;
  }

  .flow-step:nth-child(7) {
    grid-column: 6 / 10;
    grid-row: 3;
  }

  .flow-arrow:nth-child(8) {
    grid-column: 10 / 11;
    grid-row: 3;
  }

  .flow-step:nth-child(9) {
    grid-column: 11 / 15;
    grid-row: 3;
  }
}

/* ==================== Responsive: Large Desktop ==================== */
@media (min-width: 1280px) {
  :root {
    --container-width: 1120px;
  }

  .hero-person-r,
  .hero-person-l {
    width: 380px;
  }

  .hero-person-r {
    clip-path: polygon(190px 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-person-l {
    clip-path: polygon(0 0, 100% 0, 190px 100%, 0 100%);
  }

  .solution-container {
    width: 60%;
  }

  .flow-container {
    max-width: 1200px;
    padding: 0 var(--spacing-sm);
  }

  .flow-steps {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .flow-step {
    flex: 1;
    padding: var(--spacing-sm);
    min-width: 0;
  }

  .flow-step:nth-child(1),
  .flow-step:nth-child(3),
  .flow-step:nth-child(5),
  .flow-step:nth-child(7),
  .flow-step:nth-child(9),
  .flow-arrow:nth-child(2),
  .flow-arrow:nth-child(4),
  .flow-arrow:nth-child(6),
  .flow-arrow:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
  }

  .flow-step:nth-child(5)::before {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-label,
  .hero-title,
  .hero-sub,
  .hero-badges,
  .hero-cta,
  .hero-diamond,
  .hero-person-r,
  .hero-person-l,
  .js-scroll-reveal,
  .js-scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-diamond-shape,
  .benefits-diamond .hero-diamond-shape,
  .flow-diamond .hero-diamond-shape {
    transform: rotate(45deg);
  }
}