* { box-sizing: border-box; }

:root {
  --blue: #0771b0;
  --green: #00b776;
  --ink: #12293a;
  --paper: #ffffff;
  --accent: #ff7400;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(to bottom, var(--blue) 0%, var(--green) 100%);
  background-attachment: fixed;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); }
a:hover { color: var(--blue); }

/* Header / nav */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand img { height: 48px; display: block; }

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--blue);
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav.primary-nav > a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

nav.primary-nav > a:hover { color: var(--blue); }

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary:after { content: " \25BE"; }

.nav-dropdown[open] > summary { color: var(--blue); }

.nav-dropdown .dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  min-width: 240px;
  list-style: none;
  margin: 6px 0 0;
}

.nav-dropdown .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.nav-dropdown .dropdown-menu li a:hover { background: #f0f6fa; color: var(--blue); }
.nav-dropdown .dropdown-menu li.divider { border-top: 1px solid #eee; margin: 6px 0; }

@media (max-width: 760px) {
  .nav-toggle-label { display: block; }
  nav.primary-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px 0;
  }
  .nav-toggle:checked ~ nav.primary-nav { display: flex; }
  .nav-dropdown .dropdown-menu { position: static; box-shadow: none; padding-left: 12px; }
  .site-header .container { flex-wrap: wrap; }
}

/* Quote carousel */
.quote-carousel {
  color: #fff;
  text-align: center;
  padding: 60px 20px 40px;
}
.quote-carousel blockquote {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
}
.quote-carousel cite {
  display: block;
  margin-top: 16px;
  font-size: 0.95rem;
  font-style: normal;
  opacity: 0.85;
}
.quote-carousel .quote-active { animation: quote-fade-in 0.6s ease; }
@keyframes quote-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Content card */
.card {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  padding: 32px 36px;
  margin: 24px 0 40px;
}

.card p, .card li { line-height: 1.65; }

.print-link {
  float: right;
  font-size: 14px;
  text-decoration: none;
}

.price-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

dl.price-list dt { font-weight: 600; margin-top: 10px; }
dl.price-list dd { margin: 0 0 4px; color: var(--blue); font-weight: 600; }

.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: 8px;
}

/* Multi-column reference lists (additives, colors) */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.ref-grid > div {
  background: #f7fafc;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 12px 16px;
  min-height: 100px;
}
.ref-grid h3 { font-size: 0.95rem; margin: 0 0 8px; color: var(--blue); }
.ref-grid ul { margin: 0; padding-left: 18px; font-size: 0.9rem; }

/* Bach remedies grid */
.remedies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.remedy {
  background: #f7fafc;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 16px 20px;
}
.remedy h3 { margin-top: 0; font-size: 1.05rem; }

footer.site-footer {
  color: #fff;
  text-align: center;
  padding: 24px 20px 40px;
  font-size: 14px;
}
footer.site-footer a { color: #fff; text-decoration: underline; }

@media print {
  .site-header, .print-link, .quote-carousel { display: none; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
