
:root{
  --bg:#F6F7FB;
  --panel:#FFFFFF;
  --text:#0B1220;
  --muted:#5B667A;
  --line: rgba(15, 23, 42, .10);
  --shadow: 0 16px 50px rgba(2,6,23,.10);
  --shadow2: 0 10px 30px rgba(2,6,23,.08);
  --brand1:#1E88E5;
  --brand2:#7C3AED;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 460px at 10% 10%, rgba(30,136,229,.10), transparent 55%),
    radial-gradient(900px 520px at 90% 20%, rgba(124,58,237,.10), transparent 60%),
    var(--bg);
  color:var(--text);
}

/* Header */
.siteHeader{
  position:sticky; top:0; z-index:40;
  background: rgba(246,247,251,.78);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.headerInner{
  max-width:1200px; margin:0 auto; padding:10px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.brand{display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit}
.brandMark{width:44px; height:44px; object-fit:contain}
.brandName{font-weight:800; letter-spacing:-.2px; line-height:1}
.brandSub{font-size:12.5px; color:var(--muted); margin-top:3px}

.nav{display:flex; gap:14px; align-items:center; justify-content:center; flex:1}
.navLink{
  text-decoration:none; color:rgba(11,18,32,.78);
  font-weight:650; font-size:14px; padding:8px 10px; border-radius:999px;
  transition: background .15s, color .15s;
}
.navLink:hover{background: rgba(11,18,32,.05); color:rgba(11,18,32,.92)}
.navLink.isActive{background: rgba(30,136,229,.10); color:rgba(11,18,32,.95)}
.headerActions{display:flex; align-items:center; gap:10px}
.langBtn{border:none; background:transparent; cursor:pointer; padding:0}
.langPill{
  display:inline-flex; align-items:center; justify-content:center;
  height:34px; min-width:46px; padding:0 12px;
  border-radius:999px;
  background: rgba(11,18,32,.06);
  border:1px solid var(--line);
  font-weight:800; color:rgba(11,18,32,.90);
}

/* Hero */
.heroLight{position:relative; padding:34px 0 26px; overflow:hidden}
.heroWrap{
  max-width:1200px; margin:0 auto; padding:0 16px;
  display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:center;
}
.heroWatermark{
  position:absolute; inset:-60px -30px auto -30px;
  pointer-events:none;
  display:flex; justify-content:center; align-items:flex-start;
  opacity:.10;
  filter: blur(0.6px);
}
.heroWatermark img{
  width:min(820px, 86vw);
  transform: translateY(-20px);
  filter: blur(0.8px);
}
.heroCopy{
  background: rgba(255,255,255,.70);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow2);
  padding:22px 22px 20px;
}
.heroKicker{
  font-weight:750;
  color:rgba(11,18,32,.70);
  letter-spacing:.2px;
}
.heroTitle{
  margin:10px 0 12px;
  font-size: clamp(30px, 3.2vw, 50px);
  letter-spacing:-.8px;
  line-height:1.06;
}
.heroLead{margin:0 0 16px; color:var(--muted); font-size:15px; line-height:1.5}

.heroServices{display:grid; grid-template-columns: 1fr 1fr; gap:10px; margin-top:10px}
.svcItem{display:flex; align-items:center; gap:10px; color:rgba(11,18,32,.86); font-weight:650; font-size:14px}
.dot{width:10px; height:10px; border-radius:999px; background: linear-gradient(135deg, var(--brand1), var(--brand2)); box-shadow: 0 6px 16px rgba(30,136,229,.25)}
.heroBadges{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px}
.badge{
  padding:10px 12px; border-radius:999px;
  background: rgba(11,18,32,.04);
  border:1px solid var(--line);
  color:rgba(11,18,32,.80);
  font-weight:700; font-size:13px;
}


.heroPortrait{
  position:relative;
  z-index:1;
  transform: scale(1.22);
  transform-origin: bottom center;
}

.heroPortrait img{
  width:min(520px, 92%);
  height:auto;
  display:block;
  transform: translateY(14px);
  filter: drop-shadow(0 40px 70px rgba(2,6,23,.22));
}

/* Estimate */
.container{max-width:1200px; margin:0 auto; padding:0 16px}
.estimateSection{padding:8px 0 50px}
.estimateGrid{
  display:grid; grid-template-columns: 1fr 1fr; gap:22px;
  align-items:start;
}
.estimateText{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow2);
  padding:22px;
}
.estimateTitle{
  margin:0 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing:-.4px;
}
.estimateDesc{margin:0 0 14px; color:var(--muted); line-height:1.6}
.proofList{display:grid; gap:10px; margin-top:10px}
.proof{display:flex; align-items:center; gap:10px; color:rgba(11,18,32,.84); font-weight:650}
.check{
  width:18px; height:18px; border-radius:6px;
  background: rgba(30,136,229,.12);
  border:1px solid rgba(30,136,229,.22);
  position:relative;
}
.check:after{
  content:""; position:absolute; left:6px; top:3px;
  width:5px; height:9px;
  border-right:2px solid rgba(30,136,229,.95);
  border-bottom:2px solid rgba(30,136,229,.95);
  transform: rotate(40deg);
}

