/* =========================================
   SB EXPERT - Main Stylesheet
   Dark navy #0c1829 | Gold #c5a44e | Cream #faf5eb
   ========================================= */

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

:root {
  --navy: #0c1829;
  --navy-mid: #162235;
  --navy-light: #1e3a5f;
  --gold: #c5a44e;
  --gold-dark: #a8882e;
  --gold-light: #d4b96a;
  --cream: #faf5eb;
  --cream-dark: #f0e8d0;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #d1d5db;
  --text: #1f2937;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* HEADER */
header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem; max-width: 1200px; margin: 0 auto;
}
.logo img { height: 54px; width: auto; }
nav { display: flex; align-items: center; gap: 0.3rem; }
nav a {
  color: var(--gray-light); padding: 0.5rem 1rem;
  border-radius: 6px; font-weight: 500; font-size: 0.95rem; transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--navy); background: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* HERO */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  background-image: url('../images/hero-cabinet.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(12,24,41,0.87); }
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; color: var(--white);
}
.hero-badge {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 0.3rem 1rem; border-radius: 4px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.2rem; max-width: 700px; }
.hero-content h1 span { color: var(--gold-light); }
.hero-content p { font-size: 1.15rem; color: var(--gray-light); max-width: 600px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 6px; font-weight: 700;
  font-size: 1rem; transition: all 0.25s; cursor: pointer; border: none; letter-spacing: 0.02em;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(197,164,78,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(197,164,78,0.6); }
.btn-outline:hover { background: rgba(197,164,78,0.15); color: var(--white); border-color: var(--gold); }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 2.5rem; color: var(--gold-light); font-weight: 800; }
.hero-stat span { color: var(--gray-light); font-size: 0.9rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: 10px; padding: 2rem; transition: all 0.3s;
  border-top: 4px solid transparent;
}
.service-card:hover { border-top-color: var(--gold); box-shadow: 0 10px 40px rgba(197,164,78,0.12); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; background: rgba(197,164,78,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 2; }
.service-card h3 { margin-bottom: 0.8rem; color: var(--navy); }
.service-card p { color: var(--gray); margin-bottom: 1rem; }
.service-link { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.two-col-text h2 { color: var(--navy); margin-bottom: 1rem; }
.two-col-text h2 span { color: var(--gold); }
.two-col-text p { color: var(--gray); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.4rem 0; color: var(--gray); }
.check-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }

/* BANNER */
.banner-section {
  position: relative; padding: 80px 0;
  background-image: url('../images/vue-paris.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.banner-overlay { position: absolute; inset: 0; background: rgba(12,24,41,0.87); }
.banner-content { position: relative; z-index: 2; color: var(--white); text-align: center; max-width: 700px; margin: 0 auto; }
.banner-content h2 { color: var(--white); margin-bottom: 1rem; }
.banner-content p { color: var(--gray-light); font-size: 1.1rem; margin-bottom: 2rem; }
.numbers-row { display: flex; justify-content: center; gap: 4rem; margin-top: 2rem; flex-wrap: wrap; }
.number-item strong { display: block; font-size: 3rem; font-weight: 800; color: var(--gold-light); }
.number-item span { color: var(--gray-light); }

/* CTA SECTION */
.cta-section { background: var(--cream); }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: var(--navy); margin-bottom: 0.8rem; }
.section-header h2 span { color: var(--gold); }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-label { display: inline-block; color: var(--gold); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: 10px; overflow: hidden; transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-meta { font-size: 0.82rem; color: var(--gray); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.blog-tag { background: rgba(197,164,78,0.15); color: var(--gold-dark); padding: 0.2rem 0.7rem; border-radius: 4px; font-size: 0.78rem; font-weight: 600; }
.blog-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.6rem; }
.blog-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 1rem; }
.blog-card a.read-more { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

/* ARTICLE */
.article-hero { position: relative; height: 420px; background-size: cover; background-position: center; }
.article-hero-overlay { position: absolute; inset: 0; background: rgba(12,24,41,0.75); }
.article-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 3rem 1.5rem; max-width: 900px; margin: 0 auto; }
.article-hero-content h1 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.5rem); max-width: 800px; }
.article-meta { color: var(--gray-light); font-size: 0.9rem; margin-top: 0.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-container { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem; }
.article-body h2 { color: var(--navy); margin: 2rem 0 1rem; }
.article-body h3 { color: var(--navy); margin: 1.5rem 0 0.7rem; }
.article-body p { color: var(--text); }
.article-body a { color: var(--gold-dark); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }
.article-img-mid { width: 100%; max-height: 400px; object-fit: cover; border-radius: 10px; margin: 2rem 0; }
.article-cta-box { background: var(--navy); color: var(--white); border-radius: 10px; padding: 2rem; margin: 3rem 0; text-align: center; }
.article-cta-box h3 { color: var(--gold-light); margin-bottom: 0.8rem; }
.article-cta-box p { color: var(--gray-light); margin-bottom: 1.5rem; }
.breadcrumb { background: var(--cream); padding: 0.8rem 1.5rem; font-size: 0.88rem; color: var(--gray); }
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb span { margin: 0 0.4rem; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 80px 0 60px; text-align: center; border-bottom: 4px solid var(--gold); }
.page-hero h1 { color: var(--white); margin-bottom: 0.8rem; }
.page-hero p { color: var(--gray-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info h3 { color: var(--navy); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(197,164,78,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
.contact-item p { margin: 0; color: var(--gray); }
.contact-item strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.contact-form { background: var(--cream); border-radius: 12px; padding: 2.5rem; border: 1px solid var(--cream-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--cream-dark); border-radius: 6px; font-family: var(--font-main); font-size: 0.95rem; color: var(--text); background: var(--white); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* CLIENT PARAGRAPH */
.client-context-section { background: var(--cream); border-left: 4px solid var(--gold); padding: 2rem; border-radius: 8px; margin: 2rem 0; }
.client-context-section p { color: var(--text); margin-bottom: 0.8rem; }
.client-context-section p:last-child { margin-bottom: 0; }

/* 404 / SITEMAP */
.error-page { text-align: center; padding: 120px 1.5rem; background: var(--navy); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.error-inner { max-width: 500px; }
.error-page h1 { font-size: clamp(4rem, 15vw, 8rem); color: var(--gold); margin-bottom: 0; }
.error-page h2 { color: var(--white); margin-bottom: 1rem; }
.error-page p { color: var(--gray-light); max-width: 500px; margin: 0 auto 2rem; }
.sitemap-section { padding: 60px 0; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.sitemap-col h4 { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.sitemap-col ul { list-style: none; padding: 0; }
.sitemap-col li { padding: 0.3rem 0; }
.sitemap-col a { color: var(--gray); font-size: 0.95rem; }
.sitemap-col a:hover { color: var(--gold-dark); }

/* FOOTER */
footer { background: var(--navy); color: var(--gray-light); padding: 60px 0 0; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: var(--gold-light); margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--gray-light); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--navy-light); padding: 1.2rem 0; text-align: center; font-size: 0.85rem; color: var(--gray); }
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--gold-light); }

/* CONTENT */
.content-section { padding: 80px 0; }
.content-section h2 { color: var(--navy); margin-bottom: 1rem; }
.content-section h3 { color: var(--navy); margin: 1.5rem 0 0.7rem; }
.content-section p { color: var(--gray); }
.highlight-box { background: rgba(197,164,78,0.08); border-left: 4px solid var(--gold); border-radius: 8px; padding: 1.5rem; margin: 2rem 0; }
.highlight-box p { margin: 0; color: var(--text); }
.faq-item { border-bottom: 1px solid var(--cream-dark); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { color: var(--navy); margin-bottom: 0.5rem; }
.faq-item p { color: var(--gray); margin: 0; font-size: 0.95rem; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; padding: 2rem 1rem; }
.step-num { width: 60px; height: 60px; background: var(--gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; margin: 0 auto 1.2rem; }
.step h4 { color: var(--navy); margin-bottom: 0.5rem; }
.step p { color: var(--gray); font-size: 0.95rem; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero { min-height: 100vh; background-attachment: scroll; }
  .banner-section { background-attachment: scroll; }
  .footer-grid { grid-template-columns: 1fr; }
  nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 0.2rem; border-top: 1px solid var(--navy-light); }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
