/* ─── TOKENS (Premium Sleek Theme - DARK BY DEFAULT) ───────────────────────── */
:root {
  /* Accent Color: Professional Royal Blue */
  --accent:        #2563EB;
  --accent-hover:  #1D4ED8;

  /* Dark Mode Defaults (Base) */
  --bg-body:       #0A0A0B;
  --bg-surface:    #121214;
  --bg-inverse:    #FFFFFF;
  
  --text-main:     #FAFAFA;
  --text-muted:    #A1A1AA;
  --text-inverse:  #0A0A0B;
  
  --border:        #27272A;
  --nav-bg:        rgba(10, 10, 11, 0.85);
  
  --radius:        12px;
  --radius-pill:   99px;
  --shadow:        0 4px 20px rgba(0,0,0,0.3);
  --shadow-hover:  0 12px 30px rgba(0,0,0,0.5);
  --transition:    all 0.3s ease;
}

/* ─── LIGHT MODE TOKENS ─── */
[data-theme="light"] {
  --bg-body:       #F8FAFC;
  --bg-surface:    #FFFFFF;
  --bg-inverse:    #0A0A0B;
  
  --text-main:     #0F172A;
  --text-muted:    #64748B;
  --text-inverse:  #FFFFFF;
  
  --border:        #E2E8F0;
  --nav-bg:        rgba(255, 255, 255, 0.85);
  
  --shadow:        0 4px 20px rgba(0,0,0,0.03);
  --shadow-hover:  0 12px 30px rgba(0,0,0,0.08);
}

/* ─── RESET & TYPOGRAPHY ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6;
  color: var(--text-main); background-color: var(--bg-body); -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── ANIMATION ─── */
.fade-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(20px); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ─── STICKY NAV ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); transition: background-color 0.4s ease, border-color 0.4s ease;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.nav-logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-main); }
.nav-logo span, .footer-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-cta {
  background: var(--text-main); color: var(--bg-body) !important; padding: 10px 24px;
  border-radius: var(--radius-pill); font-weight: 600; transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.85; }

/* Theme Toggle Button */
.theme-toggle {
  background: transparent; border: 1px solid var(--border); cursor: pointer; color: var(--text-muted);
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--text-main); color: var(--text-main); }
.theme-toggle svg { width: 18px; height: 18px; }

/* Default is Dark, so show Sun to switch to Light */
.theme-toggle .sun { display: block; }
.theme-toggle .moon { display: none; }
/* When Light, show Moon */
[data-theme="light"] .theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: block; }

/* Mobile Nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); transition: var(--transition); border-radius: 2px;}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-surface);
    flex-direction: column; gap: 0; padding: 20px 0; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; font-size: 1rem; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 24px; text-align: center; }
}

/* ─── LAYOUT & SECTIONS ──────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--bg-surface); }
.section-header { margin-bottom: 56px; max-width: 650px; }
.section-label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 20px; }
.section-intro { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-pill); font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-main); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text-main); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero { position: relative; padding: 200px 0 120px; background: var(--bg-body); overflow: hidden; }
/* Subtle hero image treatment */
.hero-bg { position: absolute; inset: 0; background-image: url('https://cdn.mos.cms.futurecdn.net/zTxpYGWrvsqEBqSUFnMUTd.jpg'); background-size: cover; background-position: center; opacity: 0.15; filter: grayscale(100%); }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--bg-body)); }
.hero-content { position: relative; z-index: 1; max-width: 750px; }
.hero-title { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-muted); margin-bottom: 40px; max-width: 600px; font-weight: 400; line-height: 1.6;}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── CARDS & GRIDS ──────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { margin-bottom: 24px; color: var(--text-main); background: var(--bg-body); width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border);}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* ─── BEFORE & AFTER GALLERY ─────────────────────────────── */
.gallery-grid { display: grid; gap: 48px; }
.bna-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 24px; transition: var(--transition); }
.bna-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .bna-images { grid-template-columns: 1fr; } }
.bna-img-box { position: relative; border-radius: 8px; overflow: hidden; background: var(--bg-body); aspect-ratio: 4/3; }
.bna-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bna-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 12px; border-radius: 4px; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.05em; backdrop-filter: blur(4px);}
.bna-badge.after { background: var(--accent); }
.bna-info { padding: 0 8px; }
.bna-info h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.bna-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ─── QUOTE FORM & CONTACT ───────────────────────────────── */
.quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;}
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; gap: 48px; } }
.form-box { background: var(--bg-surface); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-main); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; background: var(--bg-body); border: 1px solid var(--border); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main); transition: var(--transition); appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.field textarea { min-height: 120px; resize: vertical; }
.btn-submit { width: 100%; padding: 16px; background: var(--text-main); color: var(--bg-body); border: none; border-radius: 8px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.btn-submit:hover { opacity: 0.85; }

.contact-info h3 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px;}
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-icon { width: 48px; height: 48px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-main); }
.contact-text strong { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 2px; }
.contact-text a { font-size: 1.1rem; font-weight: 500; color: var(--text-main); transition: color 0.2s;}
.contact-text a:hover { color: var(--accent); }

/* ─── ABOUT & EXTRAS ─────────────────────────────────────── */
.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-pill { background: transparent; border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.9rem; color: var(--text-muted); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 80px 0 40px; margin-top: auto;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; display: block; }
.footer-desc { color: var(--text-muted); max-width: 320px; font-size: 0.95rem; line-height: 1.6;}
.footer h4 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; color: var(--text-main); }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--text-muted); font-size: 0.95rem; transition: var(--transition); }
.footer ul a:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--text-muted); }

/* ─── FILE UPLOAD ───────────────────────────────────────── */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--bg-body);
  transition: var(--transition);
  text-align: center;
  padding: 32px 16px;
  cursor: pointer;
}
.file-upload-wrapper:hover {
  border-color: var(--accent);
}
.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-text {
  pointer-events: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.file-upload-text svg {
  width: 28px;
  height: 28px;
  color: var(--text-main);
  margin-bottom: 4px;
}