/* =========================================
   CSS Variables
   ========================================= */
:root {
  --blue: #1e6bff;
  --blue-dark: #1e3a8a;
  --blue-light: #5ac8fa;
  --blue-mid: #2563eb;
  --cyan: #00b4d8;
  --white: #ffffff;
  --bg: #f8faff;
  --text: #1a1a2e;
  --text-muted: #555577;
  --gray-light: #f0f4ff;
  --shadow: 0 4px 24px rgba(30, 107, 255, 0.12);
  --shadow-card: 0 2px 16px rgba(30, 58, 138, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font: 'Noto Sans JP', sans-serif;
  --max-w: 700px;
}

/* =========================================
   Custom Fonts
   ========================================= */
/* Zen Antique: closest free alternative to DFLeiGaSoStd W3 (reisho/clerical style) */

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; 
padding-left: 0;
margin: auto;}

/* =========================================
   Scroll Progress Bar
   ========================================= */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =========================================
   Site Wrapper
   ========================================= */
.site-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   AOS Animations
   ========================================= */
.aos-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.aos-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.aos-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   Top Bar
   ========================================= */
.topbar {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: auto;
}

.topbar__phone-icon { flex-shrink: 0; }

.topbar__line {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}
.topbar__line:hover { transform: scale(1.1); }

/* =========================================
   Hero
   ========================================= */
.hero {
  background: linear-gradient(160deg, #e8f0ff 0%, #dbeafe 60%, #bfdbfe 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 0;
  position: relative;
  min-height: 520px;
}

.hero__text {
  position: relative;
  z-index: 2;
  max-width: 55%;
}

.hero__catch {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.hero__catch--quote {
  margin-top: 4px;
}

.hero__catch--accent {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__brand {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 10px;
  line-height: 1.1;
}

.hero__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.hero__image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
}

.hero__bg-city {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 70%, rgba(90, 200, 250, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, rgba(30, 107, 255, 0.05) 0%, rgba(30, 107, 255, 0.1) 100%);
}

.hero__photo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: url('../images/hero_bman.png') bottom center/contain no-repeat;
  border-radius: 0;
}

.hero__badges {
  position: relative;
  z-index: 3;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 55%;
    text-align: center;
}

.hero__badge {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero__cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  text-align: center;
  padding: 18px 20px 10px;
  margin-top: 32px;
}

.hero__cta-band-text {
  font-size: 1.15rem;
  font-weight: 700;
}

.hero__cta-arrow {
  font-size: 1.2rem;
  animation: bounce 1.5s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =========================================
   Pain Points
   ========================================= */
.pain {
  background: var(--white);
  padding: 16px 0 32px;
}

.pain__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pain__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pain__item--left {
  flex-direction: row-reverse;
}

.pain__avatar {
  flex: 1 1 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--blue-light);
  overflow: hidden;
  min-width: 0;
}

.pain__avatar--1 { background: url('../images/onayami_1.png') center/cover no-repeat; }
.pain__avatar--2 { background: url('../images/onayami_2.png') center/cover no-repeat; }
.pain__avatar--3 { background: url('../images/onayami_3.png') center/cover no-repeat; }
.pain__avatar--4 { background: url('../images/onayami_4.png') center/cover no-repeat; }
.pain__avatar--5 { background: url('../images/onayami_5.png') center/cover no-repeat; }

.pain__bubble {
  flex: 1 1 0;
  min-width: 0;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pain__bubble p {
  display: inline-block;
  text-align: left;
}

.pain__item--right .pain__bubble::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right: 18px solid var(--gray-light);
  border-left: 0;
}

.pain__item--left .pain__bubble::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left: 18px solid var(--gray-light);
  border-right: 0;
}

/* =========================================
   Onayami Band
   ========================================= */
.onayami-band {
  background: var(--white);
  color: var(--text);
  padding: 28px 20px 8px;
  text-align: center;
}

.onayami-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.onayami-band__slash,
.onayami-band__text {
  display: none;
}

