/* ===================================
   LOCATION PAGE STYLES
   Imports global.css then adds location-specific overrides
   =================================== */

@import url('/styles/global.css');

/* Location page heading size overrides */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

/* === PAGE HERO (location override) === */
.page-hero { padding: 170px 0 90px; }
.page-hero-bg::after { background: linear-gradient(180deg, rgba(20,20,20,0.5) 0%, rgba(20,20,20,0.92) 100%); }
.page-hero-subtitle { font-size: 1.05rem; max-width: 580px; margin-bottom: 32px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; color: var(--gold-light); margin-bottom: 20px; }

/* === LOCAL INTRO === */
.local-intro { padding: 100px 0; background: var(--cream); }
.local-intro-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.local-intro-content h2 { margin-bottom: 20px; }
.local-intro-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }
.local-intro-sidebar { background: var(--white); border: 1px solid var(--smoke); border-radius: 2px; padding: 32px; position: relative; }
.local-intro-sidebar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.local-intro-sidebar h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--charcoal); }
.sidebar-fact { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--smoke); font-size: 0.9rem; }
.sidebar-fact:last-child { border-bottom: none; }
.sidebar-fact-label { color: var(--text-light); }
.sidebar-fact-value { font-weight: 600; color: var(--charcoal); }
.project-count-badge { display: flex; align-items: center; gap: 12px; background: var(--gold-glow); border-left: 4px solid var(--gold); padding: 16px 20px; margin-top: 32px; border-radius: 2px; }
.project-count-badge strong { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold-dark); line-height: 1; }
.project-count-badge span { font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }

/* === SERVICES GRID === */
.services-local { padding: 100px 0; background: var(--white); }
.services-local-header { text-align: center; margin-bottom: 56px; }
.services-local-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-local-card { background: var(--cream); border: 1px solid var(--smoke); border-radius: 2px; padding: 28px 24px; text-align: center; transition: all 0.4s var(--ease); text-decoration: none; display: block; position: relative; }
.service-local-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.service-local-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,0.2); }
.service-local-card:hover::after { transform: scaleX(1); }
.service-local-icon { width: 52px; height: 52px; background: var(--gold-glow); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.service-local-icon svg { width: 24px; height: 24px; color: var(--gold); }
.service-local-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--charcoal); }
.service-local-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* === WHY LOCAL === */
.why-local { padding: 100px 0; background: var(--charcoal); position: relative; overflow: hidden; }
.why-local-crown { position: absolute; right: -10%; top: 50%; transform: translateY(-50%); width: 40vw; max-width: 500px; opacity: 0.02; pointer-events: none; }
.why-local .container { position: relative; z-index: 1; }
.why-local-header { text-align: center; margin-bottom: 56px; }
.why-local-header h2 { color: var(--white); }
.why-local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-local-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 2px; padding: 32px 28px; transition: all 0.3s var(--ease); }
.why-local-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(201,168,76,0.2); }
.why-local-card h3 { color: var(--gold); font-size: 1.15rem; margin-bottom: 10px; }
.why-local-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* === CITY CONTENT === */
.city-content { padding: 100px 0; background: var(--cream); }
.city-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.city-content h2 { margin-bottom: 20px; }
.city-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }
.city-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }

/* === TESTIMONIAL === */
.testimonial-local { padding: 80px 0; background: var(--white); }
.testimonial-local-card { max-width: 800px; margin: 0 auto; text-align: center; padding: 40px; }
.testimonial-local-quote { font-family: 'Cormorant Garamond', serif; font-size: 4rem; color: var(--gold); line-height: 0.5; opacity: 0.4; margin-bottom: 16px; }
.testimonial-local-text { font-size: 1.15rem; font-style: italic; color: var(--text); line-height: 1.8; margin-bottom: 24px; }
.testimonial-local-divider { width: 40px; height: 2px; background: var(--gold); margin: 0 auto 16px; opacity: 0.4; }
.testimonial-local-name { font-weight: 700; color: var(--charcoal); }
.testimonial-local-location { color: var(--text-muted); font-size: 0.88rem; }

/* === FAQ === */
.faq { padding: 100px 0; background: var(--white); }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--smoke); }
.faq-item:first-child { border-top: 1px solid var(--smoke); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; background: none; border: none; cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--charcoal); text-align: left; gap: 20px; transition: color 0.3s var(--ease); }
.faq-question:hover { color: var(--gold-dark); }
.faq-icon { width: 30px; height: 30px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 300; color: var(--gold); transition: all 0.3s var(--ease); flex-shrink: 0; font-family: 'Inter', sans-serif; }
.faq-item.active .faq-icon { background: var(--gold); color: var(--dark); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 0 22px 0; color: var(--text-light); font-size: 0.92rem; line-height: 1.8; }

/* === NEARBY AREAS === */
.nearby { padding: 80px 0; background: var(--cream); }
.nearby-header { text-align: center; margin-bottom: 36px; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nearby-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: var(--white); border: 1px solid var(--smoke); border-radius: 2px; color: var(--text); font-size: 0.88rem; font-weight: 500; transition: all 0.3s var(--ease); }
.nearby-link:hover { border-color: var(--gold); color: var(--gold-dark); }
.nearby-link svg { width: 14px; height: 14px; color: var(--gold); }

/* === CTA === */
.cta { padding: 100px 0; background: var(--dark); position: relative; overflow: hidden; text-align: center; }
.cta-crown-bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 50vw; max-width: 400px; opacity: 0.025; pointer-events: none; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: var(--white); margin-bottom: 16px; }
.cta-subtitle { color: rgba(255,255,255,0.5); font-size: 1.05rem; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-phone { margin-top: 24px; color: rgba(255,255,255,0.4); font-size: 0.95rem; }
.cta-phone a { color: var(--gold); font-weight: 600; }

/* === RESPONSIVE — Location-specific === */
@media (max-width: 1024px) {
  .services-local-grid { grid-template-columns: repeat(2, 1fr); }
  .why-local-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .local-intro-grid, .city-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 130px 0 70px; }
  .services-local-grid { grid-template-columns: 1fr 1fr; }
  .local-intro, .services-local, .why-local, .city-content, .testimonial-local, .faq, .nearby, .cta { padding: 70px 0; }
}

@media (max-width: 480px) {
  .services-local-grid { grid-template-columns: 1fr; }
}
