/* ==============================================
   LINE & GRADE LAND SERVICES — styles.css
   Clean, minimal, card-based. Mobile-first.
   ============================================== */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  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;
}

/* ---- TOKENS
   Dark:       #1a1a1a
   Orange:     #c85a00
   Light bg:   #f7f6f4
   Border:     #e8e6e1
   Muted:      #666
   --------------------------------- */

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #c85a00;
  color: #fff;
}

.btn-primary:hover {
  background: #b04e00;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  background: #c85a00;
  color: #fff;
}

.btn-accent:hover {
  background: #b04e00;
}

.btn-outline {
  background: transparent;
  color: #c85a00;
  border: 2px solid #c85a00;
}

.btn-outline:hover {
  background: #c85a00;
  color: #fff;
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
}

/* ---- SECTIONS ---- */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #f7f6f4;
}

h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c85a00;
  margin-bottom: 0.6rem;
}

.section-intro {
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 540px;
  font-size: 0.975rem;
  line-height: 1.7;
}

/* ---- DIVIDER ---- */
.section-divider {
  width: 40px;
  height: 3px;
  background: #c85a00;
  margin: 0.75rem 0 1.5rem;
  border: none;
}

/* ==============================================
   HEADER
   ============================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e6e1;
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.logo-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: #c85a00;
  display: none;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.2s;
}

.main-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e8e6e1;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0 0.75rem;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: #444;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #1a1a1a;
  border-left-color: #c85a00;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c85a00;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.hero p {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-phone {
  font-size: 1.5rem;
  font-weight: 900;
  color: #c85a00;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==============================================
   SERVICES
   ============================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #e8e6e1;
  border: 1px solid #e8e6e1;
  border-radius: 6px;
  overflow: hidden;
}

.service-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  transition: background 0.15s;
}

.service-card:hover {
  background: #faf9f7;
}

.service-icon {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.service-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==============================================
   WHY CHOOSE US
   ============================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.reason {
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 5px;
  padding: 1.5rem;
}

.reason-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #c85a00;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.reason h3 {
  margin-bottom: 0.4rem;
}

.reason p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==============================================
   ABOUT
   ============================================== */
.about-inner {
  max-width: 640px;
}

.about-inner h2 {
  margin-bottom: 0;
}

.about-inner p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.about-inner .btn-accent {
  margin-top: 0.5rem;
}

/* ==============================================
   SERVICE AREA
   ============================================== */
.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  margin: 1.5rem 0 1.25rem;
}

.area-list li {
  font-size: 0.925rem;
  color: #444;
  padding-left: 1.1rem;
  position: relative;
}

.area-list li::before {
  content: '\2713';
  color: #c85a00;
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 0.8rem;
  top: 0.1em;
}

.area-note {
  font-size: 0.9rem;
  color: #666;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e8e6e1;
  border-left: 3px solid #c85a00;
  border-radius: 3px;
}

.area-note a {
  color: #c85a00;
  font-weight: 600;
}

/* ==============================================
   GALLERY
   ============================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  background: #eeece8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #e8e6e1;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ==============================================
   CONTACT
   ============================================== */
.contact {
  background: #1a1a1a;
  color: #fff;
}

.contact-inner {
  max-width: 580px;
}

.contact-inner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0;
}

.contact-inner > p {
  color: #999;
  margin: 1rem 0 0;
  line-height: 1.75;
  font-size: 0.975rem;
}

.contact-phone {
  font-size: 2rem;
  font-weight: 900;
  color: #c85a00;
  letter-spacing: -0.02em;
  margin: 1.75rem 0;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.contact-note {
  color: #666;
  font-size: 0.875rem;
  border-top: 1px solid #2e2e2e;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: #111;
  color: #555;
  padding: 2rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand strong {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-phone {
  color: #c85a00;
  font-weight: 700;
}

.footer-copy {
  color: #3a3a3a;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ==============================================
   RESPONSIVE — TABLET 600px+
   ============================================== */
@media (min-width: 600px) {

  .header-phone {
    display: block;
  }

  .nav-toggle {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================================
   RESPONSIVE — DESKTOP 920px+
   ============================================== */
@media (min-width: 920px) {

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block !important;
    background: transparent;
    border-top: none;
  }

  .main-nav ul {
    flex-direction: row;
    padding: 0;
    justify-content: center;
    width: 100%;
  }

  .main-nav a {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    color: #555;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #1a1a1a;
    border-left-color: transparent;
    border-bottom-color: #c85a00;
  }

  .hero {
    padding: 6rem 0 6.5rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .section {
    padding: 6rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-phone {
    font-size: 2.5rem;
  }
}
