/* ============================================
   Willow & Ash — Handmade Memorial Urns
   Shared stylesheet
   ============================================ */

:root {
  --sage: #7a8b6f;
  --sage-dark: #5c6b53;
  --sage-light: #eef1ea;
  --cream: #faf7f0;
  --warm-white: #fffdf8;
  --ink: #3a382f;
  --ink-soft: #6b675c;
  --gold: #c9a86a;
  --gold-dark: #a8874b;
  --border: #e3ddd0;
  --shadow: 0 2px 12px rgba(58, 56, 47, 0.08);
  --radius: 10px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 1.0625rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

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

a {
  color: var(--sage-dark);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-dark);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--sage-dark);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--sage-dark);
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--sage);
}

/* ---------- Availability bar ---------- */

.avail-bar {
  background: var(--sage-dark);
  color: #f2f4ee;
  text-align: center;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  letter-spacing: 0.03em;
}

.avail-bar a {
  color: #fff;
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--warm-white) 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  max-width: 780px;
  margin: 0 auto 1.2rem;
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--sage-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--sage);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.btn-secondary:hover {
  background: var(--sage-light);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.7rem;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 3rem;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card .card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
}

.card .learn-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.card .learn-more:hover {
  text-decoration: underline;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 0 0.5rem;
}

.step .step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Quote / testimonial ---------- */

.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1rem;
}

.quote-block cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.testimonial p {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

/* ---------- Pricing tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--warm-white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th, td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

th {
  background: var(--sage-light);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--sage-dark);
}

tr:last-child td {
  border-bottom: none;
}

td.price {
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
}

.price-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 1.4rem;
  font-family: var(--font-sans);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  font-size: 1.2rem;
  margin: 1.4rem 0 0.4rem;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  color: var(--ink-soft);
}

.contact-form {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.2rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  background: #fff;
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}

/* ---------- Urn gallery ---------- */

.urn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.urn-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.urn-card img {
  width: 100%;
  max-width: 190px;
  margin: 0 auto 1.1rem;
}

.urn-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
}

.urn-card .urn-price {
  color: var(--gold-dark);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.urn-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--warm-white) 100%);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--sage-dark);
  color: #f2f4ee;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.8rem;
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto 1.8rem;
  color: #dfe5d8;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfccc2;
  padding: 3.5rem 0 2rem;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

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

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #cfccc2;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #55534a;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a3a094;
}

/* ---------- oo.studio site credit ---------- */

.oo-credit-wrap { margin-top: 1.2rem; }
.oo-credit { display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 system-ui, sans-serif; color: #a3a094;
  text-decoration: none; transition: color .3s; }
.oo-credit:hover { color: #c9a86a; }
.oo-credit path { fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; }
.oo-loop { opacity: .35; }
.oo-light { stroke-dasharray: 25 75; stroke-dashoffset: 0;
  animation: oo-trace 2.4s linear infinite; }
@keyframes oo-trace { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .oo-light { animation: none; opacity: 0; }
}

/* keep the credit's own colours ahead of the generic footer link styles */
.site-footer a.oo-credit { color: #a3a094; text-decoration: none; }
.site-footer a.oo-credit:hover { color: #c9a86a; text-decoration: none; }

/* ---------- Utility ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.checklist {
  list-style: none;
}

.checklist li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--sage-light);
  border: 1.5px solid var(--sage);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.62em;
  width: 0.42rem;
  height: 0.22rem;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: rotate(-45deg);
}
