/* ============================================================
   Errands by Angela — site styles
   Palette: Black #1C1C1C / Deep Black #0E0E0E / Coral #D9744A
            Cream #FAF6EF / Ink #2B2724 / Soft #6E6862
   Type:    Fraunces (display) / Nunito Sans (body)
   ============================================================ */

:root {
  --teal: #1C1C1C;
  --teal-deep: #0E0E0E;
  --coral: #D9744A;
  --coral-soft: #F3D9CC;
  --cream: #FAF6EF;
  --white: #FFFFFF;
  --ink: #2B2724;
  --soft: #6E6862;
  --line: #E8E0D3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 18, 16, 0.12);
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-deep);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.lede { font-size: 1.12rem; color: var(--soft); max-width: 620px; }

a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: #C9663D; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-light { background: var(--white); color: var(--teal-deep); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 1.25rem;
  color: var(--teal-deep); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 700;
}
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a.active { color: var(--teal); border-bottom: 2px solid var(--coral); padding-bottom: 3px; }
.nav-links .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 50px; align-items: center;
}
.hero .tagline {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-size: 1.25rem;
  color: var(--coral); margin: 14px 0 18px;
}
.hero p.sub { color: var(--soft); font-size: 1.1rem; max-width: 480px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signature: the errand list card */
.list-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 30px;
  max-width: 360px;
  margin-left: auto;
  transform: rotate(1.5deg);
  border-top: 8px solid var(--coral);
}
.list-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 500;
  color: var(--soft); font-size: 1rem; margin-bottom: 14px;
}
.list-card ul { list-style: none; }
.list-card li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-weight: 700; color: var(--ink);
}
.list-card li:last-child { border-bottom: none; }
.tick {
  width: 22px; height: 22px; flex: none;
  border: 2px solid var(--teal); border-radius: 6px;
  display: grid; place-items: center;
  color: var(--white); font-size: 0.8rem; font-weight: 900;
}
.done .tick { background: var(--teal); border-color: var(--teal); }
.done span.task { text-decoration: line-through; color: var(--soft); }
.list-card .handed {
  margin-top: 16px; font-size: 0.85rem; font-weight: 800;
  color: var(--teal); text-align: right;
}

/* staggered check-in animation */
@keyframes checkIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
.list-card li { opacity: 0; animation: checkIn 0.5s ease forwards; }
.list-card li:nth-child(1) { animation-delay: 0.2s; }
.list-card li:nth-child(2) { animation-delay: 0.5s; }
.list-card li:nth-child(3) { animation-delay: 0.8s; }
.list-card li:nth-child(4) { animation-delay: 1.1s; }
.list-card li:nth-child(5) { animation-delay: 1.4s; }
.list-card .handed { opacity: 0; animation: checkIn 0.5s ease 1.8s forwards; }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--teal-deep); color: var(--white);
  padding: 18px 0;
}
.trust-items {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
}
.trust-items span::before { content: "✓  "; color: var(--coral); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .lede { margin: 12px auto 0; }

/* Services grid */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.svc {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.section.alt .svc { background: var(--cream); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--coral-soft); color: var(--coral);
  display: grid; place-items: center; font-size: 1.3rem;
  margin-bottom: 14px;
}
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--soft); font-size: 0.97rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; border: 1px solid var(--line);
}
.step .num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--teal); color: var(--white);
  display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; font-weight: 700;
}
.step p { color: var(--soft); font-size: 0.97rem; }

/* About teaser */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.photo-frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  display: grid; place-items: center; color: var(--white);
  font-weight: 700; text-align: center; padding: 20px;
  box-shadow: var(--shadow);
}
.about-copy p { margin-bottom: 16px; }
.signature {
  font-family: "Fraunces", Georgia, serif; font-style: italic;
  font-size: 1.3rem; color: var(--coral); margin-top: 8px;
}

/* Pricing (receipt style) */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--coral); position: relative; }
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: var(--white);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { margin-bottom: 6px; }
.price {
  font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; font-weight: 700;
  color: var(--teal); margin: 6px 0 2px;
}
.price small { font-family: "Nunito Sans", sans-serif; font-size: 0.9rem; color: var(--soft); font-weight: 700; }
.price-card ul { list-style: none; margin: 16px 0 22px; flex: 1; }
.price-card li {
  padding: 7px 0 7px 26px; position: relative;
  font-size: 0.95rem; color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 900; }
.price-note { text-align: center; color: var(--soft); font-size: 0.92rem; margin-top: 22px; }

/* Full services page lists */
.menu-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 26px; margin-bottom: 26px; }
.menu-block h2 { font-size: 1.5rem; margin-bottom: 4px; }
.menu-block .menu-sub { color: var(--soft); margin-bottom: 18px; font-size: 0.97rem; }
.menu-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: none; }
.menu-item b { color: var(--teal-deep); }
.menu-item p { color: var(--soft); font-size: 0.96rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 14px;
  padding: 0 24px;
}
details[open] { border-color: var(--teal); }
summary {
  cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.05rem; color: var(--teal-deep);
  padding: 20px 30px 20px 0; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--coral); font-weight: 400;
}
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; color: var(--soft); }
details p + p { margin-top: -8px; }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-side h2 { margin-bottom: 14px; }
.contact-side p { color: var(--soft); margin-bottom: 18px; }
.contact-side .big-phone {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem; font-weight: 700; color: var(--teal);
  text-decoration: none; display: inline-block; margin-bottom: 6px;
}
.form-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px;
}
.form-row { margin-bottom: 18px; }
label { display: block; font-weight: 800; font-size: 0.92rem; margin-bottom: 6px; color: var(--teal-deep); }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--cream);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--soft); margin-top: 12px; }

/* Text-first booking (contact page) */
.text-hero {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 30px;
  margin-bottom: 26px;
}
.text-hero h2 { font-size: 1.5rem; margin-bottom: 6px; }
.text-hero p.why { color: var(--soft); margin-bottom: 20px; }
.btn-text {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  background: var(--coral); color: var(--white);
  font-weight: 800; font-size: 1.15rem;
  text-decoration: none; border-radius: 999px;
  padding: 18px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-text:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #C9663D; }
.btn-text .sms-icon { font-size: 1.3rem; line-height: 1; }
.number-line {
  text-align: center; margin-top: 16px;
  font-size: 0.98rem; color: var(--soft);
}
.number-line a.big-number {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 1.9rem;
  color: var(--teal); text-decoration: none;
  margin-top: 2px; letter-spacing: 0.01em;
}
.contact-alt {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.96rem; color: var(--soft);
}
.contact-alt a { font-weight: 700; }
.or-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0 22px; color: var(--soft);
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.or-divider::before, .or-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.form-intro { color: var(--soft); font-size: 0.97rem; margin-bottom: 18px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--white); text-align: center;
  padding: 64px 24px; border-radius: 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; }

/* Footer */
.site-footer {
  background: var(--teal-deep); color: rgba(255, 255, 255, 0.85);
  padding: 44px 0 30px; font-size: 0.93rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.footer-tag { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--coral); margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px; text-align: center;
  font-size: 0.83rem; color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .list-card { margin: 0 auto; transform: rotate(0deg); }
  .svc-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .nav-toggle-label {
    display: block; font-size: 1.7rem; color: var(--teal-deep);
    line-height: 1; user-select: none;
  }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px 0;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px; }
  .nav-links a.active { border-bottom: none; }
  .nav-links .btn { margin: 10px auto; display: inline-block; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .list-card li, .list-card .handed { animation: none; opacity: 1; }
  .btn, .svc { transition: none; }
}
