/* CLT Plumbing - Industrial Precision Theme */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy: #1a2744;
  --navy-dark: #111c33;
  --navy-mid: #243258;
  --orange: #e85d04;
  --orange-dark: #c44d00;
  --orange-light: #ff7b2e;
  --cream: #f8f6f0;
  --gray: #6b7280;
  --light: #e9e7e0;
  --white: #ffffff;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  font-size: 1rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: white;
  padding: .5rem 1rem;
  z-index: 200;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* HEADER */
.site-header {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: .4rem;
}

.logo-clt {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
}

.logo-plumbing {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: .25rem;
}

.site-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: 2px;
  transition: color .2s, background .2s;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--orange);
  background: rgba(232,93,4,.1);
}

.header-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: .5rem 1.2rem !important;
  border-radius: 2px;
  font-weight: 800 !important;
}

.header-cta:hover {
  background: var(--orange-dark) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: .5rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1657558665549-bd7d82afed8c?w=1200&h=600&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
  opacity: .2;
}

.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--cream);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 8rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange);
  color: white;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .4rem 1.2rem .4rem .8rem;
  margin-bottom: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  animation: fadeInDown .6s ease both;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp .7s .1s ease both;
}

.hero h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp .7s .2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp .7s .3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .9rem 2rem;
  border-radius: 2px;
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-primary:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .9rem 2rem;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,.4);
  transition: border-color .2s, background .2s;
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-outline:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.hero-emergency {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: fadeInUp .7s .4s ease both;
}

.emergency-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.hero-emergency span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* SECTION BASE */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 550px;
  line-height: 1.7;
}

/* SERVICES */
.services-section { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-left: 4px solid var(--orange);
  padding: 1.75rem;
  border-radius: 0 4px 4px 0;
  transition: transform .25s, box-shadow .25s, border-left-color .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,39,68,.1);
  border-left-color: var(--navy);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,93,4,.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .5rem;
  color: var(--navy);
}

.service-desc {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* STATS BAND */
.stats-band {
  background: var(--navy);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(255,255,255,.02) 20px, rgba(255,255,255,.02) 21px
  );
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  position: relative;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--orange);
  display: block;
}

.stat-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: .4rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.about-image { position: relative; }

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--orange);
  border-radius: 4px;
  z-index: -1;
}

.veteran-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-detail-item { display: flex; flex-direction: column; gap: .2rem; }

.detail-label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}

.detail-value {
  font-size: .95rem;
  color: var(--navy);
  font-weight: 600;
}

/* TESTIMONIAL */
.testimonial-section {
  background: var(--navy-dark);
  padding: 5rem 1.5rem;
}

.testimonial-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: .7;
  color: var(--orange);
  opacity: .4;
  margin-bottom: .5rem;
  display: block;
}

blockquote {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--white);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-attr {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
}

/* SERVICE AREA */
.area-section { background: var(--cream); }

.area-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.area-chip {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 2px;
}

#service-area-map {
  height: 380px;
  border-radius: 4px;
  border: 3px solid var(--navy);
}

/* CONTACT BAND */
.contact-band {
  background: var(--orange);
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact-band h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .75rem;
}

.contact-band p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: transform .2s, box-shadow .2s;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-white:focus-visible { outline: 3px solid white; outline-offset: 3px; }

/* PAGE HEADER */
.page-header {
  background: var(--navy);
  padding: 4rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 30px,
    rgba(255,255,255,.02) 30px, rgba(255,255,255,.02) 31px
  );
}

.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; }

.page-header h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .5rem;
}

.page-header p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 550px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: .85rem;
}

.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* CONTACT PAGE */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

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

.contact-item { display: flex; gap: 1rem; align-items: flex-start; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .25rem;
}

.contact-item-text a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-item-text a:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--light);
  border-top: 4px solid var(--orange);
}

.contact-form h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--light);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }

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

.form-submit {
  width: 100%;
  padding: .9rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s;
}

.form-submit:hover { background: var(--orange-dark); }
.form-submit:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.form-success {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  color: #15803d;
  font-weight: 600;
  margin-top: 1rem;
}

/* HOURS TABLE */
.hours-table { margin-top: 1.5rem; width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--light); }
.hours-table td { padding: .5rem .25rem; font-size: .95rem; }
.hours-table td:first-child { font-weight: 600; color: var(--navy); }
.hours-table td:last-child { color: var(--gray); text-align: right; }

/* SERVICES PAGE */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-full-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--light);
  transition: box-shadow .25s, transform .25s;
}

.service-full-card:hover {
  box-shadow: 0 8px 30px rgba(26,39,68,.1);
  transform: translateY(-3px);
}

.service-card-header {
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
}

.service-card-body { padding: 1.5rem; }
.service-card-body p { color: #374151; line-height: 1.7; margin-bottom: 1rem; }

/* FOOTER */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  margin-bottom: .6rem;
  color: rgba(255,255,255,.7);
}

.footer-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: var(--orange);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.floating-cta:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(232,93,4,.5); }
.floating-cta:focus-visible { outline: 3px solid white; outline-offset: 3px; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }
.reveal:nth-child(7) { transition-delay: .6s; }
.reveal:nth-child(8) { transition-delay: .7s; }

@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid, .area-layout, .contact-page-layout, .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-accent { display: none; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy-dark); border-bottom: 3px solid var(--orange); padding: 1rem; }
  .site-nav.open ul { flex-direction: column; }
  .menu-toggle { display: flex; align-items: center; }
  .hero { min-height: 75vh; }
  .services-grid { grid-template-columns: 1fr; }
  .about-details { grid-template-columns: 1fr; }
}

@media (min-width: 768px) { .floating-cta { bottom: 2rem; right: 2rem; width: 64px; height: 64px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
