/* ── Manor Tree and Shrub Inc. — Global Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --deep:   #0d1a0d;
  --forest: #1a2e1a;
  --moss:   #3d5c2e;
  --leaf:   #6b8f3e;
  --sage:   #a8c076;
  --gold:   #e2b93b;   /* yellow from logo */
  --cream:  #f5f0e8;
  --white:  #fafaf7;
  --text:   #3a4a3a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; }
em { font-style: italic; }
a { color: inherit; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(13, 26, 13, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,185,59,0.15);
}

.nav-logo img { height: 42px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(245,240,232,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown:hover .dropdown { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  background: var(--deep);
  border: 1px solid rgba(226,185,59,0.15);
  min-width: 180px;
  padding: 0.5rem 0;
}
.dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.dropdown a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.nav-phone {
  color: var(--gold) !important;
  font-family: 'Playfair Display', serif;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--deep) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  transition: background 0.25s !important;
}
.nav-cta:hover { background: #c9a42a !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: all 0.3s;
}

/* ── EMERGENCY BAR ── */
.emergency-bar {
  background: var(--gold);
  color: var(--deep);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  display: none; /* shown on mobile via JS */
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 4rem 5rem;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(226,185,59,0.08) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.page-hero .eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--gold);
}
.page-hero .eyebrow span {
  color: var(--gold); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.1;
}
.page-hero h1 em { color: var(--gold); }
.page-hero p {
  color: rgba(245,240,232,0.65);
  font-size: 1.05rem; line-height: 1.75;
  max-width: 520px; margin-top: 1.2rem;
}

/* ── SECTIONS ── */
.section { padding: 5rem 4rem; }
.section-sm { padding: 3.5rem 4rem; }
.section-dark { background: var(--forest); }
.section-darker { background: var(--deep); }
.section-cream { background: var(--cream); }
.section-moss { background: var(--moss); }

.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--leaf); }
.eyebrow span { color: var(--leaf); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.eyebrow-gold::before { background: var(--gold); }
.eyebrow-gold span { color: var(--gold); }
.eyebrow-sage::before { background: var(--sage); }
.eyebrow-sage span { color: var(--sage); }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15; color: var(--forest);
}
.section-title em { color: var(--leaf); }
.section-title-light { color: var(--cream); }
.section-title-light em { color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 2px;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; transition: all 0.25s; cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: #c9a42a; transform: translateY(-2px); }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: rgba(226,185,59,0.1); }
.btn-outline-white { border: 1.5px solid rgba(245,240,232,0.45); color: var(--cream); background: transparent; }
.btn-outline-white:hover { border-color: var(--cream); background: rgba(255,255,255,0.06); }
.btn-leaf { background: var(--leaf); color: white; }
.btn-leaf:hover { background: var(--moss); transform: translateY(-2px); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  gap: 1px;
  background: rgba(61,92,46,0.15);
  border: 1px solid rgba(61,92,46,0.15);
}
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  transition: background 0.25s;
  position: relative;
}
.card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.35s ease;
}
.card:hover { background: var(--cream); }
.card:hover::after { width: 100%; }
.card-dark { background: rgba(255,255,255,0.03); }
.card-dark:hover { background: rgba(255,255,255,0.06); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.85rem; line-height: 1.65; color: #5a6b5a; }
.card-dark p { color: rgba(245,240,232,0.55); }
.card-dark h3 { color: var(--cream); }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { text-align: center; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; color: var(--gold);
  opacity: 0.35; line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--cream); }
.step p { font-size: 0.83rem; color: rgba(245,240,232,0.55); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid rgba(61,92,46,0.2);
  padding: 1.4rem 0;
}
.faq-item:first-child { border-top: 1px solid rgba(61,92,46,0.2); }
.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--forest);
}
.faq-q .toggle { font-size: 1.3rem; color: var(--leaf); transition: transform 0.3s; }
.faq-item.open .toggle { transform: rotate(45deg); }
.faq-a {
  display: none; padding-top: 0.85rem;
  font-size: 0.88rem; line-height: 1.75; color: #5a6b5a;
}
.faq-item.open .faq-a { display: block; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 0.9rem; font-size: 0.9rem; }
.contact-item .ci-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(226,185,59,0.1); border: 1px solid rgba(226,185,59,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.4); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(226,185,59,0.15);
  color: var(--cream); padding: 0.85rem 1rem;
  border-radius: 2px; font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; outline: none; transition: border-color 0.25s;
  resize: none; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(226,185,59,0.5); }
.form-group textarea { min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

#formStatus {
  display: none; padding: 0.75rem 1rem; border-radius: 2px;
  font-size: 0.85rem; margin-bottom: 0.75rem;
}
#formStatus.success { background: rgba(107,143,62,0.2); color: #a8c076; border: 1px solid rgba(107,143,62,0.3); }
#formStatus.error   { background: rgba(180,60,60,0.2); color: #f08080; border: 1px solid rgba(180,60,60,0.3); }

/* ── NEWSLETTER ── */
.nl-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.nl-form { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.nl-form input {
  flex: 1; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(245,240,232,0.2); color: var(--cream);
  padding: 0.85rem 1rem; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; outline: none;
}
.nl-form input::placeholder { color: rgba(245,240,232,0.4); }

/* ── TESTIMONIAL ── */
.testimonial-block { max-width: 700px; margin: 0 auto; text-align: center; }
.testimonial-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  color: var(--forest); line-height: 1.55; font-style: italic;
  margin: 1.5rem 0 1rem;
}
.testimonial-block blockquote::before {
  content: '\201C'; font-size: 5rem; color: var(--leaf);
  line-height: 0; vertical-align: -2rem;
  display: block; text-align: left; margin-bottom: 1.2rem;
}
.testimonial-block cite { color: var(--leaf); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── STAT BOXES ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: rgba(226,185,59,0.1); }
.stat-box {
  background: rgba(13,26,13,0.7); padding: 2rem 1.5rem;
  border: 1px solid rgba(226,185,59,0.08); transition: border-color 0.3s;
}
.stat-box:hover { border-color: rgba(226,185,59,0.3); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { color: rgba(245,240,232,0.45); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── FOOTER ── */
footer {
  background: #060d06;
  padding: 3rem 4rem 1.5rem;
  border-top: 1px solid rgba(226,185,59,0.1);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 2.5rem; }
.footer-logo img { height: 38px; margin-bottom: 1rem; }
.footer-tagline { color: rgba(245,240,232,0.4); font-size: 0.82rem; line-height: 1.7; }
.footer-col h4 { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.25s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(245,240,232,0.25); font-size: 0.75rem; }
.footer-phone { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.1rem; text-decoration: none; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--deep); padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid rgba(226,185,59,0.1); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 8rem 1.5rem 3.5rem; }
  .section { padding: 3.5rem 1.5rem; }
  .section-sm { padding: 2.5rem 1.5rem; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .nl-form { flex-direction: column; }
}
@media (max-width: 560px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
