/* ============================================================
   CALIFORNIA CONSTRUCTORS — Main Stylesheet
   Design: Slate navy #3a4560 + orange #e85d26 — matches logo
   Fonts: Nunito (rounded bold, matches logo text) body + display
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Brand colors — matched exactly to logo */
  --navy:       #3a4560;
  --navy-mid:   #2d3650;
  --navy-light: #47556e;
  --gold:       #e85d26;
  --gold-light: #f07040;
  --gold-dim:   rgba(232,93,38,.14);
  --gold-border:rgba(232,93,38,.35);

  /* Neutrals */
  --bg:         #f9f8f5;
  --surface:    #ffffff;
  --border:     #e4e1da;
  --text:       #1a1a1a;
  --muted:      #5e5e5e;
  --faint:      #9a9a9a;

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 5.5rem);

  /* Spacing */
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 1rem;

  /* Shadow */
  --sh-sm: 0 1px 3px rgba(12,21,36,.08);
  --sh-md: 0 4px 16px rgba(12,21,36,.10);
  --sh-lg: 0 12px 40px rgba(12,21,36,.14);

  /* Content widths */
  --w-content: 1180px;
  --w-text:    760px;

  /* Transitions */
  --ease: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100dvh;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3,h4,h5 { font-family: 'Nunito', 'Inter', sans-serif; text-wrap: balance; line-height: 1.05; }
p, li { text-wrap: pretty; }
ul[role="list"] { list-style: none; }
::selection { background: var(--gold-dim); }

/* ── Layout Utilities ── */
.wrap {
  width: min(var(--w-content), calc(100% - 2.5rem));
  margin-inline: auto;
}
.section-pad { padding-block: clamp(var(--sp-12), 7vw, var(--sp-24)); }

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75em 1.6em;
  background: var(--gold);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: var(--r-sm);
  transition: background var(--ease), transform var(--ease);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75em 1.6em;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: border-color var(--ease), background var(--ease);
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

/* ── Top Bar ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: var(--text-xs);
  padding: 0.55rem 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.75); transition: color var(--ease); }
.topbar a:hover { color: var(--gold); }

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-block: var(--sp-4);
}

/* SVG Logo */
.logo-link { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.logo-text {
  font-family: 'Nunito', 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  line-height: 1.0;
  gap: 0;
}
.lt-california {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lt-constructors {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.1;
}
/* Footer logo variant */
.footer-logo .lt-california { color: rgba(255,255,255,.6); }
.footer-logo .lt-constructors { color: #fff; }

.nav-links {
  display: flex;
  gap: var(--sp-8);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform var(--ease), opacity var(--ease);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy);
  padding: var(--sp-4) 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: var(--sp-3) 1.5rem;
  font-size: var(--text-base);
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--ease), background var(--ease);
}
.mobile-nav a:hover { color: var(--gold); background: rgba(255,255,255,.05); }

/* ── Hero Slideshow ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  max-height: 900px;
  background: var(--navy);
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4,0,0.2,1);
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12,21,36,.88) 0%,
    rgba(12,21,36,.55) 60%,
    rgba(12,21,36,.35) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-inner { max-width: 640px; }

.eyebrow {
  display: inline-block;
  padding: 0.4em 1em;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: #f0d78c;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: var(--sp-6);
}
.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-hero);
  color: #fff;
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: var(--sp-6);
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.8);
  max-width: 55ch;
  margin-bottom: var(--sp-8);
  line-height: 1.5;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* Slide controls */
.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: var(--sp-8);
  left: 0; right: 0;
}
.controls-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dots { display: flex; gap: var(--sp-2); }
.dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.45);
  background: transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), width var(--ease);
  padding: 0;
}
.dot.active { background: var(--gold); border-color: var(--gold); width: 28px; }
.arrows { display: flex; gap: var(--sp-3); }
.arrow-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), border-color var(--ease);
  backdrop-filter: blur(4px);
}
.arrow-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }

/* ── Section Headers ── */
.section-label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: var(--sp-4);
  letter-spacing: -.01em;
}
.section-lead {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

/* ── Stats Strip ── */
.stats-strip {
  background: var(--navy);
  color: #fff;
  padding-block: var(--sp-10);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}
.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-label { font-size: var(--text-sm); color: rgba(255,255,255,.6); }

/* ── Services Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.service-img {
  width: 100%; height: 240px;
  object-fit: cover;
  display: block;
}
.service-body { padding: var(--sp-6); }
.service-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.service-body h3 {
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}
.service-body p { font-size: var(--text-sm); color: var(--muted); line-height: 1.65; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--ease);
}
.service-link:hover { gap: 10px; }

/* ── About Split ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.badge-overlay {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: var(--navy);
  color: #fff;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-md);
  border-left: 4px solid var(--gold);
}
.badge-overlay .num { font-family: 'Nunito', sans-serif; font-size: var(--text-xl); font-weight: 900; color: var(--gold); }
.badge-overlay .lbl { font-size: var(--text-xs); color: rgba(255,255,255,.7); margin-top: 2px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--muted);
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold-border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.8 7L9 1' stroke='%23c49a3c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Projects Grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-4);
}
.project-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
}
.project-card.featured { grid-row: span 2; }
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: opacity var(--ease), transform 0.5s cubic-bezier(0.4,0,0.2,1);
  min-height: 280px;
}
.project-card:hover img { opacity: .68; transform: scale(1.03); }
.project-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-6);
  background: linear-gradient(transparent, rgba(12,21,36,.92));
  color: #fff;
  text-align: center;
}
.project-label h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: 4px; }
.project-label span { font-size: var(--text-xs); color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ── Testimonial / CTA Band ── */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
}
.cta-band .section-title { color: #fff; }
.cta-band .section-lead { color: rgba(255,255,255,.65); margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-6); }
.info-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gold-dim);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.info-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--faint); margin-bottom: 4px; }
.info-val { font-size: var(--text-sm); font-weight: 500; color: var(--text); }
.info-val a { transition: color var(--ease); }
.info-val a:hover { color: var(--gold); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-6), 4vw, var(--sp-10));
  box-shadow: var(--sh-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.form-group label { font-size: var(--text-xs); font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,60,.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-20));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.page-hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 900;
  margin-bottom: var(--sp-4);
}
.page-hero p {
  max-width: 65ch;
  color: rgba(255,255,255,.7);
  font-size: var(--text-lg);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  font-size: var(--text-sm);
}
.footer-top {
  padding-block: clamp(var(--sp-10), 5vw, var(--sp-16));
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-8);
}
.footer-brand .logo-text { font-size: inherit; }
.footer-tagline { margin-top: var(--sp-4); font-size: var(--text-xs); color: rgba(255,255,255,.45); line-height: 1.7; max-width: 30ch; }
.footer-col h4 { font-family: 'Nunito', sans-serif; font-size: var(--text-sm); font-weight: 800; color: #fff; margin-bottom: var(--sp-4); letter-spacing: .06em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col ul li a { font-size: var(--text-xs); color: rgba(255,255,255,.5); transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-row: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -.01em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Site Logo Image ── */
.site-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 640px) {
  .site-logo-img { height: 38px; }
}

/* ── Footer Logo Wrap ── */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.0;
}
.footer-logo-text .lt-california {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-logo-text .lt-constructors {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
}
