/* =============================================
   CENTRAL MA TREE SERVICES — SHARED STYLES
   Light, Warm, Inviting — Logo-matched
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Lora:wght@400;500;600&family=Raleway:wght@400;500;600;700&display=swap');

:root {
  --green:        #2d3d1a;
  --green-mid:    #3d5422;
  --green-light:  #5a7a32;
  --green-pale:   #c8d9a8;
  --green-wash:   #f0f5e8;
  --brown:        #8b6914;
  --brown-light:  #b08a2a;
  --brown-pale:   #f0e4c0;
  --brown-wash:   #faf5e8;
  --white:        #ffffff;
  --cream:        #faf7f1;
  --cream-mid:    #f2ece0;
  --cream-dark:   #e4d9c4;
  --ink:          #1c2410;
  --ink-mid:      #3a4028;
  --ink-faded:    #6b7055;
  --border:       #ddd8c8;
  --shadow:       rgba(45,61,26,0.10);
  --shadow-md:    rgba(45,61,26,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Lora', Georgia, serif; overflow-x: hidden; line-height: 1.7; }

/* NAV */
.site-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px var(--shadow); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; flex-direction: column; line-height: 1; }
.nav-logo img { height: 80px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-main { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 18px; color: var(--green); }
.nav-logo-sub { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brown); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { background: var(--green); color: var(--white); font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 10px 24px; border-radius: 2px; transition: background 0.2s; }
.nav-cta:hover { background: var(--green-mid); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green); margin: 5px 0; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-cta-wrap { display: none; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 32px 28px; gap: 18px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-logo img { height: 60px; }
  .nav-logo-main { font-size: 15px; }
}

/* HERO */
.hero { background: var(--cream); position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 100%, rgba(90,122,50,0.07) 0%, transparent 55%), radial-gradient(ellipse at 100% 0%, rgba(176,138,42,0.05) 0%, transparent 50%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px; } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brown); margin-bottom: 20px; opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--brown-light); }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(38px, 5.5vw, 68px); font-weight: 900; line-height: 1.08; color: var(--green); margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s ease 0.22s forwards; }
.hero-title em { font-style: italic; color: var(--brown); }
.hero-body { font-size: 17px; line-height: 1.8; color: var(--ink-mid); margin-bottom: 36px; max-width: 500px; opacity: 0; animation: fadeUp 0.8s ease 0.34s forwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 0.44s forwards; }

.btn-primary { display: inline-block; background: var(--green); color: var(--white); font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 14px 36px; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-secondary { display: inline-block; background: transparent; border: 2px solid var(--green); color: var(--green); font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 12px 32px; border-radius: 2px; transition: background 0.2s, color 0.2s; }
.btn-secondary:hover { background: var(--green); color: var(--white); }

.hero-form-card { background: var(--white); border-radius: 4px; border-top: 4px solid var(--green); padding: 36px 32px; box-shadow: 0 8px 40px var(--shadow-md); opacity: 0; animation: fadeUp 0.9s ease 0.3s forwards; }
.hero-form-card .card-title { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.hero-form-card .card-sub { font-size: 13px; color: var(--ink-faded); margin-bottom: 22px; line-height: 1.5; }

/* TRUST STRIP */
.trust-strip { background: var(--green); padding: 16px 40px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.88); display: flex; align-items: center; gap: 8px; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brown-light); flex-shrink: 0; }

/* SECTION SHARED */
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brown); margin-bottom: 12px; }
.section-eyebrow::before, .section-eyebrow::after { content: ''; display: block; width: 20px; height: 1px; background: var(--brown-light); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.15; margin-bottom: 14px; }
.section-title em { font-style: italic; color: var(--brown); }
.section-body { font-size: 16px; color: var(--ink-mid); max-width: 560px; line-height: 1.75; margin-bottom: 40px; }
.section-header { text-align: center; }
.section-header .section-eyebrow { justify-content: center; }
.section-header .section-body { margin: 0 auto 40px; }

