/* ==============================
   The Window Guys — Stylesheet
   thewindowguyscanada.ca
   ============================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand palette */
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-tint: #F0F9FF;

  --text: #1E293B;
  --text-soft: #475569;
  --text-muted: #64748B;
  --border: #E2E8F0;

  --primary: #0EA5E9;       /* sky-500 */
  --primary-dark: #0284C7;  /* sky-600 */
  --primary-soft: #E0F2FE;  /* sky-100 */
  --blue: #3B82F6;          /* blue-500 */
  --cyan: #06B6D4;          /* cyan-500 */

  --cta: #F59E0B;           /* amber-500 */
  --cta-dark: #D97706;      /* amber-600 */
  --cta-hover: #FB923C;     /* orange-400 */

  /* Type scale */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

section { padding: 80px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
@media (max-width: 768px) {
  .section-head { margin-bottom: 40px; }
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-top: 12px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 22px; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 32px; line-height: 1.18; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
}
@media (max-width: 420px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
}

p { line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--cta);
  color: #1E293B;
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

.btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  min-height: 64px;
}
@media (max-width: 768px) {
  .header-inner { padding: 10px 16px; min-height: 56px; }
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-img { height: 40px; }
}
@media (max-width: 420px) {
  .logo-img { height: 36px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.main-nav a:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.nav-cta {
  background: var(--cta);
  color: var(--text) !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}
.nav-cta:hover {
  background: var(--cta-hover) !important;
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.2s ease;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s;
    z-index: 90;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 900px) { .hero h1 { font-size: 44px; line-height: 1.1; } }
@media (max-width: 480px) { .hero h1 { font-size: 32px; line-height: 1.15; } }
@media (max-width: 380px) { .hero h1 { font-size: 28px; } }

.hero-sub {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 560px;
}
@media (max-width: 768px) { .hero-sub { font-size: 17px; } }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

.hero-trust {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 480px) {
  .hero-trust { font-size: 13px; line-height: 1.8; }
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
@media (max-width: 900px) {
  .hero-visual {
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
  }
}

.hero-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 240px;
  border: 1px solid var(--border);
}
.hero-card-2 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  color: white;
  border: none;
}
.hero-card-2 .hero-card-label,
.hero-card-2 .hero-card-desc { color: rgba(255, 255, 255, 0.85); }
.hero-card-2 .hero-card-value { color: white; }

.hero-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hero-card-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-card-desc {
  font-size: 14px;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .hero-card { flex: 1; width: auto; padding: 20px; }
  .hero-card-value { font-size: 32px; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 24px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-soft);
  border-radius: 50%;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.trust-icon svg {
  width: 20px;
  height: 20px;
}
.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s ease;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-soft); }

/* ---------- Why Us ---------- */
.why-us { background: var(--bg-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}

.why-number {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 16px;
}

.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--text-soft); }

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow { display: none; }
}

.step {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 15px; }

.step-arrow {
  font-size: 28px;
  color: var(--primary);
  font-weight: 800;
}

/* ---------- Service Area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

.area-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.area-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.area-card h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.area-card p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
}
.area-link {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
}

.area-note {
  text-align: center;
  color: var(--text-soft);
}
.area-note a {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-soft); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 32px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.price-card-featured {
  border-color: var(--primary);
  border-width: 2px;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.price-tier {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-range {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.price-desc {
  font-size: 15px;
  color: var(--text-soft);
}

.pricing-note {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
}

.pricing-cta { text-align: center; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-soft);
}

.faq-cta {
  margin-top: 32px;
  text-align: center;
  color: var(--text-soft);
}
.faq-cta a {
  color: var(--primary-dark);
  font-weight: 600;
}

/* ---------- Quote Form ---------- */
.quote {
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  color: white;
}

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .quote-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.quote-content .section-eyebrow {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.quote-content h2 {
  color: white;
  margin-bottom: 16px;
}

.quote-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
}

.quote-list {
  list-style: none;
  margin-bottom: 28px;
}
.quote-list li {
  padding: 6px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.quote-call {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
}
.quote-call a {
  color: white;
  border-bottom: 2px solid var(--cta);
}

.quote-form {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.req { color: #DC2626; }
.opt { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-trust {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.form-trust .inline-icon {
  width: 14px;
  height: 14px;
  color: var(--text-soft);
  flex-shrink: 0;
}

.quote-success {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--text);
  text-align: center;
  grid-column: 1 / -1;
}
.quote-success h3 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.quote-success p { margin-bottom: 8px; color: var(--text-soft); }
.quote-success a {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-logo {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-tag {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}
.footer-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}

.footer-col p { margin-bottom: 6px; font-size: 15px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: white; }

.footer-hours { color: rgba(255, 255, 255, 0.6); font-size: 14px !important; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 4px;
}
.footer-bottom-inner a:hover { color: white; }

/* ---------- Sticky mobile call ---------- */
.sticky-call {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  padding: 14px 18px;
  background: var(--cta);
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}
.sticky-call svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .sticky-call { display: flex; }
  /* добавляем отступ внизу страницы чтобы кнопка не перекрывала контент */
  .site-footer { padding-bottom: 80px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 14px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.breadcrumb a {
  color: var(--text-soft);
  transition: color 0.15s ease;
}
.breadcrumb a:hover {
  color: var(--primary-dark);
}
.bc-sep {
  color: var(--text-muted);
  margin: 0 8px;
}
.bc-current {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Page Hero (for inner pages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 90% 0%, rgba(14, 165, 233, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
  text-align: center;
}
@media (max-width: 768px) {
  .page-hero { padding: 48px 0 32px; }
}
.page-hero h1 {
  font-size: 48px;
  max-width: 880px;
  margin: 0 auto 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: 28px; line-height: 1.18; }
}
@media (max-width: 420px) {
  .page-hero h1 { font-size: 24px; }
}
.page-hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 28px;
}
.page-hero .hero-cta {
  justify-content: center;
  margin-bottom: 0;
}
.page-hero .hero-eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 20px;
}

/* ---------- Article Layout ---------- */
.article {
  padding: 64px 0;
}
@media (max-width: 768px) {
  .article { padding: 48px 0; }
}

.article-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.article-section {
  margin-bottom: 56px;
}
.article-section:last-child {
  margin-bottom: 0;
}

.article-section > h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .article-section > h2 { font-size: 24px; }
}

.article-section > p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

/* ---------- Feature Grid (in articles) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-item {
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.feature-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--primary-dark);
}
.feature-item p {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0;
}

/* ---------- Neighbourhood Grid ---------- */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 900px) {
  .neighbourhood-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .neighbourhood-grid { grid-template-columns: 1fr; }
}

.neighbourhood-card {
  background: white;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.15s ease;
}
.neighbourhood-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.neighbourhood-card h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.neighbourhood-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ---------- Price grid inline (in articles) ---------- */
.price-grid-inline {
  margin: 24px 0;
}

/* ---------- Related Areas ---------- */
.related-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .related-areas { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
