/* ═══════════════════════════════════════════════════════════════
   B-MAG PREMIUM THEME — main.css
   Building Management Assistance Group
═══════════════════════════════════════════════════════════════ */

:root {
  --blue: #0A5CFF;
  --blue-dark: #072B61;
  --blue-mid: #1246cc;
  --white: #FFFFFF;
  --gray-light: #F4F4F4;
  --gray-mid: #C8C8C8;
  --gray-text: #6B7280;
  --text: #0D1117;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(10,92,255,0.10);
  --shadow-lg: 0 8px 48px rgba(10,92,255,0.15);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ─── NAV ─────────────────────────────────────────────── */
.bmag-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,92,255,0.08);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow var(--transition);
}
.bmag-nav.scrolled { box-shadow: 0 2px 32px rgba(10,92,255,0.12); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-display); font-weight: 800; font-size: 14px;
}
.nav-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--blue-dark); line-height: 1.2; }
.nav-logo-sub { font-size: 10px; color: var(--gray-text); letter-spacing: 0.5px; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu li a {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 6px;
  transition: all var(--transition); white-space: nowrap; display: block;
}
.nav-menu li a:hover { color: var(--blue); background: rgba(10,92,255,0.06); }
.nav-menu li.nav-cta a {
  background: var(--blue); color: white !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(10,92,255,0.30);
}
.nav-menu li.nav-cta a:hover { background: var(--blue-mid) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); display: block; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.site-main { padding-top: 72px; }
.section { padding: 96px 6%; }
.section-sm { padding: 64px 6%; }
.section-dark { background: var(--blue-dark); color: white; }
.section-light { background: var(--gray-light); }
.section-blue { background: var(--blue); color: white; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

/* ─── TYPOGRAPHY ──────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); }
h1 { font-size: clamp(2.4rem,5vw,4rem); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); background: rgba(10,92,255,0.08);
  padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.tag-white { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.12); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { font-size: 1.05rem; color: var(--gray-text); max-width: 560px; margin: 16px auto 0; line-height: 1.7; }
.section-dark .section-header p, .section-blue .section-header p { color: rgba(255,255,255,0.72); }

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; border: none;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; box-shadow: 0 4px 20px rgba(10,92,255,0.35); }
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(10,92,255,0.45); color: white; }
.btn-secondary { background: transparent; color: var(--blue-dark); border: 1.5px solid rgba(7,43,97,0.2); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: rgba(10,92,255,0.04); }
.btn-white { background: white; color: var(--blue-dark); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,0.18); color: var(--blue-dark); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0e3a7a 40%, var(--blue) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 80px 6%;
}
.hero-grid {
  position: absolute; inset: 0; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,92,255,0.35) 0%, transparent 70%);
}
.hero-glow2 {
  position: absolute; bottom: -20%; left: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; flex-shrink:0; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
.hero h1 { color: white; margin-bottom: 24px; }
.hero h1 .hero-sub { color: rgba(255,255,255,0.5); display: block; font-size: 0.55em; font-weight: 400; letter-spacing: 0; margin-bottom: 4px; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 540px; margin-bottom: 40px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 40px; margin-top: 60px; padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap;
}
.hero-stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: white; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* ─── GRIDS ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: white; border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(10,92,255,0.15); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg,rgba(10,92,255,.1),rgba(10,92,255,.05));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
  border: 1px solid rgba(10,92,255,.1);
}
.card p { font-size: 14px; color: var(--gray-text); line-height: 1.7; margin-top: 10px; }

/* ─── SERVICE CARDS ──────────────────────────────────── */
.service-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06); overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card-top { background: linear-gradient(135deg,var(--blue-dark),var(--blue)); padding: 28px; color: white; }
.service-card-icon { font-size: 32px; margin-bottom: 14px; }
.service-card-top h3 { color: white; margin-bottom: 6px; font-size: 1.1rem; }
.service-card-top p { font-size: 13px; color: rgba(255,255,255,0.7); }
.service-card-body { padding: 24px; }
.service-card-body ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.service-card-body li { display: flex; gap: 10px; font-size: 14px; color: var(--gray-text); align-items: flex-start; }
.service-card-body li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── PROCESS ────────────────────────────────────────── */
.process-steps { display: flex; gap: 0; position: relative; }
.process-steps::before {
  content:''; position:absolute; top:28px; left:calc(12.5%); right:calc(12.5%);
  height:2px; background:linear-gradient(90deg,var(--blue),var(--blue-dark)); z-index:0;
}
.process-step { flex:1; text-align:center; position:relative; z-index:1; padding:0 16px; }
.process-num {
  width:56px; height:56px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:white; font-family:var(--font-display); font-weight:800; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px; box-shadow:0 4px 16px rgba(10,92,255,.35);
}
.process-step h4 { font-family:var(--font-display); font-size:1rem; font-weight:700; margin-bottom:8px; }
.process-step p { font-size:13px; color:var(--gray-text); line-height:1.6; }

/* ─── PROJECT CARDS ──────────────────────────────────── */
.project-card { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); background:white; transition:all var(--transition); }
.project-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.project-img { height:200px; background:linear-gradient(135deg,var(--blue-dark),var(--blue)); display:flex; align-items:center; justify-content:center; font-size:48px; color:rgba(255,255,255,.3); position:relative; overflow:hidden; }
.project-img-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(7,43,97,.8) 0%,transparent 60%); }
.project-img-text { position:absolute; bottom:16px; left:16px; right:16px; color:white; font-size:12px; }
.project-badge { display:inline-block; font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:1px; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.2); color:white; padding:3px 8px; border-radius:4px; margin-bottom:4px; }
.project-body { padding:20px; }
.project-body h4 { font-size:15px; font-weight:700; margin-bottom:6px; }
.project-body p { font-size:13px; color:var(--gray-text); line-height:1.5; }
.project-meta { display:flex; gap:16px; margin-top:12px; padding-top:12px; border-top:1px solid var(--gray-light); flex-wrap:wrap; }
.project-meta span { font-size:12px; color:var(--gray-text); display:flex; align-items:center; gap:4px; }

