/*
Theme Name:   VAPA Contracting Child
Template:     zaaztheme
Description:  Child theme of zaaztheme for vapacontracting.ca — BC construction trades & services.
Author:       Zaaz
Version:      0.1.0
Text Domain:  vapa-child
*/

/* ------------------------------------------------------------------
   Typography: Barlow Condensed (industrial, architectural) for
   headings + Inter for body copy.
   ------------------------------------------------------------------ */

body, .zt-main, .zt-footer, .zt-top-bar {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.005em;
  color: #1F2937;
  background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6,
.zt-site-title, .zt-menu a {
  font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.005em;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Palette: jobsite yellow + charcoal + deep green accent.
   Construction-trade vocabulary — hi-vis, earthy, durable.
   ------------------------------------------------------------------ */

:root {
  --vp-ink:     #111827;
  --vp-char:    #1F2937;
  --vp-yellow:  #F5B301;  /* hi-vis safety yellow */
  --vp-yellow-dk: #C99100;
  --vp-green:   #2F5233;  /* deep forest (landscaping nod) */
  --vp-green-dk:#1F3A22;
  --vp-steel:   #6B7280;
  --vp-line:    #E5E7EB;
  --vp-mist:    #F9FAFB;
}

/* Theme chrome */
.zt-top-bar {
  background: var(--vp-ink);
  color: #F9FAFB;
  font-size: 0.9rem;
}
.zt-top-bar a { color: #F9FAFB; }
.zt-top-bar a:hover { color: var(--vp-yellow); }

.zt-header {
  background: #FFFFFF;
  border-bottom: 3px solid var(--vp-yellow);
}
.zt-site-title a { color: var(--vp-ink); text-transform: uppercase; }
.zt-menu a {
  color: var(--vp-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 0.95rem;
}
.zt-menu a:hover, .zt-menu .current-menu-item > a { color: var(--vp-yellow-dk); }

.zt-footer {
  background: var(--vp-ink);
  color: #9CA3AF;
}
.zt-footer a { color: #D1D5DB; }
.zt-footer a:hover { color: var(--vp-yellow); }

/* ------------------------------------------------------------------
   Page utility classes — inline styles in html-widgets get kses'd;
   anything fragile lives here and is referenced by class.
   ------------------------------------------------------------------ */

/* Hero */
.vp-hero {
  position: relative;
  overflow: hidden;
  color: #F9FAFB;
  padding: 112px 24px 120px;
  background:
    linear-gradient(135deg, rgba(17,24,39,0.82) 0%, rgba(31,41,55,0.85) 60%, rgba(47,82,51,0.72) 100%),
    linear-gradient(180deg, #111827 0%, #1F2937 100%);
}
.vp-hero-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 48px,
    rgba(245,179,1,0.04) 48px 96px
  );
  pointer-events: none;
}
.vp-hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .vp-hero-inner { grid-template-columns: 1fr; }
}
.vp-hero-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vp-yellow);
  border-left: 3px solid var(--vp-yellow);
  padding-left: 12px;
  margin-bottom: 22px;
  font-weight: 600;
}
.vp-hero h1 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  color: #FFFFFF;
}
.vp-hero h1 em {
  font-style: normal;
  color: var(--vp-yellow);
  font-weight: 700;
}
.vp-hero p.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #E5E7EB;
  margin: 0 0 28px;
  max-width: 560px;
}

.vp-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.vp-btn-primary {
  background: var(--vp-yellow);
  color: var(--vp-ink);
  border: 2px solid var(--vp-yellow);
}
.vp-btn-primary:hover { background: #FFC93C; border-color: #FFC93C; transform: translateY(-1px); }
.vp-btn-ghost {
  background: transparent;
  color: #F9FAFB;
  border: 2px solid rgba(255,255,255,0.3);
}
.vp-btn-ghost:hover { border-color: var(--vp-yellow); color: var(--vp-yellow); }

/* Hero side panel */
.vp-hero-card {
  background: rgba(17,24,39,0.55);
  border: 1px solid rgba(245,179,1,0.35);
  border-radius: 4px;
  padding: 28px 26px;
  backdrop-filter: blur(2px);
}
.vp-hero-card .vp-hc-label {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vp-yellow);
  font-weight: 600;
  margin-bottom: 14px;
}
.vp-hero-card h3 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  color: #FFFFFF;
}
.vp-hero-card .vp-hc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #E5E7EB;
  font-size: 0.95rem;
}
.vp-hero-card .vp-hc-row:first-of-type { border-top: none; }
.vp-hero-card .vp-hc-row a { color: #F9FAFB; text-decoration: none; }
.vp-hero-card .vp-hc-row a:hover { color: var(--vp-yellow); }
.vp-hc-ico {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,179,1,0.14);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.vp-hc-ico::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--vp-yellow);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 16px 16px; mask-size: 16px 16px;
}
.vp-ico-phone::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); }
.vp-ico-mail::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>"); }
.vp-ico-pin::before   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }

