/* ABOUT: consistent spacing between sections */
.about-feature{ margin-bottom:var(--space); }

/* when a service-block is followed by an about-feature, add a clean gap */
.service-block + .about-feature{
  margin-top:var(--space);
}

/* when an about-feature is followed by a service-block, add a clean gap */
.about-feature + .service-block{
  margin-top:var(--space);
}

/* if you have two service-blocks stacked on About, keep spacing consistent */
.service-block + .service-block{
  margin-top:var(--space);
}

:root{
  --bg:#0b0f14;
  --panel:#0f1621;
  --panel2:#121b28;
  --text:#e9eef6;
  --muted:#a9b6c7;
  --gold:#caa65b;
  --gold2:#e0c07a;
  --stroke:rgba(255,255,255,.10);
  --radius:18px;
  --max:1120px;
  --space:32px;
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

*{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(202,166,91,.18), transparent 60%),
    radial-gradient(900px 400px at 80% 10%, rgba(50,140,255,.12), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

img,
video,
iframe{
  max-width:100%;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* ================= GLOBAL LINKS ================= */

a,
a:visited{
  color:var(--text);
  text-decoration:none;
}

a:hover{
  color:var(--gold2);
  text-decoration:underline;
}

.service-block a,
.service-block a:visited,
.soft-cta a,
.soft-cta a:visited,
.faq a,
.faq a:visited{
  color:var(--gold2);
  text-decoration:none;
}

.service-block a:hover,
.soft-cta a:hover,
.faq a:hover{
  text-decoration:underline;
}

/* ================= SECTION SPACING ================= */

.section{
  padding:60px 0;
}

.page-head{
  margin-bottom:var(--space);
}

.service-stack{
  display:flex;
  flex-direction:column;
  gap:var(--space);
}

/* ================= HEADER ================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  background:rgba(7,10,14,.90);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:72px;
}

.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  text-decoration:none;
  overflow:hidden;
}

.brand:hover{
  text-decoration:none;
}

.brand-logo{
  display:block;
  width:188px;
  height:52px;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:screen;
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
}

.nav-links a{
  color:var(--muted);
  font-weight:700;
  font-size:.92rem;
  text-decoration:none;
  white-space:nowrap;
}

.nav-links a:visited{
  color:var(--muted);
}

.nav-links a:hover{
  color:var(--text);
  text-decoration:none;
}

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:800;
  text-decoration:none;
  transition:.15s ease;
}

.btn:hover{
  transform:translateY(-1px);
  text-decoration:none;
}

.btn-gold{
  border-color:rgba(202,166,91,.45);
  background:linear-gradient(
    180deg,
    rgba(202,166,91,.28),
    rgba(202,166,91,.10)
  );
  color:#fff;
}

.btn-gold:visited{
  color:#fff;
}

/* ================= TYPOGRAPHY ================= */

h1{
  font-size:clamp(2rem, 4vw, 3.2rem);
  margin:0 0 14px;
  text-shadow:0 12px 32px rgba(0,0,0,.5);
}

h2{
  font-size:clamp(1.6rem, 2.8vw, 2.2rem);
  margin:0 0 10px;
}

.lead{
  font-size:1.05rem;
  max-width:70ch;
  color:rgba(233,238,246,.85);
}

.muted{
  color:var(--muted);
}

.kicker{
  color:var(--gold2);
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.75rem;
  margin-bottom:8px;
}

.service-sub{
  color:var(--muted);
  max-width:80ch;
}

/* ================= HOME HERO ================= */

.hero-bleed{
  padding:48px 0 36px;
  background-image:
    linear-gradient(
      90deg,
      rgba(8,10,14,.75) 0%,
      rgba(8,10,14,.45) 45%,
      rgba(8,10,14,.20) 75%,
      rgba(8,10,14,.10) 100%
    ),
    url("/assets/img/hero.webp");
  background-size:cover;
  background-position:center;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.hero{
  min-height:520px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:end;
}

.hero-copy{
  padding-bottom:20px;
}

.eyebrow{
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.8rem;
  font-weight:900;
  margin-bottom:10px;
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

/* ================= HERO QUICK ESTIMATE CARD ================= */

.card-glass{
  padding:22px;
  border-radius:18px;
  background:linear-gradient(
    180deg,
    rgba(18,27,40,.78),
    rgba(12,18,26,.65)
  );
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(16px);
  box-shadow:0 30px 70px rgba(0,0,0,.6);
}

.card-title{
  font-weight:900;
  margin-bottom:6px;
}

.check{
  margin:14px 0 18px;
  padding-left:18px;
  color:var(--muted);
}

.check li{
  margin:6px 0;
}

/* ================= PROOF STRIP ================= */

.proof-strip{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(0,0,0,.18);
}

.proof-items{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}

.proof-item{
  flex:1;
  min-width:220px;
}

.proof-title{
  font-weight:800;
  margin-bottom:4px;
}

.proof-sub{
  color:var(--muted);
  font-size:.95rem;
}

@media (min-width:880px){

  .proof-item:not(:last-child){
    border-right:1px solid rgba(255,255,255,.08);
    padding-right:40px;
  }

}

/* ================= GENERAL CARDS ================= */

.section-tight{
  padding:40px 0;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.card{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.02)
  );
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:22px;
  transition:.2s ease;
}

.card:hover{
  transform:translateY(-4px);
  border-color:rgba(202,166,91,.35);
}

.card p{
  color:var(--muted);
}

/* ================= SERVICES BLOCKS ================= */

.service-block{
  position:relative;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.045),
    rgba(255,255,255,.018)
  );
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  transition:.2s ease;
  overflow:hidden;
}

.service-block:hover{
  transform:translateY(-2px);
  border-color:rgba(202,166,91,.38);
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:20px;
  margin-top:18px;
}

.service-points{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

.service-points li{
  margin:6px 0;
}

.soft-cta{
  margin-top:14px;
  font-weight:900;
}

/* ================= CTA ================= */

.cta-banner{
  margin-top:var(--space);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(
    180deg,
    rgba(202,166,91,.16),
    rgba(255,255,255,.02)
  );
  border:1px solid rgba(202,166,91,.25);
  border-radius:24px;
  padding:28px;
}

/* ================= ABOUT FEATURE ================= */

.about-feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space);
  align-items:stretch;
  margin-bottom:var(--space);
}

.about-feature.reverse{
  direction:rtl;
}

.about-feature.reverse > *{
  direction:ltr;
}

.about-media{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  aspect-ratio:16/11;
  min-height:280px;
  background:rgba(255,255,255,.02);
}

.about-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(
      600px 260px at 20% 10%,
      rgba(202,166,91,.16),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.08),
      rgba(0,0,0,.35)
    );
  pointer-events:none;
}

