:root {
  --sun: #f5a524;
  --sun-dark: #d98a0b;
  --ink: #14213d;
  --ink-soft: #3d4a66;
  --bg: #fffdf8;
  --card: #ffffff;
  --line: #e9e4d8;
  --green: #1f9d55;
  --viber: #7360f2;
  --messenger: #0084ff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Mockup banner */
.mock-banner {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 12px;
}

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 248, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo .dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd66b, var(--sun) 60%, var(--sun-dark)); }
nav.main { display: flex; gap: 20px; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--ink-soft); }
nav.main a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .1s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-viber { background: var(--viber); color: #fff; }
.btn-messenger { background: var(--messenger); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 90% -10%, #ffe7b3 0%, transparent 60%),
    linear-gradient(180deg, #fff6e0 0%, var(--bg) 100%);
  padding: 56px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; margin: 16px 0; letter-spacing: -0.02em; }
.hero h1 span { color: var(--sun-dark); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 24px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

/* Cards & forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(20, 33, 61, .06); }
.form-card h2 { margin: 0 0 4px; font-size: 22px; }
.form-card .sub { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 10px 0 4px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 15px;
  border: 1px solid #d6d0c2; border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sun); border-color: var(--sun); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin: 14px 0; font-weight: 400; }
.consent input { width: auto; margin-top: 3px; }
form .btn { width: 100%; margin-top: 4px; }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.show { display: block; }
.form-success .big { font-size: 42px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc .icon { font-size: 30px; }
.svc h3 { margin: 8px 0 6px; font-size: 19px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 24px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sun); font-weight: 800; display: grid; place-items: center; margin-top: 20px;
}
.step h3 { margin: 24px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.calc input[type=range] { padding: 0; accent-color: var(--sun-dark); }
.bill-value { font-size: 34px; font-weight: 800; margin: 4px 0 0; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result { background: #fff8e8; border-radius: 12px; padding: 14px; }
.result .k { font-size: 13px; color: var(--ink-soft); }
.result .v { font-size: 22px; font-weight: 800; }
.fine { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

/* Price table */
table.prices { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.prices th, table.prices td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.prices th { background: #fff3d6; font-size: 14px; }
table.prices tr:last-child td { border-bottom: 0; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas a, .areas span {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 15px;
}
.areas a { border-color: var(--sun); font-weight: 600; }
.areas a:hover { background: #fff3d6; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--ink-soft); margin: 10px 0 0; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 28px; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer.site { padding: 40px 0 100px; font-size: 14px; color: var(--ink-soft); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site a { color: var(--ink-soft); }

/* Floating chat bar (mobile) */
.float-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  display: none; gap: 8px; padding: 10px 12px;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
}
.float-bar .btn { flex: 1; padding: 12px 8px; font-size: 15px; }

/* Breadcrumb / prose */
.crumbs { font-size: 14px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 36px; }
.prose p, .prose li { color: var(--ink-soft); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .calc { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  .float-bar { display: flex; }
}
@media (max-width: 520px) {
  form .row, .results { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  header.site .btn-viber { display: none; }
}

/* ===== Directory additions ===== */
[hidden] { display: none !important; }
.hero-single { display: block !important; max-width: 820px; text-align: center; }
.hero-single .lead { margin-left: auto; margin-right: auto; }
.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; text-align: left; margin-top: 8px; }
.search label { margin-top: 0; }
.hero-alt { margin-top: 14px; color: var(--ink-soft); }
.page-head { padding: 40px 0 24px; background: linear-gradient(180deg, #fff6e0 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 8px 0; letter-spacing: -0.01em; }
.page-head .lead { color: var(--ink-soft); font-size: 18px; margin: 0; max-width: 720px; }
section.tight { padding: 24px 0 64px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.sticky-side { position: sticky; top: 84px; }
.sticky-side .form-card h2 { font-size: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.prov { text-decoration: none; transition: border-color .15s, transform .1s; }
.prov:hover { border-color: var(--sun); transform: translateY(-2px); }
.prov h3 { margin: 0 0 4px; font-size: 18px; }
.prov p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.listings { display: grid; gap: 16px; margin-bottom: 32px; }
.listing.is-featured { border: 2px solid var(--sun); }
.listing-top { display: flex; gap: 14px; align-items: center; }
.listing h3 { margin: 0; font-size: 19px; }
.listing h3 a { text-decoration: none; }
.listing h3 a:hover { text-decoration: underline; }
.listing p { color: var(--ink-soft); margin: 10px 0; font-size: 15px; }
.meta { font-size: 14px; color: var(--ink-soft); }
.avatar { width: 48px; height: 48px; flex: none; border-radius: 12px; background: #fff3d6; color: var(--sun-dark); font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.avatar-lg { width: 72px; height: 72px; font-size: 32px; border-radius: 16px; }
.profile-head { display: flex; gap: 18px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f0ede6; color: var(--ink-soft); }
.tag-featured { background: #fff0c2; color: #8a5a00; }
.tag-verified { background: #dff5e7; color: #17663a; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: #f5f2ea; }
.listing-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filters-label { font-weight: 700; font-size: 14px; }
.filters-count { font-size: 13px; color: var(--ink-soft); margin-left: auto; }
.chip-toggle { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.chip-toggle input { width: auto; margin: 0; }

.contact-list { list-style: none; padding: 0; }
.plans { margin-bottom: 8px; }
.plan h3 { margin: 0; }
.plan .price { font-size: 32px; font-weight: 800; margin: 8px 0 12px; }
.plan .price span { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.plan .checks { margin-bottom: 18px; }
.plan-hot { border: 2px solid var(--sun); }
.signup { max-width: 720px; margin-top: 32px; }

@media (max-width: 900px) {
  .two-col, .grid-2 { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .search { grid-template-columns: 1fr; }
}

/* ---------- WordPress additions ---------- */
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.si-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #8a1c12; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.prose img { height: auto; border-radius: 10px; }
.prose .wp-block-table table, .prose table:not(.prices) { width: 100%; border-collapse: collapse; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 1px solid var(--line); padding: 10px 12px; }
.alignwide, .alignfull { max-width: 100%; }
.post-list { display: grid; gap: 16px; }
.post-list h2 { margin: 0 0 6px; font-size: 20px; }
.post-list h2 a { text-decoration: none; }
.chips-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-check .chip-toggle input { width: auto; }
.logo img { width: 36px; height: 36px; flex: none; }
.logo .logo-tld { color: var(--sun-dark); }
.custom-logo-link img { max-height: 40px; width: auto; }
.loc-intro { color: var(--ink-soft); max-width: 760px; margin: 8px 0 0; }
.faq h3 { font-size: 17px; margin: 18px 0 4px; color: var(--ink); }
.faq p { margin: 0; }
.city-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 28px; }
.city-index h3 { font-size: 17px; margin: 0 0 6px; }
.city-index h3 a { text-decoration: none; }
.city-index ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.9; }
.city-index ul a { color: var(--ink-soft); }

/* ---------- Header menu ---------- */
header.site .wrap { position: relative; }
nav.main .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
nav.main .menu > li { position: relative; }
nav.main .menu > li > a { display: block; padding: 8px 12px; border-radius: 999px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
nav.main .menu > li > a:hover, nav.main .menu > li.current-menu-item > a, nav.main .menu > li.current-menu-ancestor > a { color: var(--ink); background: #fff3d6; }
nav.main .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
nav.main .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(20, 33, 61, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 40; }
nav.main .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
nav.main .menu-item-has-children:hover > .sub-menu, nav.main .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
nav.main .sub-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 15px; }
nav.main .sub-menu a:hover { background: #fff8e8; }
nav.main .sub-menu .count { color: var(--ink-soft); font-size: 13px; background: #f4f1ea; border-radius: 999px; padding: 0 8px; }
nav.main .sub-menu-grid { display: grid; grid-template-columns: 1fr 1fr; width: 460px; gap: 2px 8px; }
nav.main .sub-menu-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
nav.main .sub-menu-all a { color: var(--sun-dark); font-weight: 600; }
.sub-toggle, .nav-toggle, .nav-cta-mobile { display: none; }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  header.site.nav-open .nav-toggle-bars { background: transparent; }
  header.site.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  header.site.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  nav.main { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20, 33, 61, .1); padding: 12px 20px 20px; max-height: calc(100vh - 64px); overflow-y: auto; }
  header.site.nav-open nav.main { display: block; }
  nav.main .menu { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  nav.main .menu > li > a { flex: 1; padding: 14px 4px; border-radius: 0; background: none !important; font-size: 17px; }
  nav.main .menu-item-has-children > a::after { display: none; }
  .sub-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
  .sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
  nav.main .sub-menu, nav.main .sub-menu-grid { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; display: none; min-width: 0; }
  nav.main .menu-item-has-children.sub-open > .sub-menu { display: grid; grid-template-columns: 1fr 1fr; }
  nav.main .menu-item-has-children:hover > .sub-menu { opacity: 1; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 16px; }
}

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #c9d1e3; padding: 56px 0 0; font-size: 15px; margin-top: 40px; }
footer.site .wrap.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; justify-content: initial; }
footer.site a { color: #c9d1e3; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo:hover { text-decoration: none; }
.footer-brand .logo-tld { color: var(--sun); }
.footer-brand p { margin: 0 0 14px; line-height: 1.6; }
.footer-brand .btn, .footer-brand .btn:hover { color: var(--ink); text-decoration: none; }
.footer-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 12px; }
.footer-h:not(:first-child) { margin-top: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site .wrap.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; padding-bottom: 28px; font-size: 13px; color: #8f9bb6; }
@media (max-width: 900px) {
  footer.site .wrap.footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  footer.site .wrap.footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}

/* ---------- Guides (blog) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card-img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #fff3d6, #ffe2a3); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { display: grid; place-items: center; height: 100%; }
.post-card-ph img { width: 72px; height: 72px; object-fit: contain; opacity: .9; }
.post-card-body { padding: 18px 20px 20px; }
.post-card h2 { font-size: 19px; line-height: 1.3; margin: 6px 0 8px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15px; }
.post-cat { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sun-dark); }
.post-meta { font-size: 13px; color: var(--ink-soft); }
.post-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.is-featured .post-card-img { flex: 0 0 48%; aspect-ratio: auto; min-height: 260px; }
.post-card.is-featured .post-card-body { padding: 28px; align-self: center; }
.post-card.is-featured h2 { font-size: 28px; }
.cat-chips { margin-top: 14px; }
.cat-chips .chip { text-decoration: none; }
.article-img { margin: 0 0 24px; }
.article-body h2 { font-size: 26px; }
.article-body table { width: 100%; }
.article-cta { margin-top: 40px; }
.article-cta h2 { margin-top: 0; font-size: 22px; }
.nav-links { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; }
.nav-links .current { background: var(--sun); border-color: var(--sun); font-weight: 700; }
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-card.is-featured { flex-direction: column; }
  .post-card.is-featured .post-card-img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Solar calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.calc-inputs input[type=range] { padding: 0; accent-color: var(--sun-dark); }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; font-weight: 700; font-size: 14px; background: #fff; }
.seg label span { display: block; font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.seg label:has(input:checked) { border-color: var(--sun); background: #fff8e8; box-shadow: 0 0 0 2px #ffe2a3 inset; }
.seg input { width: auto; margin: 0 6px 0 0; }
.calc-results { display: grid; gap: 12px; }
.result-main { background: var(--ink); color: #fff; border: 0; }
.result-main .k { color: #c9d1e3; font-size: 14px; }
.result-main .v { font-size: 44px; font-weight: 800; line-height: 1.1; color: var(--sun); }
.result-main .sub { color: #c9d1e3; font-size: 14px; }
.calc-results .btn { width: 100%; }
.calc-notes { margin-top: 40px; }
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } .seg { grid-template-columns: 1fr; } }
.calc-wrap.is-compact .calc-results .btn-outline { width: 100%; }
.article-tax { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-tax p { margin: 0 0 10px; font-size: 15px; }
.article-tax .chip, .cat-chips .chip { text-decoration: none; }
.article-tax .chip:hover, .cat-chips .chip:hover { background: #fff3d6; }
.archive-more { font-size: 20px; margin: 40px 0 12px; }
textarea { resize: vertical; }
.contact-side h2 { font-size: 20px; margin-top: 0; }
.contact-side h2 ~ h2 { margin-top: 28px; }
.list-group-h { font-size: 18px; margin: 18px 0 2px; color: var(--ink); }
.list-group-h:first-child { margin-top: 0; }
.list-group-h span { color: var(--ink-soft); font-weight: 500; }

/* Mobile sticky call to action */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 33, 61, .08); }
  .mobile-cta .btn { width: 100%; }
  body:has(.mobile-cta) { padding-bottom: 76px; }
  header.site.nav-open ~ .mobile-cta, body:has(header.site.nav-open) .mobile-cta { display: none; }
}

/* ---------- Reviews ---------- */
.stars { position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 15px; line-height: 1; vertical-align: -2px; background: linear-gradient(transparent, transparent); }
.stars::before, .stars-fill::before { content: "★★★★★"; letter-spacing: .08em; position: absolute; left: 0; top: 0; white-space: nowrap; }
.stars::before { color: #e2dccf; }
.stars-fill { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.stars-fill::before { color: var(--sun); }
.stars-lg { font-size: 22px; }
.card-rating, .profile-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); text-decoration: none; margin-top: 4px; }
.card-rating strong, .profile-rating strong { color: var(--ink); }
.profile-rating:hover { color: var(--ink); text-decoration: underline; }
.reviews { margin-top: 40px; }
.review-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.review-summary p { margin: 0; }
.review-avg { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1; }
.review-count { color: var(--ink-soft); }
.review { border-top: 1px solid var(--line); padding: 16px 0; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-head strong { color: var(--ink); }
.review-date, .review-project { font-size: 13px; color: var(--ink-soft); }
.review-project { margin: 4px 0 0; }
.review p { margin: 8px 0 0; }
.review-thanks { background: #eaf7ef; color: #14532d; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.review-form-wrap { margin-top: 16px; }
.review-form-wrap summary { list-style: none; cursor: pointer; display: inline-flex; }
.review-form-wrap summary::-webkit-details-marker { display: none; }
.review-form-wrap[open] summary { margin-bottom: 14px; }
.review-form { box-shadow: none; }
.star-input { border: 0; padding: 0; margin: 0 0 6px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; padding: 0; float: left; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { margin: 0; cursor: pointer; font-size: 34px; line-height: 1; color: #e2dccf; }
.star-input label::before { content: "★"; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--sun); }
.star-input input:focus-visible + label { outline: 2px solid var(--sun-dark); border-radius: 4px; }
.star-label { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 6px; }
.review-form-wrap > .review-form { padding: 20px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row > div { max-width: 680px; }
.verified-item { display: flex; flex-direction: column; }
.verified-item .listing { flex: 1; }
.verified-date { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #1f7a4d; }

.lead-form .opt { font-weight: 400; color: #5b6478; font-size: .9em; }

.verified-date.new-date { color: #8a5a00; }
