/* ===== Crafted Comfort Construction — Design System ===== */
:root {
  --navy: #15495E;
  --amber: #E29C3B;
  --white: #FFFFFF;
  --charcoal: #2B3A42;
  --warm-gray: #F2EFEA;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Mulish', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

section h1, section h2, section h3 {
  color: inherit;
}

a { text-decoration: none; color: var(--amber); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section Themes ===== */
.section { padding: 80px 0; }
.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p { color: var(--white); }

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

.section--gray { background: var(--warm-gray); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.logo-line1 {
  font-size: 1rem;
  letter-spacing: 0.12em;
}
.logo-line2 {
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-shrink: 0;
}
.nav-links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height 0.3s ease;
  }
  .nav-links.open {
    max-height: 400px;
    padding: 12px 0 24px;
  }
  .nav-links li { width: 100%; text-align: center; padding: 12px 0; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary {
  background: var(--amber);
  color: var(--navy);
}
.btn--primary:hover {
  background: #c9842a;
}
.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn--link {
  background: none;
  border: none;
  color: var(--amber);
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
}
.btn--link:hover { color: var(--white); text-decoration: underline; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 120px 0;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  max-width: 850px;
  margin: 0 auto 24px;
}
.hero .lead {
  font-weight: 300;
}
.hero .emphasis {
  font-weight: 800;
}
.hero p.subhead {
  max-width: 700px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  opacity: 0.92;
}
.hero .cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--warm-gray);
  padding: 28px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 40px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ===== Section heading ===== */
.section-heading {
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.card {
  background: var(--white);
  border: 1px solid #e6e1d8;
  border-radius: 6px;
  padding: 36px 28px;
  text-align: left;
}
.card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.card .badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.center { text-align: center; }

/* ===== Feature band ===== */
.feature-band {
  text-align: center;
}
.feature-band .container { max-width: 800px; }
.feature-band h2 { margin-bottom: 20px; }
.feature-band p { margin-bottom: 28px; }

/* ===== Image + Text ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-img { order: 2; }
.split-img {
  background: var(--warm-gray);
  border-radius: 6px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8ada0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}
.split-content h2 { margin-bottom: 16px; }
.split-content p { margin-bottom: 20px; }
.split-content ul {
  list-style: none;
  margin: 20px 0;
}
.split-content ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.split-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
}

@media (max-width: 820px) {
  .split, .split.reverse .split-img { grid-template-columns: 1fr; order: initial; }
  .split { gap: 32px; }
}

/* ===== Benefit Grid ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 48px 0;
}
.benefit {
  text-align: center;
  padding: 12px;
}
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.3rem;
}
.benefit h3 { margin-bottom: 12px; font-size: 1.05rem; }

/* ===== CTA Band ===== */
.cta-band {
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin-bottom: 28px; }
.cta-band .phone {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

/* ===== Highlight Box ===== */
.highlight-box {
  background: var(--warm-gray);
  border-left: 4px solid var(--amber);
  border-radius: 4px;
  padding: 32px;
}
.highlight-box ul {
  list-style: none;
  margin-top: 16px;
}
.highlight-box ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}
.highlight-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
}

/* ===== About Page ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .about-hero { grid-template-columns: 1fr; }
}
.photo-placeholder {
  background: var(--navy);
  border: 2px solid var(--amber);
  border-radius: 6px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-details h3 { margin-bottom: 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); }
.contact-details p { margin-bottom: 24px; }
.contact-details a { color: var(--navy); font-weight: 700; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d2c6;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--amber);
  border-color: var(--amber);
}

#form-confirmation {
  display: none;
  background: var(--warm-gray);
  border-left: 4px solid var(--amber);
  padding: 20px;
  border-radius: 4px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--navy);
}

#form-error {
  display: none;
  background: #fbeaea;
  border-left: 4px solid #c0392b;
  padding: 20px;
  border-radius: 4px;
  margin-top: 20px;
  font-weight: 600;
  color: #922;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
  text-align: center;
}
.footer .logo {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 12px 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer p { opacity: 0.8; font-size: 0.9rem; margin-bottom: 8px; }
.footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.footer .footer-links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer .footer-links a:hover { color: var(--amber); }
.footer .copyright {
  margin-top: 24px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== Page Hero (non-home) ===== */
.page-hero {
  text-align: center;
  padding: 90px 0;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.page-hero p { max-width: 650px; margin: 0 auto; opacity: 0.92; }

/* ===== "Coming Soon" tag ===== */
.tag {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}
