
/* MSH EXTERIOR SERVICES - BRAND COLOURS */

:root {
  --navy: #002346;
  --blue: #2b7fab;
  --light-blue: #79c7e5;
  --dark-blue: #003355;
  --white: #ffffff;
  --background: #f4f7fa;
  --text: #263746;
}

/* GENERAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

a {
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.2;
}

/* NAVIGATION */

.site-header {
  background: var(--navy);
  padding: 18px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  color: white;
  font-size: 24px;
  font-weight: 800;
}

.brand span {
  color: var(--light-blue);
  font-weight: 400;
}

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

nav a {
  color: white;
  font-size: 14px;
}

nav a:hover {
  color: var(--light-blue);
}

.nav-button {
  background: var(--blue);
  padding: 10px 18px;
  border-radius: 5px;
}

/* HERO */

.hero {
  background: linear-gradient(135deg, #002346, #145c87);
  color: white;
  padding: 110px 0;
}

.hero-content {
  max-width: 1200px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--light-blue);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  max-width: 780px;
  margin: 20px 0;
}

.hero-description {
  font-size: 18px;
  max-width: 650px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 14px 25px;
  border-radius: 5px;
  font-weight: bold;
}

.button-primary {
  background: var(--light-blue);
  color: var(--navy);
}

.button-outline {
  border: 2px solid white;
  color: white;
}

.button:hover {
  opacity: 0.85;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
  font-size: 14px;
}

/* SECTIONS */

.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 45px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 42px);
}

.dark {
  color: var(--blue);
}

/* SERVICE CARDS */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 22px rgba(0,0,0,0.09);
}


.service-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: var(--blue);
}


.service-image.windows {
  background: linear-gradient(135deg, #79c7e5, #2b7fab);
}

.service-image.gutters {
  background: linear-gradient(135deg, #003355, #2b7fab);
}

.service-image.fascias {
  background: linear-gradient(135deg, #2b7fab, #79c7e5);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--navy);
}

.service-content a {
  color: var(--blue);
  font-weight: bold;
}

/* HOW IT WORKS */

.light-section {
  background: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  text-align: center;
}

.step-number {
  font-size: 40px;
  font-weight: bold;
  color: var(--blue);
}

.step h3 {
  color: var(--navy);
}

/* QUOTATION */

.quote-section {
  background: var(--navy);
  color: white;
  text-align: center;
}

.quote-content {
  max-width: 850px;
}

.quote-section h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.quote-placeholder {
  margin-top: 35px;
  padding: 35px;
  background: white;
  color: var(--text);
  border-radius: 10px;
}

.quote-placeholder h3 {
  color: var(--navy);
}

/* FOOTER */

.site-footer {
  background: #00182e;
  color: white;
  padding: 35px 0;
  text-align: center;
}

.footer-content p {
  margin: 5px 0;
}

/* MOBILE & TABLET */

@media (max-width: 800px) {

  .nav-content {
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero {
    padding: 70px 0;
  }

  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 55px 0;
  }

  .hero-features {
    gap: 15px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===================================
   MSH INSTANT ESTIMATE CALCULATOR
=================================== */

[hidden] {
  display: none !important;
}

.estimate-card {
  background: white;
  color: var(--text);
  padding: 35px;
  border-radius: 12px;
  margin-top: 35px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.estimate-card h3 {
  color: var(--navy);
  font-size: 25px;
  margin-top: 0;
}

.estimate-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0 20px;
}

.estimate-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--navy);
}

.estimate-field select {
  width: 100%;
  padding: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: white;
  font-size: 16px;
  color: var(--text);
}

.estimate-field select:focus-visible,
.estimate-checkbox input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.estimate-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  cursor: pointer;
}

.estimate-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}

/* PRICE DISPLAY */

.estimate-result {
  background: #eef6fa;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

.estimate-result p {
  margin: 8px 0;
}

.estimate-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

#first-clean-line {
  margin-top: 15px;
  color: var(--dark-blue);
}

/* PERSONAL QUOTATION */

.manual-message {
  background: #eef6fa;
  padding: 25px;
  border-radius: 8px;
  margin-top: 25px;
}

.manual-message h4 {
  color: var(--navy);
  margin-top: 0;
}

.estimate-disclaimer {
  font-size: 13px;
  color: #596675;
  margin-top: 20px;
  line-height: 1.5;
}

/* MOBILE */

@media (max-width: 600px) {

  .estimate-card {
    padding: 20px;
  }

  .estimate-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .estimate-price {
    font-size: 36px;
  }

}

/* ===================================
   MSH BRANDING
=================================== */

.site-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  max-height: 85px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .site-logo {
    width: 300px;
  }
}
