
:root{
  --bg:#0b0f14;
  --panel:rgba(255,255,255,0.06);
  --line:rgba(255,255,255,0.14);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.72);
  --accent:#00d1b2;
  --accent2:#f5c542;
  --shadow:0 18px 60px rgba(0,0,0,0.45);
  --r:18px;
  --max:1180px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(0,209,178,0.22), transparent 60%),
              radial-gradient(1200px 700px at 110% 10%, rgba(245,197,66,0.16), transparent 60%),
              linear-gradient(180deg,#070a0f,#0b0f14 40%,#070a0f);
}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.muted{color:var(--muted)}
.small{font-size:12px}
.link{color:rgba(255,255,255,0.92); text-decoration:underline; text-underline-offset:3px}

.nav{
  position:sticky; top:0; z-index:30;
  backdrop-filter: blur(12px);
  background: rgba(11,15,20,0.64);
  border-bottom: 1px solid var(--line);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px; min-width:240px}
.brand-mark{
  width:48px; height:48px; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); background:rgba(255,255,255,0.06);
  display:grid; place-items:center;
}
.brand-mark img{width:100%; height:100%; object-fit:cover}
.brand-title{font-weight:900; letter-spacing:.2px}
.brand-sub{color:var(--muted); font-size:12px; margin-top:2px}
.nav-links{display:none; gap:14px; color:var(--muted); font-weight:700; font-size:14px}
.nav-links a:hover{color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color:var(--text);
  font-weight:900;
  letter-spacing:.2px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22);}
.btn.primary{border-color: rgba(0,209,178,0.5); background: linear-gradient(90deg, rgba(0,209,178,0.20), rgba(245,197,66,0.10));}
.pill{font-size:12px; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background: rgba(255,255,255,0.06); color:var(--muted); font-weight:800}

.hero{position:relative; min-height:72vh; display:flex; align-items:flex-end; padding:42px 0}
.hero-media{position:absolute; inset:0; overflow:hidden}
.hero-video{width:100%; height:100%; object-fit:cover; filter:saturate(1.05) contrast(1.05)}
.hero-fallback{width:100%; height:100%; background: linear-gradient(180deg, rgba(0,209,178,0.25), rgba(11,15,20,1));}
.hero-gradient{position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,15,20,0.18), rgba(11,15,20,0.86));}
.hero-content{position:relative; padding-bottom:18px}
.hero-badge{display:inline-block; padding:7px 12px; border-radius:999px; border:1px solid var(--line); background: rgba(11,15,20,0.55); backdrop-filter: blur(10px); color:var(--muted); font-weight:900; font-size:12px}
h1{font-size: clamp(30px, 4.8vw, 56px); line-height:1.03; margin:12px 0 10px; letter-spacing:-.7px}
.hero p{max-width: 65ch; color: var(--muted); font-size:16px}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.hero-kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:16px}
.kpi{border:1px solid var(--line); background: rgba(255,255,255,0.05); border-radius:16px; padding:12px}
.kpi strong{display:block}
.kpi span{display:block; color: var(--muted); font-size:12px; margin-top:3px}

.section{padding:42px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px}
h2{margin:0; font-size:24px; letter-spacing:-.4px}
.grid3{display:grid; gap:12px; grid-template-columns:1fr}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: var(--r);
  padding:16px;
  box-shadow: var(--shadow);
}
.icon{width:42px;height:42px;border-radius:14px; display:grid; place-items:center; border:1px solid var(--line); background: rgba(255,255,255,0.08); margin-bottom:10px}
.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted)}

.g-card:hover img{transform: scale(1.04)}

.reviews{display:grid; gap:12px; grid-template-columns: 1fr}
.review-card{border:1px solid var(--line); background: rgba(255,255,255,0.06); border-radius:16px; padding:16px}
.review-top{display:flex; gap:12px; align-items:center; margin-bottom:10px}
.avatar{width:42px; height:42px; border-radius:14px; display:grid; place-items:center; font-weight:900; border:1px solid var(--line); background: rgba(255,255,255,0.08)}
.stars{color: var(--accent2); font-weight:900; letter-spacing:1px}
.review-name{font-weight:900}
.review-text{margin:0; color:var(--muted); line-height:1.55}

.split{display:grid; gap:12px; grid-template-columns: 1fr}
.form{display:grid; gap:10px}
.row2{display:grid; gap:10px; grid-template-columns: 1fr}
.input{
  width:100%; padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline:none;
}
textarea.input{min-height:120px; resize:vertical}
.label{display:block; font-size:12px; color:var(--muted); font-weight:800; margin:10px 0 6px}
.check{display:flex; gap:10px; align-items:center; color:var(--muted); font-weight:700; font-size:13px}
.check input{transform: scale(1.1)}
.result{margin-top:12px; padding:12px; border-radius:14px; border:1px dashed rgba(255,255,255,0.28); color: rgba(255,255,255,0.92)}
.calc .btn{margin-top:10px}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px}
.chip{padding:8px 10px; border-radius:999px; border:1px solid var(--line); background: rgba(255,255,255,0.05); color: var(--muted); font-weight:800; font-size:12px}

.map iframe{width:100%; height:420px; border:0; border-radius:16px; overflow:hidden}

.cta{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.footer{padding:26px 0 40px; border-top:1px solid var(--line); color:var(--muted)}
.footer-inner{display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap}
.foot-brand{font-weight:900; color:rgba(255,255,255,0.88)}

.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.78);
  display:none;
  align-items:center; justify-content:center;
  padding:18px;
  z-index:60;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1100px, 100%);
  max-height: calc(100vh - 80px);
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
}
.lb-close{
  position:fixed; top:16px; right:16px;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.22);
  background: rgba(11,15,20,0.65);
  color: rgba(255,255,255,0.92);
  font-weight:900;
  cursor:pointer;
}

