/* Shared styles for the public pages: home, service pages, estimator */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(246,245,241,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--ink-2); align-items: center; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on { font-weight: 700; }
.drop { position: relative; }
.drop > button { background: none; border: 0; cursor: pointer; font-weight: 500; color: var(--ink-2); padding: 0; display: inline-flex; gap: 4px; align-items: center; }
.drop-menu { position: absolute; top: calc(100% + 14px); left: -20px; width: 330px; padding: 8px; display: none; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.drop-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--ink); }
.drop-menu a:hover { background: var(--bg); }
.drop-menu .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.nav-cta { display: flex; gap: 10px; }

section.block { padding: 84px 0 0; }
.sec-head { max-width: 740px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 12px; }
.sec-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

.ic-sq { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.c-green { background: var(--brand-soft); color: var(--brand); }
.c-blue { background: var(--blue-soft); color: var(--blue); }
.c-red { background: var(--red-soft); color: var(--red); }
.c-violet { background: var(--violet-soft); color: var(--violet); }
.c-gold { background: var(--gold-soft); color: var(--gold); }
.c-amber { background: var(--amber-soft); color: var(--amber); }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step-card { padding: 22px; position: relative; }
.step-card .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.step-card h3 { font-size: 17px; margin: 14px 0 6px; }
.step-card p { margin: 0; color: var(--ink-2); font-size: 14px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.price { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.price h3 { font-size: 17px; }
.price p { margin: 0; color: var(--ink-2); font-size: 14px; }
.price .ex { margin-top: auto; background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.price .ex b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }

.cta-band { margin: 90px 0 0; background: var(--ink); color: #fff; border-radius: 22px; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(29,138,104,.5), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); max-width: 620px; }
.cta-band p { color: #c7cfdb; margin: 10px 0 0; max-width: 620px; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: #3a4a63; color: #fff; }
.btn-outline-light:hover { background: #1c2c45; }

footer.foot { padding: 50px 0 36px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.note-inline { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .steps-row { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
  .nav-cta .btn-ghost { display: none; }
}
