/* ==========================================================================
   Kulan Kids — brand tokens
   Colors pulled directly from the brand guide (Color Palette slide):
   Teal #18615a · Gold #ea9c06 · White #ffffff
   Font: Roboto only, per the brand guide's secondary/body font — carried
   across headings and body copy using weight (400/700/900) for hierarchy.
   ========================================================================== */

:root{
  --teal:        #18615a;
  --teal-dark:   #0e3f3b;
  --teal-tint:   #e6efee;
  --gold:        #ea9c06;
  --gold-dark:   #c27f04;
  --gold-tint:   #fdf1da;
  --cream:       #faf8f3;
  --ink:         #1c2624;
  --ink-soft:    #5c6663;
  --line:        #e6e1d6;
  --white:       #ffffff;
  --surface:     #ffffff;
  --radius-lg:   20px;
  --radius-md:   14px;
  --shadow-sm:   0 2px 10px rgba(14, 63, 59, .06);
  --shadow-md:   0 18px 40px -20px rgba(14, 63, 59, .35);
}

html{ scroll-behavior:smooth; }

body{
  font-family:'Roboto', sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  padding-top:76px; /* fixed nav offset */
}

/* Brand secondary font (Roboto) carries the whole site now — the display
   "Coffee Spark" cartoon face stays reserved for the fixed logo artwork,
   since mixing it into live headlines fought against readability.
   Hierarchy comes from weight + size instead of a second typeface. */

h1,h2,h3,h4,.display-font{
  font-family:'Roboto', sans-serif;
  font-weight:900;
  color:var(--teal-dark);
  letter-spacing:-.01em;
}
h3, h4{ font-weight:700; letter-spacing:0; }

.eyebrow{
  font-family:'Roboto', sans-serif;
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold-dark);
}

a{ color:inherit; }
section{ scroll-margin-top:76px; }

/* ---------- Buttons ---------- */
.btn-kulan{
  display:inline-flex; align-items:center; gap:8px;
  padding:.7rem 1.6rem;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-kulan-primary{
  background:var(--teal); color:#fff;
  box-shadow:0 5px 0 var(--teal-dark);
}
.btn-kulan-primary:hover{ color:#fff; transform:translateY(-2px); box-shadow:0 7px 0 var(--teal-dark); }
.btn-kulan-primary:active{ transform:translateY(2px); box-shadow:0 2px 0 var(--teal-dark); }

.btn-kulan-gold{
  background:var(--gold); color:#fff;
  box-shadow:0 5px 0 var(--gold-dark);
}
.btn-kulan-gold:hover{ color:#fff; transform:translateY(-2px); box-shadow:0 7px 0 var(--gold-dark); }

.btn-kulan-outline{
  background:transparent; color:var(--teal-dark); border-color:var(--teal-dark);
}
.btn-kulan-outline:hover{ background:var(--teal-dark); color:#fff; }

.btn-kulan-ghost-light{
  background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.5);
}
.btn-kulan-ghost-light:hover{ background:#ffffff; color:var(--teal-dark); }

/* ---------- Navbar ---------- */
#mainNav{
  background:rgba(250,248,243,.92);
  backdrop-filter:blur(10px);
  transition:box-shadow .2s ease, padding .2s ease;
  padding-top:.7rem; padding-bottom:.7rem;
}
#mainNav.scrolled{ box-shadow:0 6px 24px -12px rgba(14,63,59,.25); }
#mainNav .navbar-brand img{ height:38px; }
#mainNav .navbar-brand span{
  font-family:'Roboto', sans-serif;
  font-weight:900; font-size:1.4rem; color:var(--teal-dark);
  margin-left:.5rem;
}
#mainNav .nav-link{
  font-family:'Roboto', sans-serif;
  font-weight:600; color:var(--ink-soft); margin:0 .55rem; position:relative;
}
#mainNav .nav-link.active,
#mainNav .nav-link:hover{ color:var(--teal-dark); }
#mainNav .nav-link.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:3px;
  background:var(--gold); border-radius:2px;
}

