* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #333333;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  transition: all 0.2s ease;
}

.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.main-nav {
  background: #1a1a1a;
  height: 45px;
  width: 100%;
  border-bottom: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  z-index: 1001;
}
.main-nav .logo-small {
  font-weight: 300;
  font-size: 16px;
  text-transform: none;
  text-decoration: none;
  color: #666666;
  letter-spacing: -0.5px;
}
.main-nav .nav-links {
  display: flex;
  gap: 20px;
}
.main-nav .nav-links a {
  text-decoration: none;
  color: #666666;
  font-size: 12px;
  font-weight: 500;
}
.main-nav .nav-links a:hover {
  color: #1a1a1a;
}

.pill-nav-rail {
  position: fixed;
  top: 45px;
  left: 0;
  right: 0;
  padding: 30px 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pill-nav-rail .rail-bar {
  width: 100%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
  transition: all 0.4s ease;
}
.pill-nav-rail .rail-bar::-webkit-scrollbar {
  display: none;
}
.pill-nav-rail .rail-logo {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.pill-nav-rail .rail-logo span {
  color: #ffd700;
  font-weight: 400;
}
.pill-nav-rail .rail-nav-items {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pill-nav-rail.is-snapped {
  position: fixed;
  top: 0px !important;
  padding: 0;
}
.pill-nav-rail.is-snapped .rail-bar {
  max-width: 100%;
  border-radius: 0;
  border-top: none;
  border-right: none;
  border-left: none;
  background: #ffffff;
  padding: 12px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.pill-nav-rail.is-snapped .rail-item.cta {
  border-radius: 4px;
}
.pill-nav-rail .rail-item {
  white-space: nowrap;
  text-decoration: none;
  color: #666666;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 50px;
  transition: color 0.2s;
}
.pill-nav-rail .rail-item:hover {
  color: #1a1a1a;
}
.pill-nav-rail .rail-item.active {
  background: #1a1a1a;
  color: #ffffff;
}
.pill-nav-rail .rail-item.cta {
  background: #ffd700;
  color: #1a1a1a;
  margin-left: auto;
}

.hero-block {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #1a1a1a;
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero-block .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-block .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}
.hero-block .hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
}
.hero-block .hero-content .hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd700;
  display: block;
  margin-bottom: 15px;
}
.hero-block .hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
  font-family: "Inter", sans-serif;
}
.hero-block .hero-content p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0.95;
  line-height: 1.6;
}
.hero-block .hero-content .btn-main {
  display: inline-block;
  background: #c18e74;
  color: #ffffff;
  padding: 18px 35px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hero-block .hero-content .btn-main:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.hero-block {
  /* --- SEARCH BAR (Standard Directory only) --- */
}
.hero-block .hero-search-bar {
  background: #ffffff;
  display: flex;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}
.hero-block .hero-search-bar .input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.hero-block .hero-search-bar .input-group.border-left {
  border-left: 1px solid #eee;
}
.hero-block .hero-search-bar .input-group .icon {
  font-size: 1.1rem;
  margin-right: 8px;
}
.hero-block .hero-search-bar .input-group input {
  border: none;
  width: 100%;
  padding: 10px 0;
  font-size: 0.95rem;
  outline: none;
  color: #333;
  font-family: "Inter", sans-serif;
}
.hero-block .hero-search-bar button {
  background: #ffd700;
  color: #1a1a1a;
  border: none;
  padding: 0 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-block .hero-search-bar button:hover {
  filter: brightness(1.1);
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .hero-block {
    min-height: auto;
    padding-top: 120px;
  }
  .hero-block .hero-content .hero-search-bar {
    flex-direction: column;
    border-radius: 20px;
    padding: 15px;
  }
  .hero-block .hero-content .hero-search-bar .input-group.border-left {
    border-left: none;
    border-top: 1px solid #eee;
    margin-top: 5px;
  }
  .hero-block .hero-content .hero-search-bar button {
    margin-top: 15px;
    padding: 15px;
    width: 100%;
  }
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 0;
  width: 100%;
}
.listing-grid.text-only-list {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}
.listing-grid.text-only-list .search-listing-wrapper {
  width: 100%;
  margin-bottom: 20px;
  display: block;
}
.listing-grid.text-only-list svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  stroke-width: 3px;
}

/* --- VISUAL CARD STYLE (Index Page) --- */
.biz-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.biz-card .card-img {
  height: 200px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
}
.biz-card .card-body {
  padding: 20px;
}
.biz-card .card-body .category-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: #c18e74;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.biz-card .card-body h3 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: #1a1a1a;
}
.biz-card .card-body p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 20px;
}
.biz-card .card-body .card-meta {
  border-top: 1px solid #eeeeee;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- POLISHED TEXT LISTING STYLE (Directory Page) --- */
.search-listing-item {
  display: block;
  text-decoration: none;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: inherit;
}
.search-listing-item:hover {
  border-color: #c18e74;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.search-listing-item:hover h3 {
  color: #c18e74;
}
.search-listing-item .url-breadcrumb {
  font-size: 0.75rem;
  color: #70757a;
  display: block;
  margin-bottom: 10px;
}
.search-listing-item .listing-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.search-listing-item .listing-title-row h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #1a1a1a;
}
.search-listing-item .listing-title-row .verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #27ae60;
  text-transform: uppercase;
  background: #f0fdf4;
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
}
.search-listing-item p {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 750px;
}
.search-listing-item .listing-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
}
.search-listing-item .listing-footer .tag-link {
  margin-left: auto;
  color: #1a1a1a;
  border-bottom: 2px solid #c18e74;
  padding-bottom: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .search-listing-item {
    padding: 20px;
  }
  .search-listing-item .listing-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .search-listing-item .listing-footer .tag-link {
    display: none;
  }
}
.cta-global {
  background: #1a1a1a;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}
.cta-global .cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-global .cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}
.cta-global .cta-content p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}
.cta-global .cta-mini-form {
  display: flex;
  gap: 10px;
  background: #ffffff;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.cta-global .cta-mini-form input {
  flex: 1;
  border: none;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}
