/* NXG RESIN — PREMIUM EPOXY FLOORING */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #080808;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

/* HEADER */

header {
  min-height: 105px;
  padding: 14px 7%;
  background: rgba(5,5,5,.97);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #262626;
}

header img {
  width: 180px;
  max-width: 38vw;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav a {
  transition: opacity .2s ease;
}

nav a:hover {
  opacity: .65;
}

nav .cta {
  border: 1px solid #fff;
  padding: 14px 20px;
}

/* HERO */

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 90px 7%;
  position: relative;
 background:
  linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.35)),
  url("images/IMG_1105.jpeg") center bottom/cover no-repeat;
}

.hero > div {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero p,
section small {
  display: block;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #c8c8c8;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  line-height: .96;
  letter-spacing: -3px;
  margin-bottom: 28px;
}

.hero h1 span {
  color: #bdbdbd;
}

.hero h3 {
  max-width: 650px;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 400;
  color: #d0d0d0;
  margin-bottom: 36px;
}

/* BUTTONS */

.button,
button {
  display: inline-block;
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
  padding: 18px 28px;
  margin: 5px 7px 5px 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}

.button:hover,
button:hover {
  background: #d8d8d8;
}

.button.secondary {
  background: transparent;
  color: #fff;
}

/* GENERAL SECTIONS */

section {
  padding: 95px 7%;
}

section h2 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 30px;
}

.dark {
  background: #101010;
}

.lead {
  max-width: 850px;
  color: #c8c8c8;
  font-size: 19px;
  line-height: 1.8;
}

/* SERVICES + PROCESS */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 45px;
}

.cards article {
  min-height: 220px;
  padding: 30px;
  background: #111;
  border: 1px solid #292929;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
}

.dark .cards article {
  background: #080808;
}

.cards article p {
  margin-top: 18px;
  color: #a9a9a9;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
}

/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #242424;
}

.gallery img:nth-child(1) {
  grid-column: span 8;
  grid-row: span 2;
}

.gallery img:nth-child(2) {
  grid-column: span 4;
}

.gallery img:nth-child(3) {
  grid-column: span 4;
}

.gallery img:nth-child(4) {
  grid-column: span 6;
}

.gallery img:nth-child(5) {
  grid-column: span 6;
}

/* WHY NXG */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 850px;
  gap: 12px;
  margin-top: 38px;
}

.features b {
  padding: 20px;
  background: #111;
  border: 1px solid #282828;
  font-size: 15px;
}

/* QUOTE SECTION */

.quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  background: #eeeeee;
  color: #090909;
}

.quote small {
  color: #555;
}

.quote p {
  color: #555;
  font-size: 18px;
  margin-bottom: 25px;
}