/* ─── VALUE CARDS ────────────────────────────────────── */
.value-card { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-lg); padding:32px; transition:all var(--transition); }
.value-card:hover { background:rgba(255,255,255,.1); transform:translateY(-3px); }
.value-icon { font-size:32px; margin-bottom:16px; }
.value-card h3 { color:white; margin-bottom:10px; }
.value-card p { font-size:14px; color:rgba(255,255,255,.65); line-height:1.7; }

/* ─── WHY ITEMS ──────────────────────────────────────── */
.why-item { display:flex; gap:20px; align-items:flex-start; margin-bottom:32px; }
.why-check { width:44px; height:44px; border-radius:10px; flex-shrink:0; background:linear-gradient(135deg,var(--blue),var(--blue-dark)); display:flex; align-items:center; justify-content:center; color:white; font-size:18px; box-shadow:0 4px 12px rgba(10,92,255,.25); }
.why-item h4 { font-size:1rem; font-weight:700; margin-bottom:4px; }
.why-item p { font-size:14px; color:var(--gray-text); line-height:1.6; }

/* ─── CTA BANNER ─────────────────────────────────────── */
.cta-banner { background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%); border-radius:var(--radius-lg); padding:64px 48px; text-align:center; position:relative; overflow:hidden; }
.cta-banner::before { content:''; position:absolute; top:-50%; right:-10%; width:500px; height:500px; background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 60%); border-radius:50%; }
.cta-banner h2 { color:white; margin-bottom:16px; }
.cta-banner p { color:rgba(255,255,255,.75); margin-bottom:32px; font-size:1rem; max-width:480px; margin-left:auto; margin-right:auto; }
.btn-group { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ─── SPLIT IMAGE ────────────────────────────────────── */
.split-img { border-radius:var(--radius-lg); overflow:hidden; background:linear-gradient(135deg,var(--blue-dark),var(--blue)); aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; font-size:80px; color:rgba(255,255,255,.2); position:relative; }
.split-img-inner { position:absolute; inset:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; padding:32px; background:linear-gradient(to top,rgba(7,43,97,.8) 0%,transparent 50%); }
.split-img-inner h3 { color:white; font-size:1.4rem; }

/* ─── STATS ──────────────────────────────────────────── */
.stat-card { text-align:center; padding:32px 20px; }
.stat-num { font-family:var(--font-display); font-size:3rem; font-weight:800; color:white; line-height:1; margin-bottom:8px; }
.stat-label { font-size:14px; color:rgba(255,255,255,.7); line-height:1.4; }

/* ─── FORMS ──────────────────────────────────────────── */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group.full { grid-column:1/-1; }
label { font-size:13px; font-weight:600; color:var(--text); }
input,select,textarea { font-family:var(--font-body); font-size:14px; padding:13px 16px; border-radius:var(--radius); border:1.5px solid rgba(0,0,0,.1); background:white; color:var(--text); width:100%; transition:border-color var(--transition),box-shadow var(--transition); outline:none; }
input:focus,select:focus,textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(10,92,255,.08); }
textarea { resize:vertical; min-height:120px; }
.form-checkbox { display:flex; gap:10px; align-items:flex-start; cursor:pointer; }
.form-checkbox input { width:18px; height:18px; flex-shrink:0; margin-top:1px; cursor:pointer; }
.form-checkbox span { font-size:13px; color:var(--gray-text); line-height:1.5; }
.form-checkbox a { color:var(--blue); }
.upload-area { border:2px dashed rgba(10,92,255,.2); border-radius:var(--radius); padding:24px; text-align:center; cursor:pointer; background:rgba(10,92,255,.02); transition:all var(--transition); }
.upload-area:hover { border-color:var(--blue); background:rgba(10,92,255,.05); }
.upload-icon { font-size:28px; margin-bottom:8px; color:var(--blue); }
.upload-text { font-size:14px; color:var(--gray-text); }
.upload-text strong { color:var(--blue); }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-info-card { background:linear-gradient(135deg,var(--blue-dark),var(--blue)); border-radius:var(--radius-lg); padding:40px; color:white; }
.contact-info-item { display:flex; gap:16px; align-items:flex-start; margin-bottom:28px; }
.contact-info-icon { width:44px; height:44px; border-radius:10px; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.contact-info-label { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,.55); margin-bottom:3px; }
.contact-info-value { font-size:15px; font-weight:500; color:white; text-decoration:none; }
.contact-info-value:hover { color:rgba(255,255,255,.8); }