@media (min-width: 1024px) {
  .onayami-band__slash {
    display: block;
    font-size: 1.5rem;
    opacity: 0.7;
  }

  .onayami-band__text {
    display: block;
  }
}

.onayami-band__text {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
}

/* =========================================
   Resolve Band
   ========================================= */
.resolve-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 28px 20px;
  text-align: center;
}

.resolve-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.resolve-band__slash {
  font-size: 1.5rem;
  opacity: 0.7;
}

.resolve-band__text {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.resolve-band__text strong { color: #bfdbfe; }

/* =========================================
   Service Intro
   ========================================= */
.intro {
  background: var(--white);
  padding: 48px 0;
}

.intro__photo-wrap {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.intro__photo {
  width: 100%;
  height: 100%;
  background: url('../images/intro_photo.png') top center / contain no-repeat;
}

.intro__heading {
  text-align: center;
  margin-bottom: 24px;
  background: url('../images/intro_heading_bg.png') center / contain no-repeat;
  padding: 40px 16px;
  color: var(--white);
}

.intro__heading-pre {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

.intro__heading-main {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
}

.intro__heading-main strong {
  color: var(--white);
}

.intro__body {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.intro__diagram {
  background: #f0f4ff;
  border-radius: var(--radius);
  padding: 28px 20px 20px;
  text-align: center;
  margin-bottom: 28px;
}

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

.intro__diagram-label {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 99px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.intro__diagram-house {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.intro__house-img {
  width: 90px;
  height: auto;
}

.intro__diagram-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6px 0;
}

.intro__diagram-line {
  display: block;
  width: 2px;
  height: 16px;
  background: var(--blue);
  opacity: 0.5;
}

.intro__diagram-arrow-down {
  color: var(--blue);
  font-size: 1rem;
  line-height: 1;
}

.intro__diagram-nodes {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.intro__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(30, 107, 255, 0.25);
}

.intro__node--center {
  background: var(--blue);
  width: 80px;
  height: 80px;
  font-size: 0.95rem;
}

.intro__diagram-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.intro__mission {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.intro__mission-pre {
  font-size: 1rem;
  font-weight: 700;
}

.intro__mission-pre strong { color: var(--blue-light); }

.intro__mission-main {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.5;
  margin: 10px 0;
}

.intro__mission-post {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* =========================================
   Reassurance
   ========================================= */
.reassurance {
  background: var(--bg);
  padding: 48px 0;
}

.worry {
  position: relative;
  margin-bottom: 32px;
  background: #ebebeb;
  border-radius: var(--radius);
  padding: 20px 16px;
}

.worry__bubble {
  position: relative;
  max-width: 90%;
  margin-bottom: 0;
  display: block;
}

.worry__bubble--right { margin-left: auto; }
.worry__bubble--left { margin-right: auto; }

.worry__bubble-bg {
  width: 100%;
  height: auto;
  display: block;
}

.worry__bubble p {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
}

.worry__bubble--1 p {
  padding: 5% 35% 2% 0%;
}

.worry__bubble--2 p {
  padding: 0% 10% 4% 50%;
}

.worry__bubble--3 p {
  padding: 0% 35% 6% 10%;
}

@media (min-width: 1024px) {
  .worry__bubble p {
    font-size: 1rem;
  }
}

.worry__person {
  display: flex;
  justify-content: center;
  margin-top: 16px;
 width:60%;
    margin: auto;
}

.relief-band {
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 20px;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.relief-band__text {
  font-size: 1.15rem;
  font-weight: 700;
}

.relief-band__slash { opacity: 0.7; }

.reassurance__photo-wrap {
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.reassurance__photo {
  width: 100%;
  height: 100%;
  background: url('../images/reassurance_mv.png') center / cover no-repeat;
}

.reassurance__box {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.reassurance__box-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.reassurance__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.reassurance__check-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 90%;
  font-size: 0.95rem;
}
.reassurance__check-item p{
margin:0;
    line-height: 1.4;
}

.check-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--blue-light);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}

.check-icon::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: var(--blue-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.reassurance__tagline {
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* =========================================
   Reasons
   ========================================= */
.reasons {
  background: #f0f4ff;
  padding: 48px 0;
}

.reasons__heading {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.reasons__title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
}

.reasons__title strong { color: var(--blue); }

.reasons__slash {
  font-size: 1.4rem;
  color: var(--blue-dark);
}

.reasons__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.reason-card__header {
  background: var(--blue-dark);
  padding: 10px 20px;
}

.reason-card__label {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.reason-card__body {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}

.reason-card__text {
  flex: 1;
  padding: 20px 20px;
}

.reason-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.reason-card__text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.reason-card__img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  padding: 8px;
}

/* =========================================
   Service Area
   ========================================= */
.area {
  background: var(--bg);
  padding: 48px 0;
}

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

.area__title {
  font-size: 1.4rem;
  font-weight: 700;
}

.area__underline {
  width: 40px;
  height: 3px;
  background: var(--blue);
  margin: 8px auto 0;
  border-radius: 2px;
}

.area__map-wrap {
  margin-bottom: 40px;
}

.area__map {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.area__map-svg { width: 100%; height: auto; }


.consult-types__title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

.consult-types__underline {
  width: 40px;
  height: 3px;
  background: var(--blue);
  margin: 8px auto 24px;
  border-radius: 2px;
}

.consult-types__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consult-types__item {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.consult-types__item--light {
  background: var(--blue-light);
  color: var(--white);
}

.consult-types__item--dark {
  background: var(--blue-dark);
  color: var(--white);
}

/* =========================================
   Flow
   ========================================= */
.flow {
  background: var(--white);
  padding: 48px 0;
}

.flow__heading {
  text-align: center;
  margin-bottom: 32px;
}

.flow__title {
  font-size: 1.4rem;
  font-weight: 700;
}

.flow__underline {
  width: 40px;
  height: 3px;
  background: var(--blue);
  margin: 8px auto 0;
  border-radius: 2px;
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow__step {
  display: flex;
  flex-direction: column;
}

.flow__step-content {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.flow__step-text {
  flex: 1;
  padding: 28px 24px;
}

.flow__step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.flow__step-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text);
}

.flow__step-title span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.flow__step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.flow__step-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.flow__arrow {
  text-align: center;
  color: var(--blue);
  font-size: 1.6rem;
  padding: 10px 0;
  animation: bounce 1.8s ease infinite;
}

.flow__cta {
  margin-top: 40px;
  text-align: center;
}

.flow__phone {
  margin-top: 24px;
}

.flow__phone-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.flow__phone-slash { opacity: 0.6; }

.flow__phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue-light);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius);
  letter-spacing: 0.1em;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.flow__phone-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(90, 200, 250, 0.3);
  color: var(--white);
}

/* =========================================
   CTA Button
   ========================================= */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn-cta--large {
  font-size: 1.15rem;
  padding: 18px 48px;
  border-radius: 50px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(30, 107, 255, 0.35);
  color: var(--white);
}

/* =========================================
   Message
   ========================================= */
.message {
  background: var(--white);
  padding: 48px 0;
}

.message__heading {
  margin-bottom: 24px;
}

.message__title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1.5;
  text-align: center;
}

.message__body {
  background: #f1f5f9;
  border-radius: var(--radius);
  padding: 24px 22px;
}

.message__body p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text);
}

.message__body p strong {
  font-weight: 700;
}

/* =========================================
   Contact
   ========================================= */
.contact {
  background: linear-gradient(160deg, var(--blue-dark), var(--blue-mid));
  padding: 48px 0;
}

.contact__heading {
  text-align: center;
  margin-bottom: 28px;
}

.contact__title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact__line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #06c755;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.contact__line-btn:hover { transform: translateY(-2px); color: var(--white); }

.contact__tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--blue-light);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  letter-spacing: 0.1em;
  transition: transform var(--transition);
}

.contact__tel-btn:hover { transform: translateY(-2px); color: var(--white); }

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

.required {
  background: #ef4444;
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.1);
}

.form-control.is-invalid { border-color: #ef4444; }
.invalid-feedback {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid ~ .invalid-feedback { display: block; }

textarea.form-control { resize: vertical; min-height: 100px; }

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

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 32px 0 16px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.site-footer__dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__row {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.site-footer__row dt { font-weight: 600; white-space: nowrap; }
.site-footer__row dd { opacity: 0.85; }

.site-footer__logo {
  display: flex;
  align-items: center;
}

.site-footer__logo img {
  width: 200px;
  height: auto;
}

.site-footer__copy {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin: 0 20px;
}

/* =========================================
   Back to Top
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), opacity var(--transition);
  z-index: 900;
  opacity: 0;
}

.back-to-top:not([hidden]) { opacity: 1; }
.back-to-top:hover { transform: translateY(-3px); }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 600px) {
  .hero__text { max-width: 70%; }
  .hero__brand { font-size: 3rem; }
  .hero__badges { width: 60%; }
  .hero__badge { font-size: 0.9rem; padding: 10px 16px; }


  .btn-cta--large { font-size: 1rem; padding: 16px 32px; }
  .contact__title { font-size: 1.35rem; }
}

/* =========================================
   PC-only sidebar elements: hidden on mobile
   ========================================= */
.hero__pc-left,
.hero__pc-right {
  display: none;
}

/* hero__center: transparent passthrough on mobile so the
   original hero layout is 100% unchanged on small screens */
.hero__center {
  display: contents;
}

/* =========================================
   Mobile: cityscape overlay on hero (max-width: 1023px)
   ========================================= */
@media (max-width: 1023px) {
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero_cityscape.png') bottom center / 100% auto no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
  }

}

/* =========================================
   PC LAYOUT  (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {

  /* ---- Base ---- */
  html { font-size: 16px; }


  /* ---- Topbar: hidden on PC (CTA lives in hero left column) ---- */
  .topbar { display: none; }

  /* ========================================
     Hero: 3-column full-viewport grid
     ======================================== */
  .hero {
    display: grid;
    grid-template-columns: 1fr min(700px, calc(100% - 400px)) 1fr;
    min-height: 100vh;
    background: var(--blue-dark);
    overflow: hidden;
    padding-bottom: 0;
    position: relative;
  }

  /* Center panel — restore as proper box (override display:contents) */
  .hero__center {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(160deg, #e8f0ff 0%, #dbeafe 60%, #bfdbfe 100%);
    overflow: hidden;
    min-height: 100vh;
    position: relative;
  }

  /* bman anchored to bottom-right of center panel */
  .hero__center::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 90%;
    background: url('../images/hero_bman.png') bottom right / contain no-repeat;
    pointer-events: none;
    z-index: 1;
  }

  /* Cityscape overlay ON TOP of solid light-blue background */
  .hero__center::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero_cityscape.png') bottom center / 100% auto no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
  }

  .hero__inner {
    flex: 0 0 auto;
    display: block;
    width: 100%;
    padding: 48px 24px 48px 40px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .hero__text {
    max-width: 45%;
    padding: 0;
    align-self: unset;
  }

  /* bman is now hero__center::after — hide the in-flow element */
  .hero__image-wrap {
    display: none;
  }

  .hero__badges {
    max-width: 45%;
    width: auto;
    padding: 0;
    margin-top: 24px;
    text-align: center;
    align-self: unset;
  }

  .hero__brand { font-size: 3.5rem; }
  .hero__badge  {
      padding:auto; 
      font-size: 1.15rem;
     }
  .hero__badge:nth-child(2) { background: linear-gradient(135deg, #7dd3fc, #38bdf8); }

  .hero__photo {
    border-radius: 0;
    background-size: auto 100%;
    background-position: bottom center;
  }

  .hero__cta-band { display: none; }

  /* ---- PC Left CTA column ---- */
  .hero__pc-left {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: calc((100vw - min(700px, calc(100vw - 400px))) / 2);
    z-index: 40;
    background: var(--blue-dark);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 32px 60px 48px;
    gap: 28px;
  }

  .hero__pc-cta-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
      margin-right: auto;
      margin-left: auto;
    
  }

  .hero__pc-line-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--blue-light);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    padding: 20px auto;
    border-radius: var(--radius);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(90,200,250,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .hero__pc-line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(90,200,250,0.5);
    color: var(--white);
  }

  .hero__pc-phone-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .hero__pc-phone-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    margin: auto;
    text-align: center;
    gap: 8px;
  }

  .hero__pc-phone-num {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: var(--radius);
    letter-spacing: 0.06em;
    transition: background var(--transition);
  }

  .hero__pc-phone-num:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
  }

  /* ---- PC Right Message column ---- */
  .hero__pc-right {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: calc((100vw - min(700px, calc(100vw - 400px))) / 2);
    z-index: 40;
    background: var(--blue-dark);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px 60px 32px;
    gap: 20px;
  }

  .hero__pc-msg-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 4px;
  }

  .hero__pc-msg-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .hero__pc-msg-body p {
    font-size: 0.85rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
  }

  .hero__pc-msg-body p strong {
    color: var(--white);
    font-weight: 700;
  }

  /* ========================================
     Pain Points — split avatar / bubble into alternating cells
     ======================================== */
  .pain { padding: 72px 0; }

  .pain__list {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 32px 20px;
    align-items: center;
  }

  /* Make each li transparent → avatar & bubble become direct grid items */
  .pain__item { display: contents; }

  /* Row 1: [avatar1 | bubble1] */
  .pain__item:nth-child(1) > .pain__avatar { grid-area: 1/1; }
  .pain__item:nth-child(1) > .pain__bubble { grid-area: 1/2; }

  /* Row 2: [bubble2 | avatar2] — swapped */
  .pain__item:nth-child(2) > .pain__bubble { grid-area: 2/1; }
  .pain__item:nth-child(2) > .pain__avatar { grid-area: 2/2; }

  /* Row 3: [avatar3 | bubble3] */
  .pain__item:nth-child(3) > .pain__avatar { grid-area: 3/1; }
  .pain__item:nth-child(3) > .pain__bubble { grid-area: 3/2; }

  /* Row 4: [bubble4 | avatar4] — swapped */
  .pain__item:nth-child(4) > .pain__bubble { grid-area: 4/1; }
  .pain__item:nth-child(4) > .pain__avatar { grid-area: 4/2; }

  /* Row 5: [avatar5 | bubble5] */
  .pain__item:nth-child(5) > .pain__avatar { grid-area: 5/1; }
  .pain__item:nth-child(5) > .pain__bubble { grid-area: 5/2; }

  /* Avatar: square circle centered in its cell */
  .pain__avatar {
    width: 65%;
    max-width: 180px;
    margin: 0 auto;
    align-self: center;
    justify-self: center;
  }

  /* Bubble: centered vertically in its cell */
  .pain__bubble { align-self: center; }


  /* ========================================
     Other sections — wider padding
     ======================================== */
  .intro       { padding: 80px 0; }
  .reassurance { padding: 80px 0; }
  .reasons     { padding: 80px 0; }
  .area        { padding: 80px 0; }
  .flow        { padding: 80px 0; }
  .contact     { padding: 80px 0; }

  .resolve-band__text { font-size: 1.5rem; }

  /* ========================================
     Reasons — single column, larger image
     ======================================== */
  .reasons__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
  }

  .reason-card__img { width: 140px; height: 140px; }

  /* ========================================
     Flow — single column, larger image
     ======================================== */
  .flow__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
  }

  .flow__step-img { width: 160px; height: 160px; }
  .flow__arrow    { display: none; }

  /* ========================================
     Message section — hidden on PC
     (content shown in hero right column)
     ======================================== */
  .message { display: none; }

  /* ========================================
     Footer
     ======================================== */
  .site-footer     { padding: 48px 0 24px; }
  .site-footer__copy { font-size: 0.85rem; }

} /* end @media (min-width: 1024px) */
