@charset "utf-8";

:root {
  --wine: #7b1731;
  --wine-dark: #460b1a;
  --gold: #f6c844;
  --gold-light: #ffe87b;
  --cream: #fff8e8;
  --navy: #102c4a;
  --red: #e51837;
  --ink: #151515;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  background: #ece7de;
}

body {
  margin: 0;
  padding-bottom: 92px;
  color: var(--navy);
  background: #ece7de;
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
}

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

.site-header,
.page-shell {
  width: 100%;
  max-width: 650px;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 3px 10px rgba(16, 44, 74, 0.18);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 70px;
  padding: 7px 8px;
}

.header-logo { flex: 1 1 44%; min-width: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex: 1 1 56%; }
.header-web { width: 28%; }
.header-phone { width: 67%; }
.header-nav a { border-radius: 8px; }
.header-nav a:focus-visible { outline: 4px solid var(--gold); outline-offset: 2px; }

.page-shell {
  overflow: clip;
  background: #fff;
  border-inline: 1px solid #d3c9ba;
  box-shadow: 0 0 28px rgba(70, 11, 26, 0.12);
}

.section { clear: both; }
.full-image, .image-heading img, .hero img { width: 100%; }
.image-heading { margin: 0; padding: 0; }
.section-pad { padding: 20px 16px 28px; }
.compact-pad { padding-bottom: 24px; }

