/* =================================
   Tree Service Miramar — Modern Green Theme
   iDeVRM Lead Gen — v2 layout
   ================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #1e6b3d;
  --green-dark: #0d3d20;
  --green-light: #4ca86c;
  --amber: #e8a020;
  --amber-dark: #c88a10;
  --dark: #0d2b1a;
  --text: #2a2a2a;
  --muted: #5a5a5a;
  --light: #f0f7f2;
  --white: #ffffff;
  --border: #d0e8d8;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

body { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; color: var(--text); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--dark);
  padding: 15px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-green {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}
.btn-green:hover { background: var(--green-dark); }

/* ── NAV ── */
nav {
  background: var(--dark);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.nav-logo { color: var(--white); font-size: 21px; font-weight: 700; padding: 16px 0; }
.nav-logo span { color: var(--green-light); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: #aacfb5; padding: 9px 14px; font-size: 14px; font-weight: 500; transition: color 0.2s; border-radius: 5px; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-phone {
  background: var(--amber) !important;
  color: var(--dark) !important;
  padding: 10px 20px !important;
  border-radius: 5px;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.nav-phone:hover { background: var(--amber-dark) !important; }

/* ── SPLIT HERO ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.hero-text {
  background: var(--dark);
  padding: 70px 6% 70px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.hero-text h1 { color: var(--white); font-size: 40px; line-height: 1.2; margin-bottom: 16px; }
.hero-text h1 span { color: var(--green-light); }
.hero-text p { color: #c0d8c8; font-size: 17px; margin-bottom: 28px; }
.hero-phone-block { margin-bottom: 28px; }
.hero-phone-block a { color: var(--amber); font-size: 26px; font-weight: 700; display: block; }
.hero-phone-block small { color: #88b898; font-size: 13px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green);
  padding: 24px 6%;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-bar-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 14px; font-weight: 600; }
.trust-bar-item span { font-size: 22px; }

/* ── SECTIONS ── */
section { padding: 70px 6%; }
.bg-light { background: var(--light); }
.section-label {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 700; color: var(--dark); margin-bottom: 14px; line-height: 1.25; }
.section-sub { color: var(--muted); font-size: 16px; margin-bottom: 36px; }

/* ── CONTENT + PHOTO SPLITS ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-photo img { width: 100%; height: 380px; object-fit: cover; }
.split-content p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }

/* ── SERVICE CARDS ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; margin-top: 8px; }
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--green);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.13); }
.service-card .card-icon { font-size: 32px; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.service-card a { color: var(--green); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 12px; }
.service-card a:hover { color: var(--green-dark); text-decoration: underline; }

/* ── PROCESS STEPS ── */
.steps-list { list-style: none; }
.step-item { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.step-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.step-item p { font-size: 15px; color: var(--muted); }

/* ── PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 10px; }
.price-card { background: var(--white); border-radius: 10px; padding: 24px 20px; text-align: center; box-shadow: var(--shadow); }
.price-card h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.price-range { font-size: 22px; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.price-card p { font-size: 13px; color: #888; }

/* ── FAQ ── */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 10px; }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 100%);
  padding: 70px 6%;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.cta-banner p { color: #b0d0ba; font-size: 17px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HEADER ── */
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 6%;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: 38px; font-weight: 700; margin-bottom: 12px; }
.page-header p { color: #e8f0ea; font-size: 17px; max-width: 620px; margin: 0 auto; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1060px; }
.contact-info h2 { font-size: 27px; font-weight: 700; margin-bottom: 16px; color: var(--dark); }
.contact-info p { color: var(--muted); margin-bottom: 24px; font-size: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-detail .icon { font-size: 22px; }
.contact-detail strong { display: block; color: var(--dark); font-size: 15px; margin-bottom: 2px; }
.contact-detail span { font-size: 14px; color: var(--muted); }
form .form-group { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: #444; }
form input, form textarea, form select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
}
form input:focus, form textarea:focus, form select:focus { border-color: var(--green); outline: none; }
form textarea { height: 130px; resize: vertical; }
form button { width: 100%; margin-top: 6px; font-size: 16px; padding: 16px; }

/* ── SERVICE AREAS ── */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.area-card { background: var(--white); border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.07); border-top: 3px solid var(--green); }
.area-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.area-card p { font-size: 13px; color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #90b89a;
  padding: 48px 6%;
  text-align: center;
}
footer .footer-logo { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
footer .footer-logo span { color: var(--green-light); }
footer p { font-size: 14px; line-height: 1.7; }
footer nav { margin-top: 20px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
footer nav a { color: #78a882; font-size: 14px; transition: color 0.2s; }
footer nav a:hover { color: var(--white); }
.footer-credit { margin-top: 24px; font-size: 12px; color: #5a7860; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-image { height: 280px; }
  .hero-image img { height: 280px; }
  .split-section, .split-section.reverse { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { flex-wrap: wrap; padding: 12px 5%; gap: 8px; }
  .nav-links { flex-wrap: wrap; gap: 4px; }
  .hero-text { padding: 50px 5%; }
  .hero-text h1 { font-size: 28px; }
  section { padding: 50px 5%; }
  .section-title { font-size: 26px; }
  .trust-bar { gap: 20px; padding: 20px 5%; }
  .cta-banner h2 { font-size: 26px; }
  .page-header h1 { font-size: 28px; }
}
