/*
   Westbrook Memorial — Funeral Services Mock Site
   Quiet, dignified, modern
*/

/* ==================== Variables ==================== */
:root {
  --bg: #fafaf8;
  --bg-alt: #f2f1ed;
  --text: #2c2c2c;
  --text-muted: #666;
  --primary: #3d5a4c;
  --primary-light: #4a6d5c;
  --accent: #8b9d8b;
  --border: #e0ddd6;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1000px;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 var(--space-sm);
}

p {
  margin: 0 0 var(--space-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-light);
}

/* ==================== Concept Badge ==================== */
.concept-badge {
  position: fixed;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 1000;
  background: rgba(45, 45, 45, 0.9);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.concept-badge span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.concept-badge a {
  color: #aaa;
  font-size: 0.6875rem;
}

.concept-badge a:hover {
  color: #fff;
}

/* ==================== Header ==================== */
.header {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: var(--space-md);
}

.nav a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

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

.header-phone {
  font-weight: 600;
  color: var(--primary);
}

/* ==================== Hero ==================== */
.hero {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  background: var(--bg-alt);
  background-size: cover;
  background-position: center top;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(242, 241, 237, 0.85) 0%, rgba(242, 241, 237, 0.95) 100%);
}

.hero-inner {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* ==================== Button ==================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  transition: background 0.15s ease;
}

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

/* ==================== Sections ==================== */
.section {
  padding: var(--space-xl) var(--space-md);
}

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-narrow {
  max-width: 650px;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

/* ==================== Intro ==================== */
.intro-text {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text);
  line-height: 1.8;
}

/* ==================== Services ==================== */
.services-list {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-item {
  padding: var(--space-md);
  background: var(--bg);
  border-radius: 4px;
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

/* ==================== Contact ==================== */
.section-contact {
  background: var(--primary);
  color: #fff;
}

.section-contact h2 {
  color: #fff;
}

.contact-lead {
  text-align: center;
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.contact-grid {
  display: grid;
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #fff;
  font-size: 1.125rem;
}

.contact-item p {
  font-size: 0.9375rem;
  opacity: 0.9;
  margin: 0.25rem 0 0;
}

/* ==================== Footer ==================== */
.footer {
  padding: var(--space-md);
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==================== Mobile ==================== */
@media (max-width: 600px) {
  .nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }
}