.about-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.about-text{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.02)
  );
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* ================= FAQ ================= */

.faq{
  margin-top:16px;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.012)
  );
}

.faq details > summary{
  list-style:none;
}

.faq details > summary::-webkit-details-marker{
  display:none;
}

.faq-item{
  border-top:1px solid rgba(255,255,255,.08);
}

.faq-item:first-child{
  border-top:none;
}

.faq-item summary{
  cursor:pointer;
  padding:16px 46px 16px 18px;
  font-weight:900;
  color:var(--text);
  position:relative;
  user-select:none;
}

.faq-item summary::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:transparent;
  transition:.15s ease;
}

.faq-item summary::after{
  content:"›";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%) rotate(90deg);
  font-size:22px;
  line-height:1;
  color:rgba(224,192,122,.85);
  transition:transform .18s ease, opacity .18s ease;
  opacity:.85;
}

.faq-item[open] summary::after{
  transform:translateY(-50%) rotate(-90deg);
  opacity:1;
}

.faq-item summary:hover{
  color:var(--gold2);
}

.faq-item summary:hover::before{
  background:rgba(202,166,91,.65);
}

.faq-answer{
  padding:0 18px 16px 18px;
  color:var(--muted);
}

.faq-answer p{
  margin:10px 0 0;
}

