/* ============================================================
   まねきでんき LP — Main Stylesheet
   Color palette:
     --yellow:      #F9C21A
     --yellow-light:#FEF3C0
     --navy:        #1C2B5A
     --navy-light:  #2E4080
     --orange:      #F07A28
     --white:       #FFFFFF
     --gray-light:  #F5F5F5
     --gray:        #888
     --text:        #333
============================================================ */

:root {
  --yellow:       #F9C21A;
  --yellow-light: #FEF3C0;
  --yellow-pale:  #FFFBEA;
  --navy:         #1C2B5A;
  --navy-light:   #2E4080;
  --orange:       #F07A28;
  --orange-dark:  #D4651A;
  --white:        #FFFFFF;
  --gray-light:   #F7F7F7;
  --gray:         #999;
  --text:         #2E2E2E;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.sp-br { display: none; }
.pc-br { display: none; }

/* ---- ICONS (inline Lucide-style outline SVG) ---- */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  pointer-events: none;
}
/* icon sitting next to button / link text */
.btn .icon,
.header-tel .icon { width: 18px; height: 18px; }

/* ---- SECTION COMMON ---- */
.section-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 32px;
}
.section-title strong { color: var(--orange); }

.photo-note {
  font-size: 0.68rem;
  color: var(--gray);
  text-align: right;
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 14px 28px;
  line-height: 1.3;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(240,122,40,0.35);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,122,40,0.45);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover, .btn-outline-white:focus {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(28,43,90,0.10), 0 3px 14px rgba(28,43,90,0.10);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
}
.header-logo-img {
  width: auto;
  height: 38px;
  object-fit: contain;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-nav a {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--orange); }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700 !important;
  white-space: nowrap;
}
.header-tel:hover { background: var(--orange-dark) !important; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  margin-top: 60px;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,30,70,0.30) 0%,
    rgba(20,30,70,0.58) 45%,
    rgba(20,30,70,0.82) 100%
  );
}
/* Navy gradient that separates the photo (top) from the copy area (bottom).
   Hidden by default; only used on the mobile first view (≤599px). */
.hero-scrim {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(28,43,90,0) 0%,
    rgba(28,43,90,0) 34%,
    rgba(28,43,90,0.14) 46%,
    rgba(28,43,90,0.42) 60%,
    rgba(28,43,90,0.72) 72%,
    rgba(28,43,90,0.90) 84%,
    rgba(28,43,90,0.97) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  width: 100%;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.hero-title {
  font-size: clamp(1.75rem, 7vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.hero-cta-group .btn { min-width: 240px; }

/* ---- Hero CTA dock (mobile only) ----
   One CTA component that sits at the bottom of the first view and, once the
   user scrolls past it, pins to the bottom of the screen. Hidden ≥600px. */
.hero-cta-dock { display: none; }

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  gap: 6px;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================================
   WORRY
============================================================ */
.worry-section {
  background: var(--yellow-pale);
  padding: 72px 0;
}
.worry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.worry-mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.worry-mark .icon {
  width: 22px;
  height: 22px;
  color: var(--navy);
}
.worry-item p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text);
}
.worry-item strong {
  color: var(--navy);
  font-weight: 700;
}

/* ============================================================
   REASSURANCE
============================================================ */
.reassurance-section {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.reassurance-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.reassurance-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,43,90,0) 0%,
    rgba(28,43,90,0.12) 38%,
    rgba(28,43,90,0.78) 76%,
    rgba(28,43,90,0.92) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px 24px;
}
.reassurance-photo-text {
  font-size: clamp(1.35rem, 5.6vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.45;
}

/* ============================================================
   FEATURES
============================================================ */
.features-section {
  padding: 80px 0;
  background: var(--white);
}
.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.feature-card__img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.feature-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
/* per-image framing for the "3つの安心" cards 02 / 03 */
.feature-card__img-wrap img.feature-card__img--02 { object-position: center 22%; }
.feature-card__img-wrap img.feature-card__img--03 { object-position: center 40%; }
.feature-card__img-wrap .photo-note {
  position: absolute;
  bottom: 6px;
  right: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.65rem;
}
.feature-card__body {
  background: var(--white);
  padding: 28px 24px;
}
.feature-card__num {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.feature-card__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.feature-card__text {
  font-size: 0.93rem;
  line-height: 1.8;
  color: #555;
}

/* MID CTA (in features) */
.mid-cta {
  text-align: center;
  background: var(--yellow-pale);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  margin-top: 16px;
}
.mid-cta__lead {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.mid-cta .btn { margin: 0 auto; min-width: 240px; }
.mid-cta__hours {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gray);
}

/* ============================================================
   QUALITY
============================================================ */
.quality-section {
  padding: 80px 0;
  background: var(--navy);
}
.quality-section .section-label { color: var(--yellow); border-color: var(--yellow); }
.quality-section .section-title { color: var(--white); }
.quality-section .section-title strong { color: var(--yellow); }

/* Infrastructure photo */
.quality-visual {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.quality-visual img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 72%;
}
.quality-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(
    to bottom,
    rgba(28,43,90,0) 0%,
    rgba(28,43,90,0.45) 65%,
    rgba(28,43,90,0.7) 100%
  );
  pointer-events: none;
}
.quality-visual__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  background: rgba(28,43,90,0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 6px;
}
/* Body copy */
.quality-text-block {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--yellow);
  padding: 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.quality-text-block p {
  color: rgba(255,255,255,0.9);
  font-size: 0.93rem;
  line-height: 1.9;
  text-align: left;
}
.quality-text-block p + p { margin-top: 14px; }
/* Conclusion strip */
.quality-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
  gap: 4px;
}
.quality-badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.quality-badge strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
}

