/* DRU The Drywaller, LLC — brand palette pulled from the print ad */
:root {
  --bg: #0a1322;
  --bg-2: #0e1a30;
  --panel: #122341;
  --line: rgba(148, 170, 205, 0.16);
  --blue: #2e63c4;
  --blue-bright: #4a8ae8;
  --blue-deep: #1b4a9e;
  --steel: #eef1f5;
  --text: #c7d2e3;
  --muted: #8fa0ba;
  --radius: 14px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--steel);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.05em; }

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: #6ea3f0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 99, 196, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(46, 99, 196, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(18, 35, 65, 0.55);
  border-color: var(--line);
  color: var(--steel);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(74, 138, 232, 0.55);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Announcement bar ---------- */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 50%, var(--blue-deep));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.announce p {
  margin: 0;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.announce a {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.announce a:hover { border-bottom-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(10, 19, 34, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; }
.logo-nav { height: 40px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
}
.site-nav > a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.9rem;
  color: var(--text);
}
.site-nav > a:not(.btn):hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle .bars {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--steel);
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--steel);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(64px, 10vh, 120px) 20px 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(46, 99, 196, 0.28), transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 159px, rgba(148, 170, 205, 0.05) 159px 160px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(148, 170, 205, 0.04) 119px 120px),
    linear-gradient(180deg, #0c1729, var(--bg) 60%);
}

.kicker {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--blue-bright);
}

.logo-hero {
  width: min(92vw, 560px);
  height: auto;
  filter: drop-shadow(0 18px 44px rgba(46, 99, 196, 0.3));
}

.logo-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: clamp(0.85rem, 2.4vw, 1.15rem);
  color: var(--blue-bright);
  white-space: nowrap;
}

.rule {
  display: inline-block;
  width: clamp(30px, 6vw, 70px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright));
}
.rule:last-child { background: linear-gradient(90deg, var(--blue-bright), transparent); }

.hero-lead {
  max-width: 560px;
  margin: 26px 0 0;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--text);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(74, 138, 232, 0.8);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) clamp(16px, 4vw, 40px); }
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 6vw, 56px);
  text-align: center;
}

.kicker-rules {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.section-sub { margin: 14px auto 0; max-width: 520px; color: var(--muted); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(180deg, rgba(18, 35, 65, 0.85), rgba(14, 26, 48, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 138, 232, 0.5);
  box-shadow: 0 18px 36px rgba(4, 10, 22, 0.5);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  box-shadow: 0 8px 20px rgba(46, 99, 196, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.card-icon svg { width: 30px; height: 30px; }

.card p { margin: 10px 0 0; font-size: 0.94rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.gallery img:hover {
  transform: scale(1.02);
  border-color: rgba(74, 138, 232, 0.55);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-bright);
  background: rgba(46, 99, 196, 0.14);
  border: 1px solid rgba(74, 138, 232, 0.35);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature p { margin: 8px 0 0; font-size: 0.94rem; color: var(--muted); }

/* ---------- Quote section ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, rgba(18, 35, 65, 0.85), rgba(14, 26, 48, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  transition: background 0.15s ease;
}
a.contact-row:hover { background: rgba(46, 99, 196, 0.12); color: var(--text); }

.contact-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  box-shadow: 0 6px 16px rgba(46, 99, 196, 0.35);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-row strong {
  display: block;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.3;
}
.contact-row small { color: var(--muted); }

/* ---------- Form ---------- */
.quote-form {
  background: linear-gradient(180deg, rgba(18, 35, 65, 0.85), rgba(14, 26, 48, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.req { color: var(--blue-bright); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(10, 19, 34, 0.7);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }

.field input::placeholder,
.field textarea::placeholder { color: #5d6f8d; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(74, 138, 232, 0.22);
}

.field select option { background: var(--bg-2); }

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 2px 0 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.95rem;
}
.form-status.ok { color: #6fd48f; }
.form-status.err { color: #f08a8a; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #081020;
}

.logo-footer {
  height: 52px;
  width: auto;
  margin: 0 auto;
  opacity: 0.95;
}

.footer-tag {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-contact { margin: 14px 0 0; }
.footer-contact span { margin: 0 10px; color: var(--muted); }

.footer-legal {
  margin: 22px 0 0;
  font-size: 0.82rem;
  color: #5d6f8d;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .quote-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 24px 24px;
    gap: 18px;
    background: rgba(10, 19, 34, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}