/* ---------- Hero ---------- */
.hero{
  padding:64px 0 40px;
  background:
    radial-gradient(circle at 88% 12%, rgba(234,156,6,.14), transparent 45%),
    radial-gradient(circle at 6% 90%, rgba(24,97,90,.10), transparent 40%);
}
.hero h1{ font-size:clamp(2.1rem, 4vw, 3.1rem); font-weight:700; margin-bottom:1.1rem; }
.hero h1 .accent{ color:var(--gold-dark); font-style:italic; }
.hero p.lead{ color:var(--ink-soft); font-size:1.08rem; max-width:480px; }
.hero-stats{ display:flex; gap:2.2rem; margin-top:2.2rem; flex-wrap:wrap; }
.hero-stats .num{ font-family:'Roboto',sans-serif; font-size:1.6rem; color:var(--teal-dark); font-weight:900; }
.hero-stats .label{ font-size:.8rem; color:var(--ink-soft); }

.phone-frame{
  position:relative; width:250px; margin:0 auto;
  background:var(--ink); border-radius:34px; padding:10px;
  box-shadow:var(--shadow-md);
}
.phone-frame img{
  width:100%; border-radius:24px; display:block;
}
.phone-float{
  position:absolute; background:var(--surface); border-radius:14px; padding:.55rem .9rem;
  box-shadow:var(--shadow-md); font-size:.78rem; font-weight:700; color:var(--teal-dark);
  display:flex; align-items:center; gap:6px;
}
.phone-float.tl{ top:8%; left:-14%; }
.phone-float.br{ bottom:10%; right:-16%; }
.phone-float i{ color:var(--gold); }

/* ---------- Why choose ---------- */
.why-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:1.9rem 1.6rem; height:100%; transition:transform .15s ease, box-shadow .15s ease;
}
.why-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.why-icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; margin-bottom:1rem; color:#fff;
}
.why-card h3{ font-size:1.08rem; font-family:'Roboto'; font-weight:700; color:var(--ink); }
.why-card p{ color:var(--ink-soft); font-size:.92rem; margin-bottom:0; }

/* ---------- Features ---------- */
.feature-card{
  background:var(--surface); border-radius:var(--radius-md); padding:1.8rem;
  border:1px solid var(--line); height:100%;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:transparent; }
.feature-icon{
  width:48px; height:48px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:1rem;
}
.tone-teal{ background:var(--teal-tint); color:var(--teal); }
.tone-gold{ background:var(--gold-tint); color:var(--gold-dark); }
.feature-card h3{ font-size:1.05rem; font-family:'Roboto'; font-weight:700; }
.feature-card p{ color:var(--ink-soft); font-size:.92rem; margin-bottom:0; }

