/* ===================================================================
   KIFF CANDLES — Global Theme CSS
   Paste into Appearance → Customizer → Additional CSS
   OR enqueue via a Hello Biz child theme (recommended for larger sites)
   =================================================================== */

/* --- Fonts (imported here so it works inside Elementor HTML widgets) --- */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* --- Palette variables --- */
:root {
  --kiff-navy: #105070;
  --kiff-navy-deep: #0C3E58;
  --kiff-crimson: #B03050;
  --kiff-crimson-deep: #8B2540;
  --kiff-crimson-light: #E9B8C3;
  --kiff-cream: #FAF6EE;
  --kiff-cream-deep: #F3ECDD;
  --kiff-ink: #1A1A1A;
  --kiff-muted: #6B6B6B;
  --kiff-pistachio: #BFD8A8;
  --kiff-peach: #F9B98C;
  --kiff-butter: #F7E08A;
  --kiff-lilac: #C9A9E0;
}

/* --- Body defaults (Hello Biz is intentionally bare, so we set these) --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--kiff-cream);
  color: var(--kiff-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  color: var(--kiff-navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
a { color: var(--kiff-navy); }
a:hover { color: var(--kiff-crimson); }

.kiff-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* --- Colour utility classes --- */
.kiff-bg-pistachio { background: var(--kiff-pistachio); }
.kiff-bg-peach     { background: var(--kiff-peach); }
.kiff-bg-butter    { background: var(--kiff-butter); }
.kiff-bg-lilac     { background: var(--kiff-lilac); }
.kiff-bg-navy      { background: var(--kiff-navy); color: var(--kiff-cream); }
.kiff-bg-navy h3,.kiff-bg-navy p { color: var(--kiff-cream); }

/* --- Buttons --- */
.kiff-btn {
  display: inline-block; padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 15px; transition: transform 0.15s, background 0.15s;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif; text-decoration: none;
}
.kiff-btn-primary { background: var(--kiff-crimson); color: var(--kiff-cream) !important; }
.kiff-btn-primary:hover { background: var(--kiff-crimson-deep); transform: translateY(-1px); color: var(--kiff-cream) !important; }
.kiff-btn-secondary { background: transparent; color: var(--kiff-navy) !important; border: 2px solid var(--kiff-navy); }
.kiff-btn-secondary:hover { background: var(--kiff-navy); color: var(--kiff-cream) !important; }

/* --- NAV (header template) --- */
.kiff-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 80, 112, 0.08);
}
.kiff-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; max-width: 1200px; margin: 0 auto; }
.kiff-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.kiff-nav-logo img { width: 44px; height: 44px; }
.kiff-nav-logo-text { font-family: 'Unbounded', sans-serif; font-weight: 700; color: var(--kiff-navy); font-size: 18px; letter-spacing: 0.02em; }
.kiff-nav-links { display: flex; gap: 28px; align-items: center; }
.kiff-nav-links a { font-size: 14px; font-weight: 500; color: var(--kiff-navy); text-decoration: none; transition: color 0.15s; }
.kiff-nav-links a:hover, .kiff-nav-links a.active { color: var(--kiff-crimson); }
.kiff-nav-cta { background: var(--kiff-crimson); color: var(--kiff-cream) !important; padding: 9px 18px !important; border-radius: 100px; font-weight: 600; }
.kiff-nav-cta:hover { background: var(--kiff-crimson-deep); }