.estimateForm{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:22px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{display:flex; flex-direction:column; gap:6px; font-size:13px; color:rgba(11,18,32,.82); font-weight:700}
.field input, .field select, .field textarea{
  border:1px solid rgba(15,23,42,.14);
  border-radius:14px;
  padding:12px 12px;
  font-size:14px;
  outline:none;
  background:#fff;
}
.field textarea{resize:vertical}
.fieldFull{grid-column: 1 / -1}
.primaryBtn{
  grid-column: 1 / -1;
  height:46px;
  border:none; cursor:pointer;
  border-radius:14px;
  font-weight:900;
  color:#fff;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  box-shadow: 0 16px 40px rgba(30,136,229,.22);
  transition: transform .12s, box-shadow .12s;
}
.primaryBtn:hover{transform: translateY(-1px); box-shadow: 0 18px 48px rgba(30,136,229,.26)}
.formNote{grid-column: 1 / -1; color:var(--muted); font-size:12.5px}

/* Footer */
.siteFooter{padding:22px 0 28px; border-top:1px solid var(--line); background: rgba(255,255,255,.55)}
.footerInner{max-width:1200px; margin:0 auto; padding:0 16px; display:flex; flex-direction:column; gap:14px; align-items:center}
.footerSocial{display:flex; gap:12px; align-items:center; justify-content:center}
.footerSocial a{
  width:42px; height:42px; border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(11,18,32,.04);
  border:1px solid var(--line);
  transition: transform .12s, box-shadow .12s;
}
.footerSocial a:hover{transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2,6,23,.10)}
.footerSocial img{width:26px; height:26px}
.footerMeta{color:rgba(11,18,32,.68); font-weight:700; font-size:13px; text-align:center}

/* Animations (smooth) */
@media (prefers-reduced-motion:no-preference){
  .heroCopy{animation: floatIn .55s ease both}
  .heroPortrait img{animation: fadeRise .7s ease both}
}
@keyframes floatIn{from{opacity:0; transform: translateY(10px)} to{opacity:1; transform: translateY(0)}}
@keyframes fadeRise{from{opacity:0; transform: translateY(22px)} to{opacity:1; transform: translateY(14px)}}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none}
  .heroWrap{grid-template-columns: 1fr; }
  
.heroPortrait{
  position:relative;
  z-index:1;
  transform: scale(1.22);
  transform-origin: bottom center;
}

  .heroPortrait img{width:min(460px, 96%)}
  .heroServices{grid-template-columns: 1fr}
  .estimateGrid{grid-template-columns: 1fr}
}


/* ===== Additional pages (proportional) ===== */
.pageHero{padding:26px 0 10px}
.pageTitle{margin:0; font-size:clamp(28px, 3vw, 44px); letter-spacing:-.6px}
.pageLead{margin:10px 0 0; color:var(--muted); line-height:1.65; max-width:800px}
.pageSection{padding:16px 0 42px}
.split{display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:stretch}
.card{background:var(--panel); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow2); padding:20px}
.card h2{margin:0 0 8px; letter-spacing:-.3px}
.card p{margin:0; color:var(--muted); line-height:1.65}

.highlight{background: linear-gradient(135deg, rgba(30,136,229,.10), rgba(124,58,237,.10)); border:1px solid var(--line);
  border-radius:22px; padding:20px; box-shadow:var(--shadow2); text-align:center}
.primaryLink{display:inline-flex; margin-top:12px; padding:12px 16px; border-radius:14px; text-decoration:none;
  color:#fff; font-weight:900; background: linear-gradient(135deg, var(--brand1), var(--brand2))}
.primaryLink:hover{filter:saturate(1.05)}

.galleryGrid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px}
.galleryCard{background:var(--panel); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow2); overflow:hidden}
.galleryThumb{height:240px; background:rgba(11,18,32,.04)}
.galleryThumb.placeholder{
  background:
    linear-gradient(135deg, rgba(30,136,229,.12), rgba(124,58,237,.10)),
    repeating-linear-gradient(45deg, rgba(11,18,32,.06), rgba(11,18,32,.06) 12px, rgba(255,255,255,.0) 12px, rgba(255,255,255,.0) 24px);
}
.galleryMeta{padding:16px}
.galleryName{font-weight:900; letter-spacing:-.2px}
.galleryDesc{margin-top:6px; color:var(--muted); line-height:1.55; font-size:13.5px}