/* ---------- Experience (screenshot gallery) ---------- */
.experience{ background:var(--teal-dark); color:#fff; border-radius:44px 44px 14px 44px; }
.experience .eyebrow{ color:var(--gold); }
.experience h2{ color:#fff; }
.experience p.lead{ color:#c7dcd9; }

.exp-tabs{ display:flex; flex-direction:column; gap:.6rem; }
.exp-tab{
  display:flex; align-items:center; gap:.9rem;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12);
  border-radius:14px; padding:.85rem 1.1rem; cursor:pointer;
  transition:background .15s ease, border-color .15s ease;
  text-align:left; width:100%; color:#fff;
}
.exp-tab .num{
  width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; flex-shrink:0;
}
.exp-tab strong{ display:block; font-size:.95rem; }
.exp-tab span{ display:block; font-size:.8rem; color:#a9c6c3; }
.exp-tab.active{ background:rgba(234,156,6,.14); border-color:var(--gold); }
.exp-tab.active .num{ background:var(--gold); color:#fff; }

.exp-screen-wrap{ display:flex; justify-content:center; }
.exp-screen{
  width:250px; border-radius:34px; padding:10px; background:#000;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
}
.exp-screen img{ width:100%; border-radius:24px; display:block; }

/* ---------- Upcoming ---------- */
.upcoming-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:1.6rem; height:100%; border-left:4px solid var(--gold);
}
.upcoming-card .tag{
  font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--teal); background:var(--teal-tint); padding:.25rem .6rem; border-radius:999px;
  display:inline-block; margin-bottom:.7rem;
}
.upcoming-card h3{ font-size:1rem; font-family:'Roboto'; font-weight:700; }
.upcoming-card p{ color:var(--ink-soft); font-size:.88rem; margin-bottom:0; }

/* ---------- Blogs ---------- */
.blog-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  overflow:hidden; height:100%; transition:transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.blog-thumb{
  height:150px; display:flex; align-items:center; justify-content:center; font-size:2rem; color:#fff;
}
.blog-body{ padding:1.3rem 1.4rem; }
.blog-date{ font-size:.75rem; color:var(--gold-dark); font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.blog-card h3{ font-size:1rem; font-family:'Roboto'; font-weight:700; margin:.4rem 0 .5rem; }
.blog-card p{ color:var(--ink-soft); font-size:.88rem; }
.blog-card a.read-more{ font-size:.85rem; font-weight:700; color:var(--teal); }

/* ---------- Pricing ---------- */
.price-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:2.1rem 1.8rem; height:100%; position:relative;
}
.price-card.featured{
  border:2px solid var(--gold); box-shadow:var(--shadow-md);
}
.price-card .badge-pop{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:#fff; font-size:.72rem; font-weight:700;
  padding:.35rem 1rem; border-radius:999px;
}
.price-card h3{ font-size:1.15rem; font-family:'Roboto'; font-weight:700; }
.price-amount{ font-family:'Roboto',sans-serif; font-size:2.1rem; color:var(--teal-dark); font-weight:900; margin:.7rem 0 .1rem; }
.price-sub{ font-size:.82rem; color:var(--ink-soft); margin-bottom:1.4rem; }
.price-card ul{ list-style:none; padding:0; margin-bottom:1.6rem; }
.price-card li{
  font-size:.88rem; color:var(--ink-soft); padding:.55rem 0; border-top:1px solid var(--line);
  display:flex; gap:.5rem;
}
.price-card li:first-child{ border-top:none; }
.price-card li i{ color:var(--teal); }
.pay-chip{
  border:1px solid var(--line); background:var(--surface); border-radius:999px;
  padding:.5rem 1.1rem; font-size:.82rem; font-weight:700; color:var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:2.2rem;
}
.contact-card .form-control{
  border-radius:12px; border:1px solid var(--line); padding:.75rem 1rem; font-size:.92rem;
}
.contact-card .form-control:focus{
  border-color:var(--teal); box-shadow:0 0 0 .2rem rgba(24,97,90,.12);
}
.contact-info-item{ display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.6rem; }
.contact-info-item .icon{
  width:44px; height:44px; border-radius:12px; background:var(--teal-tint); color:var(--teal);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-info-item h4{ font-size:.92rem; font-family:'Roboto'; font-weight:700; margin-bottom:.15rem; color:var(--ink); }
.contact-info-item p{ font-size:.85rem; color:var(--ink-soft); margin-bottom:0; }

/* ---------- Download CTA ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--gold) 0%, #f4b64a 100%);
  border-radius:44px 14px 44px 44px; padding:64px 40px; text-align:center; color:#fff;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:#fff8ea; }

/* ---------- Footer ---------- */
footer{ background:var(--teal-dark); color:#cfe2df; padding:64px 0 24px; }
footer h4{ color:#fff; font-size:.9rem; font-family:'Roboto'; font-weight:700; margin-bottom:1.1rem; }
footer ul{ list-style:none; padding:0; }
footer li{ margin-bottom:.6rem; }
footer a{ color:#a9c6c3; font-size:.88rem; text-decoration:none; }
footer a:hover{ color:#fff; }
footer p.brand-desc{ color:#a9c6c3; font-size:.88rem; max-width:280px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:1.4rem; margin-top:2.4rem; font-size:.82rem; color:#8fb3ae; }
.social-dot{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:#fff; transition:background .15s ease;
}
.social-dot:hover{ background:var(--gold); }

/* ---------- Toast ---------- */
#kulanToast{ z-index:1080; }

/* ---------- Back to top ---------- */
#backToTop{
  position:fixed; right:20px; bottom:20px; width:46px; height:46px; border-radius:50%;
  background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease; z-index:60; border:none;
}
#backToTop.show{ opacity:1; visibility:visible; transform:translateY(0); }

/* ---------- Experience gallery (replaced by exp2 flanking layout below) ---------- */

/* ---------- Page hero banner (used on Events / Blogs listing pages) ---------- */
.page-hero{
  background:var(--gold-tint);
  border-radius:0 0 56px 0;
  padding:80px 0 56px; color:var(--teal-dark); text-align:center;
  position:relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; top:-30px; right:-30px; width:220px; height:220px;
  background:url('../assets/kulan-mark.png') no-repeat center / contain;
  opacity:.08; pointer-events:none;
}
.page-hero .eyebrow{ color:var(--gold-dark); }
.page-hero h1{ color:var(--teal-dark); font-size:clamp(1.9rem,3.4vw,2.6rem); margin:.6rem 0 .8rem; position:relative; }
.page-hero p{ color:var(--ink-soft); max-width:520px; margin:0 auto; position:relative; }

/* ---------- Filter tabs ---------- */
.filter-tabs{ display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center; }
.filter-tab{
  border:1px solid var(--line); background:var(--surface); color:var(--ink-soft);
  padding:.5rem 1.2rem; border-radius:999px; font-size:.85rem; font-weight:700;
  cursor:pointer; transition:all .15s ease;
}
.filter-tab.active, .filter-tab:hover{ background:var(--teal); color:#fff; border-color:var(--teal); }

/* ---------- Banner image (blog/event cards + detail hero) ---------- */
.banner-img{
  position:relative; height:170px; border-radius:var(--radius-md) var(--radius-md) 0 0;
  overflow:hidden; background-size:cover; background-position:center;
}
.banner-img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(14,63,59,.15), rgba(14,63,59,.75));
}
.banner-img .banner-tag{
  position:absolute; top:14px; left:14px; z-index:2;
  background:var(--gold); color:#fff; font-size:.7rem; font-weight:700;
  padding:.3rem .8rem; border-radius:999px; text-transform:uppercase; letter-spacing:.05em;
}
.banner-img .banner-mark{
  position:absolute; bottom:12px; right:14px; z-index:2; height:26px; opacity:.9;
}

.detail-hero{
  height:320px; border-radius:28px; overflow:hidden; position:relative;
  background-size:cover; background-position:center; margin-bottom:2.4rem;
}
.detail-hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(14,63,59,.25) 0%, rgba(10,30,28,.88) 100%);
}
.detail-hero-content{
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding:2.2rem;
  color:#fff;
}
.detail-hero-content .tag{
  background:var(--gold); padding:.3rem .9rem; border-radius:999px; font-size:.72rem;
  font-weight:700; text-transform:uppercase; letter-spacing:.05em;
}
.detail-hero-content h1{ color:#fff; font-size:clamp(1.6rem,3vw,2.3rem); margin:.8rem 0 .3rem; }
.detail-hero-content .meta{ color:#cfe2df; font-size:.88rem; }

.detail-body{ max-width:720px; margin:0 auto; }
.detail-body p{ color:var(--ink-soft); font-size:1.02rem; margin-bottom:1.3rem; }
.detail-body h2{ font-size:1.4rem; margin:2rem 0 1rem; }
.detail-body blockquote{
  border-left:4px solid var(--gold); padding:.4rem 0 .4rem 1.3rem; margin:1.6rem 0;
  color:var(--teal-dark); font-family:'Roboto',sans-serif; font-weight:700; font-style:italic; font-size:1.15rem;
}
.back-link{
  display:inline-flex; align-items:center; gap:.4rem; font-weight:700; color:var(--teal);
  font-size:.9rem; margin-bottom:1.6rem;
}
.back-link:hover{ color:var(--gold-dark); }

.share-row{ display:flex; gap:.6rem; align-items:center; margin-top:2.6rem; padding-top:1.6rem; border-top:1px solid var(--line); }
.share-row .social-dot{ background:var(--teal-tint); color:var(--teal); }
.share-row .social-dot:hover{ background:var(--gold); color:#fff; }

/* ---------- Experience (Wacyi-style flanking phone layout) ---------- */
.exp2-grid{
  display:grid; grid-template-columns:1fr auto 1fr; gap:2.4rem; align-items:center;
}
.exp2-col{ display:flex; flex-direction:column; gap:.85rem; }
.exp2-item{
  display:flex; align-items:center; gap:1rem; text-align:left;
  background:transparent; border:1px solid transparent; border-radius:16px;
  padding:1rem 1.1rem; cursor:pointer; transition:background .18s ease, border-color .18s ease;
}
.exp2-item:hover{ background:var(--teal-tint); }
.exp2-item.active{ background:var(--teal-tint); border-color:var(--teal); }
.exp2-icon{
  width:46px; height:46px; border-radius:12px; background:var(--surface); color:var(--teal);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; flex-shrink:0; transition:background .18s ease, color .18s ease;
}
.exp2-item.active .exp2-icon{ background:var(--teal); color:#fff; border-color:var(--teal); }
.exp2-text strong{ display:block; font-size:1rem; color:var(--ink); font-weight:700; }
.exp2-text span{ display:block; font-size:.85rem; color:var(--ink-soft); margin-top:.15rem; }

.exp2-phone-col{ display:flex; flex-direction:column; align-items:center; }
.exp2-phone-col .phone-frame{ transition:opacity .15s ease; }
.exp2-dots{ display:flex; gap:7px; margin-top:1.6rem; }
.exp2-dots .dot{
  width:8px; height:8px; border-radius:50%; background:var(--line); transition:background .18s ease, width .18s ease;
}
.exp2-dots .dot.active{ background:var(--gold); width:22px; border-radius:5px; }

@media (max-width: 991px){
  .exp2-grid{ grid-template-columns:1fr; }
  .exp2-col{ order:2; }
  .exp2-phone-col{ order:1; margin-bottom:1rem; }
}

@media (max-width: 991px){
  .exp-highlights{ grid-template-columns:1fr; gap:1.2rem; }
  .detail-hero{ height:240px; }
  .phone-float{ display:none; }
  .experience{ border-radius:28px 28px 12px 28px; }
  .cta-band, .experience{ padding:44px 24px; }
}

/* ---------- Services page (alternating rows) ---------- */
.service-row{ padding:3.2rem 0; border-bottom:1px solid var(--line); }
.service-row:last-of-type{ border-bottom:none; }
.service-row .service-visual,
.visual-panel{
  background:var(--teal-tint); border-radius:28px; padding:2.4rem;
  display:flex; align-items:center; justify-content:center; height:100%; min-height:320px;
}
.service-row .service-visual .phone-frame{ width:210px; }
.service-row .service-badge{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; color:#fff; margin-bottom:1.2rem;
}
.service-row h2{ font-size:1.7rem; margin-bottom:.9rem; }
.service-row p.lead-text{ color:var(--ink-soft); font-size:1.02rem; margin-bottom:1.2rem; }
.service-row ul{ list-style:none; padding:0; margin-bottom:0; }
.service-row ul li{
  display:flex; gap:.6rem; padding:.5rem 0; color:var(--ink-soft); font-size:.94rem;
}
.service-row ul li i{ color:var(--teal); margin-top:.15rem; }

/* ---------- About page ---------- */
.value-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:2rem 1.7rem; height:100%; text-align:center; transition:transform .15s ease, box-shadow .15s ease;
}
.value-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.value-icon{
  width:60px; height:60px; border-radius:50%; margin:0 auto 1.1rem;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; color:#fff;
}
.value-card h3{ font-size:1.05rem; margin-bottom:.5rem; }
.value-card p{ color:var(--ink-soft); font-size:.9rem; margin-bottom:0; }
.value-card.text-start{ text-align:left; }
.value-card.text-start .value-icon{ margin:0 0 1.1rem; }

.mission-quote{
  font-size:1.4rem; color:var(--teal-dark); font-weight:700; line-height:1.5;
  border-left:5px solid var(--gold); padding-left:1.6rem; margin:2rem 0;
}

/* Brand-styled FAQ accordion */
.faq-accordion .accordion-item{
  border:1px solid var(--line); border-radius:16px !important; margin-bottom:.9rem; overflow:hidden;
}
.faq-accordion .accordion-button{
  font-weight:700; color:var(--ink); font-size:1rem; padding:1.2rem 1.4rem;
  background:var(--surface);
}
.faq-accordion .accordion-button:not(.collapsed){
  color:var(--teal-dark); background:var(--teal-tint); box-shadow:none;
}
.faq-accordion .accordion-button:focus{ box-shadow:none; border-color:var(--line); }
.faq-accordion .accordion-button::after{ flex-shrink:0; }
.faq-accordion .accordion-body{ color:var(--ink-soft); font-size:.94rem; padding:0 1.4rem 1.3rem; }
.faq-group-title{
  font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  color:var(--gold-dark); margin:2.2rem 0 1rem;
}
.faq-group-title:first-of-type{ margin-top:0; }

@media (max-width: 991px){
  .service-row .service-visual,
  .visual-panel{ margin-bottom:2rem; min-height:260px; }
}

/* ---------- Legal / support doc pages ---------- */
.legal-doc{ max-width:760px; margin:0 auto; }
.legal-doc .updated{ font-size:.85rem; color:var(--ink-soft); margin-bottom:2rem; }
.legal-doc h2{ font-size:1.3rem; margin:2.2rem 0 .9rem; }
.legal-doc h2:first-of-type{ margin-top:0; }
.legal-doc p{ color:var(--ink-soft); font-size:.98rem; margin-bottom:1.1rem; }
.legal-doc ul{ color:var(--ink-soft); font-size:.98rem; margin-bottom:1.1rem; padding-left:1.3rem; }
.legal-doc li{ margin-bottom:.5rem; }
.legal-doc a{ color:var(--teal); font-weight:600; }
.legal-toc{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:1.4rem 1.6rem;
  margin-bottom:2.4rem;
}
.legal-toc div{ font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--gold-dark); margin-bottom:.7rem; }
.legal-toc ul{ list-style:none; padding:0; margin:0; columns:2; gap:1.5rem; }
.legal-toc li{ margin-bottom:.5rem; font-size:.88rem; }
.legal-toc a{ color:var(--ink-soft); text-decoration:none; font-weight:600; }
.legal-toc a:hover{ color:var(--teal); }

.help-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:1.8rem; height:100%; transition:transform .15s ease, box-shadow .15s ease;
}
.help-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.help-card .help-icon{
  width:48px; height:48px; border-radius:12px; background:var(--teal-tint); color:var(--teal);
  display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:1rem;
}
.help-card h3{ font-size:1.02rem; margin-bottom:.6rem; }
.help-card p{ color:var(--ink-soft); font-size:.9rem; margin-bottom:0; }

/* ---------- How It Works (infographic flow) ---------- */
.flow-steps{
  display:flex; align-items:flex-start; justify-content:space-between; gap:.5rem; margin-top:2.6rem;
}
.flow-step{
  flex:1; text-align:center; display:flex; flex-direction:column; align-items:center; max-width:180px;
}
.flow-icon{
  width:74px; height:74px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; color:#fff; margin-bottom:1rem; position:relative; flex-shrink:0;
  box-shadow:0 10px 22px -8px rgba(14,63,59,.35);
}
.flow-icon .flow-num{
  position:absolute; top:-6px; right:-6px; width:26px; height:26px; border-radius:50%;
  background:var(--cream); border:2px solid currentColor; color:var(--ink); font-size:.72rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.flow-step h3{ font-size:.98rem; margin-bottom:.4rem; }
.flow-step p{ color:var(--ink-soft); font-size:.85rem; margin-bottom:0; }
.flow-arrow{
  flex:0 0 auto; color:var(--line); font-size:1.4rem; margin-top:32px; opacity:.8;
}
.flow-cta{ text-align:center; margin-top:2.8rem; }

@media (max-width: 991px){
  .flow-steps{ flex-direction:column; align-items:stretch; gap:0; }
  .flow-step{ max-width:none; flex-direction:row; text-align:left; gap:1rem; padding:.9rem 0; }
  .flow-icon{ margin-bottom:0; }
  .flow-step h3{ margin-bottom:.2rem; }
  .flow-arrow{
    align-self:center; margin:0 0 0 36px; transform:rotate(90deg); font-size:1.2rem;
  }
}

@media (max-width: 767px){
  .legal-toc ul{ columns:1; }
}

/* ==========================================================================
   Dark mode — toggled via html[data-theme="dark"], set/persisted by main.js
   ========================================================================== */
html[data-theme="dark"]{
  --cream:       #0f1a18;
  --ink:         #eef4f2;
  --ink-soft:    #9db2ae;
  --line:        #223330;
  --surface:     #16211f;
  --teal-tint:   #16302c;
  --gold-tint:   #2c2210;
}
html[data-theme="dark"] body{ background:var(--cream); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2,
html[data-theme="dark"] h3, html[data-theme="dark"] h4{ color:#eef4f2; }
html[data-theme="dark"] #mainNav{
  background:rgba(15,26,24,.92); border-bottom:1px solid var(--line);
}
html[data-theme="dark"] #mainNav .navbar-brand span{ color:#eef4f2; }
html[data-theme="dark"] .navbar-toggler i{ color:#eef4f2 !important; }
html[data-theme="dark"] .bg-white{ background-color:var(--surface) !important; }
html[data-theme="dark"] .btn-kulan-outline{ color:#eef4f2; border-color:#3a4f4b; }
html[data-theme="dark"] .btn-kulan-outline:hover{ background:var(--teal); color:#fff; border-color:var(--teal); }
html[data-theme="dark"] .hero{
  background:
    radial-gradient(circle at 88% 12%, rgba(234,156,6,.10), transparent 45%),
    radial-gradient(circle at 6% 90%, rgba(24,97,90,.16), transparent 40%);
}
html[data-theme="dark"] .phone-float{ background:var(--surface); }
html[data-theme="dark"] .exp2-icon{ background:var(--surface); border-color:var(--line); }
html[data-theme="dark"] .form-control{
  background:var(--surface); border-color:var(--line); color:var(--ink);
}
html[data-theme="dark"] .form-control::placeholder{ color:#5c706c; }
html[data-theme="dark"] .filter-tab{ background:var(--surface); color:var(--ink-soft); border-color:var(--line); }
html[data-theme="dark"] .pay-chip{ background:var(--surface); border-color:var(--line); color:var(--ink-soft); }
html[data-theme="dark"] .page-hero{ background:var(--surface); }
html[data-theme="dark"] .page-hero p{ color:var(--ink-soft); }
html[data-theme="dark"] .page-hero::before{ opacity:.05; }
html[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed){ color:var(--gold); }
html[data-theme="dark"] .faq-accordion .accordion-button::after{ filter:invert(1) brightness(1.8); }
html[data-theme="dark"] .mission-quote{ color:#eef4f2; }
html[data-theme="dark"] .legal-toc a{ color:var(--ink-soft); }
html[data-theme="dark"] .value-card p, html[data-theme="dark"] .why-card p,
html[data-theme="dark"] .feature-card p, html[data-theme="dark"] .price-card li,
html[data-theme="dark"] .blog-card p, html[data-theme="dark"] .help-card p{ color:var(--ink-soft); }
html[data-theme="dark"] .price-amount, html[data-theme="dark"] .hero-stats .num,
html[data-theme="dark"] .flow-icon .flow-num{ color:#eef4f2; }
html[data-theme="dark"] .flow-icon .flow-num{ background:var(--cream); }
html[data-theme="dark"] .exp2-text strong{ color:#eef4f2; }
html[data-theme="dark"] .contact-info-item h4{ color:#eef4f2; }

/* ---------- Theme toggle button ---------- */
.theme-toggle{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line);
  background:var(--surface); color:var(--teal-dark); display:flex; align-items:center;
  justify-content:center; cursor:pointer; transition:background .15s ease, transform .15s ease;
  flex-shrink:0;
}
.theme-toggle:hover{ transform:rotate(15deg); }
html[data-theme="dark"] .theme-toggle{ color:var(--gold); }
.theme-toggle .bi-moon-stars-fill{ display:none; }
html[data-theme="dark"] .theme-toggle .bi-sun-fill{ display:none; }
html[data-theme="dark"] .theme-toggle .bi-moon-stars-fill{ display:inline-block; }
