*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#f6f6f6;
  color:#222;
  overflow-x:hidden;
}

/* HERO */

.hero{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(
      135deg,
      #fff9f9 0%,
      #f3faff 50%,
      #fffde9 100%
    );
  padding:40px 20px 100px;
}

/* SPLATTERS */

.splatter{
  position:absolute;
  border-radius:50%;
  opacity:0.4;
  filter:blur(2px);
}

.splatter1{
  width:420px;
  height:420px;
  background:#ffd1d1;
  top:-160px;
  left:-120px;
}

.splatter2{
  width:320px;
  height:320px;
  background:#d7efff;
  top:60px;
  right:-100px;
}

.splatter3{
  width:260px;
  height:260px;
  background:#fff0b6;
  bottom:-80px;
  left:15%;
}

.splatter4{
  width:230px;
  height:230px;
  background:#ffe2c6;
  bottom:-70px;
  right:14%;
}

/* PAINT ICONS */

.paint-icon{
  position:absolute;
  width:80px;
  height:80px;
  background:#fff;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  font-size:34px;
  color:#d62828;
}

.paint1{
  top:48%;
  right:10%;
  transform:rotate(-12deg);
}

.paint2{
  bottom:60px;
  left:10%;
  transform:rotate(12deg);
}

.paint3{
  top:220px;
  left:12%;
  transform:rotate(-8deg);
}

/* NAV */

.top-nav{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:16px;
}

.logo-icon{
  width:74px;
  height:74px;
  border-radius:18px;
  background:#d62828;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
}

.logo-text h2{
  font-size:34px;
}

.logo-text span{
  color:#666;
  font-size:15px;
}

.help-btn{
  background:#d62828;
  color:#fff;
  text-decoration:none;
  padding:12px 22px;
  border-radius:10px;
  font-weight:bold;
}

/* HERO CONTENT */

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  margin-top:90px;
}

.hero-content h1{
  font-size:72px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:22px;
  color:#555;
  margin-bottom:35px;
}

.hero-btn{
  display:inline-block;
  background:#d62828;
  color:#fff;
  text-decoration:none;
  padding:18px 34px;
  border-radius:14px;
  font-size:18px;
  font-weight:bold;
}

/* MAIN */

.container{
  max-width:1200px;
  margin:auto;
  padding:60px 20px;
}

.simple-message{
  text-align:center;
}

.big-red-title{
  color:#d62828;
  font-size:52px;
  font-weight:900;
  margin-bottom:10px;
}

.estimate-subtext{
  color:#666;
  font-size:18px;
}

.section-divider{
  width:120px;
  height:2px;
  background:#d62828;
  margin:35px auto;
}

.top-option-text{
  text-align:center;
  margin-bottom:25px;
  font-size:18px;
}

/* TABS */

.tabs{
  display:flex;
  justify-content:center;
  gap:15px;
  margin-bottom:30px;
}

.tab{
  padding:14px 34px;
  border:none;
  border-radius:12px;
  background:#ddd;
  cursor:pointer;
  font-size:16px;
  font-weight:bold;
  transition:0.2s;
}

.tab.active{
  background:#d62828;
  color:#fff;
}

/* FORM */

.form-box{
  background:#fff;
  padding:40px;
  border-radius:20px;
  box-shadow:0 5px 30px rgba(0,0,0,0.06);
}

.tab-content{
  display:none;
}

.tab-content.active{
  display:block;
}

.tab-content h2{
  margin-bottom:25px;
}

.grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
  gap:22px;
}

.input-group{
  display:flex;
  flex-direction:column;
}

.input-group label{
  margin-bottom:8px;
  font-weight:bold;
}

.input-group input,
select{
  padding:14px;
  border:1px solid #ddd;
  border-radius:12px;
  font-size:16px;
}

.input-group input::placeholder{
  color:#bbb;
}

/* COATS */

.coat-box{
  margin-top:35px;
}

.coat-box h3{
  margin-bottom:10px;
}

.coat-note{
  color:#666;
  margin-bottom:14px;
}

/* CITY */

.city-box{
  margin-top:35px;
}

.city-box h3{
  margin-bottom:10px;
}

.city-note{
  color:#666;
  margin-bottom:14px;
  line-height:1.5;
}

/* BUTTONS */

.estimate-btn{
  width:100%;
  margin-top:35px;
  padding:20px;
  border:none;
  background:#d62828;
  color:#fff;
  border-radius:14px;
  font-size:22px;
  font-weight:bold;
  cursor:pointer;
}

.refresh-btn{
  margin-top:16px;
  padding:14px 22px;
  border:none;
  background:#111;
  color:#fff;
  border-radius:10px;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
}

/* RESULTS */

.results{
  display:none;
  margin-top:45px;
}

/* RESULT SECTIONS */

.result-section{
  margin-bottom:35px;
}

.result-title{
  text-align:center;
  margin-bottom:20px;
  font-size:28px;
}

.result-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.result-card{
  background:#fff;
  padding:30px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 5px 25px rgba(0,0,0,0.06);
}

