/* ═══════════════════════════════════════════
   PlumberForHire.ca — Main Stylesheet
   Bold & Professional Theme
═══════════════════════════════════════════ */

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

:root {
  --navy:      #0d1b2a;
  --navy2:     #152336;
  --blue:      #1a4f72;
  --blue2:     #1a5276;
  --sky:       #2980b9;
  --orange:    #e67e22;
  --orange2:   #d35400;
  --orange-lt: #f39c12;
  --cream:     #f5f1ec;
  --white:     #ffffff;
  --text:      #1c2b3a;
  --muted:     #556473;
  --border:    #d5e3ee;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(13,27,42,.08);
  --shadow:    0 6px 28px rgba(13,27,42,.13);
  --shadow-lg: 0 16px 48px rgba(13,27,42,.18);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Lora', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .02em;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .75rem 1.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .18s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-sm { padding: .55rem 1.3rem; font-size: .88rem; }
.btn-submit { width: 100%; padding: .9rem; font-size: 1.05rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: 1140px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
}
.logo span { color: var(--orange); }
.logo em { color: rgba(255,255,255,.5); font-style: normal; }

#main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

#main-nav a {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #b8cfe0;
  text-decoration: none;
  padding: .45rem .85rem;
  border-radius: var(--radius);
  transition: background .18s, color .18s;
}
#main-nav a:hover { background: rgba(255,255,255,.09); color: var(--white); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  margin-left: .5rem;
}
.nav-cta:hover { background: var(--orange2) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #b8cfe0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 750px) {
  .hamburger { display: flex; }
  #main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: .5rem 0 .75rem;
  }
  #main-nav.open { display: flex; }
  #main-nav a { border-radius: var(--radius); }
  .nav-cta { margin-left: 0 !important; margin-top: .25rem; }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: linear-gradient(140deg, #080f18 0%, var(--navy) 40%, var(--blue) 100%);
  padding: 5.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.025) 0px,
      rgba(255,255,255,.025) 1px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
}

/* Accent stripe */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--orange);
}

.hero-inner {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1.5px solid rgba(230,126,34,.4);
  border-radius: 50px;
  padding: .3rem .9rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: .97;
}
.hero h1 .accent { color: var(--orange); display: block; }

.hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #90b0c8;
  margin-top: 1.25rem;
  line-height: 1.7;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Phone card */
.hero-phone-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  backdrop-filter: blur(4px);
  min-width: 220px;
}

.phone-label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #90b0c8;
}

.phone-number {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: .04em;
  line-height: 1;
}
.phone-number:hover { color: var(--orange-lt); }

.phone-hours {
  font-family: var(--font-head);
  font-size: .8rem;
  color: #6a8fa8;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

@media (max-width: 680px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-phone-card { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 1.25rem 1.5rem; }
  .phone-label { width: 100%; text-align: left; }
  .phone-number { text-align: left; }
}

/* ══════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════ */
.trust-bar {
  background: var(--orange);
  padding: .7rem 1.5rem;
}
.trust-inner {
  max-width: 1140px;
  margin: auto;
  display: flex;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.check { font-size: .85rem; opacity: .8; }

/* ══════════════════════════════════════════
   SECTIONS — SHARED
══════════════════════════════════════════ */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1140px; margin: auto; }

.section-header { margin-bottom: 2.75rem; }
.section-tag {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}
.section-tag.light { color: var(--orange-lt); }

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .75rem;
}
h2.light { color: var(--white); }

.section-lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}
.section-lead.light { color: #8ab0c8; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b8cfe0; }
.service-card:hover::after { width: 100%; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: .04em;
}
.service-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-section { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-left .section-tag { margin-bottom: .4rem; }
.about-left h2 { margin-bottom: 1.25rem; }
.about-left p {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: .9rem;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-block { font-family: var(--font-head); }
.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-num span { font-size: 2rem; }
.stat-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .2rem;
}

.brands-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  margin-bottom: 1.25rem;
}
.brands-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: .06em;
  margin-bottom: 1.1rem;
}
.brand-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}
.brand-list li {
  font-size: .88rem;
  color: #8ab0c8;
  padding-left: 1rem;
  position: relative;
}
.brand-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: .8rem;
}

.cta-card {
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-card p {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--white);
}
.cta-card .btn {
  background: var(--white);
  color: var(--orange2);
  white-space: nowrap;
}
.cta-card .btn:hover { background: #fef3e8; }

@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ══════════════════════════════════════════
   AREAS
══════════════════════════════════════════ */
.areas-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.areas-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,126,34,.12) 0%, transparent 70%);
  pointer-events: none;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
  margin-top: 2rem;
}
.area-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #90b0c8;
  text-align: center;
  transition: background .18s, color .18s, border-color .18s;
}
.area-chip em { font-style: normal; font-size: .75rem; opacity: .7; display: block; }
.area-chip:hover { background: rgba(230,126,34,.15); border-color: rgba(230,126,34,.4); color: var(--white); }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }

.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .25rem;
}
.contact-phone {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .02em;
  line-height: 1.1;
  margin-bottom: .15rem;
}
.contact-phone:hover { color: var(--orange); }
.contact-sub { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* Form */
.quote-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-group { display: flex; flex-direction: column; gap: .35rem; }

label {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.req { color: var(--orange); }

input, textarea, select {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem .9rem;
  width: 100%;
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(41,128,185,.12);
}
input.error, textarea.error { border-color: #c0392b !important; }
textarea { resize: vertical; min-height: 120px; }

/* Custom select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23556473' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-status {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form-status.success {
  display: block;
  background: #e8f8f0;
  color: #1e8449;
  border: 1px solid #a9dfbf;
}
.form-status.error-msg {
  display: block;
  background: #fdf0ef;
  color: #c0392b;
  border: 1px solid #f5c6c2;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 3px solid var(--orange);
}
.footer-inner { max-width: 1140px; margin: auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 3.5rem 1.5rem 2.5rem;
}
.footer-brand .logo { font-size: 1.3rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo { color: var(--white) !important; }
.footer-brand p { font-size: .88rem; color: #5a7a96; line-height: 1.7; max-width: 280px; }
.footer-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
  text-decoration: none;
  margin-top: 1rem;
  letter-spacing: .04em;
}
.footer-phone:hover { color: var(--orange-lt); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col ul li a {
  font-size: .85rem;
  color: #4a6a86;
  text-decoration: none;
  transition: color .18s;
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: .82rem; color: #3a5a74; }

@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════
   STICKY CALL BUTTON (mobile)
══════════════════════════════════════════ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 300;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .7rem 1.3rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(230,126,34,.45);
  display: none;
  align-items: center;
  gap: .5rem;
  transition: background .18s, transform .15s;
}
.sticky-call:hover { background: var(--orange2); transform: translateY(-2px); }

@media (max-width: 750px) {
  .sticky-call { display: flex; }
}

/* ══════════════════════════════════════════
   PRINT — hide decorative elements
══════════════════════════════════════════ */
@media print {
  #site-header, .sticky-call, .trust-bar { display: none; }
  .hero { padding: 2rem 0; }
}

/* ── Service card learn more link ── */
.card-link {
  display: inline-block;
  margin-top: .85rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: color .18s;
}
.card-link:hover { color: var(--orange2); }
