/* ============================================================
   PEAK NOVA CONSTRUCTION — Global Stylesheet v2
   General Contracting + Specialty Exterior
   Built to Last. Maintained to Outlast.
   ============================================================ */

:root {
  --navy: #1B3F72;
  --navy-dark: #122b52;
  --navy-mid: #2563AB;
  --sky: #4A90D9;
  --sky-light: #7BB8F0;
  --gold: #C9A84C;
  --gold-light: #E4C97A;
  --white: #ffffff;
  --off-white: #F4F6FA;
  --gray-light: #e8ecf2;
  --gray: #8899aa;
  --text: #1a2535;
  --text-light: #4a5a6e;
  --charcoal: #2c3340;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* ── TOP BAR ── */
.top-bar { background: var(--navy-dark); color: var(--sky-light); text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .04em; padding: 9px 20px; }
.top-bar a { color: var(--gold-light); text-decoration: none; font-weight: 700; }

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 20px rgba(27,63,114,.12); display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 74px; transition: box-shadow .3s; }
nav.scrolled { box-shadow: 0 4px 30px rgba(27,63,114,.2); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text .brand { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: .06em; }
.nav-logo-text .sub { font-size: 10px; font-weight: 600; color: var(--navy-mid); letter-spacing: .16em; text-transform: uppercase; display: block; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 8px 13px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: color .2s, background .2s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--navy-mid); background: var(--off-white); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); border-top: 3px solid var(--gold); box-shadow: 0 8px 24px rgba(27,63,114,.15); border-radius: 0 0 6px 6px; list-style: none; padding: 8px 0; }
.nav-links > li:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text-light); text-decoration: none; transition: background .15s, color .15s; }
.dropdown li a:hover { background: var(--off-white); color: var(--navy-mid); }
.dropdown .dropdown-label { display: block; padding: 8px 20px 4px; font-size: 10px; font-weight: 800; color: var(--gray); letter-spacing: .16em; text-transform: uppercase; }
.nav-phone { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.nav-phone span { color: var(--navy-mid); }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; padding: 15px 34px; background: var(--gold); color: var(--navy-dark); font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 4px; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { display: inline-block; padding: 13px 30px; border: 2px solid var(--gold); color: var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background .2s, color .2s; background: transparent; cursor: pointer; }
.btn-outline:hover { background: var(--gold); color: var(--navy-dark); }
.btn-outline-navy { display: inline-block; padding: 13px 30px; border: 2px solid var(--navy); color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background .2s, color .2s; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-white { display: inline-block; padding: 15px 34px; background: var(--white); color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 4px; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

/* ── SECTION HELPERS ── */
.section-wrap { padding: 84px 80px; }
.section-wrap.bg-off { background: var(--off-white); }
.section-wrap.bg-navy { background: var(--navy-dark); }
.section-wrap.bg-charcoal { background: var(--charcoal); }
.section-label { font-size: 12px; font-weight: 700; color: var(--navy-mid); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.section-label.light { color: var(--sky-light); }
.section-label.gold { color: var(--gold); }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 800; color: var(--navy); letter-spacing: .02em; line-height: 1.1; margin-bottom: 14px; }
.section-title.light { color: var(--white); }
.section-title em { color: var(--navy-mid); font-style: normal; }
.section-title.light em { color: var(--gold-light); }
.section-intro { font-size: 17px; color: var(--text-light); line-height: 1.78; max-width: 700px; }
.section-intro.light { color: rgba(255,255,255,.75); }
.divider { width: 56px; height: 4px; background: var(--gold); border-radius: 2px; margin: 16px 0; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%); padding: 72px 80px; position: relative; overflow: hidden; }
.page-hero::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' stroke='rgba(255,255,255,0.04)' stroke-width='1'%3E%3Cpolygon points='30,4 56,18 56,42 30,56 4,42 4,18'/%3E%3C/g%3E%3C/svg%3E") repeat; }
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero .breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--sky-light); text-decoration: none; }
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 52px; font-weight: 800; color: var(--white); line-height: 1.05; letter-spacing: .02em; margin-bottom: 18px; }
.page-hero h1 em { color: var(--gold-light); font-style: normal; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); line-height: 1.7; max-width: 580px; margin-bottom: 32px; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--off-white); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); padding: 28px 80px; display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 42px; height: 42px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; }
.trust-item-text .t1 { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: .04em; }
.trust-item-text .t2 { font-size: 12px; color: var(--text-light); }

/* ── PHILOSOPHY BAND ── */
.philosophy-band { background: var(--charcoal); padding: 72px 80px; position: relative; overflow: hidden; }
.philosophy-band::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(to bottom, var(--gold), var(--navy-mid)); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-top: 52px; }
.philosophy-card { border-top: 2px solid rgba(255,255,255,.1); padding-top: 28px; }
.philosophy-card .icon { font-size: 32px; margin-bottom: 16px; }
.philosophy-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: .04em; margin-bottom: 12px; }
.philosophy-card p { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.75; }

