/* The Advocates — friendly-rounded design (site 5) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:root {
  --bg: #fff8f1;
  --text: #23303d;
  --accent: #e26a4f;
  --accent-soft: #f4a48d;
  --muted: #6b7a85;
  --surface: #ffeede;
  --teal: #4ea8a3;
  --teal-soft: #cfe7e5;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 32px rgba(226, 106, 79, 0.12);
  --heading-font: 'Fraunces', Georgia, serif;
  --body-font: 'Nunito', system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }

p { margin: 0 0 1.1em; }

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--bg);
  padding: 18px 0;
  border-bottom: 1px solid #f0e4d4;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-link .logo { height: 52px; width: auto; }
.brand-name { font-family: var(--heading-font); font-size: 1.3rem; color: var(--accent); font-weight: 600; }

.site-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #2c5b58;
  font-weight: 700;
  font-size: 0.95rem;
}
.site-nav a:hover { background: var(--teal-soft); color: #2c5b58; }
.site-nav a.active { background: var(--accent); color: #fff; }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-soft));
  filter: blur(20px);
  opacity: 0.55;
  top: -90px;
  right: -120px;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--teal-soft);
  filter: blur(28px);
  opacity: 0.7;
  bottom: -100px;
  left: -80px;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text .eyebrow {
  display: inline-block;
  background: var(--surface);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-text .subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 8px;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
}
.hero-image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* Main content */
main { padding: 30px 0 60px; }

.content section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 38px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}
.content section:nth-of-type(even) {
  background: #fff;
}
.content section:nth-of-type(3n) {
  background: var(--teal-soft);
}

.content section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.content section h2::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.content section:nth-of-type(3n) h2::before { background: var(--teal); }

.inline-image {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.inline-image img { width: 100%; max-height: 460px; object-fit: cover; }
.inline-image figcaption {
  background: #fff;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

ul.bullets, ol.steps {
  padding-left: 22px;
  margin: 0 0 1.2em;
}
ul.bullets li, ol.steps li {
  margin-bottom: 0.5em;
}
ul.bullets li::marker { color: var(--accent); }
ol.steps li::marker { color: var(--teal); font-weight: 800; }

.callout {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
  border-left: 6px solid var(--teal);
  margin: 24px 0;
}
.callout strong { color: var(--accent); }

/* Footer */
.site-footer {
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 40px;
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-name { font-size: 1.4rem; display: inline-block; margin-bottom: 8px; }
.footer-brand .tagline { color: var(--muted); margin: 0 0 16px; }
.footer-brand .copyright { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }

.footer-links h3 {
  font-family: var(--heading-font);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.footer-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 40px; }
}

@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav ul { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; }
  .site-nav a { white-space: nowrap; }
  .hero::before { width: 200px; height: 200px; top: -40px; right: -40px; }
  .hero::after { width: 140px; height: 140px; }
  .content section { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .content section { padding: 22px 18px; border-radius: 18px; }
  .hero-image img { min-height: 220px; }
}

/* Visit Us */
.visit-us {
  padding: 20px 0 50px;
}
.visit-us .visit-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.visit-us h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.visit-us h2::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.visit-address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
}
.visit-phone {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.visit-map {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
  aspect-ratio: 4 / 3;
}
.visit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .visit-us .visit-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 480px) {
  .visit-us .visit-card { padding: 24px; border-radius: 18px; }
  .visit-map { border-width: 4px; }
}
