/* ===================================================================
   Ecua G Carpentry & Construction INC - shared stylesheet
   Cloned 1:1 from https://www.ecuagcontracting.com (Wix source)
   Fonts loaded via <link> in each page <head> (Poppins ~ Wix Madefor).
   Page-scoped rules, if any, are appended below under `page:` banners.
   =================================================================== */

:root{
  --blue:#2b7cb3;          /* primary accent: eyebrows, links, buttons */
  --blue-dark:#1b5b82;     /* footer, badges, deep chrome */
  --blue-darker:#12435f;
  --band:#a9cfe3;          /* light-blue section band */
  --band-soft:#c7e0ee;
  --ghost:#e8eef3;         /* large watermark heading behind eyebrow */
  --ink:#2b2b2b;           /* body text */
  --heading:#20303a;       /* dark headings */
  --muted:#5c6b73;         /* secondary text */
  --line:#e2e8ec;
  --white:#ffffff;
  --radius:10px;
  --radius-lg:18px;
  --shadow:0 8px 24px rgba(20,50,70,.12);
  --shadow-sm:0 4px 14px rgba(20,50,70,.08);
  --wrap:1200px;
  --hero-overlay:linear-gradient(90deg,rgba(8,14,18,.92) 0%,rgba(8,14,18,.72) 42%,rgba(8,14,18,.30) 100%);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Poppins","Open Sans",Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4,h5,h6{font-family:"Poppins",Arial,sans-serif;color:var(--heading);line-height:1.2;margin:0 0 .5em}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip-link{position:absolute;left:-9999px;top:auto}
.skip-link:focus{left:12px;top:12px;z-index:2000;background:#fff;padding:8px 14px;border-radius:6px}

/* -------- buttons -------- */
.btn{display:inline-block;border-radius:999px;font-weight:600;font-size:.92rem;
  padding:.72em 1.6em;cursor:pointer;transition:all .25s ease;border:2px solid transparent;text-decoration:none}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn-primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.btn-dark{background:#12222b;color:#fff;border-color:#12222b}
.btn-dark:hover{background:#000}
.btn-outline{background:transparent;color:var(--blue);border-color:var(--blue)}
.btn-outline:hover{background:var(--blue);color:#fff}

/* -------- header / nav -------- */
.site-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--line)}
.nav-wrap{max-width:var(--wrap);margin:0 auto;padding:10px 24px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{height:46px;width:auto}
.main-nav{display:flex;gap:26px;margin-left:24px;flex:1 1 auto}
.main-nav a{color:#25333b;font-size:.82rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;padding:6px 0;position:relative}
.main-nav a:hover{color:var(--blue);text-decoration:none}
.main-nav a.active{color:var(--blue)}
.main-nav a.active::after,.main-nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--blue)}
.btn-contact{flex:0 0 auto;display:inline-block;border:1.5px solid var(--blue);color:var(--blue);
  border-radius:999px;padding:.5em 1.25em;font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.btn-contact:hover{background:var(--blue);color:#fff;text-decoration:none}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;font-size:1.6rem;color:var(--blue);padding:4px 8px}

@media(max-width:960px){
  .main-nav{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;gap:0;
    margin:0;padding:0;border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    max-height:0;overflow:hidden;transition:max-height .3s ease}
  .nav-open .main-nav{max-height:420px}
  .main-nav a{padding:14px 24px;border-top:1px solid var(--line);font-size:.9rem}
  .main-nav a.active::after,.main-nav a:hover::after{display:none}
  .nav-toggle{display:block;margin-left:auto}
  .btn-contact{display:none}
}

/* -------- eyebrow + ghost watermark heading -------- */
.section{padding:64px 0}
.eyebrow-block{position:relative;text-align:center;margin-bottom:34px}
.ghost{font-size:clamp(44px,8vw,90px);font-weight:800;color:var(--ghost);letter-spacing:.04em;
  line-height:1;margin:0;text-transform:uppercase;user-select:none;white-space:nowrap;overflow:hidden}
.eyebrow{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);
  color:var(--blue);font-weight:700;font-size:1.15rem;letter-spacing:.14em;text-transform:uppercase;margin:0}

/* -------- inner-page sub hero band -------- */
.subhero{position:relative;height:350px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b1216}
.subhero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.subhero h1{position:relative;z-index:2;color:#fff;text-align:center;padding:0 24px;
  font-size:clamp(30px,6vw,58px);font-weight:800;text-transform:uppercase;margin:0;text-shadow:0 2px 14px rgba(0,0,0,.4)}

/* =================== HOME =================== */
/* hero */
.hero{position:relative;min-height:520px;display:flex;align-items:center;background:#0b1216;overflow:hidden}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:var(--hero-overlay)}
.hero .hero-inner{position:relative;z-index:3;max-width:var(--wrap);margin:0 auto;padding:70px 24px;width:100%}
.hero .hero-eyebrow{display:inline-block;border:1px solid rgba(255,255,255,.55);border-radius:999px;
  color:#fff;padding:.5em 1.2em;font-size:.82rem;letter-spacing:.02em;margin-bottom:22px}
.hero h1{color:#fff;font-size:clamp(34px,5.4vw,60px);font-weight:800;max-width:760px;margin:0 0 26px;line-height:1.08}

/* about split */
.about-split{display:grid;grid-template-columns:minmax(280px,500px) 1fr;gap:56px;align-items:center}
.about-media{display:flex;gap:14px;align-items:flex-end}
.about-media-col{display:flex;flex-direction:column;gap:20px;flex:0 0 auto}
.about-media .img-a{display:block;width:225px;height:280px;object-fit:cover;border-radius:70px 10px 10px 10px}
.about-media .img-b{flex:0 0 auto;width:225px;height:450px;object-fit:cover;border-radius:10px 10px 70px 10px}
.about-badge{background:var(--blue-dark);color:#fff;
  border-radius:10px;padding:18px 20px;box-shadow:var(--shadow);text-align:center}
.about-badge b{display:block;font-size:2rem;line-height:1;font-weight:800}
.about-badge span{font-size:.82rem;letter-spacing:.02em}
.about-body h2{font-size:clamp(24px,3vw,34px);margin-bottom:18px}
.about-body p{color:var(--muted)}
.about-body p strong,.about-body b{color:var(--ink)}

/* services band */
.band-services{background:var(--band);position:relative;overflow:hidden}
.band-services .ghost{color:rgba(255,255,255,.5)}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.svc-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.svc-card img{width:100%;height:190px;object-fit:cover}
.svc-card .svc-body{padding:20px 22px 24px}
.svc-card h4{font-size:1.12rem;margin-bottom:10px;color:var(--heading)}
.svc-card p{color:var(--muted);font-size:.92rem}
.svc-card a{font-weight:600}
.center-cta{text-align:center;margin-top:36px}

/* why choose us */
.why-split{display:grid;grid-template-columns:1fr minmax(300px,460px);gap:48px;align-items:center}
.why-body h2{font-size:clamp(22px,2.6vw,30px);margin-bottom:18px}
.why-body>p{color:var(--muted)}
.why-list{list-style:none;padding:0;margin:22px 0 0}
.why-list li{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 18px;margin-bottom:12px;
  box-shadow:var(--shadow-sm);font-weight:500;color:var(--ink)}
.why-media{display:flex;gap:16px;align-items:stretch}
.why-media img{flex:1;height:360px;object-fit:cover}
.why-media img:first-child{border-radius:120px 0 0 0}
.why-media img:last-child{border-radius:0 120px 0 0}

/* projects slider */
.band-projects{background:var(--band)}
.band-projects .ghost{color:rgba(255,255,255,.5)}
.proj-swiper{padding-bottom:8px}
.proj-swiper .swiper-slide img{width:100%;height:260px;object-fit:cover;border-radius:8px}
.swiper-button-next,.swiper-button-prev{color:var(--blue-dark)}

/* testimonials */
.testi-swiper{padding:44px 4px 46px}
.testi-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:46px 24px 26px;box-shadow:var(--shadow-sm);height:auto;text-align:center}
.testi-card .stars{position:absolute;top:-34px;left:50%;transform:translateX(-50%);
  width:68px;height:68px;border-radius:50%;background:var(--blue-dark);padding:6px;margin:0}
.testi-card p{color:#3a4750;font-style:italic;font-size:.95rem}
.testi-card .who{color:var(--blue);font-style:normal;font-weight:600;margin-top:10px}
.testi-swiper .swiper-pagination-bullet-active{background:var(--blue)}

/* contact section */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.contact-info h4{font-size:1.15rem;margin-bottom:14px}
.contact-info>p{color:var(--muted)}
.info-row{display:flex;gap:14px;align-items:flex-start;margin:18px 0}
.info-row .info-ic{flex:0 0 44px;width:44px;height:44px;display:block;color:var(--blue-dark)}
.info-row .info-ic svg{display:block;width:100%;height:100%;fill:currentColor}
.info-row b{display:block;color:var(--heading);font-size:.95rem}
.info-row a,.info-row span{color:var(--muted);font-size:.95rem}
#map{width:100%;height:300px;border-radius:var(--radius);margin-top:22px;z-index:1}

/* form */
.lead-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-sm)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{margin-bottom:16px}
.field label{display:block;font-size:.82rem;color:var(--muted);margin-bottom:6px;font-weight:500}
.field input,.field textarea{width:100%;border:1px solid #cfd8de;border-radius:8px;padding:11px 13px;
  font-family:inherit;font-size:.95rem;color:var(--ink);background:#fff}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(43,124,179,.15)}
.field textarea{min-height:120px;resize:vertical}
.hp-field{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.lead-form .btn{width:100%;margin-top:6px}

/* =================== SERVICES page grid =================== */
.svc-list{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.svc-list .svc-card p{font-size:.9rem}
@media(max-width:900px){.svc-list{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.svc-list{grid-template-columns:1fr}}

/* =================== ABOUT page =================== */
.about-page-intro{max-width:900px;margin:0 auto;text-align:center}
.about-page-intro p{color:var(--muted)}
.mv-band{display:grid;grid-template-columns:1fr 1fr}
.mv-half{display:flex;align-items:center;justify-content:center;min-height:240px;padding:44px 40px;text-align:center}
.mv-mission{background:var(--blue-dark)}
.mv-vision{background:linear-gradient(rgba(27,91,130,.74),rgba(27,91,130,.74)),url("orig/45.jpg") center/cover no-repeat}
.mv-inner{max-width:520px}
.mv-half h4{color:#fff;font-size:clamp(20px,2.4vw,28px);text-transform:uppercase;letter-spacing:.03em;margin-bottom:12px}
.mv-half p{color:#fff;margin:0;font-size:.95rem;line-height:1.65}

/* =================== PROJECTS page gallery =================== */
.wrap-wide{max-width:1460px}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}
.gallery-cell{display:block;width:100%;padding:0;border:0;background:#eef2f5;border-radius:8px;overflow:hidden;
  box-shadow:var(--shadow-sm);cursor:pointer;font:inherit;text-align:center;transition:box-shadow .3s ease,transform .3s ease}
.gallery-cell:hover,.gallery-cell:focus-visible{box-shadow:var(--shadow);transform:translateY(-3px)}
.gallery-cell img{width:100%;height:290px;object-fit:cover;display:block;transition:transform .4s ease}
.gallery-cell:hover img{transform:scale(1.05)}
.gallery-cap{display:block;padding:18px 12px;color:var(--blue);font-weight:700;font-size:1.15rem;letter-spacing:.01em}
@media(max-width:1100px){.gallery-grid{grid-template-columns:repeat(3,1fr);gap:26px}}
@media(max-width:900px){.gallery-grid{grid-template-columns:1fr 1fr;gap:22px}.gallery-cell img{height:230px}}
@media(max-width:560px){.gallery-grid{grid-template-columns:1fr}}

/* project gallery lightbox */
body.no-scroll{overflow:hidden}
.lightbox[hidden],.lightbox-viewer[hidden]{display:none}
.lightbox{position:fixed;inset:0;z-index:3000;background:rgba(8,20,28,.72);
  display:flex;align-items:center;justify-content:center;padding:24px;animation:fadeIn .25s ease both}
.lightbox-panel{background:#fff;border-radius:var(--radius-lg);width:min(1100px,100%);max-height:88vh;
  display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.4)}
.lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 22px;border-bottom:1px solid var(--line);flex:0 0 auto}
.lightbox-head h2{margin:0;font-size:1.2rem;color:var(--blue);text-transform:uppercase;letter-spacing:.04em}
.lightbox-close{background:none;border:0;font-size:1.9rem;line-height:1;color:var(--blue);cursor:pointer;padding:0 6px}
.lightbox-close:hover{color:var(--blue-dark)}
.lightbox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;
  padding:18px 22px 24px;overflow-y:auto}
.lightbox-thumb{padding:0;border:0;background:#eef2f5;border-radius:6px;overflow:hidden;cursor:pointer;line-height:0}
.lightbox-thumb img{width:100%;height:150px;object-fit:cover;transition:transform .35s ease}
.lightbox-thumb:hover img,.lightbox-thumb:focus-visible img{transform:scale(1.06)}
.lightbox-viewer{position:fixed;inset:0;z-index:3010;background:rgba(6,14,20,.94);
  display:flex;align-items:center;justify-content:center;padding:56px 70px}
.lightbox-viewer img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}
.lv-btn{position:absolute;background:rgba(255,255,255,.12);border:0;color:#fff;cursor:pointer;
  border-radius:50%;width:46px;height:46px;font-size:1.7rem;line-height:1;display:flex;
  align-items:center;justify-content:center;transition:background .25s ease}
.lv-btn:hover{background:rgba(255,255,255,.28)}
.lv-close{top:18px;right:18px}
.lv-prev{left:14px;top:50%;transform:translateY(-50%)}
.lv-next{right:14px;top:50%;transform:translateY(-50%)}
.lv-count{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#cfe0ec;font-size:.85rem;margin:0}
@media(max-width:560px){
  .lightbox{padding:0}
  .lightbox-panel{border-radius:0;max-height:100vh;height:100%}
  .lightbox-grid{grid-template-columns:1fr 1fr;gap:8px;padding:14px}
  .lightbox-thumb img{height:120px}
  .lightbox-viewer{padding:64px 12px}
}

/* =================== BLOG =================== */
.blog-list{display:grid;grid-template-columns:1fr;gap:34px;max-width:820px;margin:0 auto}
.blog-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.blog-card .thumb{width:100%;height:300px;object-fit:cover;background:#dce6ec}
.blog-card .blog-body{padding:24px 28px 28px}
.blog-card h3{font-size:1.3rem;margin-bottom:12px}
.blog-card h3 a{color:var(--heading)}
.blog-card h3 a:hover{color:var(--blue);text-decoration:none}
.blog-card p{color:var(--muted);font-size:.95rem}
.blog-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.82rem;margin-top:16px}
.blog-meta img{width:32px;height:32px;border-radius:50%}

/* =================== POST (article) =================== */
.article{max-width:820px;margin:0 auto}
.article .lede-img{width:100%;max-height:520px;object-fit:cover;border-radius:var(--radius);margin-bottom:30px;background:#dce6ec}
.article h2{font-size:1.5rem;margin:34px 0 14px}
.article h3{font-size:1.25rem;margin:28px 0 12px}
.article h4{font-size:1.08rem;margin:22px 0 10px}
.article p{color:#39454d}
.article ul{color:#39454d;padding-left:22px;margin:0 0 18px}
.article li{margin-bottom:8px}
.article .article-foot{color:var(--muted);font-style:italic;border-top:1px solid var(--line);margin-top:34px;padding-top:20px;font-size:.9rem}
.related{margin-top:44px}
.related h2{font-size:1.15rem;color:var(--blue);letter-spacing:.04em;text-transform:uppercase;margin-bottom:16px}
.related a{display:block;max-width:320px}
.related img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#dce6ec}

/* =================== FOOTER =================== */
.site-footer{background:var(--blue-dark);color:#dce8f0;padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:40px}
.site-footer .brand img{height:56px;background:#fff;border-radius:8px;padding:6px}
.site-footer p{color:#c3d6e3;font-size:.9rem;margin-top:16px}
.footer-col h4{color:#fff;font-size:1.05rem;margin-bottom:16px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:10px}
.footer-links a{color:#cfe0ec;font-size:.9rem;text-transform:uppercase;letter-spacing:.03em}
.footer-links a:hover{color:#fff}
.footer-contact .info-row{margin:14px 0}
.footer-contact .info-row .info-ic{color:#fff}
.footer-contact b{color:#fff}
.footer-contact a,.footer-contact span{color:#cfe0ec;font-size:.9rem}
.footer-bottom{background:#fff;color:var(--heading);margin-top:44px;padding:20px 0;text-align:center;
  font-size:.82rem;letter-spacing:.04em}

/* =================== motion =================== */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.hero .hero-inner{animation:fadeUp .8s ease both}
.reveal{animation:fadeUp .7s ease both}
.reveal-2{animation:fadeUp .7s .12s ease both}
.reveal-3{animation:fadeUp .7s .24s ease both}
.svc-card,.gallery-cell,.blog-card{animation:fadeIn .6s ease both}
.btn,.svc-card img,.gallery-cell img,.main-nav a{transition:all .3s ease}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* =================== responsive =================== */
@media(max-width:960px){
  .about-split,.why-split,.contact-grid{grid-template-columns:1fr}
  .mv-band{grid-template-columns:1fr}
  .why-split .why-media{order:-1}
  .services-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .section{padding:44px 0}
  .about-media{justify-content:center;flex-wrap:wrap;gap:18px}
  .about-media .img-b{height:340px}
  .mv-half{padding:34px 24px;min-height:0}
  .why-media img{height:280px}
  .form-row{grid-template-columns:1fr}
}

/* page: home - faint textured background bands (source shows photos behind ghost headings) */
.band-services.bg-workers{background:linear-gradient(rgba(169,207,227,.90),rgba(169,207,227,.90)),url("orig/05.jpg") center/cover no-repeat}
.why-textured{background:linear-gradient(rgba(255,255,255,.93),rgba(255,255,255,.93)),url("orig/11.jpg") center/cover no-repeat}

/* page: shared - footer social icons (three 25x25 marks from source footer) */
.footer-social{display:flex;gap:10px;margin-top:18px}
.footer-social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;transition:background .25s ease}
.footer-social a:hover{background:rgba(255,255,255,.28)}
.footer-social img{width:18px;height:18px}
