:root{
  --bg:#F4F1EB;
  --surface:#FBF8F2;
  --text:#2B2B2B;
  --muted:#6B6B6B;
  --brand:#2F5D46;
  --deep:#1F3F31;
  --accent:#C6A75E;
  --border:rgba(31,36,33,0.12);
  --shadow:0 10px 30px rgba(17,24,39,0.10);
  --radius:18px;
  --alt:#EAE6DC;
}

/* GLOBAL */
*{ box-sizing:border-box; }

body{
  font-family:'Manrope','Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
}

h1,h2,h3{
  font-family:inherit;
  letter-spacing:0.01em;
  color:var(--deep);
}

a{ color:inherit; }

/* HEADER */
header{
  background:var(--bg);
  color:var(--text);
  padding:0 18px;
  text-align:left;
  border-bottom:1px solid rgba(0,0,0,0.06);
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
  position:sticky;
  top:0;
  z-index:20;
  min-height:80px;
}

.header-inner{
  max-width:1100px;
  margin:0 auto;
  min-height:80px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding-left:6px;
}

.site-logo{
  position:static;
  transform:none;
  height:56px;
  max-height:56px;
  width:auto;
  display:block;
}

.header-center{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-title{
  margin:0;
  font-size:1.35rem;
  color:var(--text);
  text-shadow:none;
  font-weight:700;
}
header nav{ margin-top:0; }
header nav a{
  color:var(--muted);
  margin:0 12px;
  text-decoration:none;
  font-weight:700;
  padding-bottom:2px;
  transition:color 0.15s ease, border-color 0.15s ease;
}
header nav a:hover{ border-bottom:2px solid rgba(47,93,70,0.35); color:var(--text); }

.header-nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.header-phone{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
  text-decoration:none;
  color:inherit;
}
.header-phone-number{
  font-weight:900;
  color:var(--deep);
  font-size:1rem;
}
.header-phone-sub{
  font-size:0.75rem;
  color:var(--muted);
}
.header-phone-label{
  display:none;
}

.header-call{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-weight:800;
  font-size:0.95rem;
  text-decoration:none;
  box-shadow:var(--shadow);
  transition:filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.header-call:hover{
  filter:brightness(0.95);
  box-shadow:0 14px 28px rgba(17,24,39,0.14);
  transform:translateY(-1px);
}

.lang-select{
  margin-left:10px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}

/* HERO */
#hero{
  min-height:580px;
  padding:96px 20px 72px;
  color:#fff;
  background:
    linear-gradient(to right, rgba(244,241,235,0.12), rgba(244,241,235,0.02)),
    url("images/work5.jpeg");
  background-size:cover;
  background-position:center 35%;
  background-repeat:no-repeat;
  border-bottom:1px solid var(--border);
  position:relative;
  overflow:hidden;
}

@media (min-width:901px){
  #hero{
    min-height:100vh;
  }
}


#hero::before{
  content:"";
  position:absolute;
  inset:-10% 10% auto 10%;
  height:280px;
  background:radial-gradient(circle at 20% 40%, rgba(111,139,106,0.2), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(31,77,58,0.12), transparent 40%);
  filter:blur(30px);
  opacity:0.5;
  z-index:0;
}

#hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.10) 75%,
    rgba(0,0,0,0) 100%
  );
  z-index:0;
  pointer-events:none;
}

.hero-trust-strip{
  padding:18px 20px;
  background:var(--surface);
  color:var(--muted);
  border-bottom:1px solid var(--border);
}
.hero-trust-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:0.82rem;
  letter-spacing:0.01em;
}

.hero-trust-strip .trust-signal{
  margin:0;
  font-size:0.82rem;
  letter-spacing:0.01em;
  text-transform:none;
  color:var(--muted);
}

#hero > *{
  position:relative;
  z-index:1;
}

#hero .hero-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:22px;
  align-items:center;
}

#hero .hero-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  max-width:600px;
  position:relative;
}

#hero .hero-title{
  font-size:clamp(2.2rem,4.4vw,3.1rem);
  font-weight:800;
  margin:0;
  letter-spacing:0.005em;
  line-height:1.08;
  color:#fff;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.45),
    0 12px 30px rgba(0,0,0,0.35);
}

