/* AC Construction - Clean Modern California Minimalist */
/* Colors: Black #0a0a0a | White #ffffff | Muted Orange #C2410C | Warm Off-white #F8F7F4 */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --orange: #C2410C;
  --orange-hover: #A33609;
  --off-white: #F8F7F4;
  --warm-gray: #E8E6E1;
  --text-muted: #5c5c5c;
  --text-dark: #1a1a1a;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 42px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--orange-hover);
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--black);
}

.hero-content .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust strong {
  color: var(--text-dark);
}

.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm-gray);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.hero-visual-placeholder p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Services Section */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: 12px;
  padding: 2.25rem;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(194, 65, 12, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(194, 65, 12, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--orange);
  font-size: 1.4rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.service-card a {
  font-weight: 600;
  color: var(--orange);
  font-size: 0.95rem;
}

.service-card a:hover {
  text-decoration: underline;
}

/* Why Us */
.why-us {
  background: var(--black);
  color: var(--white);
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255,255,255,0.7);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 1.5rem;
}

.why-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.why-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.why-item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

/* CTA Band */
.cta-band {
  background: var(--off-white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(194, 65, 12, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-item a, .contact-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--orange);
}

.areas {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--warm-gray);
}

.areas h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.areas p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Form */
.form-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 2.25rem;
  border: 1px solid var(--warm-gray);
}

.form-card h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--warm-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  height: 36px;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.license {
  color: rgba(255,255,255,0.5);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .services-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--warm-gray);
    gap: 1rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .hero-visual {
    order: -1;
    max-height: 280px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
