/* ==========================================================================
   D.V.M. Utilities, Inc. — Shared Stylesheet
   Brand: Red / Black / White | Fonts: Bebas Neue, Barlow, Barlow Condensed
   ========================================================================== */

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

:root {
  --red: #CC0000;
  --red-dark: #990000;
  --black: #1C1C1C;
  --ink: #1C1C1C;
  --gray: #555;
  --muted: #888;
  --line: #E0E0E0;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F7;
  --bg-gray: #F0F0F0;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-img { height: 46px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.55rem;
  letter-spacing: 3px; color: var(--ink); text-decoration: none; line-height: 1;
}
.nav-logo-text span { color: var(--red); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 11px 24px; border: none; display: inline-block;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); transition: 0.3s; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: var(--red); color: #FFF; padding: 16px 40px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--red);
  transition: all 0.25s; display: inline-block; cursor: pointer;
}
.btn-primary:hover { background: transparent; color: var(--red); }
.btn-outline {
  background: transparent; color: #fff; padding: 16px 40px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.25s; display: inline-block; cursor: pointer;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-outline.dark { color: var(--ink); border-color: rgba(28,28,28,0.35); }
.btn-outline.dark:hover { border-color: var(--ink); background: rgba(0,0,0,0.04); }

/* ---------- SECTIONS ---------- */
section { padding: 100px 80px; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-label.center { justify-content: center; }
.section-label::before { content: ''; display: inline-block; width: 30px; height: 2px; background: var(--red); }
.section-label.center::after { content: ''; display: inline-block; width: 30px; height: 2px; background: var(--red); }
.section-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: 2px; line-height: 1; color: var(--ink);
}
.lead { font-size: 1.05rem; line-height: 1.8; color: var(--gray); max-width: 720px; }

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-header {
  margin-top: var(--nav-h); position: relative;
  padding: 90px 80px; color: #fff; overflow: hidden;
  background: linear-gradient(rgba(20,20,20,0.72), rgba(20,20,20,0.72));
  background-size: cover; background-position: center;
}
.page-header::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--red);
}
.page-header .section-label { color: #fff; }
.page-header .section-label::before { background: #fff; }
.page-header .section-title { color: #fff; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 640px; margin-top: 18px; font-size: 1.05rem; }

/* ---------- INFO STRIP ---------- */
.about-strip { background: var(--red); padding: 18px 80px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.about-strip p { font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #fff; opacity: 0.95; }
.divider { width: 1px; height: 20px; background: rgba(255,255,255,0.4); flex-shrink: 0; }

/* ---------- SERVICE CARDS ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; }
.service-card { background: var(--bg-alt); padding: 48px 36px; position: relative; overflow: hidden; transition: transform 0.3s; border: 1px solid #EBEBEB; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.service-icon { width: 56px; height: 56px; background: rgba(204,0,0,0.08); border: 1px solid rgba(204,0,0,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 1.5rem; }
.service-num { position: absolute; top: 24px; right: 28px; font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: rgba(0,0,0,0.05); line-height: 1; }
.service-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; line-height: 1.7; color: #666; }

/* ---------- STATS ---------- */
.stats-row { display: flex; gap: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.6rem; color: var(--red); line-height: 1; }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: #666; margin-top: 4px; }

/* ---------- ABOUT BOXES ---------- */
.about-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-box { background: var(--bg-alt); padding: 36px 32px; border: 1px solid #EBEBEB; border-left: 4px solid var(--red); }
.about-box-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; color: var(--red); line-height: 1; }
.about-box-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.assoc-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.assoc-badge { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: #666; border: 1px solid #CECECE; padding: 8px 16px; background: var(--bg-alt); }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1050px; margin: 0 auto; }
.testimonial { background: #fff; padding: 40px 32px; position: relative; border: 1px solid #E8E8E8; box-shadow: 0 2px 12px rgba(0,0,0,0.05); text-align: left; }
.testimonial::before { content: '"'; font-family: 'Bebas Neue', sans-serif; font-size: 6rem; color: var(--red); opacity: 0.15; position: absolute; top: 10px; left: 20px; line-height: 1; }
.testimonial p { font-size: 1rem; font-style: italic; color: #444; margin-bottom: 20px; line-height: 1.7; position: relative; z-index: 1; }
.testimonial cite { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); font-style: normal; }

/* ---------- FORMS ---------- */
.form-card { background: var(--bg-alt); border: 1px solid var(--line); padding: 44px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select {
  background: #fff; border: 1px solid #DCDCDC; color: var(--ink);
  padding: 14px 16px; font-family: 'Barlow', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 130px; }
.submit-btn {
  background: var(--red); color: #fff; padding: 16px 40px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase;
  border: 2px solid var(--red); cursor: pointer; transition: all 0.25s; align-self: flex-start;
}
.submit-btn:hover { background: transparent; color: var(--red); }

/* ---------- CONTACT DETAILS ---------- */
.contact-detail { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: rgba(204,0,0,0.08); border: 1px solid rgba(204,0,0,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-detail-text h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-detail-text p, .contact-detail-text a { font-size: 0.98rem; color: var(--ink); text-decoration: none; line-height: 1.6; }
.contact-detail-text a:hover { color: var(--red); }

/* ---------- FOOTER ---------- */
footer { background: var(--black); border-top: 2px solid var(--red); padding: 56px 80px 32px; color: #ccc; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand-block .footer-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 3px; color: #F5F5F5; margin-bottom: 14px; }
.footer-brand-block .footer-logo-text span { color: var(--red); }
.footer-brand-block p { font-size: 0.9rem; color: #999; line-height: 1.7; max-width: 320px; }
.footer-col h5 { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: #999; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid #333; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.8rem; color: #777; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; }
.footer-bottom a { color: #999; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- FADE-UP ANIMATION ---------- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- LIGHTBOX ---------- */
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.92); z-index:999; align-items:center; justify-content:center; }
.lightbox.active { display:flex; }
.lightbox img { max-width:90vw; max-height:88vh; object-fit:contain; box-shadow:0 0 60px rgba(0,0,0,0.8); }
.lb-close { position:fixed; top:24px; right:32px; font-size:2.5rem; color:#fff; cursor:pointer; line-height:1; z-index:1000; }
.lb-close:hover { color:var(--red); }
.lb-prev, .lb-next { position:fixed; top:50%; transform:translateY(-50%); font-size:2.5rem; color:#fff; cursor:pointer; padding:16px; z-index:1000; user-select:none; }
.lb-prev { left:16px; } .lb-next { right:16px; }
.lb-prev:hover, .lb-next:hover { color:var(--red); }
.lb-counter { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); color:#fff; font-family:'Barlow Condensed',sans-serif; letter-spacing:2px; font-size:0.9rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  section { padding: 70px 24px; }
  nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; width: 260px;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-left: 2px solid var(--red);
    box-shadow: -8px 8px 24px rgba(0,0,0,0.12);
    padding: 12px 0; transform: translateX(100%); transition: transform 0.3s;
    height: calc(100vh - var(--nav-h));
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 26px; width: 100%; }
  .nav-cta { margin: 8px 26px; }
  .page-header { padding: 60px 24px; }
  .about-strip { padding: 16px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { gap: 32px; justify-content: center; }
}