/* ================= PROJECTS PAGE HELPERS ================= */

a,
a:visited{
  color:inherit;
}

.service-block a,
.service-block a:visited,
.faq a,
.faq a:visited{
  color:var(--gold2);
}

.muted{
  color:var(--muted);
}

.note{
  margin-top:18px;
  padding:14px 16px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(255,255,255,.03);
  color:var(--muted);
}

.note code{
  color:rgba(233,238,246,.92);
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  padding:2px 6px;
  border-radius:8px;
}

/* ================= PROJECTS ================= */

.projects-filters{
  margin-bottom:22px;
}

.filters-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.filters-input,
.filters-select{
  background:rgba(255,255,255,.03);
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:12px 14px;
  color:var(--text);
  outline:none;
}

.filters-input{
  min-width:240px;
  flex:1;
}

.filters-select{
  min-width:160px;
}

.filters-input::placeholder{
  color:rgba(233,238,246,.45);
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

.project-card{
  text-decoration:none;
  color:var(--text);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.02)
  );
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  transition:.18s ease;
  display:flex;
  flex-direction:column;
}

.project-card:hover{
  transform:translateY(-2px);
  border-color:rgba(202,166,91,.38);
}

.project-thumb{
  aspect-ratio:16/10;
  background:rgba(255,255,255,.02);
}

.project-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.project-body{
  padding:18px;
}

.project-body h3{
  margin:6px 0 8px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.chip{
  font-size:.82rem;
  color:rgba(233,238,246,.85);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:6px 10px;
  border-radius:999px;
}

/* ================= PROJECT DETAIL ================= */

.project-hero{
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  background:rgba(255,255,255,.02);
}

.project-hero img{
  width:100%;
  height:auto;
  display:block;
}

/* ================= PROJECT GALLERY ================= */

.project-gallery{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.project-shot{
  margin:0;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.02);
}

.project-shot img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.project-shot figcaption{
  padding:10px 12px;
}

/* ================= BEFORE / AFTER ================= */

.ba-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.ba-img{
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
  background:rgba(255,255,255,.02);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}

.ba-img img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
}

/* ================= PROJECT IMAGE RENDERING ================= */

.project-card__image-wrap{
  width:100%;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}

.project-card__image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:translateZ(0);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  image-rendering:auto;
  transition:transform .22s ease;
}

.project-card:hover .project-card__image-wrap img{
  transform:scale(1.015);
}

/* ================= FOOTER ================= */

.site-footer{
  margin-top:48px;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.015),
      rgba(0,0,0,.18)
    );
}

.footer-grid{
  display:grid;
  grid-template-columns:1.7fr 1fr 1fr 1.25fr;
  gap:42px;
  padding:52px 0 38px;
}

.footer-brand-column{
  min-width:0;
}

.footer-logo-link{
  display:inline-block;
  width:220px;
  max-width:100%;
  overflow:hidden;
}

.footer-logo-link:hover{
  text-decoration:none;
}

.footer-logo{
  display:block;
  width:220px;
  height:64px;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:screen;
}

.footer-intro{
  max-width:390px;
  color:var(--muted);
  margin:16px 0 18px;
  font-size:.95rem;
}

.footer-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.footer-trust span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(202,166,91,.22);
  background:rgba(202,166,91,.06);
  color:rgba(233,238,246,.88);
  font-size:.78rem;
  font-weight:800;
}

.footer-title{
  color:#fff;
  font-weight:900;
  margin-bottom:14px;
}

.footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.footer-column a{
  color:var(--muted);
  font-size:.92rem;
}

.footer-column a:visited{
  color:var(--muted);
}