.noteBox{margin-top:18px; background:rgba(11,18,32,.04); border:1px solid var(--line); border-radius:18px; padding:14px; color:rgba(11,18,32,.78)}
.noteBox strong{margin-right:6px}

.estimateGrid.single{grid-template-columns:1fr}

@media (max-width: 980px){
  .split{grid-template-columns:1fr}
  .galleryGrid{grid-template-columns:1fr}
  .galleryThumb{height:210px}
}

/* ===== About page layout ===== */
.aboutGrid{display:grid; grid-template-columns: 1.25fr .75fr; gap:18px; align-items:start}
.aboutCopy p{color:var(--muted); line-height:1.7}
.aboutCopy h3{margin:16px 0 8px; letter-spacing:-.2px}
.aboutList{margin:10px 0 0 18px; color:rgba(11,18,32,.84); font-weight:650}
.aboutList li{margin:8px 0}
.aboutPhoto .photoCard{
  position:sticky; top:96px;
  background:var(--panel); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow);
  overflow:hidden
}
.aboutPhoto img{width:100%; height:auto; display:block}
.photoCaption{padding:14px 16px}
.capName{font-weight:900; letter-spacing:-.2px}
.capRole{margin-top:4px; color:var(--muted); font-weight:700; font-size:13px}

.quoteBox{margin-top:18px; border-radius:22px; padding:16px 16px 14px;
  background: linear-gradient(135deg, rgba(30,136,229,.08), rgba(124,58,237,.08));
  border:1px solid var(--line);
}
.quoteMark{font-size:34px; line-height:1; font-weight:900; color:rgba(11,18,32,.35)}
.quoteText{margin:6px 0 10px; color:rgba(11,18,32,.86); font-weight:650}
.quoteBy{color:rgba(11,18,32,.70); font-weight:800}

@media (max-width: 980px){
  .aboutGrid{grid-template-columns:1fr}
  .aboutPhoto .photoCard{position:relative; top:auto}
}

/* Social icons colored */
.footerSocial{gap:14px}
.socialLink{width:42px;height:42px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.12); border:1px solid rgba(0,0,0,.06)}
.socialLink img{width:42px;height:42px;display:block}

/* ===== Home hero background video (Home only) ===== */
.heroLight{position:relative}
.heroVideoWrap{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

.heroVideo{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter: saturate(1.22) contrast(1.08) brightness(0.96);
}


.heroVideoOverlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(246,247,251,.55) 0%, rgba(246,247,251,.28) 30%, rgba(246,247,251,.60) 100%),
              radial-gradient(900px 520px at 80% 10%, rgba(124,58,237,.06), transparent 60%),
              radial-gradient(900px 460px at 10% 10%, rgba(30,136,229,.08), transparent 55%);
}

.heroWrap, .heroWatermark, .heroCopy, 
.heroPortrait{
  position:relative;
  z-index:1;
  transform: scale(1.22);
  transform-origin: bottom center;
}


/* Performance: on small screens, reduce visual load */
@media (max-width: 980px){
  
.heroVideo{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter: saturate(1.22) contrast(1.08) brightness(0.96);
}

}

/* Enhance watermark logo behind */
.heroWatermark{
  opacity:0.22;
  filter: contrast(1.15) brightness(0.92);
}

/* Stronger hero text */
.heroCopy h1{
  color:#1f2a37;
  font-weight:700;
}
.heroCopy p, .heroCopy li{
  color:#334155;
  font-weight:500;
}

/* Use transparent logo watermark (no beige block) */
.heroWatermark{
  background: transparent !important;
}
.heroWatermark img{
  background: transparent !important;
}

/* ===== Above-the-fold tuning (Home) ===== */
.heroLight{
  min-height: calc(100vh - 84px);
}
.heroWrap{
  padding-top: clamp(68px, 9vh, 110px) !important;
  padding-bottom: clamp(24px, 4vh, 52px) !important;
}
.heroCopy h1{
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.05;
}
.heroPortrait img{
  max-height: min(70vh, 620px);
  width: auto;
}

/* Keep everything visible without scroll on shorter screens */
@media (max-height: 760px){
  .heroCopy h1{font-size: clamp(30px, 3.5vw, 46px);}
  .heroPortrait img{max-height: 60vh;}
  .heroWrap{padding-top: 64px !important; padding-bottom: 22px !important;}
}