@media (min-width: 900px){
  .nav-links{display:flex}
  .grid3{grid-template-columns: repeat(3, 1fr)}
    .reviews{grid-template-columns: repeat(3, 1fr)}
  .split{grid-template-columns: 1.1fr 0.9fr}
  .row2{grid-template-columns: 1fr 1fr}
}

/* Gallery (fixed) */
.gallery{
  display:grid;
  gap:12px;
  grid-template-columns: repeat(2, 1fr);
}
.g-card{
  position:relative;
  padding:0;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  aspect-ratio: 1 / 1;
}
.g-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transform: scale(1);
  transition: transform .35s ease;
}
.g-card:hover img{ transform: scale(1.04); }
.g-overlay{
  position:absolute;
  right:10px;
  bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(11,15,20,0.62);
  border:1px solid var(--line);
  color:rgba(255,255,255,0.92);
  font-size:12px;
  font-weight:900;
}
@media (min-width: 900px){
  .gallery{ grid-template-columns: repeat(4, 1fr); }
  .g-card{ aspect-ratio: 4 / 5; }
}
/* Multipage helpers */
.page-hero{
  padding:44px 0 18px;
}
.page-hero .card{
  box-shadow: var(--shadow);
}
.breadcrumb{
  color: var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:8px;
}
.footer a{ text-decoration: underline; text-underline-offset: 3px; }

/* Larger logo */
.brand-mark{
  width:72px !important;
  height:72px !important;
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.brand-title{
  font-size:20px;
}

.hero{
  background-image:url('assets/g_01.avif');
  background-size:cover;
  background-position:center;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
}
.hero .hero-content{
  position:relative;
}


/* Phone button alignment fix */
.nav-cta{
  display:flex;
  align-items:center;
  justify-content:center;
}

.nav-cta .btn{
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  font-size:16px;
}

.nav-inner{
  align-items:center;
}



/* Story section professional layout */
.story-section{
  max-width:900px;
  margin:60px auto;
  padding:40px 30px;
  line-height:1.8;
  font-size:18px;
  background:rgba(255,255,255,0.03);
  border-radius:14px;
}

.story-section h2{
  text-align:center;
  margin-bottom:20px;
  font-size:32px;
}

.story-section p{
  margin-bottom:16px;
}


/* Why Choose Us section */
.why-choose{
max-width:1100px;
margin:60px auto;
padding:20px;
text-align:center;
}
.why-choose h2{
margin-bottom:30px;
font-size:32px;
}
.why-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}
.why-card{
background:rgba(255,255,255,0.04);
padding:20px;
border-radius:12px;
}
.why-card h3{
margin-bottom:10px;
}

/* Improved Story Layout */
.story-container{
  max-width:900px;
  margin:80px auto;
  padding:50px 40px;
  background:rgba(255,255,255,0.03);
  border-radius:14px;
  text-align:left;
}

.story-title{
  text-align:center;
  font-size:34px;
  margin-bottom:25px;
  position:relative;
}

.story-title:after{
  content:"";
  width:80px;
  height:3px;
  background:#00d1b2;
  display:block;
  margin:12px auto 0 auto;
}

.story-text{
  font-size:18px;
  line-height:1.8;
}

.story-text p{
  margin-bottom:18px;
}


/* Story Mobile Responsive */
.story-container{
  width: min(900px, calc(100% - 40px));
}
.story-text{
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 640px){
  .story-container{
    margin: 40px auto;
    padding: 24px 18px;
    border-radius: 16px;
  }
  .story-title{
    font-size: 26px;
    margin-bottom: 18px;
  }
  .story-title:after{
    width: 64px;
  }
  .story-text{
    font-size: 16px;
    line-height: 1.75;
  }
  .story-text p{
    margin-bottom: 14px;
  }
}


/* Header Mobile Overflow Fix */
@media (max-width: 420px){
  .btn-call, .btn-estimate{
    font-size: 14px;
    padding: 12px 14px;
  }
}


/* iOS + Android Mobile Polish */
/* iOS Safari can auto-adjust text sizes; keep layout stable */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Safe-area for notched phones (iPhone) */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Fluid typography */
h1 {
  font-size: clamp(28px, 7vw, 54px);
}
h2 {
  font-size: clamp(22px, 4.8vw, 32px);
}
p, .story-text {
  font-size: clamp(15px, 3.8vw, 18px);
}

/* Ensure header stays clean on phones */
@media (max-width: 520px){
  .nav-inner{
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }
  .nav-links{
    display:flex;
    flex-wrap: wrap;
    justify-content:center;
    gap:10px;
  }
  .nav-links a{
    font-size:13px;
    padding:6px 8px;
    border:1px solid rgba(255,255,255,0.10);
    border-radius:999px;
    background: rgba(255,255,255,0.04);
  }
  .cta-group{
    width:100%;
    flex-direction: column;
  }
  .btn-call, .btn-estimate{
    width:100%;
    max-width: 520px;
  }
}

/* Story: consistent card feel on all phones */
.story-container{
  width: min(900px, calc(100% - 28px));
}
@media (max-width: 640px){
  .story-container{
    padding: 22px 16px;
    margin: 34px auto;
  }
  .story-title{
    font-size: 26px;
  }
}