.footer-column a:hover{
  color:var(--gold2);
  text-decoration:none;
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 0 28px;
  border-top:1px solid rgba(255,255,255,.07);
  color:rgba(169,182,199,.72);
  font-size:.84rem;
}

.footer-legal{
  display:flex;
  gap:18px;
}

.footer-legal a{
  color:rgba(169,182,199,.72);
}

.footer-legal a:visited{
  color:rgba(169,182,199,.72);
}

.footer-legal a:hover{
  color:var(--gold2);
  text-decoration:none;
}

/* ================= MOBILE MENU ================= */

.mobile-menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.mobile-menu-toggle span{
  display:block;
  width:20px;
  height:2px;
  border-radius:999px;
  background:var(--text);
  transition:transform .18s ease, opacity .18s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2){
  opacity:0;
}

.mobile-menu-toggle.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.mobile-nav{
  display:none;
}

/* ================= RESPONSIVE ================= */

@media (max-width:1024px){

  .hero{
    grid-template-columns:1fr;
  }

  .grid-3{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1.5fr 1fr 1fr;
  }

  .footer-grid .footer-column:last-child{
    grid-column:2 / 4;
  }

}

@media (max-width:980px){

  .projects-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

}

@media (max-width:920px){

  .site-header{
    background:rgba(8,11,16,.95);
  }

  .nav{
    min-height:66px;
  }

  .brand{
    min-width:0;
  }

  .brand-logo{
    width:168px;
    height:46px;
  }

  .nav-links{
    display:none;
  }

  .mobile-menu-toggle{
    display:inline-flex;
    flex:0 0 auto;
  }

  .mobile-nav{
    display:none;
    padding:0 0 14px;
    border-top:1px solid rgba(255,255,255,.08);
  }

  .mobile-nav.is-open{
    display:grid;
    gap:8px;
  }

  .mobile-nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:46px;
    padding:12px 2px;
    color:rgba(233,238,246,.86);
    font-weight:800;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.07);
  }

  .mobile-nav a:hover{
    color:#fff;
    text-decoration:none;
  }

  .mobile-nav-actions{
    display:grid;
    gap:10px;
    margin-top:8px;
  }

  .mobile-nav-actions a{
    justify-content:center;
    border-bottom:0;
  }

  .mobile-nav-actions .btn{
    width:100%;
  }

  .section{
    padding:42px 0;
  }

  .section-tight{
    padding:34px 0;
  }

  .container{
    padding-left:20px;
    padding-right:20px;
  }

  .card:hover,
  .service-block:hover,
  .project-card:hover{
    transform:none;
  }

  .about-feature{
    grid-template-columns:1fr;
  }

  .grid-2{
    grid-template-columns:1fr;
  }

  .cta-banner{
    flex-direction:column;
    align-items:flex-start;
  }

  .project-gallery{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .ba-wrap{
    grid-template-columns:1fr;
  }

}

@media (max-width:700px){

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:34px 24px;
  }

  .footer-brand-column{
    grid-column:1 / -1;
  }

  .footer-grid .footer-column:last-child{
    grid-column:auto;
  }

}

@media (max-width:640px){

  h1{
    font-size:clamp(2rem, 9vw, 2.75rem);
    line-height:1.08;
  }

  h2{
    font-size:clamp(1.45rem, 7vw, 2rem);
    line-height:1.15;
  }

  .lead{
    font-size:1rem;
    line-height:1.65;
  }

  .btn{
    min-height:46px;
  }

  .page-head{
    margin-bottom:24px;
  }

  .projects-grid{
    grid-template-columns:1fr;
  }

  .project-gallery{
    grid-template-columns:1fr;
  }

  .ba-img img{
    height:280px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    padding-top:40px;
  }

  .footer-brand-column,
  .footer-grid .footer-column:last-child{
    grid-column:auto;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-logo-link{
    width:200px;
  }

  .footer-logo{
    width:200px;
    height:58px;
  }

}

@media (max-width:420px){

  .brand-logo{
    width:152px;
    height:42px;
  }

}