#hero .hero-subhead{
  font-size:clamp(1rem,1.6vw,1.15rem);
  margin-top:18px;
  margin-bottom:0;
  max-width:560px;
  line-height:1.5;
  color:rgba(255,255,255,0.92);
  text-shadow:0 2px 6px rgba(0,0,0,0.35);
}

.trust-line{
  font-size:0.9rem;
  color:var(--muted);
  margin-top:14px;
  letter-spacing:0.01em;
}

.social-proof{
  font-size:0.85rem;
  color:rgba(255,255,255,0.72);
  margin-top:8px;
  letter-spacing:0.01em;
}

.cta-micro{
  font-size:0.82rem;
  color:rgba(255,255,255,0.7);
  margin-top:10px;
  letter-spacing:0.01em;
}

.trust-signal{
  margin-top:12px;
  font-size:0.8rem;
  color:rgba(255,255,255,0.68);
  letter-spacing:0.015em;
  text-transform:uppercase;
}

.kicker{
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:700;
  font-size:0.8rem;
  margin-bottom:8px;
  color:rgba(255,255,255,0.85);
}

.hero-badges{
  display:none;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
  font-weight:700;
  font-size:0.68rem;
  text-transform:uppercase;
  letter-spacing:0.04em;
  backdrop-filter:blur(4px);
  opacity:0.8;
}

.pill.highlight{
  background:rgba(31,77,58,0.12);
  color:var(--text);
  border-color:rgba(31,77,58,0.35);
  opacity:1;
}

.hero-cta{
  margin-top:24px;
  display:flex;
  align-items:center;
  gap:18px;
}

.cta-button{
  padding:16px 42px;
  background:var(--brand);
  color:#fff;
  font-weight:900;
  font-size:1.05rem;
  border-radius:999px;
  text-decoration:none;
  letter-spacing:0.04em;
  text-transform:none;
  box-shadow:var(--shadow);
  transition:filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.cta-button::after{
  content:" \2192";
  margin-left:8px;
  font-weight:900;
  display:inline-block;
  transition:transform 0.18s ease;
}
.cta-button:hover{
  filter:brightness(0.95);
  box-shadow:0 16px 36px rgba(17,24,39,0.14);
  transform:translateY(-1px);
}
.cta-button:hover::after{
  transform:translateX(3px);
}

.cta-link{
  color:rgba(255,255,255,0.95);
  text-decoration:none;
  font-weight:800;
  letter-spacing:0.02em;
  padding:6px 0;
}
.cta-link::after{
  content:" →";
}
.cta-link:hover{
  color:#fff;
}
.cta-button:focus-visible,
.cta-link:focus-visible{
  outline:2px solid rgba(47,93,70,0.35);
  outline-offset:2px;
}

.hero-card{
  background:var(--surface);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 14px 40px rgba(0,0,0,0.16);
}

.hero-stat + .hero-stat{ margin-top:14px; }

.stat-label{
  font-size:0.95rem;
  color:var(--muted);
}

.stat-value{
  font-size:1.6rem;
  font-weight:800;
  color:var(--text);
}

.hero-meta{
  display:none;
}

.hero-form h3{
  margin:0 0 6px;
  color:var(--text);
  font-size:1.1rem;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.hero-form p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:0.95rem;
}

.hero-form form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.hero-form label{
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:0.04em;
  color:rgba(31,36,33,0.75);
  margin-top:4px;
  font-weight:700;
}

.hero-form input,
.hero-form select,
.hero-form textarea{
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(31,36,33,0.2);
  background-color:#fff;
  font-family:inherit;
  font-size:0.95rem;
  line-height:1.2;
  color:var(--text);
}
.hero-form input::placeholder,
.hero-form textarea::placeholder{
  color:rgba(31,36,33,0.6);
}

.hero-form textarea{
  resize:vertical;
  min-height:88px;
}

.hero-form input,
.hero-form select{
  height:44px;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus{
  outline:none;
  border-color:rgba(31,77,58,0.45);
  box-shadow:0 0 0 3px rgba(31,77,58,0.18);
}

.hero-form select{
  appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231f4d3a' d='M1 1l5 5 5-5'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:12px 8px;
  padding-right:36px;
}

.hero-form button{
  margin-top:6px;
  padding:12px 16px;
  border:none;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.08em;
  cursor:pointer;
  box-shadow:0 14px 32px rgba(17,24,39,0.2);
  min-height:44px;
  transition:filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hero-form button:hover{
  filter:brightness(0.95);
  box-shadow:0 16px 36px rgba(17,24,39,0.18);
  transform:translateY(-1px);
}

.form-privacy{
  margin:6px 0 0;
  font-size:0.8rem;
  color:var(--muted);
}

.meta-item{
  background:var(--surface);
  border:1px solid var(--border);
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:0.72rem;
  letter-spacing:0.01em;
}

body.modal-open{
  overflow:hidden;
}

.estimate-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.18s ease;
  z-index:9997;
}

.estimate-modal[hidden]{
  display:none !important;
}

.estimate-modal.is-open{
  opacity:1;
  pointer-events:auto;
}

.estimate-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,12,8,0.72);
}

