/* ═══════════════════════════════════════════════════════════════
   Omar Ted Construction — Main Stylesheet
   Palette: dark #1C1410 · orange #C8520A · white sections #fff
   ═══════════════════════════════════════════════════════════════ */

:root {
  --dark:        #1C1410;
  --dark-2:      #231a12;
  --dark-3:      #2e2418;
  --orange:      #C8520A;
  --orange-light:#e06010;
  --orange-dim:  rgba(200,82,10,.12);
  --text:        #1a1208;
  --text-light:  #6b5c4a;
  --text-muted:  #9a8878;
  --border:      #e8ddd0;
  --bg-light:    #faf8f5;
  --bg-white:    #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.15);
  --transition:  .2s ease;
  --font:        'Inter', system-ui, sans-serif;
  --container:   1180px;
}

/* ═══════════════════════════════════════════════════════════════
   THEME SWITCHER — body.theme-* overrides the palette + hero.
   "cinematic" is the default (uses :root values + image/grid/scan).
   ═══════════════════════════════════════════════════════════════ */

/* ── Clean Professional ── slate/navy, calm, no sci-fi accents ── */
body.theme-clean {
  --dark:        #1e293b;
  --dark-2:      #233044;
  --dark-3:      #334155;
  --orange:      #ea580c;
  --orange-light:#f97316;
  --orange-dim:  rgba(234,88,12,.12);
}
body.theme-clean .hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f1b2d 100%);
}
body.theme-clean .hero-grid,
body.theme-clean .hero-scanline { display: none; }
body.theme-clean .hero-eyebrow { font-family: var(--font); letter-spacing: .08em; }