/* ============================================================
   FLOW
============================================================ */
.flow-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.flow-step__num {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 10px;
}
.flow-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step__icon .icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
}
.flow-step__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.flow-step__text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  text-align: left;
}
.flow-connector {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.flow-connector span {
  display: block;
  width: 2px;
  height: 32px;
  background: var(--yellow);
  position: relative;
}
.flow-connector span::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -5px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--yellow);
}
.flow-note {
  text-align: center;
  margin-top: 28px;
  background: var(--yellow-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.flow-note p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.flow-note .icon { width: 18px; height: 18px; }

/* ============================================================
   SMART METER
============================================================ */
.smartmeter-section { padding: 80px 0; background: var(--white); }
.smartmeter-bg { }
.smartmeter-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.smartmeter-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 260px;
}
.smartmeter-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.smartmeter-img-wrap .photo-note {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.9);
  padding: 2px 6px;
  border-radius: 4px;
}
.smartmeter-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--yellow-pale);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}
.smartmeter-qa { margin-bottom: 20px; }
.smartmeter-q, .smartmeter-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.qa-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  background: var(--navy);
  color: var(--white);
  margin-top: 2px;
}
.qa-icon--a {
  background: var(--yellow);
  color: var(--navy);
}
.smartmeter-q p { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.smartmeter-a p { font-size: 0.9rem; color: #555; line-height: 1.8; }

/* ============================================================
   MID CTA SECTION (dark)
============================================================ */
.mid-cta-section {
  padding: 72px 0;
  text-align: center;
}
.mid-cta-section--dark {
  background: var(--navy);
}
.mid-cta-section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.mid-cta-section__title {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.5;
}
.mid-cta-section__btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.mid-cta-section__btns .btn { min-width: 240px; }
.mid-cta-section__hours {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   SUPPORT
============================================================ */
.support-section {
  padding: 80px 0;
  background: var(--yellow-pale);
}
.support-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.support-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  position: relative;
}
.support-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.support-img-wrap .photo-note {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.9);
  padding: 2px 6px;
  border-radius: 4px;
}
.support-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.support-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.support-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.support-icon .icon {
  width: 22px;
  height: 22px;
  color: var(--navy);
}
.support-list strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.support-list p { font-size: 0.9rem; color: #555; line-height: 1.7; }
.support-hours { color: var(--gray); font-size: 0.82rem; }

/* ============================================================
   FAQ
============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item {
  border-bottom: 1px solid #eee;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--yellow-pale); }
.faq-question[aria-expanded="true"] { background: var(--yellow-pale); }
.faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.faq-question > span:nth-child(2) {
  flex: 1;
  line-height: 1.6;
}
.faq-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 4px;
  margin-top: -4px;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 16px 20px 20px 62px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  background: var(--white);
}

/* ============================================================
   BRAND MESSAGE
============================================================ */
.brand-section {
  position: relative;
  overflow: hidden;
}
.brand-img-wrap {
  position: relative;
  min-height: 480px;
}
.brand-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center 25%;
  position: absolute;
  inset: 0;
}
.brand-overlay {
  position: relative;
  z-index: 2;
  min-height: 480px;
  background: linear-gradient(
    to bottom,
    rgba(28,43,90,0.15) 0%,
    rgba(28,43,90,0.75) 60%,
    rgba(28,43,90,0.92) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 48px 24px;
}
.brand-content { max-width: 600px; }
.brand-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.brand-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}
.brand-text {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.85;
  margin-bottom: 28px;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.contact-tel-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
}
.contact-tel-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-tel-icon .icon {
  width: 28px;
  height: 28px;
  color: var(--yellow);
}
.contact-tel-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
}
.tel-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.tel-hours {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}
.tel-btn { margin: 0 auto; min-width: 200px; }