.estimate-modal__panel{
  position:relative;
  z-index:1;
  width:min(92vw, 520px);
  max-height:90vh;
  overflow-y:auto;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:26px 22px 22px;
  box-shadow:var(--shadow);
  color:var(--text);
}

.estimate-modal .hero-form h3{
  color:var(--text);
}

.estimate-modal .hero-form p{
  color:var(--muted);
}

.estimate-modal .hero-form input,
.estimate-modal .hero-form select,
.estimate-modal .hero-form textarea{
  background-color:rgba(15,23,38,0.9);
}

.modal-close{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  color:var(--text);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.modal-close:hover{
  background:rgba(255,255,255,0.2);
}

/* SECTIONS */
section:not(#hero){
  padding:72px 20px;
  margin:0 auto;
  background:var(--bg);
  border-radius:0;
  box-shadow:none;
  border-top:none;
  position:relative;
}

.section-alt{
  background:var(--alt);
}

section h2{
  color:var(--deep);
  margin-bottom:14px;
  font-size:2rem;
}

.section-subhead{
  margin:-4px 0 18px;
  color:var(--muted);
  font-size:1rem;
}

.section-trust{
  margin:16px 0 0;
  color:var(--muted);
  font-size:0.95rem;
}

.service-intent{
  margin:10px 0 0;
  color:var(--muted);
  font-size:0.92rem;
}
.section-inner{
  max-width:1100px;
  margin:0 auto;
}

ul{ padding-left:18px; }
li{ margin:8px 0; }

/* Separator */
section:not(#hero)::before{
  content:"";
  display:block;
  width:80px;
  height:1px;
  background:linear-gradient(to right, transparent, rgba(31,77,58,0.4), transparent);
  margin:0 auto 26px;
}

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

.service-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px 22px;
  box-shadow:var(--shadow);
  transition:transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  min-height:170px;
}

.service-card h3{
  margin:0 0 8px;
  color:var(--deep);
  font-size:1.1rem;
}

.service-card p{
  margin:0;
  color:var(--muted);
  font-size:0.98rem;
}

.service-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(17,24,39,0.12);
  border-color:rgba(31,36,33,0.18);
}

/* GALLERY */
#gallery{
  text-align:center;
}

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

.gallery-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  box-shadow:var(--shadow);
  transition:transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  cursor:pointer;
  filter:contrast(1.02) saturate(1.02);
}

.gallery-item img:hover{
  transform:translateY(-2px);
  filter:contrast(1.05) saturate(1.06);
  box-shadow:0 14px 32px rgba(17,24,39,0.14);
}
.gallery-item figcaption{
  margin-top:10px;
  font-size:0.95rem;
  color:var(--muted);
  text-align:left;
}

/* FULL GALLERY MODE */
 

/* Gallery legacy overlays removed */

/* LIGHTBOX (fixed so it can’t block typing when hidden) */
#lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index:9999;
  pointer-events:none;
}

#lightbox.show{
  display:flex;
  pointer-events:auto;
  will-change:opacity;
}

