/* O'Connor Land Works — shared landing-page stylesheet.
   Used by /services/*.html and /areas/*.html to keep each page lean.
   index.html and /blog/*.html still use their own inline CSS. */

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

:root {
  --green-deep: #1B3A0C;
  --green-rich: #234D14;
  --copper: #B87333;
  --copper-light: #D4955E;
  --cream: #F6F1E9;
  --cream-dark: #EDE6D8;
  --stone: #8B8578;
  --charcoal: #1C1A17;
  --warm-black: #0F0E0C;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  background: var(--warm-black);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,14,12,0.92);
  backdrop-filter: blur(20px);
}
.nav-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--cream); letter-spacing: 2px;
}
.nav-links { display: flex; align-items: center; gap: 44px; list-style: none; }
.nav-links a {
  color: rgba(246,241,233,0.4);
  text-decoration: none;
  font-size: 10.5px; font-weight: 300;
  letter-spacing: 3px; text-transform: uppercase;
  transition: color 0.4s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta { padding: 8px 22px; border: 1px solid var(--copper); color: var(--copper) !important; }
.nav-phone {
  padding: 8px 16px 8px 14px !important;
  border: 1px solid rgba(184,115,51,0.5) !important;
  color: var(--copper-light) !important;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px !important; letter-spacing: 0.5px !important;
  text-transform: none !important; font-weight: 400 !important;
  font-variant-numeric: tabular-nums;
  transition: all 0.4s ease;
}
.nav-phone:hover {
  background: var(--copper) !important;
  color: var(--warm-black) !important;
  border-color: var(--copper) !important;
}
.nav-phone-icon { width: 13px; height: 13px; flex-shrink: 0; }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 100; }
.nav-mobile-btn span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream); margin: 6px 0; transition: all 0.3s;
}
.nav-mobile-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-btn.active span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.lp-hero {
  position: relative;
  min-height: 520px;
  height: 64vh; max-height: 680px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,14,12,0.55) 0%, rgba(15,14,12,0.25) 40%, rgba(15,14,12,0.95) 100%);
}
.lp-hero-inner {
  position: relative; z-index: 2;
  max-width: 980px; margin: 0 auto; width: 100%;
  padding: 140px 56px 64px;
}
.lp-breadcrumb {
  color: var(--copper);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 28px; text-decoration: none;
  display: inline-flex; gap: 10px; align-items: center;
  opacity: 0.85; transition: opacity 0.3s;
}
.lp-breadcrumb:hover { opacity: 1; }
.lp-kicker {
  color: var(--copper);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 22px;
}
.lp-title {
  font-family: 'Playfair Display', serif;
  font-size: 58px; color: var(--cream);
  font-weight: 400; line-height: 1.1;
  margin-bottom: 22px; letter-spacing: -0.5px;
}
.lp-title em { font-style: italic; color: var(--copper-light); font-weight: 300; }
.lp-deck {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: rgba(246,241,233,0.82);
  line-height: 1.55; font-weight: 400;
  max-width: 680px;
}

/* ============ BODY ============ */
.lp-body {
  max-width: 820px; margin: 0 auto;
  padding: 72px 56px 40px;
  color: rgba(246,241,233,0.82);
}
.lp-body > p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17.5px; line-height: 1.8; font-weight: 300;
  margin-bottom: 24px;
}
.lp-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px; color: var(--cream);
  font-weight: 400;
  margin-top: 48px; margin-bottom: 20px;
  line-height: 1.25;
}
.lp-body h2 em { font-style: italic; color: var(--copper-light); font-weight: 300; }
.lp-body strong { color: var(--cream); font-weight: 500; }
.lp-body em { color: rgba(246,241,233,0.72); font-style: italic; }
.lp-body a { color: var(--copper-light); text-decoration: underline; text-underline-offset: 3px; }
.lp-body a:hover { color: var(--copper); }
.lp-body ul { padding-left: 22px; margin: 0 0 24px; list-style: none; }
.lp-body li {
  position: relative;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px; line-height: 1.75; font-weight: 300;
  margin-bottom: 12px; padding-left: 4px;
}
.lp-body li::before {
  content: ''; position: absolute; left: -18px; top: 13px;
  width: 10px; height: 1px; background: var(--copper);
}

/* ============ "Services we offer in this area" list for area pages ============ */
.lp-service-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 28px 0 40px;
}
.lp-service-card {
  padding: 22px 24px;
  border: 1px solid rgba(184,115,51,0.18);
  background: rgba(184,115,51,0.03);
  text-decoration: none;
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
  display: block;
}
.lp-service-card:hover {
  border-color: var(--copper);
  background: rgba(184,115,51,0.08);
  transform: translateY(-2px);
}
.lp-service-card-label {
  color: var(--copper);
  font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 8px;
}
.lp-service-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--cream);
  font-weight: 400; line-height: 1.3;
  margin-bottom: 6px;
}
.lp-service-card-desc {
  font-size: 13.5px; color: rgba(246,241,233,0.65);
  line-height: 1.5; font-weight: 300;
}