.contact-form-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.contact-form-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.required {
  font-size: 0.7rem;
  background: var(--orange);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(249,194,26,0.25);
}
.form-group textarea { resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-privacy { margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  color: #555;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
}
.checkbox-label a { color: var(--orange); text-decoration: underline; }
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}
.form-success {
  background: #e8f5e9;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #2e7d32;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}
.form-success p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-success .icon { width: 20px; height: 20px; }

/* ============================================================
   COMPANY
============================================================ */
.company-section {
  padding: 72px 0;
  background: var(--white);
}
.company-table-wrap {
  overflow-x: auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.company-table th,
.company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 36%;
  font-weight: 700;
  color: var(--navy);
  background: var(--yellow-pale);
  white-space: nowrap;
}
.company-table td { color: #555; }
.company-table a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--navy);
  padding: 48px 0 80px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
/* white-knockout logo placed straight onto the navy footer —
   no box, background, radius, padding, border or shadow */
.footer-logo-img {
  width: auto;
  height: 34px;
  object-fit: contain;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--yellow); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* ============================================================
   HERO CTA — mobile bottom / follow-on-scroll (< 600px)
============================================================ */
@media (max-width: 599px) {
  .hero-cta-dock {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
  }
  .hero-cta-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 -3px 14px rgba(0,0,0,0.22);
  }
  .hero-cta-bar .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 0.95rem;
    min-width: 0;
  }
  /* Pinned state — same component, position only changes */
  .hero-cta-bar.is-fixed {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    z-index: 200;
    animation: heroCtaBarIn 0.18s ease-out;
  }
}
@keyframes heroCtaBarIn {
  from { transform: translate(-50%, 6px); opacity: 0.55; }
  to   { transform: translate(-50%, 0);   opacity: 1; }
}

/* ============================================================
   RESPONSIVE — TABLET (≥ 600px)
============================================================ */
@media (min-width: 600px) {
  .sp-br { display: none; }

  .hero-cta-group {
    flex-direction: row;
  }

  /* Hero (landscape view, ≥600px) — new photo: keep the woman right-of-centre
     with her head-top and cup in frame; horizontal wash keeps the left/centre
     readable while her face and yellow top stay bright on the right. */
  .hero-img { object-position: center 34%; }
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(20,30,70,0.68) 0%,
      rgba(20,30,70,0.50) 24%,
      rgba(20,30,70,0.30) 44%,
      rgba(20,30,70,0.10) 58%,
      rgba(20,30,70,0) 74%
    );
  }

  .reassurance-section { height: 380px; }

  .worry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .mid-cta-section__btns {
    flex-direction: row;
    justify-content: center;
  }

  .smartmeter-layout {
    grid-template-columns: 1fr 1fr;
  }
  .smartmeter-img-wrap { height: auto; }

  .quality-visual img { height: 300px; }

  .support-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (≥ 900px)