.hero { position: relative; background: var(--navy); }
.hero-disclaimer {
  position: absolute;
  right: 10px;
  bottom: 5px;
  margin: 0;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  background: rgba(16, 44, 74, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.primary-cta {
  padding: 18px 18px 4px;
  background: #fff;
}

.image-button,
.scroll-guide { display: block; text-decoration: none; }
.scroll-guide { margin-top: 8px; }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  5% { transform: scale(1.018); }
  10% { transform: scale(1); }
  15% { transform: scale(1.018); }
  22% { transform: scale(1); }
}
.heartbeat { animation: heartbeat 2.8s ease-in-out infinite; transform-origin: center; }

.section-problems { background: #fff; }
.reassurance { padding: 0 14px; background: var(--cream); }
.notes { padding: 12px 2px 18px; }
.notes p { margin: 4px 0; font-size: 12px; line-height: 1.55; }

.section-scenes { padding-bottom: 20px; background: var(--wine); }
.cards { padding: 64px 14px 0; }
.scene-card {
  position: relative;
  margin: 0 0 72px;
  padding: 66px 18px 24px;
  border: 5px solid var(--gold);
  border-radius: 24px;
  background: #fff;
  box-shadow: 8px 10px 0 var(--wine-dark);
}
.scene-card:last-child { margin-bottom: 20px; }
.scene-badge {
  position: absolute;
  top: 0;
  left: 50%;
  width: 128px;
  transform: translate(-50%, -50%);
}
.scene-chip {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 5px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}
.scene-card h3 {
  margin: 0 0 15px;
  color: var(--wine-dark);
  font-size: clamp(23px, 5.6vw, 36px);
  line-height: 1.35;
  text-align: center;
}
.scene-card p:not(.scene-chip) { margin: 8px 0 18px; font-weight: 650; line-height: 1.8; }
.scene-photo { width: 100%; margin-bottom: 16px; border-radius: 14px; }
.scene-label { width: 68%; margin: 12px 0 5px; }
.scene-figure { width: 55%; margin: 12px auto 16px; }
.scene-card .small-note { font-size: 12px; font-weight: 500 !important; }

.section-points { background: #fff9c8; }
.points-list { display: grid; gap: 18px; }
.point-card {
  overflow: hidden;
  border: 4px solid var(--navy);
  border-radius: 16px;
  background: #fff;
  box-shadow: 5px 6px 0 rgba(16, 44, 74, 0.16);
}
.point-title { width: 100%; }
.point-body { display: grid; grid-template-columns: minmax(110px, 35%) 1fr; gap: 12px; align-items: center; padding: 15px; }
.point-body p { margin: 0; font-weight: 650; line-height: 1.75; }
.point-body strong { background: linear-gradient(transparent 60%, var(--gold-light) 60%); }
.point-body small { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; }

.section-flow { background: #efe6d5; }
.flow-list { display: grid; gap: 12px; }
.flow-card {
  position: relative;
  display: grid;
  grid-template-columns: 39% 1fr;
  gap: 12px 18px;
  align-items: center;
  padding: 26px 18px 20px;
  border: 4px solid var(--gold);
  border-radius: 20px;
  background: #fff;
  box-shadow: 6px 7px 0 var(--navy);
}
.flow-number { position: absolute; top: -17px; left: 16px; width: 45%; }
.flow-icon { grid-row: 1 / span 2; grid-column: 1; margin-top: 16px; }
.flow-card h3 { grid-column: 2; margin: 18px 0 0; color: var(--wine); font-size: clamp(22px, 5vw, 32px); line-height: 1.35; }
.flow-card p { grid-column: 2; margin: 0; font-weight: 650; line-height: 1.72; }
.flow-arrow {
  width: 110px;
  margin: 52px auto;
  transform: rotate(90deg);
}

.section-prep { padding: 0; background: var(--navy); }

.section-faq { background: var(--cream) url("../images/bg_dotted.png") repeat; }
.faq-list { display: grid; gap: 16px; }
.faq-item {
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 18px;
  background: #fff;
  box-shadow: 4px 5px 0 rgba(70, 11, 26, 0.15);
}
.faq-row { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: start; padding: 14px 16px; }
.faq-row img { width: 58px; }
.faq-row h3, .faq-row p { margin: 0; line-height: 1.65; }
.faq-row h3 { color: var(--wine-dark); font-size: 19px; }
.faq-row p { font-weight: 600; }
.faq-row.answer { border-top: 2px dashed #cfb97b; background: #fffdf6; }

.section-form { padding-bottom: 24px; background: #f4ecdc; }
.form-intro { padding: 16px 18px 4px; text-align: center; }
.form-intro p { margin: 0 0 5px; font-weight: 700; line-height: 1.6; }
.riversell-form-embed { width: 100%; min-height: 690px; padding: 4px 10px; }

.site-footer {
  padding: 24px 16px 30px;
  color: #fff;
  background: var(--navy);
  text-align: center;
}
.site-footer a { color: var(--gold-light); font-weight: 900; }
.site-footer p { margin: 12px 0 0; font-size: 12px; }

.fixed-contact {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  width: min(100%, 650px);
  height: 86px;
  margin-inline: auto;
  padding: 5px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -5px 16px rgba(16, 44, 74, 0.22);
}
.fixed-contact[hidden] { display: none; }
.fixed-contact a { display: flex; height: 100%; }
.fixed-contact img { width: 100%; height: 100%; object-fit: contain; }
.fixed-phone { width: 74%; }
.fixed-web { width: 26%; }

.back-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(8, 15, 29, 0.82);
}
.back-modal.is-active { display: grid; }
.modal-card { position: relative; width: min(92vw, 570px); }
.modal-card img { width: 100%; border-radius: 18px; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36); }
.modal-close {
  position: fixed;
  top: 12px;
  right: 14px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--wine-dark);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.modal-actions a { padding: 12px 8px; border: 2px solid #fff; border-radius: 10px; color: #fff; background: var(--red); font-weight: 900; text-align: center; text-decoration: none; }
.modal-actions a:last-child { background: var(--navy); }
.back-modal-open { overflow: hidden; }

@media (max-width: 540px) {
  html { scroll-padding-top: 59px; }
  body { padding-bottom: 72px; }
  .header-nav { min-height: 56px; padding: 5px; }
  .primary-cta { padding: 12px 12px 2px; }
  .section-pad { padding: 16px 10px 24px; }
  .reassurance { padding-inline: 8px; }
  .cards { padding: 53px 8px 0; }
  .scene-card { padding: 57px 12px 18px; border-width: 4px; margin-bottom: 60px; }
  .scene-badge { width: 108px; }
  .scene-label { width: 78%; }
  .scene-figure { width: 62%; }
  .point-body { grid-template-columns: 34% 1fr; gap: 8px; padding: 10px; }
  .point-body p { font-size: 14px; }
  .flow-card { grid-template-columns: 35% 1fr; gap: 8px 12px; padding: 22px 12px 14px; border-width: 3px; }
  .flow-card p { font-size: 14px; }
  .flow-arrow { width: 82px; margin-block: 39px; }
  .faq-row { grid-template-columns: 44px 1fr; gap: 9px; padding: 11px 10px; }
  .faq-row img { width: 44px; }
  .faq-row h3 { font-size: 16px; }
  .faq-row p { font-size: 14px; }
  .riversell-form-embed { min-height: 780px; padding-inline: 4px; }
  .fixed-contact { height: 68px; padding: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heartbeat { animation: none; }
}
