/* =========================
   Queens Renovation Website
   ========================= */

:root{
  --navy:#031633;
  --navy-2:#061f46;
  --red:#dc2626;
  --red-2:#ef4444;
  --white:#ffffff;
  --light:#f5f7fb;
  --ink:#08152d;
  --muted:#5b6475;
  --line:#dce3ee;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:'Inter', Arial, sans-serif;
  color:var(--ink);
  background:var(--white);
}

a{text-decoration:none;color:inherit}

.container{
  width:min(1180px,92%);
  margin:0 auto;
}

/* Top Strip */
.top-strip{
  background:var(--navy);
  color:white;
  font-size:14px;
}

.top-strip-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
}

.top-links{
  display:flex;
  gap:22px;
  align-items:center;
  font-weight:700;
}

/* Header */
.site-header{
  background:white;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 18px rgba(0,0,0,.08);
}

.nav-wrap{
  height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand{
  display:flex;
  align-items:center;
}

.brand img{
  width:300px;
  height:auto;
  object-fit:contain;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-weight:800;
  font-size:14px;
}

.nav a:hover{color:var(--red)}

.nav-cta{
  background:var(--red);
  color:white !important;
  padding:18px 26px;
  border-radius:6px;
  text-transform:uppercase;
  box-shadow:0 8px 20px rgba(220,38,38,.25);
}

.menu-btn{
  display:none;
  background:none;
  border:none;
  font-size:30px;
  cursor:pointer;
}

/* Hero */
.hero{
  position:relative;
  min-height:720px;
  color:white;
  overflow:hidden;
  background:var(--navy);
}

.hero-image{
  position:absolute;
  inset:0;
  background-image:url('assets/hero.jpg');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

.hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(3,22,51,.96) 0%, rgba(3,22,51,.86) 35%, rgba(3,22,51,.48) 62%, rgba(3,22,51,.18) 100%);
}

.hero-grid{
  position:relative;
  z-index:2;
  min-height:720px;
  display:grid;
  grid-template-columns:1fr 420px;
  gap:70px;
  align-items:center;
}

.hero-copy{
  max-width:660px;
}

.hero h1{
  margin:0 0 26px;
  font-size:64px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-1.8px;
}

.hero h1 em{
  display:inline-block;
  color:var(--red-2);
  font-family:'Playfair Display', Georgia, serif;
  font-style:italic;
  font-weight:700;
}

.hero p{
  font-size:20px;
  line-height:1.65;
  color:#f4f7fb;
  margin:0 0 32px;
  max-width:610px;
}

.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:34px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  border-radius:7px;
  font-weight:900;
  text-transform:uppercase;
  padding:15px 28px;
}

.primary{
  background:var(--red);
  color:white;
}

.secondary{
  border:1px solid rgba(255,255,255,.75);
  color:white;
  min-width:220px;
  flex-direction:column;
  line-height:1.1;
}

.secondary small{
  font-size:12px;
  font-weight:700;
  margin-top:4px;
}

.served span{
  display:block;
  color:#d7e1ee;
  font-size:18px;
  margin-bottom:8px;
}

.served strong{
  display:block;
  line-height:1.7;
  font-size:18px;
}

.hero-card{
  background:rgba(255,255,255,.92);
  color:var(--ink);
  border-radius:10px;
  padding:34px;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  backdrop-filter:blur(7px);
  align-self:center;
}

.hero-card h2{
  margin:0 0 24px;
  font-size:30px;
  line-height:1.15;
}

.hero-card ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:20px;
}

.hero-card li{
  font-weight:800;
  font-size:17px;
}

.hero-card li::before{
  content:'○';
  color:var(--red);
  font-weight:900;
  margin-right:12px;
}

/* Trust Bar */
.trust-bar{
  background:white;
  border-bottom:1px solid var(--line);
  box-shadow:0 6px 22px rgba(6,31,70,.08);
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.trust-grid div{
  display:flex;
  align-items:center;
  gap:16px;
  padding:26px 20px;
  border-right:1px solid var(--line);
}

.trust-grid div:last-child{border-right:0}

.trust-grid span{
  font-size:32px;
}

.trust-grid strong{
  font-size:16px;
  line-height:1.35;
}

/* Sections */
.section{
  padding:74px 0;
}

.section-heading{
  text-align:center;
  margin-bottom:42px;
}

.section-heading.left{
  text-align:left;
  margin-bottom:26px;
}

.section-heading h2{
  margin:0;
  font-size:32px;
  text-transform:uppercase;
  letter-spacing:.2px;
}

.section-heading h2::after{
  content:'';
  display:block;
  width:34px;
  height:3px;
  background:var(--red);
  margin:12px auto 0;
}

.section-heading.left h2::after{
  margin-left:0;
}

.section-heading p{
  color:var(--muted);
  font-size:17px;
  max-width:650px;
  margin:14px auto 0;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.step{
  text-align:center;
  position:relative;
  padding:10px;
}

.step span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--red);
  color:white;
  font-weight:900;
  margin-bottom:12px;
}

