/* =========================================================
   The Advocates — Site 7
   Design: bento-modern
   Palette: light gray base, lavender accent, mint + peach pastel cards
   ========================================================= */

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

:root {
  --bg: #f3f3f6;
  --text: #1c1c2a;
  --accent: #7c5cff;
  --accent-soft: #ece6ff;
  --muted: #646475;
  --surface: #ffffff;
  --mint: #d9f1e3;
  --peach: #ffe2cf;
  --lav-grad-1: #8e74ff;
  --lav-grad-2: #6147ea;
  --shadow-card: 0 8px 32px rgba(20, 18, 60, 0.06);
  --shadow-card-hover: 0 14px 40px rgba(20, 18, 60, 0.10);
  --heading-font: 'Manrope', system-ui, sans-serif;
  --body-font: 'Manrope', system-ui, sans-serif;
  --radius-card: 20px;
  --radius-image: 16px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

a:hover { color: var(--lav-grad-2); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout shell ---------- */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

/* ---------- Header ---------- */
.site-header {
  background: #1c1c2a;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.site-header .brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header .logo {
  height: 52px;
  width: auto;
}

.site-header .wordmark {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14.5px;
  color: #e5e5ec;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}

.main-nav a:hover { background: rgba(255,255,255,0.10); color: #ffffff; }

.main-nav a.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

/* ---------- Hero bento card ---------- */
.hero-bento {
  background: linear-gradient(135deg, var(--lav-grad-1) 0%, var(--lav-grad-2) 100%);
  border-radius: var(--radius-card);
  padding: 44px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.hero-bento::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-bento h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}

.hero-bento .hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 56ch;
}

.hero-bento .hero-image-wrap {
  position: relative;
  z-index: 1;
}

.hero-bento .hero-image-wrap img {
  border-radius: var(--radius-image);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ---------- Body bento grid ---------- */
main.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 22px;
}

.bento-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.bento-card.span-12 { grid-column: span 12; }
.bento-card.span-8  { grid-column: span 8; }
.bento-card.span-6  { grid-column: span 6; }
.bento-card.span-4  { grid-column: span 4; }

.bento-card.accent-mint  { background: var(--mint); }
.bento-card.accent-peach { background: var(--peach); }

.bento-card h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--text);
}

.bento-card h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  margin: 18px 0 8px;
  color: var(--text);
}

.bento-card p {
  margin: 0 0 14px;
  color: var(--text);
}

.bento-card p:last-child { margin-bottom: 0; }

.bento-card ul,
.bento-card ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.bento-card ul li,
.bento-card ol li {
  margin-bottom: 6px;
}

.bento-card .eyebrow {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}

.bento-card .inline-img {
  border-radius: var(--radius-image);
  margin: 14px 0 6px;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 320px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1c1c2a;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 36px 40px;
  margin-top: 36px;
  color: #d4d2e6;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.site-footer h4 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 14px;
}

.site-footer .brand-line {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.site-footer .tagline {
  color: #b6b4cf;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 42ch;
}

.site-footer .copy {
  color: #8a88a8;
  font-size: 13px;
  margin: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li { margin-bottom: 8px; }

.site-footer ul a {
  color: #d4d2e6;
  font-size: 14.5px;
  text-decoration: none;
  font-weight: 500;
}

.site-footer ul a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-bento {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }
  .hero-bento .hero-image-wrap img { height: 220px; }
}

@media (max-width: 768px) {
  .shell { padding: 14px 16px 36px; }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .main-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .main-nav a { white-space: nowrap; }

  main.bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card.span-12,
  .bento-card.span-8,
  .bento-card.span-6,
  .bento-card.span-4 {
    grid-column: span 1;
  }
  .bento-card {
    padding: 24px 22px;
  }
  .bento-card h2 { font-size: 23px; }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero-bento { padding: 26px 22px; }
  .hero-bento h1 { font-size: 28px; }
  .bento-card { padding: 22px 18px; }
}

/* ---------- Visit Us bento card ---------- */
.visit-us {
  margin-top: 28px;
}

.visit-us .visit-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.visit-us .visit-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.visit-us .visit-eyebrow {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}

.visit-us h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 22px;
  color: var(--text);
}

.visit-us .visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
}

.visit-us .visit-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visit-us .visit-address {
  font-style: normal;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--accent-soft);
  padding: 18px 20px;
  border-radius: var(--radius-image);
}

.visit-us .visit-phone {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0;
  padding: 14px 20px;
  background: var(--mint);
  border-radius: var(--radius-image);
  display: inline-block;
}

.visit-us .visit-map {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-image);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 18, 60, 0.08);
}

.visit-us .visit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-image);
}

@media (max-width: 768px) {
  .visit-us .visit-card {
    padding: 26px 22px;
  }
  .visit-us .visit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .visit-us .visit-phone {
    font-size: 18px;
  }
}
