/* ============================================================
   Rome Tree Service — Main Stylesheet
   Domain: rometreeservice.com
   Palette: Forest greens + earth tones
   ============================================================ */

:root {
  --green-dark:   #1a3d1f;
  --green-mid:    #2d6a35;
  --green-light:  #4a9455;
  --green-pale:   #e8f5e9;
  --earth-dark:   #4e3b2a;
  --earth-mid:    #7d5c40;
  --earth-light:  #b89070;
  --cream:        #f7f3ee;
  --white:        #ffffff;
  --gray-light:   #f0ece6;
  --gray-mid:     #9e9087;
  --text-dark:    #1e1a16;
  --text-body:    #3d3530;
  --shadow:       0 4px 20px rgba(26,61,31,0.12);
  --shadow-lg:    0 8px 40px rgba(26,61,31,0.18);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   0.25s ease;
  --max-width:    1200px;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--green-dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Utility ────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-green-dark { background: var(--green-dark); }
.bg-green-mid  { background: var(--green-mid); }
.bg-cream      { background: var(--cream); }
.bg-pale       { background: var(--green-pale); }
.bg-earth      { background: var(--earth-dark); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--green-light); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-earth {
  background: var(--earth-mid);
  color: var(--white);
  border-color: var(--earth-mid);
}
.btn-earth:hover {
  background: var(--earth-dark);
  border-color: var(--earth-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ─── Header / Nav ───────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  display: block;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--green-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-main a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-main a:hover, .nav-main a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-body) !important;
  font-size: 0.88rem;
  border-radius: 0;
}
.nav-dropdown-menu a:hover {
  background: var(--green-pale);
  color: var(--green-dark) !important;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-phone:hover { color: var(--green-light); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    gap: 0.1rem;
    box-shadow: var(--shadow);
  }
  .nav-main.open { display: flex; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { color: rgba(255,255,255,0.85) !important; }
  .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.12); color: white !important; }
  .header-phone { display: none; }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-dark) 0%, #2a5233 50%, var(--earth-dark) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.trust-item .icon { font-size: 1rem; }

/* ─── Section Headers ────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header.text-center { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-mid); font-size: 1.05rem; }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 1.75rem; }
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { color: var(--gray-mid); font-size: 0.95rem; }

/* ─── Grid Layouts ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Services Grid ──────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid #e8e2da;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green-mid);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--green-dark); margin-bottom: 0.6rem; font-size: 1.15rem; }
.service-card p { color: var(--text-body); font-size: 0.93rem; margin-bottom: 1.25rem; }
.service-card .learn-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--earth-dark));
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Process Steps ──────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .steps-grid { grid-template-columns: 1fr; } }

.step-item { text-align: center; }
.step-num {
  width: 64px; height: 64px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step-item h4 { color: var(--green-dark); margin-bottom: 0.5rem; }
.step-item p { color: var(--gray-mid); font-size: 0.93rem; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-mid);
}
.testimonial-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-text { color: var(--text-body); font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; color: var(--green-dark); font-size: 0.9rem; }
.testimonial-location { font-size: 0.82rem; color: var(--gray-mid); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid #e8e2da;
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green-mid);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-top: 0.75rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  background: var(--cream);
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e2da;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-mid);
}
.breadcrumb-inner a { color: var(--green-mid); }
.breadcrumb-inner a:hover { color: var(--green-dark); }
.breadcrumb-sep { color: var(--gray-mid); }

/* ─── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #2a5233 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 680px; }

/* ─── Content + Sidebar ──────────────────────────────────── */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .content-sidebar { grid-template-columns: 1fr; } }

.sidebar-widget {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--green-mid);
}
.sidebar-widget ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #e8e2da;
  font-size: 0.92rem;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sidebar-widget ul li a:hover { color: var(--green-mid); }
.sidebar-cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.sidebar-cta h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.75rem; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 1.25rem; }
.sidebar-cta .phone-big {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}

/* ─── Checklist ──────────────────────────────────────────── */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-body);
}
.checklist li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ─── Area Cards ─────────────────────────────────────────── */
.area-card {
  background: var(--white);
  border: 1px solid #e8e2da;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  text-align: center;
}
.area-card:hover { box-shadow: var(--shadow-lg); border-color: var(--green-mid); transform: translateY(-3px); }
.area-card .area-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.area-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 0.4rem; }
.area-card p { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 1rem; }
.area-card a { font-size: 0.88rem; font-weight: 700; color: var(--green-mid); }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-light);
  display: block;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ─── Footer ─────────────────────────────────────────────── */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ─── Emergency Bar ──────────────────────────────────────── */
.emergency-bar {
  background: #b91c1c;
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.emergency-bar a { color: var(--white); text-decoration: underline; }

/* ─── Responsive Helpers ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
  .cta-banner { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  #site-header, #site-footer, .cta-banner { display: none; }
}