.step-icon{
  font-size:46px;
  margin-bottom:16px;
}

.step h3{
  margin:0 0 10px;
  font-size:17px;
}

.step p{
  color:var(--muted);
  margin:0;
  line-height:1.55;
}

/* Services */
.services-section{
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:white;
}

.service-card{
  min-height:145px;
  padding:24px;
  display:grid;
  place-items:center;
  text-align:center;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.service-card:nth-child(4n){border-right:0}
.service-card:nth-last-child(-n+4){border-bottom:0}

.service-card span{
  font-size:34px;
  margin-bottom:10px;
}

.service-card h3{
  margin:0;
  font-size:15px;
}

.project-minimum{
  margin:24px auto 0;
  background:white;
  border:1px solid var(--line);
  border-radius:999px;
  max-width:570px;
  text-align:center;
  padding:14px 20px;
}

.project-minimum span{
  color:var(--red);
}

/* Split Section */
.split-section{
  background:#fff;
}

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

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:34px;
  box-shadow:0 10px 28px rgba(6,31,70,.06);
}

.why-panel{
  background:linear-gradient(90deg,#fff 0%,#fff 60%,#eef4fb 100%);
}

.who-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.who-grid div{
  text-align:center;
}

.who-grid span{
  font-size:36px;
}

.who-grid h3{
  font-size:15px;
}

.who-grid p{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.check-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}

.check-list li{
  font-weight:700;
  line-height:1.4;
}

.check-list li::before{
  content:'✓';
  background:var(--navy);
  color:white;
  width:22px;
  height:22px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  margin-right:10px;
  font-size:13px;
}

/* Important */
.important{
  background:var(--navy);
  color:white;
  padding:42px 0;
}

.important-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
  align-items:center;
}

.important h2{
  margin:0 0 12px;
  text-transform:uppercase;
}

.important p{
  color:#dbe5f1;
  line-height:1.7;
  margin:0;
}

