/* ── 609 Painter (elliotts.ai design system + painting industry) ── */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s var(--ease); }
.nav-scrolled { background: rgba(8,12,20,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-hidden { transform: translateY(-100%); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { padding: 8px 20px; background: var(--accent); color: var(--white) !important; border-radius: 100px; font-weight: 600; font-size: 13px !important; transition: all 0.3s var(--ease); }
.nav-cta:hover { background: var(--accent-hover); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,12,20,0.9) 0%, rgba(8,12,20,0.55) 50%, rgba(8,12,20,0.7) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--white); padding: 8px 20px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); margin-bottom: 28px; }
.hero-h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; color: var(--white); margin-bottom: 20px; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; margin-top: 48px; flex-wrap: wrap; }
.hero-trust span { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-radius: 100px; cursor: pointer; transition: all 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { padding: 14px 32px; font-size: 15px; background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 32px rgba(225,27,20,0.3); }
.btn-ghost { padding: 14px 28px; font-size: 15px; background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn-white { padding: 16px 36px; font-size: 15px; background: var(--white-pure); color: var(--bg); }
.btn-white:hover { box-shadow: 0 8px 32px rgba(255,255,255,0.15); }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-dark { background: var(--bg2); }
.section-head { text-align: center; margin-bottom: 64px; }
.label-pill { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); padding: 6px 16px; background: var(--accent-dim); border: 1px solid rgba(225,27,20,0.15); border-radius: 100px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -0.03em; }

/* ── Services ──────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all 0.4s var(--ease); position: relative; }
.svc-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.svc-featured { grid-column: span 2; }
.svc-badge { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 100px; background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(225,27,20,0.15); }
.svc-icon { font-size: 28px; margin-bottom: 16px; }
.svc-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.svc-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tags span { font-size: 11px; font-weight: 600; color: var(--text-dim); padding: 4px 12px; border-radius: 100px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }

/* ── Gallery ───────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; transition: all 0.4s var(--ease); }
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Reviews ───────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.4s var(--ease); }
.review-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.review-stars { color: var(--amber); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 700; color: var(--white); }

/* ── CTA ───────────────────────────────────────────────── */
.cta-section { padding: 120px 0; text-align: center; background: var(--bg2); }
.cta-content { position: relative; }
.cta-section h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-trust { display: flex; gap: 24px; justify-content: center; margin-top: 32px; }
.cta-trust span { font-size: 13px; color: var(--text-dim); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.cta-trust span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.5; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }

/* ── Chat Widget ──────────────────────────────────────────── */
.chat-toggle { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; box-shadow: 0 4px 20px rgba(225,27,20,0.3); transition: all 0.3s var(--ease); }
.chat-toggle:hover { transform: scale(1.1); }
.chat-widget { position: fixed; bottom: 90px; right: 24px; width: 380px; height: 500px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); flex-direction: column; z-index: 1000; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.chat-header { padding: 16px; color: white; display: flex; align-items: center; justify-content: space-between; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; max-width: 85%; }
.chat-msg.bot { background: rgba(255,255,255,0.05); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-wrap { display: flex; padding: 12px; border-top: 1px solid var(--border); gap: 8px; }
.chat-input-wrap input { flex: 1; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--white); font-size: 13px; outline: none; }
.chat-input-wrap input:focus { border-color: var(--accent); }
.chat-input-wrap button { padding: 8px 16px; color: white; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8,12,20,0.97); flex-direction: column; align-items: center; justify-content: center; gap: 24px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; color: var(--white); }
  .nav-toggle { display: flex; z-index: 101; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-h1 br { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-featured { grid-column: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 80px 0; }
  .cta-trust { flex-direction: column; align-items: center; gap: 12px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .chat-widget { width: calc(100vw - 32px); right: 16px; bottom: 80px; }
}