/* SERVICES */
.services-section { background: var(--white); padding: 88px 40px; }
.services-section-inner { max-width: 1100px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 8px; }
.service-card { background: var(--cream); border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: 4px; padding: 32px 28px; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.2s, transform 0.15s; }
.service-card:hover { box-shadow: 0 8px 32px var(--shadow-md); transform: translateY(-3px); }
.service-icon { width: 44px; height: 44px; stroke: var(--green-light); fill: none; stroke-width: 1.4; margin-bottom: 18px; }
.service-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--ink-faded); line-height: 1.7; margin-bottom: 16px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.service-link::after { content: '→'; font-size: 13px; }

/* AREAS */
.areas-section { background: var(--green-wash); padding: 80px 40px; border-top: 1px solid var(--green-pale); border-bottom: 1px solid var(--green-pale); }
.areas-inner { max-width: 1100px; margin: 0 auto; }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 8px; }
.area-tile { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 3px; padding: 18px 16px; text-decoration: none; transition: box-shadow 0.2s, border-left-color 0.2s; display: flex; flex-direction: column; gap: 3px; }
.area-tile:hover { box-shadow: 0 4px 16px var(--shadow); border-left-color: var(--brown); }
.area-tile-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--green); }
.area-tile-state { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); }

/* ABOUT STRIP */
.about-strip { background: var(--brown-wash); border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); padding: 64px 40px; text-align: center; }
.about-quote { font-family: 'Playfair Display', serif; font-size: clamp(18px, 2.5vw, 26px); font-style: italic; color: var(--green); max-width: 720px; margin: 0 auto 16px; line-height: 1.65; }
.about-quote span { font-style: normal; font-weight: 700; color: var(--brown); }
.about-byline { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faded); }

/* FORM */
.form-section { background: var(--cream); padding: 88px 40px; }
.form-wrap { max-width: 660px; margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--green); border-radius: 4px; padding: 48px 40px; box-shadow: 0 4px 32px var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 32px 20px; } }
.form-sub { font-size: 15px; color: var(--ink-faded); margin-bottom: 28px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 7px; }
.req { color: #c0392b; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 11px 14px; font-family: 'Lora', Georgia, serif; font-size: 14px; color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,61,26,0.08); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-divider { height: 1px; background: var(--border); margin: 8px 0 18px; }
.form-submit { width: 100%; background: var(--green); border: none; border-radius: 2px; color: var(--white); font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px; cursor: pointer; transition: background 0.2s; margin-top: 8px; }
.form-submit:hover { background: var(--green-mid); }
.form-note { font-size: 12px; color: var(--ink-faded); margin-top: 14px; text-align: center; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.visible { display: block; }
.success-icon { width: 56px; height: 56px; background: var(--green-wash); border: 2px solid var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.success-body { font-size: 15px; color: var(--ink-faded); line-height: 1.65; }

/* PAGE HERO */
.page-hero { background: var(--green-wash); border-bottom: 1px solid var(--green-pale); padding: 56px 40px 52px; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; color: var(--green); line-height: 1.1; margin-bottom: 14px; margin-top: 10px; }
.page-hero-title em { font-style: italic; color: var(--brown); }
.page-hero-body { font-size: 16px; color: var(--ink-mid); max-width: 600px; line-height: 1.75; }
.breadcrumb { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faded); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--border); }

/* CONTENT */
.content-section { padding: 72px 40px; max-width: 1100px; margin: 0 auto; }
.content-section p { font-size: 15px; color: var(--ink-mid); margin-bottom: 18px; max-width: 720px; line-height: 1.8; }
.content-section h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--green); margin: 36px 0 12px; }
.content-section h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--green); margin: 28px 0 10px; }
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* FOOTER */
footer { background: var(--green); padding: 56px 40px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo { height: 56px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.65; max-width: 260px; }
.footer-heading { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brown-light); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-family: 'Raleway', sans-serif; font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); }
.footer-copy a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-copy a:hover { color: var(--white); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 600px) {
  .services-section, .form-section, .areas-section, .about-strip { padding: 56px 20px; }
  .page-hero { padding: 40px 20px 36px; }
  .trust-strip { gap: 18px; padding: 14px 20px; }
  footer { padding: 40px 20px 24px; }
}
