/*
Theme Name: Complete Tree & Landscape
Theme URI: https://completetreelandscape.com
Description: Custom WordPress theme converted from the original Complete Tree & Landscape HTML design (Hanover, MD edition). Design CSS lives in assets/global.css; page content is fully editable in WordPress.
Author: Complete Tree & Landscape
Version: 1.0.0
Text Domain: complete-tree-landscape
*/

/* Dual floating call buttons: Landscaping (left) + Tree Service (right) */
#sticky-call-button-container .sticky-call {
  display: flex !important;
  top: auto;
  bottom: 22px;
}
#sticky-call-button-container .sticky-call-left {
  left: 22px;
  right: auto;
}
#sticky-call-button-container .sticky-call-right {
  right: 22px;
  left: auto;
  background: #1d5c38;
}
@media (max-width: 640px) {
  #sticky-call-button-container .sticky-call {
    bottom: 12px;
    padding: 9px 13px;
  }
  #sticky-call-button-container .sticky-call-left { left: 12px; }
  #sticky-call-button-container .sticky-call-right { right: 12px; }
}

/* Brand mark with tree icon */
.brand-mark { display: inline-flex; align-items: center; justify-content: center; }
.brand-mark svg { display: block; }

/* Content tables — premium design */
.ctl-table-wrap { overflow-x: auto; margin: 1.4rem 0 2.2rem; border-radius: 16px; box-shadow: 0 12px 32px rgba(23, 61, 33, 0.13); }
.ctl-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #ddd6c2; border-radius: 16px; overflow: hidden; }
.ctl-table th { background: linear-gradient(120deg, #173d21, #256b43); color: #fff; text-align: left; padding: 15px 18px; font-size: 0.97rem; font-weight: 700; letter-spacing: 0.02em; }
.ctl-table td { padding: 14px 18px; border-top: 1px solid #e9e3d0; vertical-align: top; font-size: 0.99rem; line-height: 1.55; color: #3d382e; }
.ctl-table td:first-child { font-weight: 600; color: #173d21; }
.ctl-table tbody tr:nth-child(even) td { background: #f7f3e8; }
.ctl-table tbody tr:hover td { background: #edf3ea; }
@media (max-width: 640px) {
  .ctl-table th, .ctl-table td { padding: 11px 12px; font-size: 0.9rem; }
}

/* Blog listing cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-top: 2rem; }
.blog-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 28px rgba(30, 40, 20, 0.09); display: flex; flex-direction: column; }
.blog-card-img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.blog-card-body small { color: #7a7263; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; }
.blog-card-body h2 { font-size: 1.25rem; margin: 0; }
.blog-card-body h2 a { color: inherit; text-decoration: none; }
.blog-card-body p { margin: 0; color: #4c463c; }

/* ===== V3: smaller, tighter menu ===== */
.nav-links { flex-wrap: nowrap; }
.nav-links > a, .nav-dd > a { white-space: nowrap; }
@media (min-width: 1100px) {
  .nav-links { gap: 18px; }
  .nav-links > a, .nav-dd > a { font-size: 0.84rem; letter-spacing: 0.01em; padding-left: 2px; padding-right: 2px; }
  .nav-call { padding: 8px 13px; font-size: 0.84rem; }
  .brand > span:last-child { font-size: 0.98rem; line-height: 1.15; }
  .brand small { font-size: 0.6rem; }
}
@media (min-width: 1100px) and (max-width: 1320px) {
  .nav-links { gap: 13px; }
  .nav-links > a, .nav-dd > a { font-size: 0.79rem; }
  .utility-inner { font-size: 0.78rem; }
  .utility-inner div span { margin-left: 12px; }
}
.utility-inner div span a { font-weight: 600; }

/* ===== V3: footer two phone lines ===== */
.footer-phone { display: block; margin-top: 4px; }

/* ===== V3: designed inner-page hero band ===== */
.ctl-hero { background: linear-gradient(120deg, #173d21 0%, #1d5c38 70%, #256b43 100%); color: #fff; padding: 54px 0 48px; margin-bottom: 2.6rem; }
.ctl-hero .eyebrow { color: #bfe3cd; }
.ctl-hero h1 { color: #fff; margin: 0.35rem 0 0.7rem; max-width: 720px; }
.ctl-hero p { color: #e7f2ea; max-width: 640px; margin: 0; font-size: 1.05rem; }
.ctl-hero .ctl-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* ===== V3: review cards ===== */
.ctl-rating-summary { display: flex; flex-wrap: wrap; gap: 16px 34px; align-items: center; background: #faf7ef; border: 1px solid #e7e2d6; border-radius: 18px; padding: 20px 26px; margin-bottom: 2rem; }
.ctl-rating-summary .ctl-big { font-size: 2.9rem; font-weight: 800; line-height: 1; color: #173d21; }
.ctl-rating-summary .ctl-stars { display: block; margin-top: 4px; }
.ctl-rating-summary p { margin: 0; color: #4c463c; max-width: 460px; }
.ctl-stars { color: #f2a007; letter-spacing: 3px; font-size: 1.05rem; }
.ctl-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-bottom: 2.4rem; }
.ctl-review-card { background: #fff; border-radius: 18px; padding: 24px 24px 20px; box-shadow: 0 8px 28px rgba(30, 40, 20, 0.09); border-top: 5px solid #1d5c38; display: flex; flex-direction: column; gap: 10px; }
.ctl-review-card p { margin: 0; color: #3d382e; }
.ctl-review-head { display: flex; align-items: center; gap: 13px; }
.ctl-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: #1d5c38; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.ctl-review-head strong { display: block; font-size: 1rem; }
.ctl-review-head small { color: #7a7263; font-size: 0.8rem; }
.ctl-review-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.ctl-review-tag { background: #eef4ec; color: #1d5c38; border-radius: 999px; padding: 3px 11px; font-size: 0.78rem; font-weight: 600; }
.ctl-verified { color: #1d5c38; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }

/* ===== V3: process steps ===== */
.ctl-steps { display: flex; flex-direction: column; gap: 18px; margin-bottom: 2.4rem; }
.ctl-step { display: flex; gap: 20px; background: #fff; border-radius: 18px; padding: 24px 26px; box-shadow: 0 8px 28px rgba(30, 40, 20, 0.08); align-items: flex-start; }
.ctl-step-num { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; background: #1d5c38; color: #fff; font-size: 1.35rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ctl-step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ctl-step p { margin: 0; color: #4c463c; }
@media (max-width: 640px) { .ctl-step { padding: 20px; gap: 14px; } .ctl-step-num { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.1rem; } }

/* ===== V3: bottom call band ===== */
.ctl-callband { background: linear-gradient(120deg, #173d21, #1d5c38); border-radius: 20px; color: #fff; padding: 30px 32px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; justify-content: space-between; margin: 0 0 3rem; }
.ctl-callband h2 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; }
.ctl-callband p { margin: 0; color: #ddefe2; }
.ctl-callband .ctl-callband-btns { display: flex; flex-wrap: wrap; gap: 12px; }