/* ─── BLOG ───────────────────────────────────────────── */
.blog-card { background:white; border-radius:var(--radius-lg); border:1px solid rgba(0,0,0,.06); overflow:hidden; box-shadow:var(--shadow); transition:all var(--transition); }
.blog-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.blog-card .post-thumbnail { height:180px; overflow:hidden; }
.blog-card .post-thumbnail img { width:100%; height:100%; object-fit:cover; }
.blog-thumb-placeholder { height:180px; background:linear-gradient(135deg,#e8f0fe,#c4d4fc); display:flex; align-items:center; justify-content:center; font-size:40px; }
.blog-body { padding:24px; }
.blog-meta { display:flex; gap:12px; align-items:center; margin-bottom:12px; flex-wrap:wrap; }
.blog-cat { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--blue); background:rgba(10,92,255,.08); padding:3px 8px; border-radius:4px; }
.blog-date { font-size:12px; color:var(--gray-text); }
.blog-body h3 { font-size:1rem; font-weight:700; margin-bottom:8px; line-height:1.4; }
.blog-body p { font-size:13px; color:var(--gray-text); line-height:1.6; }
.blog-read { display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-size:13px; font-weight:600; text-decoration:none; margin-top:16px; transition:gap var(--transition); }
.blog-read:hover { gap:10px; }

/* ─── TIMELINE ───────────────────────────────────────── */
.timeline { position:relative; padding-left:32px; }
.timeline::before { content:''; position:absolute; left:7px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,var(--blue),var(--blue-dark)); }
.timeline-item { position:relative; margin-bottom:36px; padding-left:24px; }
.timeline-dot { position:absolute; left:-25px; top:5px; width:14px; height:14px; border-radius:50%; background:var(--blue); border:2px solid white; box-shadow:0 0 0 3px rgba(10,92,255,.2); }
.timeline-year { font-family:var(--font-display); font-size:12px; font-weight:700; color:var(--blue); letter-spacing:1px; text-transform:uppercase; margin-bottom:4px; }
.timeline-item h4 { font-size:1rem; font-weight:700; margin-bottom:6px; }
.timeline-item p { font-size:14px; color:var(--gray-text); line-height:1.6; }

