/* ============================================================
   Lee County Grading - Shared Styles
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --earth: #3B2F1E;
  --clay: #8B6914;
  --sand: #D4A843;
  --cream: #F5F0E8;
  --moss: #4A6741;
  --stone: #6B6B6B;
  --dark: #1A1A1A;
  --white: #FEFEFE;
  --danger: #c0392b;
  --success: #27ae60;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--earth);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--sand);
}

.nav-phone {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-phone:hover {
  background: rgba(212, 168, 67, 0.25);
  color: var(--sand);
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--sand);
  color: var(--earth);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid var(--sand);
}

.btn-primary:hover {
  background: transparent;
  color: var(--sand);
}

.btn-secondary {
  display: inline-block;
  color: rgba(245, 240, 232, 0.7);
  padding: 14px 32px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
  margin-left: 16px;
}

.btn-secondary:hover {
  color: var(--sand);
}

/* ============================================================
   SERVICE PAGE HERO
   ============================================================ */
.service-hero {
  background: linear-gradient(160deg, var(--earth) 0%, #2C2415 50%, var(--earth) 100%);
  padding: 80px 40px 100px;
  position: relative;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--sand) 0px, var(--sand) 40px, transparent 40px, transparent 50px);
}

.service-hero-inner {
  max-width: 800px;
}

.breadcrumb {
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.breadcrumb:hover {
  color: var(--sand);
}

.breadcrumb-sep {
  color: rgba(245, 240, 232, 0.3);
  margin: 0 8px;
  font-size: 0.85rem;
}

.breadcrumb-current {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.85rem;
}

.service-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin: 24px 0 20px;
  line-height: 1.08;
}

.service-hero-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.7);
  max-width: 620px;
  margin-bottom: 32px;
}

/* ============================================================
   SERVICE DETAILS GRID
   ============================================================ */
.service-details {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-details-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 32px;
  border-left: 4px solid var(--sand);
  transition: transform 0.2s;
}

.detail-card:hover {
  transform: translateY(-2px);
}

.detail-card h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--earth);
  margin-bottom: 12px;
}

.detail-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--stone);
}

/* ============================================================
   CTA / LEAD FORM SECTION
   ============================================================ */
.service-cta {
  background: var(--earth);
  padding: 80px 40px;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta-text h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 36px;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-info-item strong {
  color: var(--sand);
  font-size: 1rem;
}

.cta-info-item span {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.9rem;
}

/* ============================================================
   LEAD FORM
   ============================================================ */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 12px;
  padding: 36px 32px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-radius: 6px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(245, 240, 232, 0.4);
}

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

.lead-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4A843' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.lead-form select option {
  background: var(--earth);
  color: var(--cream);
}

.lead-form textarea {
  resize: vertical;
  min-height: 80px;
}

.lead-form button[type="submit"] {
  padding: 16px;
  background: var(--sand);
  color: var(--earth);
  border: 2px solid var(--sand);
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.lead-form button[type="submit"]:hover {
  background: transparent;
  color: var(--sand);
}

.lead-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message.success {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #2ecc71;
}

.form-message.error {
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: #e74c3c;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer .foot-left {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

footer .foot-right {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

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

/* ============================================================
   HOMEPAGE FORM SECTION
   ============================================================ */
.home-form-section {
  background: var(--earth);
  padding: 80px 40px;
}

.home-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--earth);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(212, 168, 67, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .service-hero {
    padding: 50px 20px 60px;
  }

  .service-details {
    padding: 50px 20px;
  }

  .service-details-inner {
    grid-template-columns: 1fr;
  }

  .service-cta {
    padding: 50px 20px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lead-form {
    padding: 24px 20px;
  }

  .btn-secondary {
    margin-left: 0;
    display: block;
    margin-top: 12px;
    text-align: center;
  }

  footer {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
}
