/* =====================================================================
   pages.css — Oct 2026 SEO update
   1) Small fixes to the existing homepage layout
   2) Inner-page system (guides, price list, legal pages) built from the
      same palette, type and radius tokens as style.css
   ===================================================================== */

/* ---------- 1. Homepage / shared fixes ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1001; background: var(--gold); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* The price strip used .wrap's width but replaced its side padding, so
   on 1280–1440px screens it ran edge to edge. Keep it inside the grid. */
.wrap.price-strip { max-width: 1260px; width: calc(100% - 100px); }
@media (max-width: 900px) { .wrap.price-strip { width: calc(100% - 48px); } }
@media (max-width: 480px) { .wrap.price-strip { width: calc(100% - 32px); } }

/* Swiper inside a CSS grid item needs min-width:0, otherwise the slider
   measures itself as 33 million px wide (it was hidden before only
   because the slider script never started). */
.tv-grid > * { min-width: 0; }
#quoteSwiper { width: 100%; overflow: hidden; }

/* Hero copy is painted immediately (GSAP still animates it in once loaded).
   Hiding it until JavaScript ran made it the slowest LCP on the page. */
.js .hero-copy .reveal { opacity: 1; }

/* Hero heading: keep the italic line on its own row and never split NH-48 */
.hero h1 em { display: block; }
.nowrap { white-space: nowrap; }

/* Key facts: even rows (12 facts) */
.vk-facts-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .vk-facts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .vk-facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .vk-facts-grid { grid-template-columns: 1fr; } }

/* Master-plan hotspot that sat below the artwork */
.hs-2 { top: 47%; left: 51%; }

.head-nav a[aria-current="page"] { color: var(--gold-soft); }
.head-nav a[aria-current="page"]::after { width: 100%; }
.nav-call { display: none; }
@media (max-width: 900px) {
  .head-nav .nav-call { display: block; color: var(--gold-soft); }
  /* Solid panel: the 98%-alpha + nested backdrop-filter let page text
     bleed through the open menu on some Chromium builds. */
  .head-nav { background: #181818; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .head-nav { gap: 14px; }
  .head-nav a { font-size: 0.78rem; }
  .head-inner { gap: 18px; }
  .head-inner > .btn { padding: 12px 20px; }
}

.footer-cta-h { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.f-h {
  font-family: var(--grotesk); font-size: 0.68rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px;
}
.f-phone { margin-top: 12px; font-family: var(--serif); font-size: 1.3rem; color: var(--gold-soft); }
.f-map { color: var(--gold-soft); font-size: 0.8rem; }
.footer-links {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px;
  padding: 34px 24px; font-size: 0.85rem; border-top: 1px solid rgba(247,243,234,0.14);
}
.footer-links a { display: block; padding: 4px 0; color: rgba(247,243,234,0.8); }
.footer-links a:hover { color: var(--gold-soft); }
.f-rera { font-size: 0.8rem; margin-bottom: 8px; color: rgba(247,243,234,0.75); }
.f-rera a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .footer-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-links { grid-template-columns: 1fr; gap: 26px; padding: 30px 20px; } }

.popup-title { font-size: 1.4rem; margin-bottom: 18px; color: var(--forest); }
.popup-fine { margin-top: 10px; font-size: 0.7rem; color: var(--ink-soft); text-align: center; }
.popup-fine a { text-decoration: underline; }

.faq .faq-a { padding: 0 4px 20px; color: var(--ink-soft); max-width: 66ch; }
.faq .faq-a p + p { margin-top: 10px; }
.faq .faq-a a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.sec-more { margin-top: 26px; }
.center-head .sec-more { margin-top: 14px; }
.home-faq-more { margin-top: 18px; display: inline-block; }

/* Key-facts block on the homepage (uses the existing .vk-facts styles) */
.vk-facts .eyebrow { color: var(--gold-soft); }
.vk-facts h2.serif { color: var(--gold); }
.vk-facts-grid dd a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.vk-facts-note { margin-top: 18px; font-size: 0.78rem; color: rgba(247,243,234,0.55); max-width: 90ch; }

.img-note { font-size: 0.7rem; color: var(--ink-soft); margin-top: 8px; }
.section-dark .img-note, .vk-gal .img-note { color: rgba(247,243,234,0.5); text-align: center; }

/* ---------- 2. Inner pages ---------- */
.page-inner .site-head { background: rgba(29, 29, 29, 0.92); }

.pg-hero {
  background:
    radial-gradient(110% 90% at 90% -20%, rgba(194,112,61,0.22), transparent 55%),
    linear-gradient(180deg, #1d1d1d, #232522);
  color: var(--cream); padding: 132px 0 54px;
}
.pg-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--white); max-width: 22ch; }
.pg-hero h1 em { font-style: italic; color: var(--gold-soft); }
.pg-intro { margin-top: 18px; max-width: 68ch; color: rgba(247,243,234,0.82); font-size: 1.05rem; }
.pg-meta { margin-top: 22px; font-size: 0.76rem; color: rgba(247,243,234,0.55); font-family: var(--grotesk); letter-spacing: 0.03em; }
.pg-meta a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.pg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-family: var(--grotesk); font-size: 0.74rem; letter-spacing: 0.06em; }
.pg-crumbs li { color: rgba(247,243,234,0.6); }
.pg-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(247,243,234,0.3); }
.pg-crumbs a { color: var(--gold-soft); }