/* ============ CTA ============ */
.lp-cta {
  max-width: 820px;
  margin: 24px auto 100px;
  padding: 48px 48px;
  border: 1px solid rgba(184,115,51,0.28);
  background: linear-gradient(160deg, rgba(184,115,51,0.07), rgba(184,115,51,0.02));
  text-align: center;
}
.lp-cta-overline {
  color: var(--copper);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 14px;
}
.lp-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px; color: var(--cream);
  font-weight: 400; margin-bottom: 14px; line-height: 1.25;
}
.lp-cta h3 em { font-style: italic; color: var(--copper-light); font-weight: 300; }
.lp-cta p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; color: rgba(246,241,233,0.75);
  margin: 0 auto 28px; line-height: 1.6; max-width: 520px;
}
.lp-cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.lp-cta-btn {
  padding: 13px 26px;
  text-decoration: none;
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 400;
  transition: all 0.4s;
  display: inline-flex; align-items: center; gap: 8px;
}
.lp-cta-btn.primary {
  background: var(--copper); color: var(--warm-black);
  border: 1px solid var(--copper);
}
.lp-cta-btn.primary:hover { background: var(--copper-light); border-color: var(--copper-light); }
.lp-cta-btn.secondary {
  border: 1px solid rgba(184,115,51,0.5); color: var(--copper-light);
}
.lp-cta-btn.secondary:hover {
  background: var(--copper); color: var(--warm-black); border-color: var(--copper);
}

/* ============ STICKY MOBILE CALL BAR ============ */
.sticky-call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(15,14,12,0.90);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 -16px 40px -8px rgba(0,0,0,0.5);
  padding: 8px 16px calc(6px + env(safe-area-inset-bottom,0px));
  transition: opacity 0.25s ease;
}
.sticky-call-bar::before {
  content: ''; position: absolute; top: -24px; left: 0; right: 0; height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(15,14,12,0.72));
  pointer-events: none;
}
.sticky-call-inner { display: flex; gap: 10px; align-items: stretch; }
.sticky-call-btn {
  flex: 0 0 58px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--copper-light);
  border: 1px solid rgba(184,115,51,0.5);
  text-decoration: none; border-radius: 2px;
  transition: all 0.25s ease;
}
.sticky-call-btn:hover, .sticky-call-btn:active {
  background: rgba(184,115,51,0.12); border-color: var(--copper);
}
.sticky-call-btn svg { width: 20px; height: 20px; }
.sticky-sms-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px;
  background: var(--copper); color: var(--warm-black);
  text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
  transition: all 0.25s ease;
}
.sticky-sms-btn:hover, .sticky-sms-btn:active { background: var(--copper-light); }
.sticky-sms-btn svg { width: 16px; height: 16px; }

/* ============ FOOTER ============ */
.footer {
  padding: 80px 56px 40px;
  background: #0a0a0a;
  color: rgba(246,241,233,0.6);
  border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 64px;
}
.footer h4 {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--copper); margin-bottom: 24px; opacity: 0.8;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a {
  color: rgba(246,241,233,0.5); text-decoration: none;
  font-size: 14px; transition: color 0.3s;
}
.footer a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1100px; margin: 64px auto 0;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.03);
  display: flex; justify-content: space-between; font-size: 12px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links {
    display: flex !important; position: fixed; top: 0; right: 0;
    width: min(340px,82vw); height: 100vh;
    background: var(--warm-black);
    border-left: 1px solid rgba(184,115,51,0.22);
    box-shadow: -24px 0 60px rgba(0,0,0,0.55);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 28px; padding: 80px 40px 40px;
    transform: translateX(110%);
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
    z-index: 200;
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links a { font-size: 18px; color: var(--cream); opacity: 0.9; letter-spacing: 2.5px; }
  .nav-links a.nav-cta { margin-top: 8px; }
  .nav-mobile-btn { display: block; position: relative; z-index: 210; }
  body.menu-open .nav { z-index: 300; }
  body.menu-open::before {
    content: ''; position: fixed; inset: 0;
    background: rgba(15,14,12,0.55);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 150; animation: fadeBackdrop 0.35s forwards;
  }
  @keyframes fadeBackdrop { from { opacity: 0; } to { opacity: 1; } }
  .nav-inner { padding: 0 24px; }
  .lp-hero { min-height: 440px; }
  .lp-hero-inner { padding: 120px 24px 48px; }
  .lp-title { font-size: 36px; }
  .lp-deck { font-size: 18px; }
  .lp-body { padding: 52px 24px 32px; }
  .lp-body > p, .lp-body li { font-size: 16.5px; line-height: 1.75; }
  .lp-body h2 { font-size: 24px; margin-top: 40px; }
  .lp-service-grid { grid-template-columns: 1fr; gap: 14px; }
  .lp-cta { padding: 36px 24px; margin-bottom: 80px; }
  .lp-cta h3 { font-size: 24px; }
  .lp-cta p { font-size: 17px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 8px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .sticky-call-bar { display: block; }
  body { padding-bottom: 78px; }
  body.menu-open .sticky-call-bar { opacity: 0; pointer-events: none; }
  .nav-links a.nav-phone { font-size: 15px !important; padding: 10px 18px !important; }
}