/* Section shells */
.vp-section { padding: 88px 24px; }
.vp-section-alt { background: var(--vp-mist); }
.vp-container { max-width: 1140px; margin: 0 auto; }

.vp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.vp-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--vp-yellow-dk);
  margin-bottom: 12px;
  font-weight: 700;
}
.vp-section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0 0 14px;
  color: var(--vp-ink);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.vp-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--vp-yellow);
  margin: 14px auto 18px;
}
.vp-section-head p {
  color: var(--vp-steel);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* Services */
.vp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.vp-service-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--vp-line);
  border-top: 4px solid var(--vp-yellow);
  padding: 32px 28px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.vp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(17,24,39,0.3);
}
.vp-service-num {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--vp-yellow-dk);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 14px;
}
.vp-service-card h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--vp-ink);
  letter-spacing: 0.01em;
}
.vp-service-card p {
  margin: 0 0 14px;
  color: var(--vp-steel);
  font-size: 0.98rem;
  line-height: 1.6;
}
.vp-trades-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--vp-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.vp-trade-chip {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--vp-char);
  background: var(--vp-mist);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
}

/* About split */
.vp-about-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 820px) {
  .vp-about-split { grid-template-columns: 1fr; }
}
.vp-about-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--vp-ink);
}
.vp-about-copy p {
  color: var(--vp-steel);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 16px;
}
.vp-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.vp-fact {
  background: var(--vp-ink);
  color: #F9FAFB;
  padding: 28px 24px;
  border-left: 4px solid var(--vp-yellow);
}
.vp-fact:nth-child(2) { background: var(--vp-green); border-left-color: var(--vp-yellow); }
.vp-fact:nth-child(3) { background: var(--vp-char); border-left-color: var(--vp-yellow); }
.vp-fact:nth-child(4) { background: var(--vp-green-dk); border-left-color: var(--vp-yellow); }
.vp-fact-num {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--vp-yellow);
  line-height: 1;
  margin-bottom: 6px;
}
.vp-fact-label {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E5E7EB;
  font-weight: 600;
}
.vp-fact-text {
  font-size: 0.92rem;
  color: #D1D5DB;
  margin-top: 8px;
  line-height: 1.5;
}

/* Why-us / process strip */
.vp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.vp-step {
  padding: 6px 0;
  position: relative;
}
.vp-step-num {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--vp-yellow);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.vp-step h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--vp-ink);
}
.vp-step p {
  margin: 0;
  color: var(--vp-steel);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Contact section */
.vp-contact {
  background: var(--vp-ink);
  color: #F9FAFB;
  padding: 88px 24px;
  position: relative;
}
.vp-contact::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--vp-yellow) 0 24px,
    var(--vp-ink) 24px 48px
  );
}
.vp-contact .vp-section-head h2,
.vp-contact .vp-section-head p { color: #F9FAFB; }
.vp-contact .vp-eyebrow { color: var(--vp-yellow); }
.vp-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 36px;
}
.vp-ccard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 28px 24px;
  text-align: center;
  border-top: 3px solid var(--vp-yellow);
}
.vp-ccard .vp-cc-label {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--vp-yellow);
  margin-bottom: 10px;
  font-weight: 600;
}
.vp-ccard .vp-cc-value {
  font-size: 1.05rem;
  color: #F9FAFB;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  display: inline-block;
}
.vp-ccard .vp-cc-value:hover { color: var(--vp-yellow); }
.vp-contact-cta {
  text-align: center;
  margin-top: 10px;
}