/* ─── FOUNDER CARD ───────────────────────────────────── */
.founder-card { background:linear-gradient(135deg,var(--blue-dark),var(--blue)); border-radius:var(--radius-lg); padding:40px; color:white; position:relative; overflow:hidden; }
.founder-card::after { content:'"'; position:absolute; top:16px; right:32px; font-size:120px; font-family:Georgia,serif; color:rgba(255,255,255,.06); line-height:1; }
.founder-avatar { width:80px; height:80px; border-radius:50%; background:rgba(255,255,255,.15); border:3px solid rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; font-size:32px; margin-bottom:20px; overflow:hidden; }
.founder-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.founder-card blockquote { font-size:1.05rem; line-height:1.7; color:rgba(255,255,255,.85); font-style:italic; margin-bottom:20px; position:relative; z-index:1; }
.founder-name { font-family:var(--font-display); font-weight:700; font-size:1rem; }
.founder-title { font-size:12px; color:rgba(255,255,255,.55); margin-top:2px; }

/* ─── MISSION/VISION ─────────────────────────────────── */
.mv-card { border-radius:var(--radius-lg); padding:36px; position:relative; overflow:hidden; }
.mv-card-mission { background:var(--blue); color:white; }
.mv-card-vision { background:var(--blue-dark); color:white; }
.mv-card h3 { color:white; font-size:1.3rem; margin-bottom:12px; }
.mv-card p { color:rgba(255,255,255,.75); font-size:15px; line-height:1.7; }
.mv-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:2px; color:rgba(255,255,255,.5); margin-bottom:12px; }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer { background:var(--blue-dark); color:white; padding:64px 6% 32px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand p { font-size:14px; color:rgba(255,255,255,.55); line-height:1.7; margin:16px 0 24px; max-width:260px; }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:38px; height:38px; border-radius:8px; background:rgba(255,255,255,.08); color:rgba(255,255,255,.7); display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:16px; transition:all var(--transition); font-weight:700; }
.footer-social a:hover { background:var(--blue); color:white; transform:translateY(-2px); }
.footer-col h4 { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,.5); margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col li a { font-size:14px; color:rgba(255,255,255,.65); text-decoration:none; transition:color var(--transition); }
.footer-col li a:hover { color:white; }
.footer-bottom { padding-top:32px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color:rgba(255,255,255,.4); }
.footer-bottom a { color:rgba(255,255,255,.4); text-decoration:none; }
.footer-bottom a:hover { color:rgba(255,255,255,.7); }

/* ─── DEVIS PAGE ─────────────────────────────────────── */
.devis-hero { background:linear-gradient(135deg,var(--blue-dark),var(--blue)); padding:80px 6%; text-align:center; color:white; }
.devis-hero h1 { color:white; margin-bottom:16px; }
.devis-hero p { color:rgba(255,255,255,.75); font-size:1.1rem; max-width:500px; margin:0 auto; }
.devis-step { display:flex; align-items:flex-start; gap:20px; background:white; border-radius:var(--radius-lg); padding:24px; border:1px solid rgba(0,0,0,.06); box-shadow:var(--shadow); margin-bottom:16px; }
.devis-step-num { width:40px; height:40px; border-radius:8px; flex-shrink:0; background:linear-gradient(135deg,var(--blue),var(--blue-dark)); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:800; color:white; font-size:16px; }
.devis-step h4 { font-size:15px; font-weight:700; margin-bottom:4px; }
.devis-step p { font-size:13px; color:var(--gray-text); line-height:1.5; }

/* ─── PAGE HERO ──────────────────────────────────────── */
.page-hero { background:linear-gradient(135deg,var(--blue-dark),var(--blue)); padding:80px 6%; color:white; }
.page-hero h1 { color:white; max-width:640px; margin-top:12px; }
.page-hero p { color:rgba(255,255,255,.72); max-width:540px; margin-top:16px; font-size:1.05rem; line-height:1.75; }

