/* ===== KENT & SUSSEX CLEARANCE ===== */
/* Palette: deep navy trust, warm green action, soft stone backgrounds */

:root {
  --navy: #3d3d4a;
  --navy-light: #4a4a55;
  --green: #3a7d44;
  --green-hover: #2d6335;
  --green-light: #e8f5e9;
  --stone: #f5f2ed;
  --stone-dark: #e8e4dd;
  --warm-white: #faf9f7;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --text-muted: #888;
  --border: #ddd;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 6px;
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-hover); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.header-phone:hover { color: var(--green-light); }
.header-phone svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.main-nav a.active { background: var(--green); color: #fff; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.nav-dropdown-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-dropdown-btn svg { width: 12px; height: 12px; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px 0;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  font-size: 0.88rem;
  border-radius: 0;
}
.nav-dropdown-menu a:hover { background: var(--stone); color: var(--green); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-inner-split {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text { }

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  object-fit: cover;
  aspect-ratio: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(58,125,68,0.2);
  border: 1px solid rgba(58,125,68,0.4);
  color: var(--green-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #fff; color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-dark:hover { background: var(--green); color: #fff; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--stone);
  border-bottom: 1px solid var(--stone-dark);
  padding: 14px 0;
}

.trust-items {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ===== TABLE OF CONTENTS ===== */
.toc {
  background: var(--stone);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}
.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.toc ul { list-style: none; }
.toc li { margin-bottom: 6px; }
.toc a {
  font-size: 0.92rem;
  color: var(--text-light);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.toc a::before {
  content: '›';
  color: var(--green);
  font-weight: 700;
}
.toc a:hover { color: var(--green); }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--stone-dark);
}
.content-section:last-of-type { border-bottom: none; }

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.content-section p {
  margin-bottom: 16px;
  color: var(--text);
}

.content-section ul, .content-section ol {
  margin: 16px 0;
  padding-left: 24px;
}
.content-section li {
  margin-bottom: 8px;
  color: var(--text);
}

.content-section strong { color: var(--navy); }

/* Section images */
.section-image {
  margin-bottom: 16px;
}
.section-image img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}
.section-image-left {
  float: left;
  margin-right: 24px;
  margin-bottom: 8px;
}
.section-image-right {
  float: right;
  margin-left: 24px;
  margin-bottom: 8px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
}
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.cta-banner .cta-phone {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  display: block;
  margin: 8px 0;
}
.cta-banner .cta-phone:hover { opacity: 0.9; color: #fff; }
.cta-banner .cta-sub {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 48px 0;
  background: var(--stone);
}
.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  line-height: 1.4;
}
.faq-question:hover { color: var(--green); }
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.2s;
  width: 16px;
  height: 16px;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ===== SERVICES GRID (homepage) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.service-card .card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.service-card .card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 12px;
}
.service-card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: 48px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col p { font-size: 0.88rem; margin-bottom: 8px; line-height: 1.6; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; }

/* ===== HOMEPAGE SECTIONS ===== */
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-heading p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.how-it-works {
  padding: 56px 0;
  background: var(--stone);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  text-align: center;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.step p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ===== AREAS SECTION ===== */
.areas-section { padding: 56px 0; }
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.area-tag {
  background: var(--stone);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { height: 52px; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 12px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { display: block; }
  
  .nav-toggle { display: block; }
  
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    min-width: auto;
    padding: 4px 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { color: rgba(255,255,255,0.7); }
  .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
  
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 1.5rem; }
  
  .hero-inner-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; }
  
  .section-image-left,
  .section-image-right {
    float: none;
    margin: 0 0 16px 0;
  }
  .section-image img { max-width: 100%; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-items { gap: 16px; }
  
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .site-footer, .cta-banner, .hero-ctas { display: none; }
  body { font-size: 12pt; }
}

/* ===== LOGO ===== */
.logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.logo-link .site-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
}
@media (max-width: 768px) {
  .logo-link .site-logo {
    height: 34px;
    max-width: 180px;
  }
}

/* Footer logo */
.footer-logo-img {
  max-width: 220px;
  height: auto;
  margin-bottom: 16px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-method {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--stone-dark);
}
.contact-method:last-child { border-bottom: none; }
.contact-method h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-method p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}
.contact-phone:hover { color: var(--green-hover); }

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  margin-bottom: 8px;
}
.whatsapp-btn:hover { background: #1da851; color: #fff !important; }

/* WhatsApp footer link */
.whatsapp-link {
  color: #25D366 !important;
  font-weight: 500;
  font-size: 0.88rem;
}
.whatsapp-link:hover { color: #1da851 !important; }