/* ===== Premium entrance animation (Home hero) ===== */
@media (prefers-reduced-motion: no-preference){
  .heroCopy, .heroPortrait, .heroWatermark{
    opacity: 0;
    transform: translateY(18px);
    animation: heroEnter .85s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .heroWatermark{animation-delay: .05s}
  .heroCopy{animation-delay: .12s}
  .heroPortrait{animation-delay: .18s}
  @keyframes heroEnter{
    to{opacity:1; transform: translateY(0);}
  }
}

/* ===== v16 tweaks from screenshot ===== */
.heroWatermark{
  transform: translateY(-10px) scale(0.78);
  opacity: 0.30; /* slightly clearer */
  filter: contrast(1.05) brightness(1.08);
}

.heroWrap{
  padding-top: clamp(56px, 7vh, 92px) !important;
}
.heroPortrait{
  transform: translateY(-16px) scale(1.16) !important;
}
.heroCopy{
  transform: translateY(-10px);
}

.heroCopyCard{
  padding: 18px 20px !important;
}

/* ===== Pro polish (vMaster) ===== */
:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,.92);
  --surface2: rgba(248,250,252,.92);
  --text: #0f172a;
  --muted: #475569;
  --brand: #1e88e5;
  --brand2: #7c3aed;
  --border: rgba(15,23,42,.10);
  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --radius: 18px;
  --radius2: 24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background: #f6f7fb;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.5;
}
img,video{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
.container{max-width:1200px; margin:0 auto; padding:0 18px}

/* Header */
.siteHeader{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(246,247,251,.80);
  border-bottom: 1px solid var(--border);
}
.headerInner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}
.brandLockup{display:flex; align-items:center; gap:10px}
.brandLockup img{width:44px; height:44px; border-radius:12px; object-fit:contain; background:transparent}
.brandLockup .brandText{display:flex; flex-direction:column; line-height:1.05}
.brandLockup .brandText strong{font-size:14px; letter-spacing:.3px}
.brandLockup .brandText span{font-size:12px; color:var(--muted)}
.navLinks{display:flex; align-items:center; gap:14px}
.navLinks a{font-weight:600; color:#1f2a37; padding:10px 10px; border-radius:12px}
.navLinks a:hover{background:rgba(15,23,42,.06)}
.headerCtas{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px; border-radius:14px; font-weight:700;
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: 0 16px 38px rgba(15,23,42,.12)}
.btnPrimary{
  border-color: rgba(30,136,229,.25);
  background: linear-gradient(135deg, rgba(30,136,229,.95), rgba(124,58,237,.92));
  color:white;
}
.btnGhost{background: rgba(255,255,255,.75)}

.mobileToggle{display:none}
@media (max-width: 980px){
  .navLinks{display:none}
  .mobileToggle{display:inline-flex}
}

/* Mobile drawer */
.mobileNav{
  display:none;
  position:fixed; inset:0; z-index:60;
  background: rgba(15,23,42,.62);
}
.mobileNav .panel{
  position:absolute; top:14px; left:14px; right:14px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.mobileNav .panel a{display:block; padding:12px 12px; border-radius:14px; font-weight:700; color:#0f172a}
.mobileNav .panel a:hover{background: rgba(15,23,42,.06)}
.mobileNav .row{display:flex; gap:10px; margin-top:10px}

/* Sections */
.section{padding: clamp(50px, 6vw, 90px) 0}
.sectionHeader{display:flex; flex-direction:column; gap:8px; margin-bottom: 22px}
.sectionHeader h2{margin:0; font-size: clamp(26px, 3.2vw, 38px); letter-spacing:-.2px}
.sectionHeader p{margin:0; color:var(--muted); max-width: 70ch}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cardPad{padding: 18px}

/* Footer */
.siteFooter{padding: 34px 0; border-top:1px solid var(--border); background: rgba(255,255,255,.75)}
.footerInner{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap}
.footerSocial{display:flex; gap:12px; align-items:center}
.socialLink{width:44px;height:44px;border-radius:999px;overflow:hidden; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border); box-shadow: 0 10px 22px rgba(15,23,42,.08); background:white}
.socialLink img{width:44px;height:44px}

/* Prevent accidental overlaps */
.heroLight, .section, footer, header{position:relative; z-index:1}

.testimonialsGrid{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px}
@media (max-width: 980px){ .testimonialsGrid{grid-template-columns: 1fr} }

/* About page layout */
.aboutGrid{display:grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items:start}
@media (max-width: 980px){ .aboutGrid{grid-template-columns:1fr} }
.aboutPhotoCard img{border-radius: var(--radius2); border:1px solid var(--border); box-shadow: var(--shadow)}

/* ===== Home polish v2 ===== */
.heroLight .heroCopyCard{
  border-radius: 22px;
  background: rgba(255,255,255,.90);
}
.heroLight .heroCopyCard ul{
  padding-left: 18px;
}
.heroLight .heroCopyCard li{
  margin: 6px 0;
}

/* ===== Home polish v3 ===== */
.teaserRow{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.teaserText{max-width: 70ch}
.grid3{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px}
.grid4{display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px}
@media (max-width: 980px){
  .grid3{grid-template-columns:1fr}
  .grid4{grid-template-columns:1fr}
}
.cardTitle{margin:0 0 8px 0; font-size:18px}
.muted{color:var(--muted)}
.stepCard{display:flex; gap:14px; align-items:flex-start}
.stepNum{
  width:44px; height:44px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  color:white;
  background: linear-gradient(135deg, rgba(30,136,229,.95), rgba(124,58,237,.92));
  box-shadow: 0 14px 30px rgba(15,23,42,.12);
}
.stepTitle{font-weight:800; margin-bottom:4px}

/* ===== Mobile Nav (hamburger) ===== */
.mobileToggle{display:none}
.mobileNav{position:fixed; inset:0; z-index:9999; display:none}
.mobileNav[aria-hidden="false"]{display:block}
.mobileNavBackdrop{position:absolute; inset:0; background:rgba(2,6,23,.55); backdrop-filter: blur(6px)}
.mobileNavPanel{
  position:absolute; top:12px; right:12px; left:12px;
  max-width:520px; margin-left:auto;
  background: rgba(255,255,255,.96);
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  box-shadow: 0 24px 80px rgba(2,6,23,.35);
  padding:14px;
}
.mobileNavTop{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 6px 12px}
.mobileBrand img{width:44px; height:44px; object-fit:contain}
.mobileNavLinks{display:grid; gap:8px; padding:10px 6px 14px}
.mobileNavLink{
  display:flex; align-items:center; justify-content:space-between;
  text-decoration:none; color:var(--ink);
  padding:12px 12px; border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(11,18,32,.03);
  font-weight:900;
}
.mobileNavLink:hover{background: rgba(11,18,32,.06)}
.mobileNavLink.isActive{background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(124,58,237,.12));}
.mobileNavFooter{display:flex; gap:10px; align-items:center; justify-content:space-between; padding:0 6px 4px}

/* ===== Stronger responsive rules ===== */
@media (max-width: 980px){
  .mobileToggle{display:inline-flex}
  .headerInner{gap:12px}
  .brandLockup{gap:10px}
  .hero{min-height: auto}
  .heroMedia{height: 62vh}
  .heroWrap{padding-top: 92px}
  .heroCopy{max-width: 680px}
  .estimateGrid{gap:14px}
}

@media (max-width: 720px){
  .siteHeader{height:64px}
  .brandName{font-size:14px}
  .brandTag{font-size:11px}
  .langPill{height:34px; padding:0 10px; border-radius:12px}

  .heroWrap{padding-top: 82px}
  .heroMedia{height: 56vh}
  .heroCard{padding:16px; border-radius:18px}
  .heroTitle{font-size: clamp(28px, 7vw, 42px)}
  .heroSub{font-size:13px}

  .heroPills{flex-wrap:wrap}
  .pill{height:32px; padding:0 10px; border-radius:12px; font-size:12px}

  .heroPortrait{transform: scale(1.08)}
  .heroPortrait img{width:min(380px, 96%)}

  .estimateSection{padding-top: 22px}
  .estimateCard{padding:16px; border-radius:18px}
  .estimateForm{padding:16px; border-radius:18px}

  .split{grid-template-columns:1fr}
  .galleryGrid{grid-template-columns:1fr}
  .galleryThumb{height:200px}

  .testiGrid{grid-template-columns:1fr}
}

@media (max-width: 420px){
  .heroMedia{height: 50vh}
  .heroPortrait img{width: min(340px, 98%)}
  .primaryBtn{height:44px}
  .footerSocial a{width:40px; height:40px; border-radius:14px}
}


/* =========================
   Responsive improvements
   ========================= */
@media (max-width: 980px){
  .heroWrap{grid-template-columns: 1fr; gap:14px}
  .heroPortrait{transform: none}
  .heroPortrait img{width:min(520px, 78vw); margin:0 auto; transform: translateY(0)}
  .heroWatermark{inset:-40px -30px auto -30px; opacity:.12}
  .heroWatermark img{width:min(720px, 92vw); transform: translateY(-10px)}
}

@media (max-width: 760px){
  .heroLight{padding:18px 0 16px}
  .heroCopy{padding:18px 16px}
  .heroTitle{font-size: clamp(26px, 7vw, 40px)}
  .heroServices{grid-template-columns: 1fr}
  .svcItem{font-size:14px}
  .badge{font-size:12.5px; padding:9px 11px}
  .heroWatermark{opacity:.14}
  .heroWatermark img{width:min(640px, 96vw)}
}

@media (max-width: 600px){
  .estimateGrid{grid-template-columns: 1fr !important; gap:14px}
  .formGrid{grid-template-columns: 1fr !important}
  .siteFooter .footerInner{flex-direction:column; gap:10px; text-align:center}
  .footerSocial{justify-content:center}
}

/* Ensure mobile menu is always above hero */
.mobileNav{z-index: 9999}
.siteHeader{z-index: 10000}


/* === Responsive patch v3 (mobile-perfect) === */
:root{ --navH: 72px; }
@media (max-width: 900px){
  :root{ --navH: 64px; }
  .header{ height: var(--navH); }
  .heroWrap{ padding-top: calc(var(--navH) + 10px); }
  .heroContent{ grid-template-columns: 1fr; gap: 18px; align-items: center; }
  .heroCard{ max-width: min(560px, 92vw); margin-inline: auto; }
  .heroPortrait{ margin-inline: auto; }
  .heroPortrait img{ width: min(360px, 70vw); transform: none; }
  .heroWatermark{ width: min(520px, 88vw); opacity: .42; top: 10px; }
  .estimate{ margin-top: 0; }
  .estimateGrid{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  :root{ --navH: 58px; }
  .header{ height: var(--navH); }
  .heroWrap{ padding-top: calc(var(--navH) + 8px); }
  .heroWatermark{ width: min(430px, 92vw); opacity: .40; top: 8px; filter: contrast(1.05); }
  .heroCard{ padding: 14px 14px 12px; border-radius: 18px; }
  .heroTitle{ font-size: clamp(26px, 7.2vw, 36px); line-height: 1.06; }
  .heroKicker{ font-size: 12px; }
  .heroSub{ font-size: 12px; }
  .heroList{ grid-template-columns: 1fr; }
  .heroBadges{ flex-wrap: wrap; gap: 10px; }
  .heroPortrait img{ width: min(320px, 72vw); }
  .estimate{ padding: 22px 0 26px; }
  .estimateGrid{ gap: 14px; }
  .footerSocial{ gap: 14px; }
}

@media (max-width: 420px){
  .heroPortrait img{ width: min(300px, 78vw); }
  .heroTitle{ font-size: clamp(24px, 8vw, 34px); }
}

/* Mobile nav overlay: ensure clickable */
.mobileNav{ z-index: 9999; }
.mobileNavBackdrop{ pointer-events: auto; }

@media (max-width: 900px){
  .navLinks{ display:none !important; }
  .langToggle{ margin-left: auto; }
  #mobileToggle{ display:inline-flex !important; }
}


/* ===== Mobile hero stacking + no horizontal cut (v3.1) ===== */
html, body { overflow-x: hidden; }

@media (max-width: 720px){
  .siteHeader{ z-index: 1000; }
  .mobileNav{ z-index: 2000; }
  .mobileToggle{ position: relative; z-index: 2001; }

  .heroWrap{
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding-top: 96px !important;
  }

  .heroCopy{
    width: 100%;
    justify-self: stretch;
  }

  .heroCard{
    width: min(640px, 92vw);
    max-width: 92vw;
    margin-inline: auto;
  }

  .heroPortrait{
    width: 100%;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 6px;
  }

  .heroPortrait img{
    width: min(360px, 72vw);
    max-width: 360px;
    height: auto;
    transform: translateY(0);
  }

  .heroWatermark{
    width: min(340px, 70vw);
    max-width: 340px;
    margin-inline: auto;
    opacity: .82;
  }
}

/* Mobile nav should open even if JS doesn't set inline display */
.mobileNav.open{ display:block; }

/* =========================
   FIXES (Mobile Hero + Menu)
   ========================= */

/* Prevent any horizontal cut on small screens */
html, body{ max-width: 100%; overflow-x: hidden; }

@media (max-width: 760px){
  /* Hero: center content + portrait below */
  .heroWrap{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .heroCopy{
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .heroServices{ grid-template-columns: 1fr !important; }
  .svcItem{ justify-content: center; }
  .heroBadges{ justify-content: center; }

  .heroPortrait{
    transform: none !important;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .heroPortrait img{
    width: min(380px, 86vw) !important;
    transform: none !important;
    margin: 0 auto;
  }
}

/* Mobile menu: ensure overlay is clickable and above everything */
.mobileNav{ position: fixed; inset: 0; z-index: 9999; }


/* =========================================
   Gallery Pro Lightbox (safe / scoped)
   ========================================= */
.galleryCard.hasImage .galleryThumb { position: relative; }
.galleryThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Lightbox */
body.lbNoScroll { overflow: hidden; }

.lbOverlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.lbOverlay.open{ display: block; }

.lbBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.lbDialog{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

/* ========== LIGHTBOX (CENTRADO + NO RECORTA + X VISIBLE) ========== */
body.lbNoScroll { overflow: hidden; }

.lbOverlay{
  position: fixed;
  inset: 0;
  z-index: 999999999;
  display: none;
}
.lbOverlay.open{ display: block; }

.lbBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.lbDialog{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lbFigure{
  margin: 0;
  width: min(980px, 96vw);
  height: min(88vh, 900px);
  background: rgba(10,10,10,.7);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);

  display: flex;
  flex-direction: column;
}

.lbImg{
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.lbCap{
  flex: 0 0 auto;
  padding: 10px 14px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Botones */
.lbBtn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  z-index: 10001;
}

.lbClose{
  top: 18px;
  right: 18px;
  transform: none;
  font-size: 34px;
}

.lbPrev{ left: 18px; }
.lbNext{ right: 18px; }

@media (max-width: 520px){
  .lbPrev{ left: 10px; }
  .lbNext{ right: 10px; }
  .lbClose{ top: 14px; right: 14px; }
  .lbFigure{ width: 96vw; border-radius: 16px; }
}

/* ===== FIX SOLO X (visible siempre) ===== */
.lbBtn.lbClose{
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;

  transform: none !important;

  z-index: 999999 !important;
  display: grid !important;
  place-items: center !important;

  width: 46px !important;
  height: 46px !important;
  border-radius: 999px !important;

  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  color: #fff !important;
  background: rgba(0,0,0,.75) !important;
  border: 1px solid rgba(255,255,255,.35) !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lbBtn.lbClose {
    position: fixed !important;
    z-index: 2147483647 !important;
}

/* ===== GALLERY PRO LIGHTBOX (anim + blur + zoom) ===== */
.lbOverlay{
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lbOverlay.open{
  animation: lbFadeIn .14s ease-out both;
}
@keyframes lbFadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

.lbFigure{
  transform-origin: center;
  animation: lbPop .14s ease-out both;
}
@keyframes lbPop{
  from{ transform: translateY(6px) scale(.98); }
  to{ transform: translateY(0) scale(1); }
}

/* Zoom feel */
.lbImg{
  cursor: zoom-in;
  transition: transform .12s ease-out;
  transform-origin: center center;
  will-change: transform;
}
.lbImg.isZoomed{
  cursor: grab;
}
.lbImg.isZoomed:active{
  cursor: grabbing;
}

/* Make sure close is always clickable */
.lbBtn{ pointer-events: auto; }
.lbClose{ pointer-events: auto; }

/* ================= TESTIMONIOS PRO ================= */

.tProHeader{ margin-top: 6px; }
.tBadge{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
}
.tBadgeLeft{ display:flex; align-items:center; gap:12px; }
.tG{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  font-weight:900; font-size:18px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.tBadgeTitle{ font-weight:900; }
.tBadgeSub{ color: var(--muted); font-size: 0.95rem; }
.tBadgeBtn{ white-space:nowrap; }

.tSlider{ position:relative; margin-top:14px; }
.tTrack{
  display:flex; gap:14px;
  overflow:auto; scroll-snap-type:x mandatory;
  padding: 2px 54px 2px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tTrack::-webkit-scrollbar{ display:none; }

.tCard{
  min-width: min(420px, 86vw);
  scroll-snap-align: start;
}

.tTop{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.tVerified{
  font-size:.85rem;
  color: rgba(255,255,255,.85);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
}

.tMeta{ margin-top: 10px; }
.tName{ font-weight: 900; }
.tMetaRow{ display:flex; gap:8px; align-items:center; color: var(--muted); font-size: .92rem; }
.tDot{ opacity: .7; }

.tNav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  z-index: 5;
}
.tPrev{ left: 6px; }
.tNext{ right: 6px; }

.tDots{
  display:flex; justify-content:center; gap:8px;
  margin-top: 12px;
}
.tDotBtn{
  width:10px; height:10px; border-radius:999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  cursor: pointer;
}
.tDotBtn.isActive{
  background: rgba(255,255,255,.80);
}

@media (max-width: 520px){
  .tBadge{ flex-direction: column; align-items: stretch; }
  .tBadgeBtn{ width:100%; text-align:center; }
  .tTrack{ padding-right: 2px; }
  .tNav{ display:none; } /* swipe in mobile */
}


/* === WhatsApp form mobile fix (prevent right cut) === */
.estimateForm{ max-width:100%; }
.estimateForm, .estimateForm *{ box-sizing:border-box; }
.field input, .field select, .field textarea{ width:100%; min-width:0; }

@media (max-width: 600px){
  .estimateForm{ grid-template-columns: 1fr !important; padding:16px !important; }
  .primaryBtn{ width:100%; }
}

/* === Force Times New Roman everywhere === */
*{
  font-family: "Times New Roman", Times, serif !important;
}


/* =========================
   PRO POLISH (non-breaking)
   ========================= */
:root{
  --easeOut:cubic-bezier(.16,1,.3,1);
  --ring: 0 0 0 4px rgba(30,136,229,.14);
  --ring2: 0 0 0 6px rgba(124,58,237,.12);
}

/* Animated ambient background layer */
body::before{
  content:"";
  position:fixed;
  inset:-20%;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(700px 420px at 20% 15%, rgba(30,136,229,.12), transparent 60%),
    radial-gradient(620px 380px at 80% 35%, rgba(124,58,237,.10), transparent 62%),
    radial-gradient(900px 520px at 50% 90%, rgba(16,185,129,.06), transparent 65%);
  filter: blur(0px);
  opacity:.9;
  transform: translate3d(0,0,0);
  animation: ambientFloat 18s var(--easeOut) infinite alternate;
}

@keyframes ambientFloat{
  from{ transform: translate3d(-1.5%, -1%, 0) scale(1); filter: blur(0px); }
  to{   transform: translate3d( 1.5%,  1%, 0) scale(1.02); filter: blur(1px); }
}

/* Header glass + subtle border glow (keeps layout) */
.siteHeader{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.siteHeader::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  opacity:.55;
}

/* Cards: gradient edge + lift on hover (desktop only) */
.card{
  position:relative;
  overflow:hidden;
  transition: transform .35s var(--easeOut), box-shadow .35s var(--easeOut);
}
.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  padding:1px;
  background: linear-gradient(135deg, rgba(30,136,229,.45), rgba(124,58,237,.35), rgba(16,185,129,.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:.0;
  transition: opacity .35s var(--easeOut);
  pointer-events:none;
}
@media (hover:hover){
  .card:hover{ transform: translateY(-3px); box-shadow: 0 18px 60px rgba(2,6,23,.14); }
  .card:hover::before{ opacity:.9; }
}

/* Buttons: premium feel */
.btn, .btnPrimary{
  transition: transform .25s var(--easeOut), box-shadow .25s var(--easeOut), filter .25s var(--easeOut);
  will-change: transform;
}
@media (hover:hover){
  .btn:hover, .btnPrimary:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(2,6,23,.16);
    filter: saturate(1.05);
  }
  .btn:active, .btnPrimary:active{ transform: translateY(0px) scale(.99); }
}

/* Inputs: nicer focus without changing layout */
input, textarea, select{
  transition: box-shadow .25s var(--easeOut), border-color .25s var(--easeOut), transform .25s var(--easeOut);
}
input:focus, textarea:focus, select:focus{
  box-shadow: var(--ring), var(--ring2);
  border-color: rgba(30,136,229,.55);
}

/* Subtle section entrance (only if JS enables it) */
.reveal{
  opacity:0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity .7s var(--easeOut), transform .7s var(--easeOut), filter .7s var(--easeOut);
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
  filter: blur(0);
}

/* Gradient underline accents for section titles (safe) */
.sectionHeader h2, .sectionHeader h3, .sectionHeader .title, .sectionHeader .cardTitle{
  position:relative;
}
.sectionHeader h2::after, .sectionHeader h3::after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  margin-top:10px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  opacity:.9;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  body::before{ animation:none; }
  .card, .btn, .btnPrimary, input, textarea, select{ transition:none !important; }
  .reveal{ opacity:1; transform:none; filter:none; }
}


/* Button spotlight (uses --mx/--my from JS) */
.btnPrimary, .btn{
  position:relative;
  overflow:hidden;
}
.btnPrimary::after, .btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(220px 120px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 60%);
  opacity:0;
  transition: opacity .25s var(--easeOut);
  pointer-events:none;
}
@media (hover:hover){
  .btnPrimary:hover::after, .btn:hover::after{ opacity:1; }
}
