/* ===== AL'S WHOLE HEALTH — Design System ===== */
:root {
  /* Palette */
  --pine: #1B3B36;
  --pine-light: #2A554E;
  --stone: #F5F0E8;
  --stone-dark: #E8E0D4;
  --gold: #D4A853;
  --gold-light: #E8C87A;
  --ink: #1A1A1A;
  --ink-muted: #5A5A5A;
  --white: #FFFFFF;
  --border: #D4CAB8;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;

  /* Typography */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius: 8px;
  --radius-lg: 16px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  background: var(--stone);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { margin: 0; max-width: 65ch; }

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--pine);
  color: var(--white);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
}

.hero-content::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.hero-badge::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: var(--space-md);
  line-height: 1.05;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  max-width: 45ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
}

.hero-phone:hover {
  color: var(--gold-light);
}

.hero-address {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,59,54,0.3) 0%, transparent 50%);
}

/* ===== REVIEWS STRIP ===== */
.reviews-strip {
  background: var(--white);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.reviews-strip .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

.reviews-strip h2 {
  font-size: 1.5rem;
  color: var(--pine);
  margin-bottom: var(--space-sm);
}

.reviews-strip .subtitle {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.reviews-grid {
  display: grid;
  gap: var(--space-lg);
}

.review-card {
  padding: var(--space-lg);
  background: var(--stone);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.review-card .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.review-card .attribution {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine);
}

.review-card.negative {
  border-left-color: #c0b8a8;
  opacity: 0.7;
}

.review-card.negative blockquote {
  font-size: 0.85rem;
}

/* ===== SERVICES ===== */
.services {
  padding: var(--space-2xl) 0;
  background: var(--stone);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services-header h2 {
  color: var(--pine);
  margin-bottom: var(--space-sm);
}

.services-header p {
  color: var(--ink-muted);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 59, 54, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--pine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--pine);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0 auto;
}

/* ===== HOURS & INFO ===== */
.info-section {
  padding: var(--space-2xl) 0;
  background: var(--pine);
  color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.info-block h2 {
  margin-bottom: var(--space-lg);
  color: var(--gold);
}

.info-block p {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-table td {
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
}

.hours-table .day {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.hours-table .time {
  text-align: right;
  color: rgba(255,255,255,0.7);
}

.hours-table .closed {
  color: rgba(255,255,255,0.4);
}

.hours-table .today {
  color: var(--gold);
  font-weight: 600;
}

/* ===== GALLERY ===== */
.gallery {
  padding: var(--space-2xl) 0;
  background: var(--stone);
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.gallery-header h2 {
  color: var(--pine);
  margin-bottom: var(--space-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info h2 {
  color: var(--pine);
  margin-bottom: var(--space-lg);
}

.contact-info p {
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-detail-label {
  font-weight: 600;
  color: var(--pine);
  min-width: 80px;
  font-size: 0.9rem;
}

.contact-detail-value {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.contact-detail-value a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-detail-value a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

.form-group {
  display: grid;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--stone);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  font-size: 0.9rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
}

.form-status.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-status.error {
  background: #fbe9e7;
  color: #c62828;
}

/* ===== FOOTER ===== */
footer {
  background: var(--pine);
  color: rgba(255,255,255,0.6);
  padding: var(--space-xl) 0;
  text-align: center;
  font-size: 0.85rem;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

footer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.footer-attribution {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: var(--space-sm);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: var(--space-2xl) var(--space-lg);
    min-height: 100vh;
  }

  .hero-content::after {
    display: none;
  }

  .hero-image {
    height: 300px;
    order: -1;
  }

  .hero-image img {
    position: relative;
  }

  .hero-image-overlay {
    background: linear-gradient(0deg, rgba(27,59,54,0.6) 0%, transparent 60%);
  }

  .reviews-strip .container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-form {
    order: -1;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: var(--space-xl) var(--space-md);
    min-height: 90vh;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .services {
    padding: var(--space-xl) 0;
  }

  .info-section {
    padding: var(--space-xl) 0;
  }

  .gallery {
    padding: var(--space-xl) 0;
  }

  .contact {
    padding: var(--space-xl) 0;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