#lightbox[hidden]{
  display:none !important;
}

#lightbox img{
  max-width:92%;
  max-height:86%;
  border-radius:12px;
}

#lightbox-close{
  position:absolute;
  top:18px;
  right:26px;
  color:#fff;
  font-size:42px;
  cursor:pointer;
}

/* CONTACT FORM */
.final-cta{
  text-align:center;
}
.final-cta h2{
  margin-bottom:12px;
}
.final-cta p{
  color:var(--muted);
  max-width:620px;
  margin:0 auto 18px;
}
.final-cta .cta-button{
  display:inline-flex;
}
.final-cta .cta-micro{
  margin-top:12px;
  color:var(--muted);
}

/* FOOTER */
footer{
  text-align:center;
  padding:22px 16px;
  background:var(--surface);
  color:var(--text);
  border-top:1px solid var(--border);
}

.tiegui-credit{
  margin-top:8px;
  font-size:0.82rem;
  color:var(--muted);
}

.tiegui-credit a{
  color:var(--muted);
  text-decoration:none;
}

.tiegui-credit a:hover{
  color:var(--text);
}

/* ABOUT */
.about{
  display:grid;
  gap:18px;
}
.about > p{
  line-height:1.75;
  max-width:70ch;
  color:var(--muted);
}

#services,
#gallery,
#about,
#contact{
  background:transparent;
}

.about-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
}

.about-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px 18px;
  box-shadow:var(--shadow);
  height:100%;
  display:flex;
  flex-direction:column;
}

.about-card h3{
  margin:0 0 6px;
  color:var(--deep);
  font-size:1.05rem;
}

.about-card p{
  margin:0;
  color:var(--muted);
  font-size:0.96rem;
}

/* CONTACT */
.contact-grid{
  display:grid;
  gap:18px;
}

.contact-notes{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}

.note{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px 14px;
}

.note h3{
  margin:0 0 6px;
  color:var(--text);
  font-size:1rem;
}

.note p{
  margin:0;
  color:var(--muted);
}

/* MOBILE */
@media (max-width:900px){
  #hero .hero-inner{
    grid-template-columns:1fr;
  }
  .hero-card{ order:-1; }
  .service-grid{grid-template-columns:1fr}
  .gallery-container{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:700px){
  .header-center{
    display:none;
  }
  .header-inner{
    grid-template-columns:auto auto;
    justify-content:space-between;
  }
  .header-phone{
    position:fixed;
    right:16px;
    bottom:16px;
    z-index:9999;
    background:var(--brand);
    color:#fff;
    border-radius:999px;
    padding:12px 16px;
    flex-direction:row;
    align-items:center;
    gap:8px;
    box-shadow:0 12px 28px rgba(0,0,0,0.22);
  }
  .header-phone::before{
    content:"☎";
    font-size:1rem;
  }
  .header-phone-number,
  .header-phone-sub{
    display:none;
  }
  .header-phone-label{
    display:inline-flex;
    font-weight:800;
    letter-spacing:0.01em;
  }
  .hero-card{
    display:none;
  }
  .hero-cta{
    width:100%;
    justify-content:center;
  }
  #hero .cta-button{
    width:100%;
  }
  .hero-cta .cta-link{
    display:none;
  }
  .hero-meta{
    display:none;
  }
  .gallery-container{grid-template-columns:1fr}
}

@media (max-width:600px){
  header{
    min-height:64px;
  }
  .header-inner{
    min-height:64px;
  }
  .brand{ min-height:auto; }
  .brand-title{ font-size:1.05rem; }
  .site-logo{
    position:static;
    transform:none;
    height:52px;
    margin:0;
  }
  .header-phone{
    align-items:center;
  }
  .hero-logo{
    width:min(240px, 86vw);
  }
  #hero{
    min-height:460px;
    padding:72px 16px 44px;
    background-position:center 30%;
  }
  .hero-cta{
    flex-direction:column;
    align-items:center;
  }
  .gallery-item img{ height:160px; }
  .hero-form button{
    width:100%;
  }
}
.hero-logo{
  width:min(320px, 78vw);
  height:auto;
  display:block;
  margin:0 auto;
}
