/* ============================================
   Syringa Productions — stylesheet
   Elegant botanical theme, lilac/purple palette
   ============================================ */

:root {
  --purple-deep: #4d2f6e;
  --purple: #7c52a5;
  --purple-mid: #9a6dc2;
  --lilac: #b48fd1;
  --lilac-light: #e6d9f3;
  --cream: #faf7fb;
  --ink: #2b2233;
  --ink-soft: #5c5168;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(77, 47, 110, 0.12);
  --radius: 14px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--purple-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--purple-deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  border-color: var(--purple-deep);
  color: var(--purple-deep);
}
.btn-outline:hover {
  background: var(--purple-deep);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lilac-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--purple-deep);
}
.brand .logo-mark { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--purple);
  transition: width 0.2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.current { color: var(--purple-deep); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-deep);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-style: italic;
  color: var(--purple);
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art svg { width: 100%; max-width: 420px; height: auto; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head .eyebrow { display: block; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

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

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--lilac-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(77, 47, 110, 0.18);
}
.service-icon {
  width: 46px; height: 46px;
  margin-bottom: 16px;
  color: var(--purple);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.service-card p { margin-bottom: 0; font-size: 0.95rem; }

.alt-bg .service-card {
  background: var(--cream);
}

/* ---------- Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-left: 56px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  background: var(--purple-deep);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.process-step p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
  margin: 0 24px;
  max-width: 1072px;
  margin-inline: auto;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 50ch; margin-inline: auto; }
.cta-banner .btn-primary { background: var(--white); color: var(--purple-deep); }
.cta-banner .btn-primary:hover { background: var(--lilac-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.2rem;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--lilac-light);
}
.contact-info-card h3 { font-size: 1.1rem; margin-top: 24px; }
.contact-info-card h3:first-child { margin-top: 0; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--purple); flex-shrink: 0; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--lilac-light);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 82, 165, 0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* honeypot field, hidden from real users */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #e6f4ea; color: #1e6b3a; border: 1px solid #b6e0c2; }
.form-status.error { background: #fdecec; color: #a12a2a; border: 1px solid #f3b8b8; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px 28px;
    display: none;
    border-bottom: 1px solid var(--lilac-light);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
