:root{
  --bg:#020617;
  --panel:#111827;
  --panel2:#0b1220;
  --text:#e5eef9;
  --muted:#a7b5c9;
  --line:#233047;
  --accent:#10b981;
  --accentText:#03120d;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(2,6,23,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;justify-content:space-between;align-items:center;padding:16px 0;gap:20px}
.brand-logo{height:132px;max-width:860px;width:auto;display:block;filter:drop-shadow(0 0 18px rgba(16,185,129,.6))}
.nav-links{display:flex;gap:20px;align-items:center}
.hero{padding:72px 0;border-bottom:1px solid var(--line);background:
 radial-gradient(circle at top right, rgba(16,185,129,.18), transparent 30%),
 radial-gradient(circle at left, rgba(255,255,255,.06), transparent 24%)}
.hero-grid,.service-area-grid,.contact-grid,.process-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:start}
.badges{display:flex;gap:10px;flex-wrap:wrap}
.pill{display:inline-flex;padding:10px 14px;border-radius:999px;border:1px solid rgba(16,185,129,.25);background:rgba(16,185,129,.1);color:#86efac;font-size:14px;font-weight:700}
.pill.rating{background:#0b1220;border-color:#334155;color:#facc15}
h1{font-size:clamp(40px,6vw,66px);line-height:1.02;margin:18px 0 16px;font-weight:900;letter-spacing:-.03em}
h2{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:0 0 10px;font-weight:900;letter-spacing:-.03em}
h3{margin:0 0 8px;font-size:24px}
.lead,.section-head p,.contact-grid p,.service-area-grid p,.process-intro p{font-size:18px;color:var(--muted)}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--accentText);padding:14px 20px;border-radius:18px;font-weight:800;border:none;box-shadow:0 12px 25px rgba(16,185,129,.18);cursor:pointer}
.btn-small{padding:10px 16px;border-radius:14px}
.btn-outline{background:transparent;color:var(--text);border:1px solid #334155;box-shadow:none}
.stats{margin-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:640px}
.stats div,.card,.info-card,.review,.hero-card,.project,.form-card,.video-card,.step,.review-highlight{background:var(--panel);border:1px solid var(--line);border-radius:28px}
.stats div{padding:18px;text-align:center}
.stats strong{display:block;font-size:28px}
.stats span{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.hero-side{display:grid;gap:20px}
.hero-card{overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.hero-card img{width:100%;height:100%;object-fit:cover}
.info-card{padding:28px}
.info-card ul{margin:14px 0 0;padding-left:18px;color:#d8e4f3}
.section{padding:84px 0}
.alt{background:rgba(15,23,42,.65);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{max-width:840px;margin-bottom:28px}
.eyebrow{color:#86efac;text-transform:uppercase;letter-spacing:.2em;font-size:12px;font-weight:800;margin-bottom:8px}
.card-grid,.review-grid,.featured-grid,.video-grid{display:grid;gap:20px}
.card-grid{grid-template-columns:repeat(3,1fr)}
.card{padding:26px}
.featured-grid{grid-template-columns:repeat(3,1fr)}
.project{overflow:hidden}
.project img{width:100%;aspect-ratio:4/3;object-fit:cover}
.project-body{padding:22px}
.meta{font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.review-highlight{padding:28px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.18);margin-top:30px}
.quote{font-size:28px;line-height:1.35;margin:0;max-width:840px}
.review-by{margin-top:12px;color:#d6e5f5;font-weight:700}
.steps{display:grid;gap:16px}
.step{display:flex;gap:18px;align-items:flex-start;padding:22px}
.step span{width:58px;height:58px;border-radius:18px;background:var(--accent);display:grid;place-items:center;color:var(--accentText);font-weight:900;flex-shrink:0}
.review-grid{grid-template-columns:repeat(4,1fr)}
.review{padding:26px}
.review div:first-child{color:#86efac;font-weight:900;margin-bottom:10px}
.review p{color:#dbe7f6}
.review span{display:block;color:var(--muted);font-size:14px;margin-top:6px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.chips span{padding:10px 14px;border-radius:999px;border:1px solid #334155;background:var(--panel);font-weight:700;color:#d4deeb}
.video-grid{grid-template-columns:repeat(2,1fr);margin-top:18px}
.video-card{padding:16px;overflow:hidden}
.tiktok-embed-wrap .tiktok-embed{margin:0 auto !important}
.contact-list div{margin:10px 0;color:#dbe7f6}
.form-card{padding:28px}
.form{display:grid;gap:12px}
.form input,.form textarea{width:100%;padding:14px 16px;border-radius:14px;border:1px solid #334155;background:var(--panel2);color:white;font:inherit}
.form textarea{min-height:140px;resize:vertical}
.form-note{margin-top:12px;color:var(--muted);font-size:14px}
.site-footer{border-top:1px solid var(--line);padding:26px 0;background:var(--bg)}
.footer-wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted)}
.footer-links{display:flex;gap:18px}
.floating-quote{position:fixed;right:18px;bottom:18px;background:var(--accent);color:var(--accentText);padding:14px 18px;border-radius:999px;font-weight:900;box-shadow:0 18px 30px rgba(16,185,129,.25)}
@media (max-width: 1100px){
  .card-grid,.review-grid,.featured-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 980px){
  .hero-grid,.service-area-grid,.contact-grid,.process-grid,.video-grid{grid-template-columns:1fr}
  .nav-links a:not(.btn){display:none}
}
@media (max-width: 640px){
  .card-grid,.review-grid,.featured-grid,.stats,.video-grid{grid-template-columns:1fr}
  .brand-logo{height:72px;max-width:360px}
  .floating-quote{left:16px;right:16px;text-align:center}
}


.tiktok-embed-wrap{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:20px;
  min-height:760px;
}
.tiktok-embed-wrap blockquote.tiktok-embed{
  width:100% !important;
  max-width:360px !important;
  min-width:280px !important;
  margin:0 auto !important;
}
@media (max-width: 980px){
  .tiktok-embed-wrap{
    min-height:720px;
  }
}
@media (max-width: 640px){
  .tiktok-embed-wrap{
    min-height:680px;
    padding:12px;
  }
}


.video-frame{
  position:relative;
  width:100%;
  max-width:380px;
  aspect-ratio:9/16;
  margin:0 auto;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #233047;
  background:#000;
}

.video-frame iframe{
  position:absolute;
  width:100%;
  height:100%;
  border:0;
}


.footer-wrap{
  align-items:center;
}
.footer-brand{
  display:flex;
  align-items:center;
}
.footer-logo{
  height:72px;
  width:auto;
  display:block;
  filter:drop-shadow(0 0 14px rgba(16,185,129,.35));
}
@media (max-width: 640px){
  .footer-wrap{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-logo{
    height:56px;
  }
}


.video-grid-separated{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}

.video-frame{
  max-width:420px;
}

.tiktok-embed-wrap,
.video-card{
  width:100%;
}

.video-grid-separated .video-frame{
  margin:0;
}

.video-grid-separated .video-card{
  padding:20px;
}

@media (min-width: 981px){
  .video-grid-separated{
    grid-template-columns:1fr;
  }
}


.tiktok-section{
  display:flex;
  flex-direction:column;
  gap:32px;
  margin-top:20px;
}

.tiktok-item{
  width:100%;
  max-width:360px;
  aspect-ratio:9/16;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #233047;
  background:#000;
}

.tiktok-item iframe{
  width:100%;
  height:100%;
  border:0;
}


.project-video{
  max-width:900px;
  margin-top:20px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #233047;
  background:#000;
}

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

.before-after-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:30px;
}

.before-after-item{
  background:#0b1220;
  border:1px solid #24314a;
  border-radius:18px;
  overflow:hidden;
}

.before-after-item img{
  width:100%;
  display:block;
}

.label{
  padding:10px 16px;
  font-weight:700;
  color:white;
  background:#111a2e;
  border-bottom:1px solid #24314a;
}

.project-image{
  max-width:900px;
  margin-top:25px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #24314a;
  background:#000;
}

.project-image img{
  width:100%;
  display:block;
}

.bathroom-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-top:25px;
}

.bathroom-grid img{
  width:100%;
  border-radius:18px;
  border:1px solid #24314a;
  display:block;
}


/* ===== Clean rebuild adjustments ===== */

/* Featured project cards: same height, clean crop, subtle hover */
.featured-grid{
  align-items: stretch !important;
}

.featured-grid .project{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  overflow:hidden !important;
  transition:transform .22s ease, box-shadow .28s ease, border-color .28s ease !important;
}

.featured-grid .project > img{
  display:block !important;
  width:100% !important;
  height:260px !important;
  min-height:260px !important;
  max-height:260px !important;
  object-fit:cover !important;
  transition:transform .38s ease !important;
}

.featured-grid .project .project-body{
  flex:1 1 auto !important;
}

.featured-grid .project:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 18px 34px rgba(0,0,0,.28) !important;
  border-color:rgba(16,185,129,.28) !important;
}

.featured-grid .project:hover > img{
  transform:scale(1.04) !important;
}

/* Compact transformation sections */
.project-image,
.project-video{
  max-width:680px !important;
  width:100%;
  margin:18px auto 0 auto !important;
}

.before-after-grid{
  max-width:900px !important;
  gap:18px !important;
}

.before-after-item img{
  aspect-ratio:4 / 3;
  object-fit:cover;
  max-height:360px;
}

.bathroom-grid{
  max-width:980px !important;
  gap:16px !important;
}

.bathroom-grid img{
  aspect-ratio:4 / 5;
  object-fit:cover;
  max-height:420px;
}

/* Deck replacement video fits page better */
.project-video{
  aspect-ratio:9 / 16;
  max-width:360px !important;
  border-radius:20px;
  overflow:hidden;
  background:#000;
}

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

@media (max-width: 640px){
  .featured-grid .project > img{
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
  }

  .project-video{
    max-width:300px !important;
  }

  .before-after-item img,
  .bathroom-grid img{
    max-height:none;
  }
}


/* FORCE FEATURED FIX */
.featured-grid .project img{
  height:260px !important;
  min-height:260px !important;
  max-height:260px !important;
  object-fit:cover !important;
  width:100% !important;
  transition:transform .35s ease !important;
}

.featured-grid .project:hover img{
  transform:scale(1.05) !important;
}


/* ===== Featured Projects rebuilt from live layout ===== */
.featured-grid{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:20px !important;
  align-items:stretch !important;
}

.featured-grid .project{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  overflow:hidden !important;
  border-radius:28px !important;
  background:var(--panel) !important;
  border:1px solid var(--line) !important;
  transition:transform .22s ease, box-shadow .28s ease, border-color .28s ease !important;
}

.featured-grid .project > img{
  width:100% !important;
  height:260px !important;
  min-height:260px !important;
  max-height:260px !important;
  object-fit:cover !important;
  display:block !important;
  transition:transform .38s ease !important;
}

.featured-grid .project .project-body{
  flex:1 1 auto !important;
  padding:22px !important;
}

.featured-grid .project:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 18px 34px rgba(0,0,0,.28) !important;
  border-color:rgba(16,185,129,.28) !important;
}

.featured-grid .project:hover > img{
  transform:scale(1.04) !important;
}

@media (max-width: 1100px){
  .featured-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media (max-width: 640px){
  .featured-grid{
    grid-template-columns:1fr !important;
  }

  .featured-grid .project > img{
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
  }
}


/* ===== Homepage conversion improvements ===== */
.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.hero-trust span{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  color:#d9e6f5;
  font-size:14px;
  font-weight:700;
}

.form-intro{
  margin:10px 0 16px;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
}

.form-card .btn{
  width:100%;
}

.review-highlight{
  align-items:center;
}

.contact-grid h2,
.hero h1{
  max-width: 14ch;
}

@media (max-width: 900px){
  .contact-grid h2,
  .hero h1{
    max-width:none;
  }
}