/* ── Bold Orange ── orange-dominant, high energy ── */
body.theme-bold {
  --orange:      #b8470a;
  --orange-light:#d65510;
  --orange-dim:  rgba(184,71,10,.14);
}
body.theme-bold .hero {
  background: linear-gradient(135deg, #d65510 0%, #b8470a 55%, #8a3408 100%);
}
body.theme-bold .hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
}
body.theme-bold .hero-scanline {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  box-shadow: 0 0 12px 2px rgba(255,255,255,.5);
}
body.theme-bold .hero-eyebrow { color: #fff; }
body.theme-bold .eyebrow-tick { background: #fff; }
body.theme-bold .hero-badge {
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); color: #fff;
}
body.theme-bold .hero-img-cell {
  border-color: rgba(255,255,255,.4);
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 60%), rgba(0,0,0,.18);
}
body.theme-bold .hero-img-cell::before,
body.theme-bold .hero-img-cell::after { border-color: #fff; }
body.theme-bold .cell-label { color: rgba(255,255,255,.9); }
body.theme-bold .trust-bar { background: var(--dark); }

/* ── Minimal White ── light, airy, thin lines ── */
body.theme-minimal {
  --dark:   #1a1a1a;
  --dark-3: #2a2a2a;
}
body.theme-minimal .site-header {
  background: rgba(255,255,255,.96); border-bottom: 1px solid #ececec;
}
body.theme-minimal .brand-text strong { color: #1a1a1a; }
body.theme-minimal .brand-text small  { color: #888; }
body.theme-minimal .nav-link { color: #444; }
body.theme-minimal .nav-link:hover,
body.theme-minimal .nav-link.active { color: #1a1a1a; background: #f3f3f3; }
body.theme-minimal .nav-toggle span { background: #333; }
body.theme-minimal .main-nav { background: rgba(255,255,255,.98); }
body.theme-minimal .hero { background: #fafafa; }
body.theme-minimal .hero-grid,
body.theme-minimal .hero-scanline { display: none; }
body.theme-minimal .hero h1 { color: #1a1a1a; }
body.theme-minimal .hero-content p { color: #666; }
body.theme-minimal .hero-trust { border-top-color: #e5e5e5; }
body.theme-minimal .hero-trust-item strong { color: #1a1a1a; }
body.theme-minimal .hero-trust-item span   { color: #999; }
body.theme-minimal .hero-badge { background: var(--orange-dim); color: var(--orange); border-color: transparent; }
body.theme-minimal .hero-img-cell {
  background: #fff; border: 1px solid #e8e8e8; color: rgba(0,0,0,.10);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.theme-minimal .cell-label { color: rgba(200,82,10,.8); text-shadow: none; }
body.theme-minimal .btn-outline { border-color: #ccc; color: #333; }
body.theme-minimal .btn-outline:hover { background: #f0f0f0; border-color: #999; }

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg-white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Utility ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-size: .95rem; font-weight: 700;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange  { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-light); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark    { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-3); }
.btn-lg      { padding: .9rem 2rem; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 99px;
  margin-bottom: .9rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: .65rem;
}
.section-sub { color: var(--text-light); font-size: 1.05rem; max-width: 560px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(28,20,16,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 140px !important;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-text strong { display: block; color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.brand-text small  { display: block; color: #c8a888; font-size: .7rem; font-weight: 400; white-space: nowrap; }
.footer-logo-img {
  height: 72px !important;
  width: auto !important;
  max-width: 200px !important;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  margin-bottom: .75rem;
}

.main-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  color: rgba(255,255,255,.72); font-size: .9rem; font-weight: 500;
  padding: .45rem .85rem; border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: .45rem 1.1rem; border-radius: 6px; font-weight: 700;
}
.nav-cta:hover { background: var(--orange-light); }

.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  padding: .5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(to right, rgba(28,20,16,.93) 0%, rgba(28,20,16,.78) 32%, rgba(28,20,16,.30) 62%, rgba(28,20,16,.12) 100%),
    url("hero-accent.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 6rem 0 5rem;
  position: relative; overflow: hidden;
}
/* ── Animated perspective grid (2Advanced-style) ── */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,82,10,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,82,10,.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 30%, transparent 80%);
  animation: gridDrift 22s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 44px 44px, 44px 44px; }
}
/* ── Sweeping scan line ── */
.hero-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,82,10,.7), transparent);
  box-shadow: 0 0 12px 2px rgba(200,82,10,.5);
  animation: scanSweep 7s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
@keyframes scanSweep {
  0%, 100% { top: 6%;  opacity: 0; }
  10%      { opacity: 1; }
  90%      { opacity: 1; }
  50%      { top: 94%; }
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
/* ── Tech eyebrow ── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Courier New', monospace;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0; animation: fadeUp .6s ease .1s forwards;
}
.eyebrow-tick {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(200,82,10,.6);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(200,82,10,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(200,82,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,82,10,0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(200,82,10,.16); border: 1px solid rgba(200,82,10,.35);
  color: #e0946a; font-size: .8rem; font-weight: 600;
  padding: .35rem 1rem; border-radius: 99px;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .6s ease .1s forwards;
}
.hero-badge::before { content: '●'; color: var(--orange); font-size: .6rem; }
/* ── Hero content load-in ── */
.hero h1        { opacity: 0; animation: fadeUp .7s ease .22s forwards; }
.hero-content p { opacity: 0; animation: fadeUp .7s ease .36s forwards; }
.hero-actions   { opacity: 0; animation: fadeUp .7s ease .5s forwards; }
.hero-trust     { opacity: 0; animation: fadeUp .7s ease .66s forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p {
  color: rgba(255,255,255,.65); font-size: 1.05rem;
  max-width: 480px; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 1.5rem; margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem;
}
.hero-trust-item strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 800; }
.hero-trust-item span  { color: rgba(255,255,255,.5); font-size: .82rem; }
.hero-visual {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .85rem; height: 420px;
  opacity: 0; animation: fadeUp .8s ease .4s forwards;
}
.hero-img-cell {
  position: relative;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(200,82,10,.10), transparent 60%),
    rgba(20,14,10,.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(200,82,10,.3);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.16);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.hero-img-cell:hover {
  border-color: rgba(200,82,10,.7);
  box-shadow: 0 0 24px rgba(200,82,10,.3), inset 0 0 30px rgba(200,82,10,.1);
  transform: translateY(-2px);
}
.hero-img-cell:first-child { grid-row: span 2; }
.hero-img-cell img { width: 100%; height: 100%; object-fit: cover; }
/* HUD corner brackets */
.hero-img-cell::before,
.hero-img-cell::after {
  content: ''; position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--orange);
  opacity: .8;
}
.hero-img-cell::before { top: 8px;  left: 8px;  border-right: none; border-bottom: none; }
.hero-img-cell::after  { bottom: 8px; right: 8px; border-left: none;  border-top: none; }
/* Tech label inside each cell */
.cell-label {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  font-family: 'Courier New', monospace;
  font-size: .58rem; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,180,120,.9);
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
/* Featured project title caption (bottom of cell) */
.cell-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.4rem .8rem .6rem;
  font-size: .8rem; font-weight: 700; color: #fff;
  line-height: 1.25;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
/* Stacked rotating slides inside a hero panel */
.hero-img-cell .hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.hero-img-cell .hero-slide.is-active { opacity: 1; }

/* ── Facebook nav icon ── */
.nav-fb {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.nav-fb:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ── Footer contacts row ── */
.footer-contacts { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.footer-fb {
  display: inline-flex; align-items: center; gap: .45rem;
  color: rgba(255,255,255,.65); font-size: .88rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  padding: .35rem .75rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.footer-fb:hover { color: #fff; border-color: #1877f2; background: rgba(24,119,242,.15); }

/* ── Trust Numbers Bar ──────────────────────────────────────── */
.trust-bar {
  background: var(--orange);
  padding: 1.6rem 0;
}
.trust-bar-grid {
  display: flex; justify-content: space-around;
  flex-wrap: wrap; gap: 1rem;
}
.trust-item { text-align: center; color: #fff; }
.trust-item strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.trust-item span   { font-size: .85rem; opacity: .8; }

/* ── Services ───────────────────────────────────────────────── */
.services { padding: 5rem 0; background: var(--bg-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,82,10,.3);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--orange-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.service-card p  { color: var(--text-light); font-size: .9rem; line-height: 1.5; }

/* ── Portfolio Preview (Homepage) ───────────────────────────── */
.portfolio-preview { padding: 5rem 0; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
/* Photo-count badge */
.photo-count {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: rgba(0,0,0,.62); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: 99px;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}

/* ═══ Lightbox ═══════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.lightbox.open { display: flex; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(8,5,3,.92); animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 900px;
  display: flex; flex-direction: column; gap: .85rem;
  animation: lbRise .28s ease;
}
@keyframes lbRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.lb-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.lb-image {
  max-width: 100%; max-height: 70vh;
  border-radius: 10px; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  background: #14110e;
}
.lb-close {
  position: absolute; top: -2.6rem; right: 0;
  background: none; border: none; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; opacity: .8;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lb-nav:hover { background: var(--orange); border-color: var(--orange); }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }
.lb-caption { text-align: center; color: #fff; }
.lb-caption .lb-title { display: block; font-size: 1.05rem; font-weight: 700; }
.lb-caption .lb-loc   { display: block; color: rgba(255,255,255,.6); font-size: .82rem; margin-top: .15rem; }
.lb-thumbs {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: .25rem; justify-content: center; flex-wrap: nowrap;
}
.lb-thumbs img {
  width: 64px; height: 48px; object-fit: cover;
  border-radius: 6px; cursor: pointer; flex-shrink: 0;
  opacity: .55; border: 2px solid transparent;
  transition: opacity .15s, border-color .15s;
}
.lb-thumbs img:hover { opacity: .85; }
.lb-thumbs img.is-active { opacity: 1; border-color: var(--orange); }
@media (max-width: 600px) {
  .lb-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .lb-image { max-height: 60vh; }
}
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,.9) 0%, transparent 60%);
  padding: 1.25rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay .cat-tag {
  background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 4px;
  display: inline-block; margin-bottom: .4rem; align-self: flex-start;
}
.project-overlay h4 { color: #fff; font-size: 1rem; font-weight: 700; }
.project-overlay p  { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: .2rem; }
.placeholder-card {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.12);
}

/* ── Portfolio Page ─────────────────────────────────────────── */
.portfolio-page { padding: 4rem 0 5rem; }
.portfolio-page-hero {
  background: var(--dark);
  padding: 4rem 0 3rem; text-align: center;
}
.portfolio-page-hero h1 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; }
.portfolio-page-hero p  { color: rgba(255,255,255,.55); margin-top: .6rem; }

.filter-bar {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin: 2.5rem 0 1.75rem;
}
.filter-btn {
  padding: .5rem 1.1rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-light);
  font-size: .85rem; font-weight: 600;
  transition: all var(--transition);
}
.filter-btn:hover  { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center; padding: 4rem 1rem;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials { padding: 5rem 0; background: var(--dark); }
.testimonials .section-title { color: #fff; }
.testimonials .section-sub   { color: rgba(255,255,255,.5); }
.testimonials .section-tag   { background: rgba(200,82,10,.25); color: #e0946a; }
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.testi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.stars { color: var(--orange); font-size: 1rem; margin-bottom: .85rem; letter-spacing: 2px; }
.testi-card blockquote {
  color: rgba(255,255,255,.8); font-size: .95rem;
  line-height: 1.6; margin-bottom: 1.25rem;
  font-style: italic;
}
.testi-card blockquote::before { content: '"'; }
.testi-card blockquote::after  { content: '"'; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testi-info strong { display: block; color: #fff; font-size: .9rem; }
.testi-info span   { color: rgba(255,255,255,.4); font-size: .78rem; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--orange);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800; color: #fff; margin-bottom: .6rem;
}
.cta-banner p  { color: rgba(255,255,255,.75); margin-bottom: 1.75rem; }
.cta-banner .btn-dark { background: var(--dark); }
.cta-banner .btn-dark:hover { background: var(--dark-3); }

/* ── Quote Form ─────────────────────────────────────────────── */
.quote-page { padding: 0 0 5rem; }
.quote-hero {
  background: var(--dark); padding: 4rem 0 3rem; text-align: center;
}
.quote-hero h1 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; }
.quote-hero p  { color: rgba(255,255,255,.55); margin-top: .6rem; max-width: 540px; margin-inline: auto; }
.quote-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 3rem; margin-top: 3.5rem;
}
.form-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-light); margin-bottom: .38rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: .7rem .9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .95rem; color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200,82,10,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: .5rem; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: .75rem; }

.quote-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.sidebar-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-card ul li {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .45rem 0; font-size: .88rem; color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li .ic { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.contact-box {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 1.5rem; text-align: center;
}
.contact-box p   { color: rgba(255,255,255,.6); font-size: .88rem; margin-bottom: .75rem; }
.contact-box a   { color: #fff; font-size: 1.2rem; font-weight: 700; }

/* Alert / flash messages */
.alert {
  padding: .9rem 1.1rem; border-radius: var(--radius);
  margin-bottom: 1.5rem; font-size: .92rem; font-weight: 500;
}
.alert-success { background: #e8f8e0; color: #2a6a1a; border: 1px solid #b8e8a0; }
.alert-error   { background: #fde8e0; color: #8a1a0a; border: 1px solid #f8c0b0; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--dark); padding: 4rem 0 0; color: rgba(255,255,255,.6); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.footer-logo strong { color: #fff; font-size: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-phone {
  color: var(--orange); font-weight: 700; font-size: .95rem;
  transition: color var(--transition);
}
.footer-phone:hover { color: var(--orange-light); }
.footer-links h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: .9rem; }
.footer-links ul li { padding: .3rem 0; font-size: .86rem; }
.footer-links ul li a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--orange); }
.footer-contact h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: .5rem; }
.footer-contact p  { font-size: .86rem; }
.footer-bottom {
  padding: 1.2rem 0;
  font-size: .8rem; color: rgba(255,255,255,.3);
}

/* ── Mobile Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-sidebar { display: none; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(28,20,16,.98);
    padding: 1rem; gap: .25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 899;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-link { padding: .65rem .85rem; border-radius: 6px; font-size: .95rem; }
  .site-header { position: relative; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero-trust { flex-wrap: wrap; gap: 1rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testi-grid  { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .trust-bar-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
