/* ============================================================
   Weber Flooring — Commercial Division
   Palette derived from the logo: burgundy + charcoal + warm gray
   ============================================================ */
:root {
  --burgundy: #7a1f2b;
  --burgundy-dark: #611722;
  --burgundy-light: #9c3340;
  --charcoal: #1f2328;
  --slate: #4a4f57;
  --muted: #7c7268;
  --brass: #b08a4f;        /* warm accent that complements burgundy */
  --cream: #faf8f6;
  --cream-2: #f3efea;
  --line: #e7e1da;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(31, 35, 40, 0.06), 0 1px 2px rgba(31, 35, 40, 0.04);
  --shadow-md: 0 10px 30px rgba(31, 35, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 35, 40, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1140px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--charcoal); line-height: 1.2; margin: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--burgundy);
  margin: 0 0 12px;
}
.eyebrow--light { color: #e7b9bf; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--burgundy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--burgundy); color: var(--burgundy); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--slate);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--burgundy); }
.nav-cta {
  background: var(--burgundy);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-cta:hover { background: var(--burgundy-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-nav { display: none; flex-direction: column; padding: 12px 24px 20px; gap: 6px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 12px 6px; font-weight: 500; border-bottom: 1px solid var(--cream-2); }
.mobile-nav .nav-cta { text-align: center; border-bottom: none; margin-top: 6px; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #fff 0%, var(--cream) 45%, var(--cream-2) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "W";
  position: absolute;
  right: -40px; top: -60px;
  font-family: var(--font-serif);
  font-size: 30rem;
  line-height: 1;
  color: rgba(122, 31, 43, 0.04);
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 84px 24px 80px;
  position: relative;
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.hero-copy h1 span { color: var(--burgundy); display: block; }
.lead { font-size: 1.13rem; color: var(--slate); max-width: 38ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats {
  list-style: none; display: flex; gap: 36px; padding: 28px 0 0; margin: 0;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--burgundy); font-family: var(--font-serif); }
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card-bar { height: 8px; background: linear-gradient(90deg, var(--burgundy), var(--burgundy-light)); }
.hero-card-body { padding: 30px 28px; }
.hero-card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brass); background: #faf4ea;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.hero-card-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.hero-card-body > p { margin: 0 0 18px; color: var(--slate); }
.hero-card-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-top: 1px solid var(--cream-2); font-weight: 500; color: var(--charcoal);
}
.hero-card-row::before {
  content: "✓"; color: #fff; background: var(--burgundy); width: 22px; height: 22px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
}

/* ===== Trust bar ===== */
.trustbar { background: var(--charcoal); color: #cfc9c2; }
.trustbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 24px; flex-wrap: wrap;
}
.trustbar-inner > span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #8d857c; }
.trust-items { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-items span { font-weight: 600; font-size: 0.92rem; color: #efe9e2; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 14px;
}
.section-sub { font-size: 1.05rem; color: var(--slate); margin: 0; }

.grid { display: grid; gap: 22px; }

/* ===== Cards / Services ===== */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service { padding: 30px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d9cfc6; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--burgundy); background: #f6eceedd; margin-bottom: 18px;
}
.service h3 { font-size: 1.18rem; margin-bottom: 8px; }
.service p { margin: 0; font-size: 0.96rem; }

/* ===== Why ===== */
.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-item { padding: 8px 4px; }
.why-item h3 {
  font-size: 1.1rem; margin-bottom: 8px; padding-left: 16px; position: relative;
}
.why-item h3::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  background: var(--burgundy); border-radius: 4px;
}
.why-item p { margin: 0; padding-left: 16px; font-size: 0.96rem; }

/* ===== Industries ===== */
.industries-grid { grid-template-columns: repeat(3, 1fr); }
.industry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 24px; font-weight: 600; color: var(--charcoal); font-size: 1.05rem;
  box-shadow: var(--shadow-sm); position: relative; padding-left: 52px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.industry::before {
  content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border: 3px solid var(--brass); border-radius: 3px;
}
.industry:hover { border-color: var(--burgundy); transform: translateY(-2px); }

/* ===== Process ===== */
.process {
  list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.process li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--burgundy); color: #fff;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 16px;
}
.process h3 { font-size: 1.12rem; margin-bottom: 6px; }
.process p { margin: 0; font-size: 0.94rem; }

/* ===== Team ===== */
.team-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.team-card { display: flex; gap: 0; overflow: hidden; }
.team-photo {
  width: 168px; min-height: 100%; object-fit: cover; object-position: top center;
  background: var(--cream-2); flex-shrink: 0;
}
.team-photo--initials {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: #fff;
  background: linear-gradient(160deg, var(--burgundy), var(--burgundy-dark));
}
.team-body { padding: 26px 24px; }
.team-body h3 { font-size: 1.3rem; margin-bottom: 2px; }
.team-role { color: var(--burgundy); font-weight: 600; font-size: 0.95rem; margin: 0 0 12px; }
.team-desc { font-size: 0.95rem; margin: 0 0 16px; }
.team-link { color: var(--burgundy); font-weight: 600; font-size: 0.92rem; }
.team-link:hover { color: var(--burgundy-dark); text-decoration: underline; }

/* ===== Contact ===== */
.contact-section {
  background: linear-gradient(165deg, var(--burgundy-dark) 0%, var(--burgundy) 55%, #8a2632 100%);
  color: #f3e6e8;
}
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { color: #fff; font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; }
.contact-copy > p { color: #e7c9cd; font-size: 1.05rem; margin: 0 0 24px; max-width: 42ch; }
.contact-points { list-style: none; padding: 0; margin: 0; }
.contact-points li { padding: 10px 0 10px 30px; position: relative; color: #f3e6e8; font-weight: 500; }
.contact-points li::before {
  content: "✓"; position: absolute; left: 0; top: 10px; color: #fff;
  background: rgba(255,255,255,0.18); width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem;
}

/* ===== Form ===== */
.lead-form { padding: 32px 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.field label span { color: var(--burgundy); }
.field input, .field textarea {
  font-family: inherit; font-size: 0.98rem; color: var(--charcoal);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--burgundy); background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}
.field input.invalid, .field textarea.invalid { border-color: #c0392b; background: #fdf3f2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: 0.92rem; font-weight: 500; text-align: center; min-height: 1.2em; }
.form-status.success { color: #1f7a4d; }
.form-status.error { color: #c0392b; }
#submitBtn[disabled] { opacity: 0.7; cursor: not-allowed; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: #b8b1a9; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px; padding: 52px 24px 36px; flex-wrap: wrap;
}
.footer-brand { max-width: 340px; }
.footer-brand img { height: 54px; background: #fff; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.94rem; margin: 0; color: #9b938b; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; align-content: flex-start; }
.footer-nav a { color: #cfc9c2; font-weight: 500; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #33373d; padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: center; }
.footer-bottom span { font-size: 0.85rem; color: #837b73; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .hero-card { max-width: 440px; }
  .services-grid, .why-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav[data-open="true"] { display: flex; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .services-grid, .why-grid, .industries-grid, .process, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .team-card { flex-direction: column; }
  .team-photo, .team-photo--initials { width: 100%; height: 220px; min-height: 0; }
  .footer-inner { flex-direction: column; gap: 28px; }
}
