/* ═══════════════════════════════════════
   CANDLE CARE — SHARED STYLES
   Used across all pages
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --sage:        #5A7A5A;
    --sage-mid:    #8AA68A;
    --sage-light:  #E8EFE4;
    --sage-border: #C7D8C2;
    --ivory:       #FAF6EE;
    --card:        #FFFFFF;
    --cream:       #F2EAD8;
    --cream-border:#E5D6B8;
    --brown:       #8B6F47;
    --brown-dark:  #5C4B33;
    --gold:        #C9A961;
    --charcoal:    #2D2A26;
    --muted:       #8B8475;
    --border:      #EFE9D9;
    --red:         #C62828;
    --red-light:   #FFEBEE;
    --green:       #2D5A2D;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--charcoal); background: var(--ivory); line-height: 1.6; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,246,238,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; }
.nav-logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--sage); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.nav-logo .spark { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--brown-dark); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; cursor: pointer; }
.nav-link:hover { color: var(--sage); }
.nav-link.active { color: var(--sage); font-weight: 700; }
.nav-cta { background: var(--sage); color: white; padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.nav-cta:hover { background: #3F5A40; }

/* FOOTER */
footer { background: var(--charcoal); color: white; padding: 60px; margin-top: 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.footer-logo .spark { color: var(--gold); }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 20px; line-height: 1.6; max-width: 260px; }
.footer-city { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 50px; font-size: 12px; color: rgba(255,255,255,0.75); }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 9px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; text-align: center; }
.btn-sage { background: var(--sage); color: white; }
.btn-sage:hover { background: #3F5A40; transform: translateY(-1px); }
.btn-brown { background: var(--brown); color: white; }
.btn-brown:hover { background: var(--brown-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: #B89340; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: white; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-ghost { background: transparent; border: 2px solid var(--border); color: var(--muted); }
.btn-ghost:hover { background: var(--cream); }
.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; }

/* CARDS */
.card { background: white; border-radius: 16px; padding: 28px; border: 1px solid var(--border); }

/* SECTION */
.section { padding: 90px 60px; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--sage); margin-bottom: 12px; }
.section-heading { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 520px; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, #2D3F2D, var(--sage)); padding: 100px 60px 60px; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-family: 'Fraunces', serif; font-size: 48px; font-weight: 800; color: white; letter-spacing: -1.5px; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 520px; }

/* FORM FIELDS */
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 12px; font-weight: 700; color: var(--brown-dark); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 7px; display: block; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 15px; font-family: inherit; color: var(--charcoal); background: white; outline: none; transition: all 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(90,122,90,0.1); }
.field input.err, .field select.err { border-color: var(--red); background: var(--red-light); }
.field-err { font-size: 12px; color: var(--red); margin-top: 4px; display: none; }
.field-err.show { display: block; }
.field textarea { resize: vertical; min-height: 90px; }

/* CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 20px; border: 1.5px solid var(--border); background: white; font-size: 13px; color: var(--brown-dark); cursor: pointer; font-family: inherit; transition: all 0.2s; }
.chip:hover { border-color: var(--sage); }
.chip.on { border-color: var(--sage); background: var(--sage); color: white; font-weight: 600; }
.chip.on-brown { border-color: var(--brown); background: var(--brown); color: white; font-weight: 600; }

/* PROGRESS */
.progress-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.progress-fill { height: 100%; background: var(--sage); border-radius: 2px; transition: width 0.4s; }
.progress-fill.brown { background: var(--brown); }
.step-dots { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.sdot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; transition: all 0.3s; }
.sdot.done { background: var(--sage); color: white; }
.sdot.done.br { background: var(--brown); }
.sdot.cur { background: var(--sage); color: white; box-shadow: 0 0 0 4px var(--sage-light); }
.sdot.cur.br { background: var(--brown); box-shadow: 0 0 0 4px var(--cream); }
.sdot.pend { background: var(--border); color: var(--muted); }
.sline { flex: 1; height: 2px; background: var(--border); transition: background 0.3s; }
.sline.done { background: var(--sage); }
.sline.done.br { background: var(--brown); }
.form-step { display: none; }
.form-step.active { display: block; }
.step-title { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.step-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }

/* SUCCESS */
.success-box { display: none; text-align: center; padding: 20px 0; }
.success-box.show { display: block; }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-title { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.success-sub { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.success-next { background: var(--sage-light); border-radius: 14px; padding: 22px; text-align: left; margin-bottom: 24px; }
.success-next h4 { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.success-next-item { font-size: 14px; color: var(--brown-dark); margin-bottom: 8px; display: flex; gap: 10px; line-height: 1.5; }

/* INFO BOX */
.info-box { background: var(--sage-light); border: 1px solid var(--sage-border); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--green); line-height: 1.6; margin-bottom: 18px; }
.info-box.gold { background: #FDF8E8; border-color: #F0D98A; color: #7B5800; }

/* GRID HELPERS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* BADGE */
.badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; display: inline-block; }
.badge-green { background: var(--sage-light); color: var(--green); }
.badge-gold { background: var(--gold); color: white; }
.badge-brown { background: var(--cream); color: var(--brown-dark); }
.badge-blue { background: #E3F0F8; color: #2D6B8A; }

/* STARS */
.stars { color: var(--gold); }

/* LIVE DOT */
.live-dot { width: 7px; height: 7px; background: #22C55E; border-radius: 50%; animation: pulse 1.5s infinite; display: inline-block; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* TOAST */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--charcoal); color: white; padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; z-index: 9999; transform: translateY(100px); opacity: 0; transition: all 0.3s; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.toast.show { transform: translateY(0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 900px) {
    nav { padding: 0 20px; }
    nav .nav-links { display: none; }
    .section { padding: 60px 20px; }
    .page-hero { padding: 90px 20px 50px; }
    .page-hero h1 { font-size: 36px; }
    .section-heading { font-size: 32px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 20px; }
    footer { padding: 50px 20px 30px; }
    .field-row { grid-template-columns: 1fr; }
}
