/* Carson Contractors Rebuild v2 */
:root {
  --charcoal: #171b1f;
  --charcoal-2: #24282d;
  --orange: #ff7a1a;
  --orange-dark: #e9660e;
  --cream: #f5f1eb;
  --white: #ffffff;
  --text: #20262c;
  --muted: #6b737c;
  --border: rgba(23, 27, 31, 0.12);
  --shadow: 0 24px 70px rgba(23, 27, 31, 0.16);
  --radius: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--orange);
  color: var(--charcoal);
  padding: 10px 14px;
  z-index: 999;
}

.skip-link:focus { left: 10px; }

.topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand img {
  width: 245px;
  max-height: 70px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 27, 31, .08);
}

.hamburger-line {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--charcoal);
  transition: transform .18s ease, opacity .18s ease;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: #111;
  box-shadow: 0 16px 36px rgba(255, 122, 26, .28);
}

.btn-secondary,
.btn.ghost {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--charcoal);
}

.hero,
.page-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 122, 26, .20), transparent 28%),
    linear-gradient(135deg, var(--charcoal), var(--charcoal-2));
  color: white;
}

.hero {
  padding: 96px 0;
}

.hero-grid,
.two-col,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
}

.dark .two-col {
  align-items: start;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: .98;
  margin: 0 0 24px;
  max-width: 900px;
}

.hero p,
.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
  max-width: 760px;
}

.kicker {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .86rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-image {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.featured-project {
  background: var(--white);
}

.featured-project-grid,
.project-feature,
.project-story-grid,
.service-feature {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.featured-project-copy {
  max-width: 600px;
}

.featured-project-media,
.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  background: #e7e0d7;
  box-shadow: var(--shadow);
}

.featured-project-media img,
.image-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.service-feature {
  margin-top: 34px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 27, 31, .08);
}

.service-feature .image-panel img {
  height: 360px;
}

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

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

.card,
.feature-panel,
.lead-form,
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 27, 31, .08);
}

.card {
  padding: 28px;
  border-top: 6px solid var(--orange);
}

.card p,
.section-head p,
.feature-panel p,
.contact-details,
.form-note {
  color: var(--muted);
}

.dark {
  background: var(--charcoal);
  color: white;
}

.dark p { color: rgba(255,255,255,.72); }

.feature-panel {
  padding: 34px;
  color: var(--text);
}

.feature-panel.light {
  background: #fff;
}

.cta-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.cta-panel picture {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.cta-panel img {
  width: 100%;
  height: 122px;
  object-fit: cover;
}

.cta-panel h3 {
  margin: 0;
}

.cta-panel p {
  margin: 0;
  max-width: 34rem;
}

.cta-panel .btn {
  width: fit-content;
  margin-top: 0;
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  margin: 10px 0;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  position: absolute;
  left: 0;
}

.page-hero {
  padding: 82px 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 42px;
  align-items: center;
}

.page-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}

.page-hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

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

.project-card {
  margin: 0;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-card figcaption {
  padding: 16px 18px 18px;
  font-weight: 800;
  color: var(--charcoal);
}

.project-feature {
  margin-bottom: 34px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 27, 31, .08);
}

.project-feature .image-panel img {
  height: 420px;
}

.award-note {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 122, 26, .13);
  color: var(--charcoal);
  font-weight: 900;
  font-size: .86rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.detail-gallery .project-card img {
  height: 320px;
}

.award-proof-media {
  background: var(--white);
}

.award-proof-media img {
  height: auto;
  object-fit: contain;
}

.about-story-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.about-story-grid > div > p:not(.kicker),
.about-cta-panel p {
  color: var(--muted);
}

.dark .about-story-grid > div > p:not(.kicker) {
  color: rgba(255,255,255,.72);
}

.about-story-grid .image-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, 270px);
  gap: 18px;
}

.about-collage .image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-collage .image-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-collage .image-panel picture {
  height: 100%;
}

.collage-large {
  grid-row: span 2;
}

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

.project-types-grid article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.project-types-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.about-cta {
  padding-top: 0;
}

.about-cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 38px;
}

.about-cta-panel > div {
  max-width: 760px;
}

.contact-grid {
  align-items: start;
}

.contact-intro {
  display: grid;
  align-content: start;
  gap: 24px;
}

.contact-intro h2 {
  margin-bottom: 0;
}

.contact-intro > p,
.contact-details p {
  margin: 0;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-recognition {
  margin-top: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 27, 31, .08);
}

.contact-recognition picture {
  height: 260px;
}

.contact-recognition img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-recognition div {
  padding: 26px;
}

.contact-recognition h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.1;
}

.contact-recognition p:not(.kicker) {
  color: var(--muted);
}

.lead-form {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(255,122,26,.24);
  border-color: var(--orange);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 600 !important;
}

.consent input {
  width: auto;
  margin-top: 5px;
}

.site-footer {
  background: #101316;
  color: white;
  padding: 52px 0 28px;
}

.footer-grid {
  grid-template-columns: 1.2fr .7fr .8fr .7fr;
  align-items: start;
}

.site-footer a,
.site-footer p {
  display: block;
  color: rgba(255,255,255,.72);
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 32px;
  color: rgba(255,255,255,.55);
}

.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 32px;
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .mobile-toggle { display: inline-grid; }
  .nav { flex-wrap: wrap; }
  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 18px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    text-align: center;
  }
  .hero-grid,
  .featured-project-grid,
  .project-feature,
  .project-story-grid,
  .about-story-grid,
  .service-feature,
  .page-hero-grid,
  .two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid,
  .project-grid,
  .project-types-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-collage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .collage-large {
    grid-row: auto;
  }
  .about-collage .image-panel img,
  .about-story-grid .image-panel img {
    height: 360px;
  }
  .about-collage .image-panel,
  .about-collage .image-panel picture {
    height: 360px;
  }
  .about-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand img { width: 210px; }
}

@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .hero, .page-hero, .section { padding: 58px 0; }
  .hero h1, .page-hero h1 { font-size: 2.75rem; }
  .cards-grid,
  .project-grid,
  .project-types-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-image img,
  .featured-project-media img,
  .project-feature .image-panel img,
  .service-feature .image-panel img,
  .page-hero-media img,
  .project-card img {
    height: 260px;
  }
  .award-proof-media img {
    height: auto;
  }
  .cta-panel img {
    height: 116px;
  }
  .cta-panel .btn {
    width: 100%;
  }
  .about-collage .image-panel img,
  .about-story-grid .image-panel img {
    height: 260px;
  }
  .about-collage .image-panel,
  .about-collage .image-panel picture,
  .about-collage .image-panel img {
    height: 240px;
  }
  .detail-gallery {
    grid-template-columns: 1fr;
  }
  .actions .btn { width: 100%; }
}
.ls-form-message {
  margin-top: 16px;
  font-weight: 700;
  display: none;
}

.ls-form-message,
.form-message {
    margin-top: 1.5rem;
}


.ls-form-message.is-visible {
  display: block;
}

.ls-form-message.is-success {
  color: #1f8f4c;
}

.ls-form-message.is-error {
  color: #c0392b;
}
.site-credit {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.site-credit a {
  display: inline;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

.site-credit a:hover {
  color: var(--white);
}
