/* ============================================================
   Oxford & Bucks — BT Local Business
   Stylesheet v1.0
   ============================================================ */

:root {
  --purple:       #4C2C8F;
  --purple-hover: #3a2070;
  --purple-light: #7B4FBC;
  --purple-bg:    #F5F0FF;
  --dark:         #1a1a2e;
  --mid:          #4a4a5a;
  --light-grey:   #f8f7fc;
  --border:       #e0d8f0;
  --white:        #ffffff;
  --green:        #1d8a1d;
  --radius:       8px;
  --shadow:       0 2px 16px rgba(76,44,143,0.10);
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-hover); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(76,44,143,0.07);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover, .site-nav a.active {
  background: var(--purple-bg);
  color: var(--purple);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  font-weight: 600;
  font-size: 1rem;
  color: var(--purple);
  white-space: nowrap;
}
.header-phone:hover { color: var(--purple-hover); }

/* ---- MOBILE HAMBURGER ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #3a2070 0%, #5c34a8 55%, #7B4FBC 100%);
  color: var(--white);
  padding: 80px 24px 90px;
  text-align: center;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--light-grey);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.trust-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid);
}
.trust-item .icon {
  font-size: 1.2rem;
}
.trust-item .stars { color: #f5a623; }

/* ---- SECTIONS ---- */
.section { padding: 72px 24px; }
.section-alt { background: var(--light-grey); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---- PRODUCT CARDS (HOME) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-icon {
  width: 60px;
  height: 60px;
  background: var(--purple-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.product-card p {
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 24px;
  line-height: 1.6;
}
.product-card .btn {
  width: 100%;
  text-align: center;
}

/* ---- FEATURE GRID (product pages) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.feature-item .feat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ---- BENEFITS (2-col hero-style) ---- */
.benefits-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benefits-wrap.reverse .benefits-image { order: -1; }

.benefits-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.benefits-text p {
  color: var(--mid);
  margin-bottom: 28px;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--dark);
}
.check-list li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefits-image {
  background: var(--purple-bg);
  border-radius: 16px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, #3a2070, #5c34a8);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.cta-band-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- STATS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 28px 16px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--mid);
  font-weight: 500;
}

/* ---- CONTACT FORM ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--mid);
  margin-bottom: 32px;
}
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-details li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-details .ci-icon {
  width: 40px;
  height: 40px;
  background: var(--purple-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-details .ci-text {
  font-size: 0.95rem;
}
.contact-details .ci-text strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.contact-details .ci-text span { color: var(--mid); }
.contact-details .ci-text a { color: var(--purple); font-weight: 600; }

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(76,44,143,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; padding: 15px; font-size: 1rem; }
.form-note {
  font-size: 0.78rem;
  color: var(--mid);
  text-align: center;
  margin-top: 10px;
}

/* ---- AREAS COVERED ---- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
}
.area-pill {
  background: var(--purple-bg);
  color: var(--purple);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: rgba(255,255,255,0.85); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .benefits-wrap { grid-template-columns: 1fr; gap: 32px; }
  .benefits-wrap.reverse .benefits-image { order: unset; }
  .benefits-image { min-height: 200px; font-size: 4rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { font-size: 0.9rem; }

  .hero { padding: 60px 20px 70px; }
  .section { padding: 52px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Mobile nav overlay */
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 99;
    gap: 4px;
  }
  .site-nav.open a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
  }
  .site-nav.open .btn { display: block; text-align: center; }
}