/* ─── FILTER TABS ────────────────────────────────────── */
.filter-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:40px; }
.filter-tab { font-family:var(--font-body); font-size:13px; font-weight:600; padding:8px 18px; border-radius:20px; cursor:pointer; border:1.5px solid rgba(0,0,0,.1); background:white; color:var(--text); transition:all var(--transition); }
.filter-tab.active, .filter-tab:hover { background:var(--blue); color:white; border-color:var(--blue); }

/* ─── CAREER ─────────────────────────────────────────── */
.career-perk { display:flex; gap:16px; align-items:flex-start; background:white; border-radius:var(--radius-lg); padding:24px; border:1px solid rgba(0,0,0,.06); box-shadow:var(--shadow); }
.career-perk-icon { font-size:28px; flex-shrink:0; }
.career-perk h4 { font-size:15px; font-weight:700; margin-bottom:4px; }
.career-perk p { font-size:13px; color:var(--gray-text); line-height:1.5; }

/* ─── WHATSAPP FLOAT ─────────────────────────────────── */
.whatsapp-float { position:fixed; bottom:28px; left:28px; z-index:999; width:56px; height:56px; border-radius:50%; background:#25D366; color:white; display:flex; align-items:center; justify-content:center; font-size:26px; box-shadow:0 4px 20px rgba(37,211,102,.4); text-decoration:none; transition:all var(--transition); }
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.5); }

/* ─── TOAST ──────────────────────────────────────────── */
.bmag-toast { position:fixed; bottom:24px; right:24px; z-index:9999; background:var(--blue-dark); color:white; padding:16px 24px; border-radius:var(--radius); font-size:14px; box-shadow:0 8px 32px rgba(0,0,0,.25); transform:translateY(100px); opacity:0; transition:all .4s cubic-bezier(.4,0,.2,1); display:flex; align-items:center; gap:10px; }
.bmag-toast.show { transform:translateY(0); opacity:1; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
.fade-in { opacity:0; transform:translateY(24px); transition:opacity .6s ease,transform .6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }
.fade-in-delay-1 { transition-delay:.1s; }
.fade-in-delay-2 { transition-delay:.2s; }
.fade-in-delay-3 { transition-delay:.3s; }
.fade-in-delay-4 { transition-delay:.4s; }
.fade-in-delay-5 { transition-delay:.5s; }

/* ─── UTILITY ────────────────────────────────────────── */
.text-center { text-align:center; }
.flex-center { display:flex; justify-content:center; }
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px} .mt-48{margin-top:48px} .mt-64{margin-top:64px}
.mb-0{margin-bottom:0}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr;gap:40px}
}
@media(max-width:768px){
  .grid-3,.grid-2{grid-template-columns:1fr}
  .nav-menu{display:none;flex-direction:column;gap:4px;position:absolute;top:72px;left:0;right:0;background:white;padding:16px;border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 8px 24px rgba(0,0,0,.08);}
  .nav-menu.open{display:flex}
  .nav-hamburger{display:flex}
  .process-steps{flex-direction:column;gap:32px}
  .process-steps::before{display:none}
  .form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .hero-stats{gap:24px}
  .section{padding:64px 5%}
  .cta-banner{padding:40px 24px}
  .blog-featured-grid{grid-template-columns:1fr !important}
}
@media(max-width:480px){
  h1{font-size:2rem} h2{font-size:1.6rem}
  .hero-ctas{flex-direction:column}
  .btn{justify-content:center}
}

/* ─── WP OVERRIDES ───────────────────────────────────── */
.wp-block-image img { border-radius: var(--radius); }
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content p { margin-bottom: 1.5em; color: var(--gray-text); line-height: 1.8; }
.entry-content h2 { margin: 2em 0 0.8em; }
.entry-content h3 { margin: 1.5em 0 0.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.5em; color: var(--gray-text); line-height: 1.8; }
.single-post-wrap { padding: 64px 6%; }
.page-content-wrap { padding: 64px 6%; }

/* Gutenberg */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
