/* Revision 3: larger imagery and a clearer visual sequence. */
.hero-copy { max-width: 650px; }
.hero-copy p { margin-top: 12px; }
.thought {
  width: 225px;
  padding: 34px 28px 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  isolation: isolate;
  filter: drop-shadow(2px 5px 6px #233e491c);
  transform: rotate(-6deg);
  font-size: 17px;
  left: 54%;
  top: 145px;
}
.thought::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/bubble-v3.svg') center / 100% 100% no-repeat;
}
.thought::after { display: none; }
.trouble {
  position: relative;
  background-image: linear-gradient(#edf3f6ed,#edf3f6f2),url('assets/trouble-bg.webp');
}
.trouble::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: calc(50% - 42px);
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-top: 30px solid #edf3f6;
}
.trouble article { overflow: hidden; padding: 0 0 30px; }
.trouble-illustration { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.trouble article h3 { padding: 4px 15px 0; }
.trouble article p { padding: 0 15px; }
.cost-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 36px; }
.cost-photo { height: auto; aspect-ratio: 1.65; margin-bottom: 20px; }
.cost-grid h3 { font-size: 23px; margin: 10px 0 14px; }
.cost-grid p { min-height: 0; font-size: 15px; line-height: 1.95; }
.flow ol { max-width: 1050px; }
.flow li {
  position: relative;
  padding: 28px;
  margin-bottom: 60px;
  border: 1px solid #e2ebeb;
  border-radius: 10px;
  background: #f8fbfa;
  gap: 25px;
}
.flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -39px;
  left: calc(50% - 17px);
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 17px solid #8db9b7;
}
.flow li > img { width: 36%; height: auto; aspect-ratio: 1.5; }
.flow li h3 { font-size: 20px; }
.flow li p { line-height: 1.95; }
.faq summary { color: #1d2529; font-weight: 400; transition: color .25s ease; }
.faq details[open] > summary { color: #187b88; font-weight: 700; }
.faq-contact { text-align: center; margin-top: 40px; padding: 30px 20px; background: #fff; border-radius: 10px; }
.faq-contact p { margin: 12px 0 22px; font-size: 14px; }
.estimate-notice { padding: 22px 28px; border-left: 3px solid #d1b78c; background: #f5f1e9; border-radius: 0 8px 8px 0; margin: 0 0 40px; }
.estimate-notice b { font-size: 17px; }
.estimate-notice p { margin-top: 10px; font-size: 13px; color: #53636d; }
.monthly-equivalent { margin-top: 7px; color: #cce5e4; font-size: 13px; }
.monthly-equivalent b { font-size: 23px; color: #fff; margin: 0 8px; font-weight: 500; }
p,h2,h3,summary { overflow-wrap: anywhere; line-break: strict; }
h2,h3 { text-wrap: balance; }
.intro,.center,.decision-note p,.closing p { text-wrap: pretty; }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-copy { max-width: 61%; }
  .thought { display: none; }
}
@media (max-width: 760px) {
  .hero-copy { max-width: none; }
  .hero-photo { top: 415px; }
  .hero::after { inset: 670px 0 0; }
  .hero-copy p { margin-top: 405px; }
  .hero { min-height: 1200px; }
  .thought { display: block; top: 440px; left: 12px; width: 150px; padding: 22px 16px 28px; font-size: 13px; }
  .trouble article { padding: 0 0 24px; }
  .trouble-illustration { height: auto; }
  .trouble article h3 { padding: 2px 10px 0; }
  .trouble article p { padding: 0 9px; }
  .trouble article p br { display: none; }
  .cost-grid { gap: 32px; grid-template-columns: 1fr; }
  .cost-photo { height: auto; }
  .cost-grid h3 { font-size: 21px; }
  .cost-grid p { min-height: 0; font-size: 14px; }
  .cost-grid p br { display: none; }
  .flow li { padding: 16px; gap: 14px; }
  .flow li > img { width: 100%; height: auto; }
  .flow li h3 { font-size: 17px; }
  .estimate-notice { padding: 18px; }
  .estimate-notice b { font-size: 15px; }
  .estimate-notice p br { display: none; }
  .intro br,.center br { display: none; }
  .rebuild-note h3 br { display: none; }
}
