/* Shared styles for every page under /cabinets/.
   Keeps the visual language identical to the kitchen-remodeling template
   so the new section feels native to the site. Inter font is already loaded
   globally by unified-nav; we just declare the variables + layout here. */

:root {
  --gold: #f9cb00;
  --gold-dark: #cca600;
  --navy: #1a2b3c;
  --navy-light: #2d3e50;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e5e5e5;
  --success: #22c55e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═════════ Hero ═════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1a24 100%);
  padding: 80px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.8), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6), transparent);
}
.hero[data-bg]::before { background-image: var(--hero-bg); }
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249, 203, 0, 0.15); color: var(--gold);
  padding: 10px 18px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.hero-stats { display: flex; gap: 40px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-stat-value { font-size: 2.25rem; font-weight: 800; color: var(--gold); }
.hero-stat-label { font-size: 13px; opacity: 0.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═════════ Buttons ═════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(249,203,0,0.3); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ═════════ Trust Bar ═════════ */
.trust-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 20px 24px; }
.trust-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.trust-item svg { width: 20px; height: 20px; color: var(--success); }

/* ═════════ Section Scaffold ═════════ */
.section { padding: 80px 24px; }
.section.alt { background: var(--bg-light); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  background: rgba(249,203,0,0.15); color: var(--gold-dark);
  padding: 8px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-header h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; color: var(--navy); }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* ═════════ Services / Offering Grid ═════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border-radius: 16px; padding: 28px;
  border: 1px solid var(--border); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.section.alt .service-card { background: #fff; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; color: var(--gold-dark); font-weight: 600;
  font-size: 14px; text-decoration: none;
}
.service-card .learn-more:hover { color: var(--navy); }

/* ═════════ Value row ═════════ */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-tile { text-align: center; padding: 28px 16px; }
.value-tile .num { font-size: 2.5rem; font-weight: 800; color: var(--gold-dark); line-height: 1; }
.value-tile .lbl { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 6px; }

/* ═════════ Highlight (dark) section ═════════ */
.highlight { background: var(--navy); color: #fff; }
.highlight .section-header h2 { color: #fff; }
.highlight .section-header p { color: rgba(255,255,255,0.7); }
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
.highlight-content h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; }
.highlight-content h3 span { color: var(--gold); }
.highlight-content p { font-size: 1rem; opacity: 0.85; margin-bottom: 24px; line-height: 1.7; }
.highlight-list { list-style: none; margin-bottom: 24px; }
.highlight-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; }
.highlight-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.highlight-image { border-radius: 16px; overflow: hidden; }
.highlight-image img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ═════════ Process steps ═════════ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step { position: relative; padding-top: 48px; }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px;
  background: var(--gold); color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ═════════ FAQ ═════════ */
.faq-grid { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 0;
  overflow: hidden; transition: border-color 0.2s;
}
.faq:hover { border-color: var(--gold); }
.faq summary {
  cursor: pointer; padding: 18px 22px;
  font-weight: 700; color: var(--navy);
  list-style: none; position: relative;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--gold-dark);
  transition: transform 0.2s;
}
.faq[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 22px 18px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* ═════════ CTA ═════════ */
.cta { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); padding: 64px 24px; text-align: center; }
.cta h2 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; font-weight: 800; }
.cta p { font-size: 1.05rem; color: rgba(26,43,60,0.8); margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: var(--navy); color: #fff; }
.cta .btn-primary:hover { background: #0a1723; }
.cta .btn-secondary { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.cta .btn-secondary:hover { background: var(--navy); color: #fff; }

/* ═════════ Footer (simple, shared) ═════════ */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: 13px; margin-bottom: 16px; }
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ═════════ Responsive ═════════ */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1rem; }
  .hero::before { width: 100%; opacity: 0.2; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 1.75rem; }
  .section { padding: 56px 20px; }
  .section-header h2 { font-size: 1.6rem; }
  .highlight-grid { grid-template-columns: 1fr; gap: 28px; }
}
