 :root {
  --primary: #1e293b;
  --accent: #ea580c;
  --whatsapp: #16a34a;
  --whatsapp-dark: #15803d;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1f2937;
  --border: #e2e8f0;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-bottom: 64px;
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  flex-wrap: wrap;
}

.brand { text-decoration: none; color: #fff; display: flex; flex-direction: column; }
.brand-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.78rem; color: #cbd5e1; }

.nav-toggle {
  background: none;
  border: 1px solid #475569;
  color: #fff;
  font-size: 1.4rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.main-nav { display: none; width: 100%; padding: 16px 0; border-top: 1px solid #334155; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.main-nav a { color: #e2e8f0; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { color: #fb923c; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex !important; width: auto; align-items: center; gap: 20px; padding: 0; border: none; }
  .main-nav ul { flex-direction: row; gap: 18px; margin-bottom: 0; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-whatsapp { background: var(--whatsapp); color: #fff !important; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: rgba(15,23,42,0.45); }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-dark { background: var(--primary); color: #fff; }

/* Full-Bleed Fingal & DIY Hero Banner */
.hero-banner {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 64px 0;
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 850px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } }

.badge {
  display: inline-block;
  background: #ffedd5;
  color: #9a3412;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-banner h1 { font-size: 2rem; line-height: 1.2; color: #fff; margin-bottom: 16px; }
@media (min-width: 768px) { .hero-banner h1 { font-size: 2.45rem; } }

.hero-banner .lead { font-size: 1.1rem; color: #e2e8f0; margin-bottom: 24px; }
.page-hero { background: var(--bg-alt); padding: 44px 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.page-hero .lead { font-size: 1.08rem; color: #475569; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.trust-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; font-weight: 600; color: #f8fafc; }

.hero-card {
  background: #fff;
  color: var(--text);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.hero-card h3 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); color: var(--primary); }
.rate-list { list-style: none; margin-bottom: 16px; }
.rate-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.card-link { color: var(--accent); font-weight: 700; text-decoration: none; }

/* Sections & Cards */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-header h2 { font-size: 1.85rem; color: var(--primary); margin-bottom: 10px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card h3 { color: var(--primary); margin-bottom: 10px; }
.service-card p { color: #475569; margin-bottom: 14px; font-size: 0.95rem; }
.service-card ul { margin: 0 0 20px 18px; color: #334155; font-size: 0.92rem; }
.service-card li { margin-bottom: 6px; }

/* Before & After Gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.ba-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.ba-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ba-pair figure { position: relative; }
.ba-pair img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; cursor: zoom-in; display: block; }
.ba-pair figcaption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15,23,42,0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.ba-card h4 { color: var(--primary); margin-bottom: 4px; }
.ba-card p { font-size: 0.9rem; color: #475569; }

/* Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-modal.open { display: flex; }
.lightbox-modal img { max-width: 95%; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* Markdown Tables & Content */
.content-body { max-width: 860px; }
.content-body h3 { margin: 28px 0 12px; color: var(--primary); font-size: 1.35rem; }
.content-body p { margin-bottom: 16px; }
.content-body ul, .content-body ol { margin: 0 0 18px 22px; }
.content-body li { margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--primary); color: #fff; }
tr:nth-child(even) { background: var(--bg-alt); }

/* Form */
.contact-form { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); max-width: 600px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; font-family: inherit;
}

/* CTA & Footer */
.cta-banner { background: var(--primary); color: #fff; padding: 44px 0; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-inner p { color: #cbd5e1; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: #0f172a; color: #cbd5e1; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-bottom: 36px; }
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 18px 0; font-size: 0.85rem; text-align: center; }

.mobile-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px; background: #fff; border-top: 1px solid var(--border); z-index: 200;
}
@media (min-width: 768px) { .mobile-sticky-bar { display: none; } }