/* --- HERO --- */
.kiff-hero { padding: 90px 0 60px; position: relative; overflow: hidden; }
.kiff-hero::before, .kiff-hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; z-index: 0; }
.kiff-hero::before { width: 260px; height: 260px; background: var(--kiff-peach); top: -60px; left: -60px; }
.kiff-hero::after { width: 220px; height: 220px; background: var(--kiff-pistachio); bottom: -40px; right: -50px; }
.kiff-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.kiff-hero-eyebrow { display: inline-block; background: var(--kiff-butter); color: var(--kiff-navy-deep); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.kiff-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; margin: 0 0 24px; line-height: 1.05; }
.kiff-hero-sub { font-size: 18px; max-width: 520px; margin: 0 0 32px; line-height: 1.6; }
.kiff-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.kiff-hero-img { position: relative; }
.kiff-hero-img-main { width: 100%; aspect-ratio: 1 / 1; background: var(--kiff-peach); border-radius: 30px; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.kiff-hero-img-main img { width: 100%; height: 100%; object-fit: contain; }
.kiff-hero-float { position: absolute; width: 140px; height: 140px; border-radius: 20px; padding: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(16,80,112,0.15); }
.kiff-hero-float img { width: 100%; height: 100%; object-fit: contain; }
.kiff-hero-float-tl { top: -30px; left: -30px; background: var(--kiff-butter); transform: rotate(-6deg); }
.kiff-hero-float-br { bottom: -20px; right: -20px; background: var(--kiff-lilac); transform: rotate(5deg); }
@media (max-width: 900px) {
  .kiff-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .kiff-hero-sub { margin: 0 auto 32px; }
  .kiff-hero-ctas { justify-content: center; }
}

/* --- SECTIONS --- */
.kiff-section { padding: 80px 0; }
.kiff-section-title { text-align: center; margin-bottom: 48px; }
.kiff-section-title h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 700; margin: 0 0 12px; }
.kiff-section-title p { color: var(--kiff-muted); font-size: 16px; }

/* --- CATEGORY TILES --- */
.kiff-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.kiff-cat-tile { border-radius: 20px; transition: transform 0.2s; overflow: hidden; text-decoration: none; display: block; }
.kiff-cat-tile:hover { transform: translateY(-4px); }
.kiff-cat-tile-img { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 20px; }
.kiff-cat-tile-body { padding: 18px 16px; text-align: center; }
.kiff-cat-tile h3 { font-size: 19px; font-weight: 700; margin: 0 0 4px; color: var(--kiff-navy); }
.kiff-cat-tile p { font-size: 12px; margin: 0; color: var(--kiff-ink); opacity: 0.8; line-height: 1.3; }
.kiff-cat-tile.kiff-bg-navy h3, .kiff-cat-tile.kiff-bg-navy p { color: var(--kiff-cream); opacity: 1; }
@media (max-width: 900px) { .kiff-cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- VALUE PROPS --- */
.kiff-vprops { background: var(--kiff-cream-deep); }
.kiff-vprops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.kiff-vprop { text-align: center; }
.kiff-vprop-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--kiff-crimson); color: var(--kiff-cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; }
.kiff-vprop h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; color: var(--kiff-navy); }
.kiff-vprop p { max-width: 280px; margin: 0 auto; font-size: 15px; }
@media (max-width: 800px) { .kiff-vprops-grid { grid-template-columns: 1fr; } }

/* --- SOCIAL PROOF --- */
.kiff-proof { background: var(--kiff-navy); color: var(--kiff-cream); padding: 60px 0; text-align: center; }
.kiff-proof blockquote { font-family: 'Unbounded', sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 500; font-style: italic; max-width: 820px; margin: 0 auto; line-height: 1.3; color: var(--kiff-cream); }
.kiff-proof blockquote::before, .kiff-proof blockquote::after { content: '"'; color: var(--kiff-crimson); }

/* --- NEWSLETTER --- */
.kiff-news { background: var(--kiff-butter); text-align: center; }
.kiff-news h2 { color: var(--kiff-navy); margin: 0 0 14px; }
.kiff-news p { max-width: 560px; margin: 0 auto 28px; font-size: 16px; }
.kiff-news-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.kiff-news-form input { flex: 1; min-width: 220px; padding: 14px 20px; border-radius: 100px; border: 2px solid var(--kiff-navy); background: var(--kiff-cream); font-family: inherit; font-size: 15px; }
.kiff-news-form input:focus { outline: none; border-color: var(--kiff-crimson); }

/* --- ABOUT TEASER --- */
.kiff-about-teaser { padding: 80px 0; }
.kiff-about-teaser h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 16px; }
.kiff-about-teaser p { max-width: 560px; margin: 0 auto 24px; font-size: 17px; }

