/* =========================================================
   Jamail Hardwoods — B2B Site (jamailhardwoods.com)
   Shared stylesheet · brand: navy + gold · Inter + Playfair
   ========================================================= */

:root {
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --border: #e2e8f0;
  --gold: #B8860B;
  --gold-dark: #9a7109;
  --navy: #1a2332;
  --gray: #64748b;
  --gray-dark: #334155;
  --success: #1a5a2f;
  --error: #dc2626;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Header ===== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-main {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
}
.brand-tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  margin-top: 4px;
}
.nav-primary {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-dark);
  transition: color 0.2s;
}
.nav-primary a:hover, .nav-primary a.active { color: var(--gold); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }
.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone:hover { color: var(--gold); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1a2332 0%, #2a3346 100%);
  color: var(--white);
  padding: 96px 24px 112px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero p.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-accent {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-large { padding: 16px 36px; font-size: 16px; }

/* ===== Section blocks ===== */
section.block {
  padding: 80px 24px;
}
section.block-alt { background: var(--light-gray); }
.block-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.block-heading {
  text-align: center;
  margin-bottom: 56px;
}
.block-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.block-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}
.block-heading p {
  font-size: 17px;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Audience cards (homepage) ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.audience-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.audience-card:hover::before { transform: scaleX(1); }
.audience-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.audience-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.audience-card p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 24px;
  flex-grow: 1;
}
.audience-card ul {
  list-style: none;
  margin-bottom: 28px;
}
.audience-card ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: var(--gray-dark);
}
.audience-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--gold);
  font-weight: 700;
}
.audience-card .btn { width: 100%; }

/* ===== Benefit grid (used on landing pages) ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* ===== Stats row ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
}

/* ===== Logo strip ===== */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0.7;
}
.logo-strip span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gray);
  text-transform: uppercase;
}

/* ===== Testimonial ===== */
.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.testimonial-card q {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--navy);
  display: block;
  margin-bottom: 24px;
  line-height: 1.5;
  quotes: """ """;
}
.testimonial-card cite {
  font-size: 14px;
  color: var(--gray);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== Process / steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--gray); }

/* ===== Form ===== */
.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  text-align: center;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-card .form-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-disclaimer {
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
  text-align: center;
}
.error-message { display: none; color: var(--error); font-size: 13px; margin-top: 12px; text-align: center; font-weight: 500; }
.success-message {
  display: none;
  text-align: center;
  padding: 32px 8px;
}
.success-message h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 10px;
}
.success-message p { color: var(--gray); font-size: 15px; }

/* ===== CTA strip (full-bleed dark) ===== */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.cta-strip h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 16px;
}
.cta-strip p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 28px;
}

/* ===== Footer ===== */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 32px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-main { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-primary { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 24px; gap: 0; border-top: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-primary.open { display: flex; }
  .nav-primary a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-primary a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 20px 80px; }
  section.block { padding: 56px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .testimonial-card { padding: 36px 24px; }
  .testimonial-card q { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