.cta-global .cta-mini-form button {
  padding: 15px 35px;
  border-radius: 50px;
  border: none;
  background: #c18e74;
  color: #1a1a1a;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta-global .cta-mini-form button:hover {
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .cta-mini-form {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .cta-mini-form input {
    padding: 15px;
    margin-bottom: 10px;
  }
}
html {
  scroll-behavior: smooth;
}

.authority-guide {
  /* 0. THE ENTITY MASTHEAD (Buntingford Landscaping) */
}
.authority-guide .rail-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  padding-right: 25px;
  margin-right: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.authority-guide .rail-logo .logo-main {
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
}
.authority-guide .rail-logo .logo-sub {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c58d71;
  margin-top: 2px;
}
.authority-guide {
  /* 1. THE HERO SECTION */
}
.authority-guide .hero-block {
  min-height: 85vh;
}
.authority-guide .hero-block h1 {
  font-family: "Lora", serif;
  font-weight: 400;
  font-style: normal;
}
.authority-guide .hero-block .hero-subtitle {
  font-family: "Inter", sans-serif;
  letter-spacing: 8px;
  font-size: 0.9rem;
  font-weight: 300;
  color: #ffffff;
  text-transform: uppercase;
}
.authority-guide .hero-block p {
  font-family: "Lora", serif;
  font-style: normal;
  letter-spacing: 2px;
  font-size: 1.2rem;
  line-height: 1.6;
}
.authority-guide .hero-block .btn-main {
  background: #c58d71;
  border-radius: 0;
  padding: 20px 45px;
  font-weight: 800;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}
.authority-guide .hero-block .btn-main:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.authority-guide {
  /* 2. TECHNICAL SPECS */
}
.authority-guide .technical-specs {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}
.authority-guide .technical-specs .specs-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.authority-guide .technical-specs .specs-intro h2 {
  font-family: "Lora", serif;
  color: #4a5d4e;
  margin-bottom: 25px;
  font-size: 2.2rem;
}
.authority-guide .technical-specs .specs-intro p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}
.authority-guide .technical-specs .specs-intro p strong {
  color: #4a5d4e;
}
.authority-guide {
  /* 3. SERVICES GRID */
}
.authority-guide .services {
  padding: 100px 0;
  background: #ffffff;
}
.authority-guide .services .section-intro {
  text-align: center;
  margin-bottom: 60px;
}
.authority-guide .services .section-intro h2 {
  font-family: "Lora", serif;
  font-size: 2.5rem;
  color: #1a1a1a;
}
.authority-guide .services .section-intro p {
  font-size: 1.1rem;
  color: #666;
}
.authority-guide .services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.authority-guide .services .card {
  background: #f4f1ea;
  overflow: hidden;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.authority-guide .services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}
.authority-guide .services .card .card-img {
  width: 100%;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.authority-guide .services .card .card-content {
  padding: 35px;
}
.authority-guide .services .card .card-content h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4a5d4e;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}
.authority-guide .services .card .card-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}
.authority-guide {
  /* 4. ABOUT / CONSERVATION SECTION */
}
.authority-guide .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}
.authority-guide .about-grid .about-text h2 {
  font-family: "Lora", serif;
  font-size: 2.4rem;
  margin-bottom: 25px;
  color: #1a1a1a;
}
.authority-guide .about-grid .about-text p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}
.authority-guide .about-grid .about-text .highlight-box {
  margin-top: 35px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.6);
  border-left: 4px solid #4a5d4e;
}
.authority-guide .about-grid .about-text .highlight-box h4 {
  margin-bottom: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #4a5d4e;
}
.authority-guide .about-grid .about-text .highlight-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
}
.authority-guide .about-grid .about-visual img {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(15%) contrast(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .authority-guide .about-grid {
    grid-template-columns: 1fr;
    padding: 60px 0;
    gap: 40px;
  }
}

.site-footer {
  background: #fff;
  padding: 60px 0 20px;
  border-top: 1px solid #eeeeee;
  color: #333333;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #1a1a1a;
}
.site-footer .footer-col p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  max-width: 250px;
}
.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-col ul li {
  margin-bottom: 10px;
}
.site-footer .footer-col ul li a {
  text-decoration: none;
  color: #666666;
  font-size: 14px;
  transition: all 0.3s ease;
}
.site-footer .footer-col ul li a:hover {
  color: #1a1a1a;
  padding-left: 5px;
}
.site-footer .footer-bottom {
  border-top: 1px solid #eeeeee;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #666666;
}

@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .footer-grid .footer-col:first-child {
    grid-column: span 2;
  }
}