.phone {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.insta {
  display: inline-block;
  margin: 7px 0;
  font-weight: 700;
  border-bottom: 1px solid #777;
}

/* FORM */

form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  background: #fff;
  color: #111;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  padding: 17px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #111;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

form button {
  width: 100%;
  background: #080808;
  color: #fff;
  border-color: #080808;
  margin: 3px 0 0;
}

/* FOOTER */

footer {
  padding: 55px 7%;
  text-align: center;
  background: #050505;
  color: #888;
  border-top: 1px solid #222;
}

footer img {
  width: 180px;
  max-width: 60%;
  margin-bottom: 20px;
}

footer p {
  margin: 5px 0;
  font-size: 13px;
}

/* MOBILE */

@media (max-width: 800px) {

  header {
    min-height: 90px;
    padding: 10px 6%;
  }

  header img {
    width: 145px;
    max-width: 42vw;
  }

  nav a:not(.cta) {
    display: none;
  }

  nav .cta {
    padding: 12px 15px;
    font-size: 12px;
  }

  .hero {
    min-height: 700px;
    padding: 80px 7%;
    background:
      linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.82)),
      url("images/IMG_1105.jpeg") center 78%/cover no-repeat;
  }

  .hero p {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }

  .hero h3 {
    font-size: 18px;
  }

  .button {
    padding: 16px 18px;
    font-size: 12px;
  }

  section {
    padding: 70px 7%;
  }

  section h2 {
    font-size: 40px;
  }

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

  .cards article {
    min-height: auto;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .gallery img:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery img:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

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

  .quote {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .phone {
    font-size: 25px;
  }
}

@media (max-width: 430px) {

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

  .hero .button {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .gallery img:nth-child(n),
  .gallery img:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ===== NXG RESIN FINAL MOBILE POLISH ===== */

/* Trust bar */
.trustbar{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
  padding:22px 6%;
  background:#111;
  border-top:1px solid #292929;
  border-bottom:1px solid #292929;
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

/* Keep sections tighter */
#about,
#services,
#work,
.quote,
.closing-cta,
section.dark{
  min-height:auto;
}

/* About section */
#about{
  padding-top:75px;
  padding-bottom:75px;
}

#about .lead{
  max-width:750px;
  margin-bottom:45px;
}

.features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.features b{
  padding:25px;
  border:1px solid #292929;
  background:#111;
}

/* Services / process cards */
.cards{
  gap:15px;
}

.cards article{
  min-height:auto;
}

/* Gallery polish */
.gallery{
  gap:12px;
}

.gallery img{
  max-height:520px;
  object-fit:cover;
}

/* Service area */
section:not(.hero):not(.quote):not(.closing-cta){
  height:auto;
}

/* Closing CTA */
.closing-cta{
  padding:85px 7%;
  background:#080808;
  text-align:left;
}

.closing-cta h2{
  max-width:750px;
  margin-bottom:20px;
}

.closing-cta p{
  color:#bbb;
  margin-bottom:30px;
  font-size:20px;
}

.closing-cta .button{
  display:inline-block;
  margin-right:10px;
}

/* Quote form */
.quote{
  padding-top:80px;
  padding-bottom:80px;
}

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

.quote input,
.quote select,
.quote textarea{
  width:100%;
  box-sizing:border-box;
}

.quote textarea{
  min-height:150px;
  resize:vertical;
}

/* Floating quote button */
.floating-quote{
  display:none;
}

/* ===== MOBILE ===== */

@media(max-width:700px){

  header{
    padding:14px 6%;
  }

  header img{
    width:145px;
  }

  header nav a:not(.cta){
    display:none;
  }

  header .cta{
    font-size:13px;
    padding:14px 18px;
  }

  .trustbar{
    gap:10px;
    padding:18px 5%;
    text-align:center;
  }

  .trustbar span{
    width:100%;
    font-size:11px;
  }

  #services,
  #work,
  #about,
  section.dark{
    padding-top:60px;
    padding-bottom:60px;
  }

  #about h2,
  .closing-cta h2{
    font-size:44px;
    line-height:1;
  }

  #about .lead{
    font-size:19px;
    line-height:1.65;
    margin-bottom:30px;
  }

  .features{
    grid-template-columns:1fr;
    gap:10px;
  }

  .features b{
    padding:20px;
    font-size:16px;
  }

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

  .gallery img{
    width:100%;
    height:230px;
    object-fit:cover;
  }

  .gallery img:first-child{
    grid-column:1 / -1;
    height:330px;
  }

  .closing-cta{
    padding:65px 7% 80px;
  }

  .closing-cta p{
    font-size:18px;
  }

  .closing-cta .button{
    display:block;
    width:100%;
    box-sizing:border-box;
    text-align:center;
    margin:10px 0;
  }

  .quote{
    padding:65px 7% 100px;
  }

  .quote h2{
    font-size:44px;
    line-height:1.05;
  }

  .quote input,
  .quote select,
  .quote textarea{
    font-size:16px;
  }

  .floating-quote{
    display:block;
    position:fixed;
    right:16px;
    bottom:20px;
    z-index:9999;
    background:#fff;
    color:#000;
    border:1px solid #000;
    padding:14px 18px;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.5px;
    text-decoration:none;
    box-shadow:0 6px 25px rgba(0,0,0,.35);
  }
}
/* FINAL HEADER + SPACING TWEAK */

@media(max-width:700px){

  header{
    min-height:72px;
    padding:8px 6%;
  }

  header img{
    width:125px;
  }

  header .cta{
    padding:11px 14px;
    font-size:11px;
  }

  #about,
  #services,
  #work,
  section.dark,
  .closing-cta,
  .quote{
    padding-top:52px;
  }

  section small{
    margin-bottom:12px;
  }

  #about h2,
  .closing-cta h2,
  .quote h2{
    margin-top:0;
  }
}
@media(max-width:700px){

  .closing-cta{
    padding-bottom:110px;
  }

  .floating-quote{
    bottom:28px;
  }

  .closing-cta .button{
    margin-top:12px;
  }
}
/* THANK YOU PAGE — NEXT STEPS */

.next-steps{
  padding:70px 7%;
  background:#101010;
  border-top:1px solid #222;
}

.next-steps h2{
  font-size:clamp(38px,6vw,58px);
  line-height:1.05;
  margin-bottom:35px;
}

.next-steps .step{
  border-top:1px solid #333;
  padding:24px 0;
  max-width:850px;
}

.next-steps .step strong{
  display:block;
  font-size:16px;
  letter-spacing:1px;
  margin-bottom:8px;
}

.next-steps .step p{
  color:#aaa;
  font-size:16px;
  line-height:1.7;
  margin:0;
}

@media(max-width:700px){
  .next-steps{
    padding:55px 7%;
  }

  .next-steps h2{
    font-size:40px;
  }

  .next-steps .step{
    padding:20px 0;
  }
}
@media(max-width:700px){

  .floating-quote{
    right:14px;
    bottom:90px;
    padding:12px 16px;
    font-size:10px;
  }

  .quote{
    padding-bottom:150px;
  }
}
@media(max-width:700px){

  .floating-quote{
    display:none !important;
  }

  .quote{
    padding-bottom:80px;
  }

}
/* ===== PROJECT TRANSFORMATION SECTION ===== */

.project-card{
  margin-top:45px;
  padding-top:35px;
  border-top:1px solid #2b2b2b;
}

.project-heading{
  margin-bottom:25px;
}

.project-heading h3{
  font-size:clamp(30px,5vw,48px);
  margin:5px 0 8px;
  line-height:1.05;
}

.project-heading p{
  color:#aaa;
  font-size:16px;
}

.project-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.project-photo{
  position:relative;
  overflow:hidden;
  background:#111;
  border:1px solid #292929;
}

.project-photo span{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  background:#fff;
  color:#000;
  padding:8px 11px;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.5px;
}

.project-photo img{
  width:100%;
  height:420px;
  display:block;
  object-fit:cover;
}

.project-photo.featured{
  grid-column:1 / -1;
}

.project-photo.featured img{
  height:560px;
}

@media(max-width:700px){

  .project-card{
    margin-top:35px;
  }

  .project-gallery{
    grid-template-columns:1fr;
  }

  .project-photo.featured{
    grid-column:auto;
  }

  .project-photo img,
  .project-photo.featured img{
    height:320px;
  }

  .project-heading h3{
    font-size:36px;
  }
}