.pg-main { padding-top: 64px; }
.pg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.pg-grid-full { grid-template-columns: minmax(0, 1fr); max-width: 980px; }

/* Article typography */
.prose { font-size: 1.02rem; color: #3a3935; min-width: 0; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; color: var(--gold); margin-top: 52px; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--dark); margin-top: 32px; scroll-margin-top: 100px; }
.prose p, .prose li { color: #45433e; }
.prose strong { font-weight: 600; color: var(--dark); }
.prose a:not(.btn) { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(80,98,79,0.4); text-underline-offset: 3px; font-weight: 500; }
.prose a:not(.btn):hover { color: var(--gold); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose ul.ticks { padding-left: 0; }
.prose img { border-radius: var(--radius); }
.prose figure figcaption { font-size: 0.78rem; color: var(--ink-soft); margin-top: 8px; }

.pg-answer {
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; box-shadow: 0 10px 30px rgba(29,29,29,0.06);
}
.pg-answer-h { font-family: var(--grotesk); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pg-answer p { color: var(--dark); }
.pg-answer p + p { margin-top: 10px; }

.pg-toc { background: #efe8da; border-radius: var(--radius); padding: 20px 24px; }
.pg-toc-h { font-family: var(--grotesk); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.pg-toc ol { columns: 2; column-gap: 28px; padding-left: 20px; font-size: 0.92rem; }
.pg-toc li { break-inside: avoid; margin: 0 0 6px; }
.pg-toc a { text-decoration: none !important; }

.pg-note {
  background: #f6e9dc; border: 1px solid rgba(194,112,61,0.35); border-radius: 14px;
  padding: 16px 20px; font-size: 0.94rem;
}
.pg-note strong { color: #8a4a22; }
.pg-note-ok { background: #e9efe6; border-color: rgba(80,98,79,0.35); }
.pg-note-ok strong { color: var(--forest); }
.pg-note-sm { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; }

/* Tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 520px; }
.data-table caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: 0.78rem; color: var(--ink-soft); }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--dark); color: var(--cream); font-family: var(--grotesk); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.data-table tbody tr:nth-child(even) { background: #fbf9f4; }
.data-table tbody th { font-weight: 600; color: var(--dark); }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; }
.tag { display: inline-block; font-family: var(--grotesk); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 100px; padding: 3px 10px; white-space: nowrap; }
.tag-ok { background: #e3ecdf; color: #2c5629; }
.tag-warn { background: #f6e5de; color: #8a3a24; }
.tag-info { background: #ece6d9; color: #5a5040; }

/* Fact cards */
.pg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pg-fact { background: var(--white); border-radius: 14px; padding: 16px 18px; border-top: 3px solid var(--gold-soft); }
.pg-fact b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--forest); line-height: 1.15; }
.pg-fact span { font-family: var(--grotesk); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* Checklist */
.pg-check { list-style: none; padding-left: 0 !important; counter-reset: chk; }
.pg-check > li { position: relative; padding: 16px 18px 16px 58px; background: var(--white); border-radius: 14px; counter-increment: chk; }
.pg-check > li + li { margin-top: 10px; }
.pg-check > li::before {
  content: counter(chk); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #fff; font-family: var(--grotesk); font-size: 0.8rem; display: grid; place-items: center;
}
.pg-check b { display: block; color: var(--dark); font-weight: 600; margin-bottom: 2px; }

/* CTA band */
.pg-cta {
  display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--dark); color: var(--cream); border-radius: var(--radius); padding: 26px 28px; margin-top: 40px !important;
}
.pg-cta p { color: rgba(247,243,234,0.75); font-size: 0.92rem; }
.pg-cta .pg-cta-h { font-size: 1.55rem; color: var(--white) !important; margin-bottom: 4px; line-height: 1.15; }
.pg-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sidebar */
.pg-aside { position: sticky; top: 100px; }
.pg-card { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 18px 44px rgba(29,29,29,0.09); border-top: 3px solid var(--gold); }
.pg-mini { margin: 6px 0 20px; }
.pg-mini > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.pg-mini dt { color: var(--ink-soft); }
.pg-mini dd { color: var(--dark); font-weight: 500; text-align: right; }
.pg-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pg-card-row .btn { text-align: center; padding: 11px 10px; color: var(--dark); }

/* Related */
.pg-related-wrap { margin-top: 70px; }
.pg-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pg-rel-card { position: relative; display: block; background: var(--white); border-radius: var(--radius); padding: 22px 46px 22px 22px; transition: transform .2s ease, box-shadow .2s ease; }
.pg-rel-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,29,29,0.1); }
.pg-rel-card b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.pg-rel-card span { font-size: 0.86rem; color: var(--ink-soft); }
.pg-rel-card i { position: absolute; right: 20px; top: 22px; color: var(--gold); font-style: normal; }

.pg-sources { margin-top: 56px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.pg-sources h2 { font-size: 1.5rem; margin-top: 0; color: var(--dark); }
.pg-sources ol { font-size: 0.86rem; }

/* Map embed */
.pg-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #e8e1d3; }
.pg-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact blocks */
.pg-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pg-contact > div { background: var(--white); border-radius: 14px; padding: 20px; }
.pg-contact h3 { margin-top: 0 !important; font-size: 1.2rem; }
.pg-inline-form { background: var(--white); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.pg-inline-form input, .pg-inline-form select { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 0.92rem; background: #fff; }
.pg-inline-form .btn, .pg-inline-form .full { grid-column: 1 / -1; }

/* Guides hub */
.pg-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pg-hub a { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none !important; color: inherit !important; }
.pg-hub a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,29,29,0.1); }
.pg-hub img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 !important; }
.pg-hub div { padding: 18px 20px 22px; }
.pg-hub b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--dark); }
.pg-hub span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; }

@media (max-width: 1080px) {
  .pg-grid { grid-template-columns: 1fr; gap: 40px; }
  .pg-aside { position: static; }
}
@media (max-width: 720px) {
  .pg-hero { padding: 108px 0 40px; }
  .pg-main { padding-top: 40px; }
  .pg-toc ol { columns: 1; }
  .pg-inline-form { grid-template-columns: 1fr; padding: 20px; }
  .pg-cta { padding: 22px 20px; }
  .prose h2 { margin-top: 40px; }
}

/* Phones: ".wrap { padding: 0 16px }" (responsive.css, ≤480px) was
   overriding the footer's bottom padding, so the floating call/WhatsApp
   bar covered the last footer lines. Restore the clearance. */
@media (max-width: 720px) {
  .footer .footer-legal { padding-bottom: 104px; }
  .footer .footer-cta, .footer .footer-grid, .footer .footer-links { padding-left: 20px; padding-right: 20px; }
}

/* Larger tap targets for slider dots (WCAG 2.2 target size) */
#quoteSwiper .swiper-pagination-bullet { width: 12px; height: 12px; margin: 0 8px !important; }