.important-items{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.important-items span{
  border:1px solid rgba(255,255,255,.25);
  border-radius:10px;
  padding:18px;
  text-align:center;
  font-weight:800;
}

/* Form */
.consultation{
  background:var(--navy);
  padding:64px 0;
  color:white;
}

.light-heading h2::after{
  background:var(--red);
}

.light-heading p{
  color:#dbe5f1;
}

.lead-form{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea{
  width:100%;
  border:1px solid #d1d8e5;
  padding:16px;
  border-radius:6px;
  font:inherit;
  background:white;
}

.lead-form textarea{
  grid-row:span 2;
  resize:vertical;
  min-height:118px;
}

.upload-box{
  grid-row:span 2;
  background:white;
  color:var(--ink);
  border:2px dashed #ccd6e6;
  border-radius:8px;
  min-height:118px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
  padding:18px;
}

.upload-box input{
  display:none;
}

.upload-box span{
  font-size:42px;
}

.upload-box small{
  color:var(--muted);
  margin-top:5px;
}

.submit-btn{
  grid-column:2 / 4;
  background:var(--red);
  color:white;
  border:none;
  min-height:56px;
  border-radius:6px;
  font-weight:900;
  text-transform:uppercase;
  font-size:16px;
  cursor:pointer;
}

.privacy{
  grid-column:1 / -1;
  text-align:center;
  margin:0;
  color:#dbe5f1;
  font-size:14px;
}

/* Testimonials */
.testimonials{
  background:white;
}

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.testimonial,
.service-area{
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  background:white;
}

.stars{
  color:var(--red);
  font-size:22px;
  letter-spacing:2px;
  margin-bottom:12px;
}

.testimonial p,
.service-area p{
  color:var(--muted);
  line-height:1.7;
}

/* FAQ */
.faq{
  background:var(--light);
}

.faq-list{
  max-width:850px;
  margin:0 auto;
  display:grid;
  gap:14px;
}

details{
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px 22px;
}

summary{
  cursor:pointer;
  font-weight:800;
}

details p{
  color:var(--muted);
  line-height:1.7;
}

/* Footer */
.site-footer{
  background:var(--navy);
  color:white;
  padding-top:58px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:34px;
}

.footer-logo{
  width:220px;
  height:auto;
  display:block;
  margin-bottom:16px;
}

.site-footer p{
  color:#dbe5f1;
  line-height:1.7;
}

.site-footer h3{
  margin-top:0;
}

.site-footer a{
  display:block;
  color:#dbe5f1;
  margin-bottom:10px;
}

.footer-cta{
  background:var(--red);
  color:white !important;
  padding:14px 20px;
  border-radius:6px;
  display:inline-block !important;
  margin-top:10px;
  font-weight:900;
  text-transform:uppercase;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.16);
  margin-top:42px;
  padding:20px 4%;
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:#dbe5f1;
  font-size:13px;
}

/* Responsive */
@media(max-width:1050px){
  .hero h1{font-size:54px}
  .hero-grid{grid-template-columns:1fr}
  .hero-card{max-width:460px}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .service-card:nth-child(4n){border-right:1px solid var(--line)}
  .service-card:nth-child(2n){border-right:0}
  .service-card:nth-last-child(-n+4){border-bottom:1px solid var(--line)}
  .service-card:nth-last-child(-n+2){border-bottom:0}
  .split-grid{grid-template-columns:1fr}
  .lead-form{grid-template-columns:1fr 1fr}
  .submit-btn{grid-column:1 / -1}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){
  .top-strip-inner{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .top-links{
    flex-wrap:wrap;
    justify-content:center;
  }

  .nav-wrap{
    height:auto;
    padding:18px 0;
  }

  .brand img{
    width:210px;
  }

  .menu-btn{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:white;
    padding:20px;
    flex-direction:column;
    box-shadow:0 12px 28px rgba(0,0,0,.12);
  }

  .nav.open{
    display:flex;
  }

  .hero{
    min-height:760px;
  }

  .hero-grid{
    min-height:760px;
    gap:28px;
    padding:50px 0;
  }

  .hero h1{
    font-size:42px;
  }

  .hero p{
    font-size:17px;
  }

  .hero-card{
    padding:24px;
  }

  .trust-grid{
    grid-template-columns:1fr;
  }

  .trust-grid div{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .steps,
  .service-grid,
  .who-grid,
  .important-grid,
  .important-items,
  .testimonial-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .service-card{
    border-right:0 !important;
    border-bottom:1px solid var(--line) !important;
  }

  .lead-form{
    grid-template-columns:1fr;
  }

  .lead-form textarea,
  .upload-box{
    grid-row:auto;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
}


/* Final logo layout: 3D icon left + wordmark right */
.brand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  height:100% !important;
  max-width:430px !important;
  overflow:hidden !important;
}

.brand-icon{
  width:auto !important;
  height:78px !important;
  max-height:78px !important;
  object-fit:contain !important;
  display:block !important;
  flex:0 0 auto !important;
}

.brand-wordmark{
  width:260px !important;
  max-width:260px !important;
  height:auto !important;
  object-fit:contain !important;
  display:block !important;
  flex:0 1 auto !important;
}

.nav-wrap{
  min-height:112px !important;
  height:112px !important;
  align-items:center !important;
  overflow:hidden !important;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}

.footer-icon{
  width:auto;
  height:70px;
  object-fit:contain;
}

.footer-wordmark{
  width:220px;
  height:auto;
  object-fit:contain;
}

@media(max-width:900px){
  .brand{
    max-width:340px !important;
    gap:8px !important;
  }

  .brand-icon{
    height:64px !important;
    max-height:64px !important;
  }

  .brand-wordmark{
    width:210px !important;
    max-width:210px !important;
  }
}

@media(max-width:760px){
  .nav-wrap{
    min-height:96px !important;
    height:auto !important;
    padding:12px 0 !important;
  }

  .brand{
    max-width:260px !important;
  }

  .brand-icon{
    height:52px !important;
    max-height:52px !important;
  }

  .brand-wordmark{
    width:170px !important;
    max-width:170px !important;
  }

  .footer-icon{
    height:58px;
  }

  .footer-wordmark{
    width:180px;
  }
}


/* =========================
   Footer Brand Logo Styling
   ========================= */

.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  background:#ffffff;
  padding:12px 16px;
  border-radius:12px;
  width:fit-content;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.footer-icon{
  width:auto;
  height:70px;
  object-fit:contain;
  display:block;
}

.footer-wordmark{
  width:220px;
  height:auto;
  object-fit:contain;
  display:block;
}

/* Mobile */
@media(max-width:760px){

  .footer-brand{
    padding:10px 12px;
    gap:8px;
  }

  .footer-icon{
    height:54px;
  }

  .footer-wordmark{
    width:165px;
  }
}


/* =========================================
   FINAL RESPONSIVE HEADER + MOBILE LOGO
   ========================================= */

.nav-wrap{
  min-height:112px;
  height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  overflow:hidden;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  max-width:430px;
  overflow:hidden;
}

.brand-icon{
  width:auto;
  height:78px;
  max-height:78px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}

.brand-wordmark{
  width:260px;
  max-width:260px;
  height:auto;
  object-fit:contain;
  display:block;
  flex:0 1 auto;
}

.nav{
  display:flex;
  align-items:center;
  gap:28px;
}

.menu-btn{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  color:#08152d;
  font-size:36px;
}

@media(max-width:900px){

  .brand{
    max-width:340px;
    gap:8px;
  }

  .brand-icon{
    height:64px;
    max-height:64px;
  }

  .brand-wordmark{
    width:210px;
    max-width:210px;
  }
}

@media(max-width:760px){

  .nav-wrap{
    min-height:88px !important;
    height:auto !important;
    padding:10px 0 !important;
  }

  .brand{
    max-width:190px !important;
    gap:6px !important;
  }

  .brand-icon{
    height:34px !important;
    max-height:34px !important;
  }

  .brand-wordmark{
    width:135px !important;
    max-width:135px !important;
  }

  .menu-btn{
    display:block !important;
    font-size:34px !important;
  }

  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#ffffff;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    padding:24px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    z-index:999;
  }

  .nav.open{
    display:flex;
  }
}


/* =========================================
   MOBILE COMPACT MENU AREA
   ========================================= */

@media(max-width:760px){

  .top-strip{
    font-size:12px !important;
  }

  .top-strip-inner{
    padding:6px 0 !important;
    gap:4px !important;
  }

  .top-links{
    gap:10px !important;
    font-size:12px !important;
  }

  .site-header{
    min-height:auto !important;
  }

  .nav-wrap{
    min-height:68px !important;
    height:68px !important;
    padding:6px 0 !important;
  }

  .brand{
    max-width:170px !important;
    gap:5px !important;
  }

  .brand-icon{
    height:28px !important;
    max-height:28px !important;
  }

  .brand-wordmark{
    width:122px !important;
    max-width:122px !important;
  }

  .menu-btn{
    font-size:28px !important;
    line-height:1 !important;
    padding:4px 0 !important;
  }

  .nav{
    top:100% !important;
    padding:16px 20px !important;
    gap:14px !important;
  }

  .nav a{
    font-size:14px !important;
  }

  .nav-cta{
    padding:12px 16px !important;
    font-size:13px !important;
  }
}

@media(max-width:420px){

  .nav-wrap{
    min-height:62px !important;
    height:62px !important;
  }

  .brand{
    max-width:155px !important;
  }

  .brand-icon{
    height:25px !important;
  }

  .brand-wordmark{
    width:112px !important;
  }

  .menu-btn{
    font-size:26px !important;
  }
}


/* Upload removed - form rebalance */
.upload-box{
  display:none !important;
}

@media(min-width:761px){
  .lead-form textarea{
    grid-column:3 / 5;
  }

  .submit-btn{
    grid-column:2 / 4;
  }
}


/* =========================================
   Queens Renovation Group New Logo Update
   ========================================= */

.brand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  max-width:360px !important;
  height:100% !important;
  overflow:hidden !important;
}

.brand img{
  width:300px !important;
  max-width:100% !important;
  height:auto !important;
  max-height:92px !important;
  object-fit:contain !important;
  display:block !important;
}

.nav-wrap{
  min-height:112px !important;
  height:112px !important;
  align-items:center !important;
  overflow:hidden !important;
}

.footer-brand{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#ffffff !important;
  padding:12px 16px !important;
  border-radius:12px !important;
  width:fit-content !important;
  box-shadow:0 6px 18px rgba(0,0,0,.18) !important;
}

.footer-logo{
  width:260px !important;
  max-width:260px !important;
  height:auto !important;
  object-fit:contain !important;
  display:block !important;
}

@media(max-width:900px){
  .brand{
    max-width:260px !important;
  }

  .brand img{
    width:240px !important;
    max-height:76px !important;
  }
}

@media(max-width:760px){
  .nav-wrap{
    min-height:68px !important;
    height:68px !important;
    padding:6px 0 !important;
  }

  .brand{
    max-width:150px !important;
  }

  .brand img{
    width:145px !important;
    max-height:54px !important;
  }

  .footer-logo{
    width:190px !important;
    max-width:190px !important;
  }
}

@media(max-width:420px){
  .brand{
    max-width:135px !important;
  }

  .brand img{
    width:130px !important;
    max-height:48px !important;
  }
}
