/* ============================================================
   Vaastu Building Services — pages/pre-construction-termite-treatment-cost.css
   Styles unique to pre-construction-termite-treatment-cost.html. Shared chrome lives in base.css
   (loaded first); rules here override it where intended. */
   ============================================================ */

.nav-cta { background: var(--accent); color: var(--white) !important; padding: 10px 20px !important; border-radius: var(--radius) !important; font-weight: 700 !important; }

.nav-cta:hover { background: var(--accent-dark) !important; }

.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }

.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e4a6e 100%);
    padding: 80px 24px 60px; position: relative; overflow: hidden;
  }

.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1400') center/cover;
    opacity: 0.18;
  }

.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,30,60,0.92) 0%, rgba(10,30,60,0.65) 60%, rgba(10,30,60,0.40) 100%);
  }

.page-hero-inner { max-width: 1200px; margin: auto; position: relative; z-index: 2; }

.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,0.6); flex-wrap: wrap; }

.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.4); }

.page-tag { display: inline-block; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; margin-bottom: 18px; font-family: 'Montserrat', sans-serif; }

.page-hero h1 { font-size: 46px; font-weight: 800; color: var(--white); line-height: 1.12; max-width: 760px; margin-bottom: 20px; }

.page-hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 660px; line-height: 1.8; margin-bottom: 20px; }

.hero-price-tag { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); border-radius: 8px; padding: 10px 22px; margin-bottom: 24px; font-family: 'Montserrat', sans-serif; }

.hero-price-tag .from-txt { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.70); text-transform: uppercase; letter-spacing: 1px; }

.hero-price-tag .price-num { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary { background: var(--accent); color: var(--white); padding: 14px 30px; border-radius: var(--radius); font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: 14px; letter-spacing: 0.5px; transition: all 0.2s; border: 2px solid var(--accent); display: inline-block; }

.btn-outline { background: transparent; color: var(--white); padding: 14px 30px; border-radius: var(--radius); font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: 14px; border: 2px solid rgba(255,255,255,0.6); display: inline-block; transition: all 0.2s; }

.btn-outline:hover { background: rgba(255,255,255,0.12); }

section { padding: 72px 24px; }

.article-body { max-width: 820px; }

.article-body h2 { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.25; margin: 44px 0 16px; }

.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin: 28px 0 10px; }

.article-body p { font-size: 16px; color: var(--text-mid); line-height: 1.85; margin-bottom: 18px; }

.article-body a.inline { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(179,89,0,0.35); }

.article-body a.inline:hover { border-bottom-color: var(--accent); }

.article-body ul { list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }

.article-body ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-mid); line-height: 1.6; }

.article-body ul li svg { width: 20px; height: 20px; fill: var(--green); flex-shrink: 0; margin-top: 2px; }

.section-desc { font-size: 16px; color: var(--text-light); line-height: 1.8; }

.answer-box { background: var(--light-bg); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 0 0 8px; }

.answer-box .lbl { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }

.answer-box p { font-size: 16px; color: var(--text-dark); line-height: 1.8; margin: 0; }

.types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.type-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; border: 2px solid transparent; }

.type-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); transform: translateY(-4px); }

.type-head { background: var(--primary); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.type-head h3 { font-size: 17px; font-weight: 700; color: var(--white); }

.type-head .badge { display: inline-block; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; font-family: 'Montserrat', sans-serif; letter-spacing: 1px; white-space: nowrap; }

.type-body { background: var(--white); padding: 24px; }

.type-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.related-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: all 0.3s; display: block; }

.related-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateY(-3px); }

.related-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }

.related-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }

.related-card .more { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 6px; }

.related-card .more svg { width: 14px; height: 14px; fill: currentColor; }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }

.faq-item { border: 1px solid var(--light-gray); border-radius: var(--radius); overflow: hidden; }

.faq-q { padding: 18px 20px; font-weight: 600; font-size: 15px; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); transition: background 0.2s; font-family: 'Montserrat', sans-serif; }

.faq-q:hover { background: var(--light-bg); }

.faq-q.open { background: var(--primary); color: var(--white); }

.faq-arrow { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; }

.faq-q.open .faq-arrow { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; font-size: 14px; color: var(--text-mid); line-height: 1.7; background: var(--white); padding: 0 20px; }

.faq-a.open { max-height: 360px; padding: 16px 20px; }

.cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%); padding: 72px 24px; text-align: center; position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: auto; }

.cta-section h2 { font-size: 38px; font-weight: 800; color: var(--white); margin-bottom: 16px; }

.cta-section p { font-size: 17px; color: rgba(255,255,255,0.80); margin-bottom: 36px; line-height: 1.7; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-phone { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius); padding: 14px 24px; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; transition: all 0.2s; }

.cta-phone:hover { background: rgba(255,255,255,0.20); }

.cta-phone svg { width: 20px; height: 20px; fill: var(--accent); }

.service-nav { background: var(--light-bg); border-bottom: 1px solid var(--light-gray); padding: 14px 24px; }

.service-nav-inner { max-width: 1200px; margin: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.service-nav-inner span { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin-right: 8px; }

.svc-pill { padding: 7px 16px; border-radius: 20px; background: var(--white); border: 1px solid var(--light-gray); font-size: 13px; font-weight: 600; color: var(--text-mid); font-family: 'Montserrat', sans-serif; transition: all 0.2s; white-space: nowrap; }

.svc-pill:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.svc-pill.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

@media (max-width: 1024px) {
    .related-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

@media (max-width: 768px) {
    .page-hero h1 { font-size: 32px; }
    .types-grid, .related-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    .article-body h2 { font-size: 25px; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-left { display: none; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    nav { position: relative; }
    .nav-mobile-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-md); padding: 16px; z-index: 999; gap: 4px; }
    .nav-links a { padding: 12px 16px; }
  }