/* ── SERVICE PILLARS ── */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.pillar-card { border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(27,63,114,.18); }
.pillar-img { height: 260px; overflow: hidden; position: relative; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pillar-card:hover .pillar-img img { transform: scale(1.06); }
.pillar-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,43,82,.88) 0%, rgba(18,43,82,.3) 60%, transparent 100%); }
.pillar-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px; z-index: 1; }
.pillar-content .tag { font-size: 10px; font-weight: 800; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.pillar-content h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: .03em; margin-bottom: 6px; }
.pillar-content p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.55; }

/* ── TWO-COL CONTENT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.content-img { border-radius: 8px; overflow: hidden; }
.content-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.benefit-list { list-style: none; margin: 24px 0; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; color: var(--text-light); line-height: 1.65; }
.benefit-list li::before { content: '✓'; font-weight: 800; color: var(--gold); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── SERVICE TYPE CARDS (roofing/siding types) ── */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.type-card { background: var(--white); border-radius: 8px; border: 1px solid var(--gray-light); padding: 28px; transition: box-shadow .2s, transform .2s; }
.type-card:hover { box-shadow: 0 8px 32px rgba(27,63,114,.1); transform: translateY(-3px); }
.type-card .type-icon { width: 48px; height: 48px; background: var(--off-white); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.type-card .type-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy-mid); stroke-width: 2; }
.type-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: .03em; margin-bottom: 10px; }
.type-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ── MAINTENANCE PLAN BAND ── */
.maintenance-band { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 80px 80px; position: relative; overflow: hidden; }
.maintenance-band::after { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; border-radius: 50%; background: rgba(201,168,76,.06); pointer-events: none; }
.maintenance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.plan-cards { display: flex; flex-direction: column; gap: 16px; }
.plan-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 24px 28px; display: flex; gap: 20px; align-items: flex-start; transition: background .2s; }
.plan-card:hover { background: rgba(255,255,255,.11); }
.plan-card-num { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 800; color: var(--gold); line-height: 1; flex-shrink: 0; width: 36px; }
.plan-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 6px; letter-spacing: .03em; }
.plan-card p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ── CTA BAND ── */
.cta-band { background: var(--navy-mid); padding: 56px 80px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 40px; font-weight: 800; color: var(--white); letter-spacing: .02em; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,.8); margin-top: 8px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 56px; }
.contact-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: .04em; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; }
.contact-item-text .label { font-size: 11px; font-weight: 700; color: var(--text-light); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.contact-item-text a, .contact-item-text p { font-size: 16px; font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-item-text a:hover { color: var(--navy-mid); }

/* ── FORMS ── */
.form-card { background: var(--off-white); border-radius: 8px; padding: 40px; }
.form-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: .04em; margin-bottom: 6px; }
.form-card p { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: var(--text-light); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--gray-light); border-radius: 4px; font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--text); background: var(--white); transition: border .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy-mid); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit { width: 100%; padding: 15px; background: var(--navy); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; transition: background .2s; margin-top: 4px; }
.btn-submit:hover { background: var(--navy-mid); }
.success-msg { display: none; background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; padding: 13px; border-radius: 4px; margin-top: 14px; font-weight: 600; text-align: center; font-size: 14px; }

/* ── AREA BAND ── */
.area-band { background: var(--navy-dark); padding: 36px 80px; text-align: center; }
.area-title { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: .04em; margin-bottom: 8px; }
.area-band > p { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.area-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.area-tag { padding: 5px 14px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: var(--sky-light); }

/* ── FOOTER ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 60px 80px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-text .brand { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: .06em; }
.footer-logo-text .sub { font-size: 10px; color: var(--sky-light); letter-spacing: .16em; text-transform: uppercase; display: block; }
.footer-desc { font-size: 14px; line-height: 1.75; max-width: 280px; margin-bottom: 24px; }
.footer-tagline { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: .06em; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--sky-light); text-decoration: none; font-size: 13px; font-weight: 700; transition: background .15s; }
.social-btn:hover { background: var(--navy-mid); color: var(--white); }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800; color: var(--white); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.footer-col ul li a:hover { color: var(--sky-light); }
.footer-hours span { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--sky-light); }
.footer-legal { display: flex; gap: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .section-wrap { padding: 60px 40px; }
  .trust-strip, .cta-band, .area-band, .page-hero, .philosophy-band, .maintenance-band { padding-left: 40px; padding-right: 40px; }
  footer { padding: 48px 40px 0; }
  nav { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .two-col, .maintenance-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section-wrap { padding: 48px 20px; }
  .trust-strip, .cta-band, .area-band, .page-hero, .philosophy-band, .maintenance-band { padding-left: 20px; padding-right: 20px; }
  footer { padding: 40px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .section-title { font-size: 34px; }
  .page-hero h1 { font-size: 38px; }
  .cta-band { flex-direction: column; text-align: center; }
  .pillars-grid, .type-grid, .philosophy-grid { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
}
