/* ═══ HAMPSHIRE FUSEBOARDS ═══ */
/* Premium minimal — Apple/Tesla inspired */

:root {
  --brand: #111111;
  --brand-accent: #0071e3;
  --text: #1d1d1f;
  --text-light: #6e6e73;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --border: #d2d2d7;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.04);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══ HEADER ═══ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 100;
  padding: 0.7rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-img {
  height: 28px;
  width: auto;
}

.logo-icon { font-size: 1.2rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  border-radius: 980px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  letter-spacing: 0.01em;
}

.btn-sm {
  padding: 0.45rem 1.2rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-accent);
  color: #fff;
}

.btn-primary:hover {
  background: #0062c4;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ═══ HERO ═══ */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: url('logo.png') no-repeat center center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.hero .highlight {
  color: var(--text-light);
  font-weight: 700;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-strip {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* ═══ SECTIONS ═══ */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: url('logo.png') no-repeat center center;
  background-size: contain;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.section .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  font-weight: 400;
}

/* ═══ GRIDS ═══ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ═══ CARDS ═══ */
.card {
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ═══ SIMPLE CARDS (home page) ═══ */
.card-simple {
  text-align: center;
  padding: 2.5rem 2rem;
}

.card-simple h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

/* ═══ REASONS ═══ */
.reason {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.reason h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.reason p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ═══ AREA TAGS ═══ */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.area-tag {
  background: var(--bg-alt);
  color: var(--text-light);
  padding: 0.5rem 1.3rem;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.area-tag:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ═══ AREA GRID ═══ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.area-card {
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.area-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.area-card h2 {
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.area-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  padding: 5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: url('logo.png') no-repeat center center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

/* ═══ SERVICE BLOCKS ═══ */
.service-list {
  max-width: 680px;
  margin: 0 auto;
}

.service-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block h2 {
  text-align: left;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.service-block p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-block ul {
  list-style: none;
  padding: 0;
}

.service-block ul li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.92rem;
}

.service-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ═══ CTA BLOCK ═══ */
.cta-block {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.cta-block h2 {
  margin-bottom: 0.5rem;
}

.cta-block p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ═══ SECTION CTA LINK ═══ */
.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.section-cta a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.section-cta a:hover {
  text-decoration: underline;
}

/* ═══ FAQ ═══ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-group-title {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2.5rem 0 0.8rem;
  color: var(--text-light);
}

.faq-group-title:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--text-light);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding-top: 0.8rem;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item p a {
  color: var(--brand-accent);
  text-decoration: none;
}

.faq-item p a:hover {
  text-decoration: underline;
}

/* ═══ NAV ACTIVE ═══ */
.nav a.active {
  color: var(--text);
}

/* ═══ CONTACT ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 1rem;
}

.contact-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.contact-link:hover {
  color: var(--brand-accent);
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* ═══ FOOTER LINKS ═══ */
.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 1rem 0;
}

.footer-links a {
  color: #86868b;
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: #f5f5f7;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--brand);
  color: #86868b;
  padding: 3rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer strong {
  color: #f5f5f7;
  font-weight: 600;
}

.footer .muted {
  color: #6e6e73;
  margin-top: 0.3rem;
}

.footer .small {
  font-size: 0.75rem;
  margin-top: 1.2rem;
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: block; }

  .hero { padding: 5rem 0 4rem; }

  .hero h1 { font-size: 2.2rem; }

  .hero-sub { font-size: 1.05rem; }

  .btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }

  .section h2 { font-size: 1.8rem; }
  .section { padding: 3.5rem 0; }

  .page-hero { padding: 3.5rem 0 1.5rem; }
  .page-hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .trust-strip { flex-direction: column; align-items: center; gap: 0.6rem; }
  .area-tags { gap: 0.4rem; }
  .area-tag { font-size: 0.8rem; padding: 0.4rem 1rem; }
}