.result-card p{
  font-size:30px;
  color:#d62828;
  font-weight:900;
  margin-top:15px;
}

.total{
  border:3px solid #d62828;
}

/* GRAND TOTAL */

.grand-total-box{
  margin-top:35px;
  background:linear-gradient(
    135deg,
    #dff3ff,
    #edf7ff
  );
  color:#114b73;
  padding:40px;
  border-radius:22px;
  border:2px solid #b9e1ff;
  box-shadow:0 10px 35px rgba(0,0,0,0.06);
}

.grand-total-title{
  text-align:center;
  margin-bottom:30px;
}

.grand-total-title h2{
  font-size:40px;
  margin-bottom:8px;
}

.grand-total-title p{
  color:#4f7190;
  font-size:17px;
}

.grand-total-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.grand-card{
  background:#fff;
  padding:28px;
  border-radius:18px;
  text-align:center;
}

.grand-card h3{
  margin-bottom:12px;
  color:#114b73;
}

.grand-card p{
  font-size:30px;
  font-weight:900;
  color:#114b73;
}

/* WARNINGS */

.warning-box{
  background:#fff8e8;
  border:2px solid #ffe08a;
  padding:24px;
  border-radius:18px;
  margin-bottom:25px;
}

.warning-box h3{
  color:#9b6b00;
  margin-bottom:12px;
  font-size:24px;
}

.warning-box p{
  color:#5f4a16;
  margin-bottom:18px;
  line-height:1.6;
}

.warning-btn{
  background:#111;
  color:#fff;
  border:none;
  padding:12px 22px;
  border-radius:10px;
  font-weight:bold;
  cursor:pointer;
}

/* QUOTE BOX */

.quote-box{
  margin-top:35px;
  background:#fff3f3;
  border:2px solid #ffd1d1;
  padding:35px;
  border-radius:18px;
  text-align:center;
}

.quote-box h3{
  margin-bottom:12px;
}

.quote-box p{
  color:#666;
  margin-bottom:20px;
}

.quote-main-btn{
  display:inline-block;
  background:#d62828;
  color:#fff;
  text-decoration:none;
  padding:16px 30px;
  border-radius:12px;
  font-weight:bold;
}

/* FIND COMPANY */

.find-company-text{
  margin-top:35px;
  text-align:center;
  font-size:24px;
  font-weight:bold;
}

/* CONTRACTORS */

.contractors{
  display:none;
  margin-top:40px;
}

.contractor-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
}

.contractor-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 5px 25px rgba(0,0,0,0.06);
}

.contractor-image{
  width:100%;
  height:220px;
  object-fit:cover;
}

.contractor-body{
  padding:25px;
}

.contractor-body h3{
  margin-bottom:12px;
}

.contractor-body p{
  margin-bottom:10px;
  color:#555;
}

.button-group{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.website-btn,
.call-btn{
  flex:1;
  text-align:center;
  color:#fff;
  text-decoration:none;
  padding:14px;
  border-radius:10px;
  font-weight:bold;
}

.website-btn{
  background:#111;
}

.call-btn{
  background:#d62828;
}

/* ERROR */

.error-box{
  display:none;
  margin-top:30px;
  background:#fff0f0;
  border:2px solid #ffb8b8;
  padding:30px;
  border-radius:18px;
  text-align:center;
}

.error-box h3{
  color:#d62828;
  margin-bottom:12px;
}

.error-box p{
  margin-bottom:20px;
}

.error-box button{
  background:#d62828;
  color:#fff;
  border:none;
  padding:14px 24px;
  border-radius:10px;
  font-weight:bold;
  cursor:pointer;
}

/* MOBILE */

@media(max-width:768px){

  .top-nav{
    flex-direction:column;
    gap:20px;
  }

  .hero-content h1{
    font-size:48px;
  }

  .tabs{
    flex-direction:column;
  }

  .tab{
    width:100%;
  }

  .button-group{
    flex-direction:column;
  }

  .paint-icon{
    display:none;
  }

  .form-box{
    padding:25px;
  }

}
/* FOOTER */

.footer{
  margin-top:70px;
  background:#111;
  padding:45px 20px;
  text-align:center;
}

.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:25px;
  margin-bottom:20px;
}

.footer-links a{
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  transition:0.2s;
}

.footer-links a:hover{
  color:#ffd6d6;
}

.footer-copy{
  color:#999;
  font-size:14px;
}
.options-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
  margin-top:35px;
}

.coat-box,
.city-box{
  background:#fafafa;
  border:1px solid #ececec;
  padding:25px;
  border-radius:18px;
}
.contractor-phone,
.contractor-website{
  margin-top:8px;
  font-size:15px;
  color:#444;
  word-break:break-word;
}

.contractor-website{
  color:#d62828;
}
.contractor-deal{
  margin-top:14px;
  margin-bottom:14px;
  background:#fff3cd;
  border:2px solid #ffe08a;
  color:#8a5a00;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  font-size:15px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}
.contractor-rating{
  font-size:16px;
  font-weight:700;
  color:#222;
  margin-bottom:12px;
}