============================================================ */
@media (min-width: 900px) {

  /* header nav full */
  .header-nav a { font-size: 0.9rem; }

  /* Hero */
  .hero { min-height: 100vh; padding-bottom: 100px; }
  .hero-content { padding: 0 60px; max-width: 760px; }

  /* Section padding */
  .worry-section,
  .features-section,
  .flow-section,
  .smartmeter-section,
  .support-section,
  .faq-section,
  .contact-section,
  .company-section { padding: 96px 0; }

  .quality-section { padding: 96px 0; }
  .mid-cta-section { padding: 88px 0; }

  /* Feature cards — alternate layout on desktop */
  .feature-card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .feature-card--alt {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--alt .feature-card__img-wrap {
    order: 2;
  }
  .feature-card--alt .feature-card__body {
    order: 1;
  }
  .feature-card__img-wrap {
    height: auto;
  }
  .feature-card__body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .feature-card__title { font-size: 1.25rem; }
  .feature-card__text { font-size: 0.95rem; }

  /* Quality */
  .quality-body { max-width: 760px; margin: 0 auto; }
  .quality-visual { margin-bottom: 24px; }
  .quality-visual img { height: 360px; }
  .quality-visual__label { left: 18px; bottom: 16px; font-size: 0.82rem; padding: 6px 14px; }
  .quality-text-block { padding: 22px 26px; margin-bottom: 24px; }
  .quality-text-block p { font-size: 0.95rem; }

  /* Flow — horizontal */
  .flow-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .flow-step { flex: 1; }
  .flow-connector {
    flex-shrink: 0;
    padding: 0;
    width: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 72px;
  }
  .flow-connector span {
    width: 40px;
    height: 2px;
    background: var(--yellow);
    position: relative;
  }
  .flow-connector span::after {
    position: absolute;
    right: -6px;
    top: -5px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--yellow);
    border-right: none;
    bottom: unset;
    left: unset;
  }

  /* Smart meter */
  .smartmeter-img-wrap { height: 340px; }

  /* Support */
  .support-img-wrap { height: 400px; }

  /* Brand */
  .brand-img-wrap { min-height: 560px; }
  .brand-img-wrap img { min-height: 560px; }
  .brand-overlay {
    min-height: 560px;
    background: linear-gradient(
      to right,
      rgba(28,43,90,0.88) 40%,
      rgba(28,43,90,0.3) 100%
    );
    align-items: center;
    padding: 80px 60px;
  }

  /* Reassurance — PC: a centred two-column card (navy message | photo),
     not a full-bleed hero. Card size is fixed so the photo never scales up
     with the viewport. */
  .reassurance-section {
    position: static;
    height: auto;
    padding: 72px 20px;
    background: var(--white);
    overflow: visible;
  }
  .reassurance-photo-wrap {
    width: 100%;
    max-width: 1100px;
    height: 420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 42% 58%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .reassurance-photo-overlay {
    position: static;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    background: var(--navy);
    align-items: center;
    padding: 48px 56px;
  }
  .reassurance-photo {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .reassurance-photo-text {
    font-size: 2rem;
    line-height: 1.5;
    text-align: left;
  }
  .reassurance-photo-text::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    margin-bottom: 20px;
  }
  .pc-br { display: inline; }

}

/* ============================================================
   RESPONSIVE — WIDE (≥ 1200px)
============================================================ */
@media (min-width: 1200px) {
  .section-inner { max-width: 1100px; }
  .hero-content { padding: 0 80px; }
}

/* ============================================================
   MOBILE FINE-TUNING (< 600px)
============================================================ */
@media (max-width: 599px) {
  .sp-br { display: block; }

  /* room for the pinned CTA so the footer / form is never covered */
  body { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

  .header-inner { padding: 0 14px; }
  .header-nav a:not(.header-tel) { display: none; }
  .header-tel { font-size: 0.8rem; padding: 6px 12px; }
  .header-logo-img { height: 36px; }

  /* Hero — photo on top, copy + CTA stacked at the bottom (no overlap) */
  .hero {
    min-height: calc(100svh - 60px);
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
  }
  /* new photo: keep the woman's face (centre→right), head-top and cup in frame;
     the wide left plant / empty space can be cropped on the portrait view */
  .hero-img { object-position: 54% 42%; }
  /* let the top of the photo read cleanly — only a light wash near the header */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(20,30,70,0.30) 0%,
      rgba(20,30,70,0.10) 16%,
      rgba(20,30,70,0) 36%,
      rgba(20,30,70,0) 100%
    );
  }
  .hero-scrim { display: block; }
  .hero-scroll-hint { display: none; }
  .hero-cta-group { display: none; }

  .hero-content {
    max-width: none;
    width: 100%;
    padding: 0 20px 18px;
  }
  .hero-eyebrow { margin-bottom: 10px; }
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .hero-sub {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 0;
  }

  .section-title { margin-bottom: 24px; }

  .feature-card__img-wrap { height: 220px; }

  .feature-card__body { padding: 26px 22px; }
  .feature-card__title { font-size: 1.02rem; line-height: 1.55; }

  .flow-step__text { text-align: left; }

  .brand-overlay { padding: 40px 20px; }

  .faq-answer p { padding-left: 20px; }

  /* Company table — stack label over value so the long address / registration
     number stay readable without 1-character wrapping or horizontal scroll */
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: auto;
  }
  .company-table tr {
    border-bottom: 1px solid #eee;
    padding: 6px 0;
  }
  .company-table tr:last-child { border-bottom: none; }
  .company-table th {
    background: transparent;
    border-bottom: none;
    padding: 10px 2px 2px;
    font-size: 0.8rem;
    white-space: normal;
  }
  .company-table th br { display: none; }
  .company-table td {
    border-bottom: none;
    padding: 0 2px 10px;
    line-height: 1.7;
  }
  .company-table td a { white-space: nowrap; }

  .footer-nav { gap: 12px; }
}

/* ============================================================
   ANIMATION — scroll reveal
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