/* --- PAGE HEADER (used on about/faq) --- */
.kiff-page-header { padding: 80px 0 40px; background: var(--kiff-cream-deep); }
.kiff-page-header h1 { font-size: clamp(38px, 5.5vw, 64px); margin: 0 0 12px; }
.kiff-page-header p { color: var(--kiff-muted); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* --- ABOUT --- */
.kiff-about { background: var(--kiff-cream); padding: 80px 0; }
.kiff-about-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.kiff-about h2 { font-size: clamp(30px, 4.5vw, 48px); margin: 0 0 28px; line-height: 1.15; }
.kiff-about p { font-size: 17px; line-height: 1.75; margin: 0 0 20px; }
.kiff-beliefs { background: var(--kiff-cream-deep); border: 2px solid var(--kiff-navy); border-radius: 18px; padding: 32px 36px; margin: 32px 0; }
.kiff-beliefs h3 { color: var(--kiff-crimson); font-family: 'Inter', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin: 0 0 16px; }
.kiff-beliefs ul { list-style: none; padding: 0; margin: 0; }
.kiff-beliefs li { padding: 8px 0 8px 32px; position: relative; font-size: 17px; }
.kiff-beliefs li::before { content: '🔥'; position: absolute; left: 0; top: 8px; font-size: 14px; }
.kiff-sign-off { font-style: italic; color: var(--kiff-muted); margin-top: 24px; }

/* --- FAQ --- */
.kiff-faq { padding: 60px 0 100px; }
.kiff-faq-inner { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.kiff-faq-item { border-bottom: 1px solid rgba(16, 80, 112, 0.15); padding: 22px 0; }
.kiff-faq-item:first-child { border-top: 1px solid rgba(16, 80, 112, 0.15); }
.kiff-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: 17px; color: var(--kiff-navy); cursor: pointer; list-style: none; }
.kiff-faq-q::-webkit-details-marker { display: none; }
.kiff-faq-q::after { content: '+'; color: var(--kiff-crimson); font-size: 28px; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.kiff-faq-item[open] .kiff-faq-q::after { transform: rotate(45deg); }
.kiff-faq-a { margin-top: 14px; font-size: 15.5px; line-height: 1.7; }

/* --- FOOTER --- */
.kiff-footer { background: var(--kiff-navy); color: var(--kiff-cream); padding: 60px 0 30px; }
.kiff-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.kiff-footer-brand img { width: 52px; height: 52px; margin-bottom: 14px; filter: brightness(1.05); }
.kiff-footer-brand p { font-size: 14px; color: rgba(250, 246, 238, 0.7); max-width: 280px; line-height: 1.55; margin: 0; }
.kiff-footer h5 { font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--kiff-crimson); margin: 0 0 14px; font-weight: 700; }
.kiff-footer ul { list-style: none; padding: 0; margin: 0; }
.kiff-footer li { margin-bottom: 8px; }
.kiff-footer li a { color: rgba(250, 246, 238, 0.85); font-size: 14px; text-decoration: none; }
.kiff-footer li a:hover { color: var(--kiff-cream); }
.kiff-footer-bottom { border-top: 1px solid rgba(250, 246, 238, 0.1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(250, 246, 238, 0.6); flex-wrap: wrap; gap: 12px; }
.kiff-footer-bottom a { color: rgba(250, 246, 238, 0.85); text-decoration: none; }
@media (max-width: 800px) { .kiff-footer-grid { grid-template-columns: 1fr 1fr; } }

/* --- BREADCRUMB --- */
.kiff-crumb { padding: 24px 32px 0; max-width: 1100px; margin: 0 auto; font-size: 13px; color: var(--kiff-muted); }
.kiff-crumb a { color: var(--kiff-navy); font-weight: 500; text-decoration: none; }
.kiff-crumb a:hover { color: var(--kiff-crimson); }

/* --- HELLO BIZ TWEAKS (override a couple of theme defaults) --- */
body.elementor-kit-hello-biz .site-header { display: none; } /* using Elementor header instead */
.woocommerce-store-notice, p.demo_store { background: var(--kiff-crimson); }
