/* Combs Design & Build — site styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Serif+Pro:wght@400;600;700&display=swap');

:root {
  --orange: #e55e1e;
  --orange-dark: #c14d14;
  --green: #415239;
  --ink: #231f20;
  --ink-soft: #4a4546;
  --cream: #f4f2ec;
  --cream-soft: #faf8f3;
  --white: #ffffff;
  --line: #e6e2d8;
  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(35, 31, 32, 0.08);
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Source Serif Pro', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 { font-size: 36px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; color: var(--orange); margin-top: 0; }
h4 { font-size: 20px; font-weight: 600; }

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

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

header .logo img {
  height: 54px;
  width: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

nav .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
nav .nav-cta:hover { background: var(--orange-dark); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--orange-dark); color: var(--white); text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 22px;
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 10px 22px;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* Hero */
.hero {
  background-image:
    radial-gradient(circle at 80% 20%, rgba(229, 94, 30, 0.22), transparent 55%),
    linear-gradient(135deg, #2a2526 0%, #1a1617 100%);
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 100px 24px 110px;
  position: relative;
}
/* When a sub-page sets background-image inline (a photo), darken for readability */
.hero[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 31, 32, 0.55), rgba(35, 31, 32, 0.4));
  pointer-events: none;
}
.hero > * { position: relative; }

.hero h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead {
  font-size: 19px;
  max-width: 680px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.hero-trust span { margin: 0 12px; }

/* Sub-page hero (for service pages with their own bg image) */
.hero.hero-sub {
  padding: 80px 24px;
}
.hero.hero-sub h1 { font-size: 40px; }

/* Sections */
.section {
  padding: 72px 32px;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Fallback: sub-pages whose <section class="section"> has no .section-inner
   wrapper get content constrained directly. */
.section:not(:has(> .section-inner)) > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: var(--cream);
}

/* Centered section content helper */
.section-center {
  text-align: center;
}
.section-center > * {
  margin-left: auto;
  margin-right: auto;
}
.section-center .lead-narrow {
  max-width: 640px;
}

.section h2 + p,
.section h3 + p {
  max-width: 760px;
}

.section .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 8px;
}

/* Trust strip */
.trust-strip {
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 32px;
}
.trust-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.trust-item strong {
  display: block;
  color: var(--orange);
  font-size: 22px;
  font-family: 'Source Serif Pro', serif;
  margin-bottom: 2px;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
/* When a card has an image header, remove the outer padding so the image
   sits flush; the .card-body inside provides its own padding. */
.service-card:has(> .card-img) {
  padding: 0;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card h4:first-child,
.service-card > p:first-child {
  margin-top: 0;
}

.service-card .card-img {
  background: linear-gradient(135deg, var(--cream) 0%, #ebe6d6 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Serif Pro', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--orange);
}
.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .card-body {
  padding: 20px 22px 22px;
}

.service-card h4 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--ink);
}

.service-card p {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.service-card a.card-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-card a.card-link:hover { text-decoration: underline; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col .col-visual {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.two-col .col-visual h3 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 12px;
}
.two-col .col-visual p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  margin: 0 0 20px;
}
.two-col .col-visual .btn-ghost {
  border-color: var(--white);
}

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 60px 32px;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 26px;
  font-size: 17px;
}
.cta-banner .phone-cta {
  display: inline-block;
  font-family: 'Source Serif Pro', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 14px;
}
.cta-banner .phone-cta:hover { color: var(--white); text-decoration: none; }

/* Recent projects gallery */
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.projects-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.gallery-placeholder {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream) 0%, #ebe6d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Serif Pro', serif;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--line);
}

/* Comparison table (e.g., roofing materials) */
.table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table thead th {
  background: var(--cream);
  font-family: 'Source Serif Pro', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 18px;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--line);
}
.compare-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.compare-table tbody tr:hover {
  background: var(--cream-soft);
}

/* Checkmark list (e.g., "Why trust us") */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 32px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
}

/* Numbered process steps */
.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.process-steps li {
  counter-increment: step;
  padding: 18px 22px 18px 70px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  line-height: 1.5;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Source Serif Pro', Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-steps strong {
  display: block;
  margin-bottom: 2px;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 17px;
  color: var(--ink);
}
.process-steps span.step-detail {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Emergency banner / urgent callout */
.urgent-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-top: 32px;
  text-align: center;
}
.urgent-banner h3 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 24px;
}
.urgent-banner p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 16px;
}
.urgent-banner .btn-ghost { border-color: var(--white); }

/* Coming-soon callout box (for stub subpages / pending guides) */
.coming-soon {
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 32px;
}
.coming-soon h3 {
  margin: 0 0 8px;
  color: var(--ink);
}
.coming-soon p {
  color: var(--ink-soft);
  margin: 0 auto 18px;
  max-width: 520px;
}

/* Photo gallery (project case studies) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.photo-grid a {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.photo-grid a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Matterport 3D tours */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.tour .tour-label {
  font-family: 'Source Serif Pro', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 12px;
}
.matterport-tour {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink);
}
.matterport-tour iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .tour-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Contact form */
.contact-form {
  max-width: 640px;
  margin-top: 28px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .form-field {
  display: flex;
  flex-direction: column;
}
.contact-form .form-field-full {
  margin-top: 18px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(229, 94, 30, 0.15);
}
.contact-form textarea {
  width: 100%;
  resize: vertical;
}
.contact-form button {
  margin-top: 20px;
}
.contact-form .hp-field {
  display: none !important;
}

/* FAQ accordion (native <details>/<summary>) */
.faq-list {
  max-width: 820px;
  margin: 36px auto 0;
}
.faq {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.faq:first-of-type {
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 22px 16px 22px 4px;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  list-style: none;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq[open] summary::after {
  content: "−";
}
.faq summary:hover { color: var(--orange); }
.faq summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-body {
  padding: 0 4px 24px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-body :first-child { margin-top: 0; }
.faq-body :last-child { margin-bottom: 0; }
.faq-body p + p { margin-top: 12px; }
.faq-body ul, .faq-body ol { padding-left: 22px; }

/* Partner badges */
.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.partner-row .partner-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 600;
}
.partner-row img {
  max-height: 90px;
  width: auto;
}

/* Footer */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 32px 28px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: 'Source Serif Pro', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.footer-col a:hover { color: var(--orange); text-decoration: none; }

.footer-bottom {
  max-width: var(--container);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 14px;
  font-size: 13px;
}
.footer-bottom .social-links a:hover { color: var(--orange); text-decoration: none; }

/* Mobile */
@media (max-width: 768px) {
  header { padding: 12px 18px; flex-wrap: wrap; }
  header .logo img { height: 44px; }
  nav ul { gap: 14px; }
  nav a { font-size: 14px; }
  nav .nav-cta { padding: 7px 14px; font-size: 14px; }

  h2 { font-size: 28px; }
  .hero { padding: 70px 20px 80px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }

  .section { padding: 56px 20px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  nav ul { gap: 10px; }
  nav .nav-cta { display: none; }
  .hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}
