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

:root {
  --bg: #fdf9f4;
  --border: #e0e2e6;
  --border2: #c8ccd4;
  --surface: #fff;
  --border: #ede8e0;
  --text: #1a1612;
  --text-strong: #1a1612;
  --muted: #8a7f74;
  --coral: #f06449;
  --coral: #f06449;
  --coral-mid: #d85a42;
  --coral-light: #ff7f66;
  --coral-dim: rgba(240,100,73,0.10);
  --coral-border: rgba(240,100,73,0.28);
  --teal: #2da89a;
  --amber: #f5a623;
  --sky: #4badd4;
  --lavender: #8b74d4;
  --mint: #3abf8a;
  --peach: #fff0eb;
  --peach-border: #fad3c9;
  --white: #ffffff;
  --box-shadow-1: 0 1px 3px 0 rgba(34, 40, 42, 0.1);
  --box-shadow-2: 0 4px 20px 0 rgba(33, 37, 41, 0.05);
  --box-shadow-3: 0 4px 20px 0 rgba(33, 37, 41, 0.15);
}

html { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text); }
a { text-decoration: none; color: inherit; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
}

.pages h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  color: var(--text);
}

.pages h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 18px 0;
  color: var(--text);
}

.pages h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 24px 0 10px 0;
  color: var(--text);
}

.pages p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px 0;
  color: var(--text);
}

.pages strong {
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 768px) {
  .pages h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .pages h2 {
    font-size: 25px;
    margin: 32px 0 16px 0;
  }

  .pages h3 {
    font-size: 20px;
    margin: 22px 0 8px 0;
  }

  .pages p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}


/* NAV */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  position: sticky; top: 0; z-index: 100;
}
.logo { max-width: 150px; }
.logo a { display: flex; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; transition: all .2s;
}
.nav-links a:hover { background: var(--bg); color: var(--text); }
.nav-cta {
  background: var(--coral); color: white !important;
  padding: 8px 18px; border-radius: 100px; font-weight: 700;
  transition: background .2s;
}
.nav-cta:hover { background: #d85a3e !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--text); line-height: 1;
  padding: 8px;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--surface);
  flex-direction: column;
  padding: 24px 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  align-self: flex-end;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--text); padding: 8px; line-height: 1;
  margin-bottom: 24px;
}
.mobile-menu-links {
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu-links a {
  color: var(--text); font-size: 18px; font-weight: 700;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu-links a:last-child { border-bottom: none; }
.mobile-menu-links .nav-cta {
  display: inline-block; margin-top: 16px;
  padding: 12px 24px; text-align: center; border-radius: 100px;
}

/* ── MAIN WRAPPER ── */
.pages .main-wrapper {
  padding: 24px 0;
  background: var(--bg);
}

.main-wrapper .container.main .container.layout {
  padding: 0;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #fef3ee 0%, #e8f8f5 50%, #eef3fd 100%);
  padding: 72px 40px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(240,100,73,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(45,168,154,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px;
  font-size: 13px; font-weight: 700; color: var(--coral);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.badge-dot { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.7; } }

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .highlight {
  color: var(--coral);
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0; height: 4px;
  background: var(--coral); opacity: 0.2; border-radius: 2px;
}

.hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.6; font-weight: 400;
  max-width: 480px; margin: 0 auto 36px;
}

.search-wrap { max-width: 560px; margin: 0 auto 40px; }
.search-box {
  display: flex; background: white; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 6px 6px 6px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow .2s, border-color .2s;
}
.search-box:focus-within { border-color: var(--coral); box-shadow: 0 4px 24px rgba(240,100,73,0.15); }
.search-box input {
  flex: 1; border: none; outline: none; font-size: 15px;
  font-family: 'Nunito', sans-serif; background: transparent;
  color: var(--text);
}
.search-box input::placeholder { color: var(--muted); }
.search-btn {
  background: var(--coral); color: white; border: none; cursor: pointer;
  padding: 10px 24px; border-radius: 12px; font-size: 14px;
  font-weight: 700; font-family: 'Nunito', sans-serif;
  transition: background .2s, transform .1s;
}
.search-btn:hover { background: #d85a3e; }
.search-btn:active { transform: scale(0.97); }

.popular-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pop-label { font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.tag-pill {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.tag-pill:hover { border-color: var(--coral); color: var(--coral); box-shadow: 0 2px 8px rgba(240,100,73,0.12); }

/* TRUST BAR */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  display: flex; justify-content: center; gap: 48px; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-icon { font-size: 18px; }
.trust-text { font-size: 13px; font-weight: 700; color: var(--muted); }
.trust-text strong { color: var(--text); }

/* MAIN CONTENT */
.content { background: var(--bg); }
main { max-width: 1160px; margin: 0 auto; padding: 56px 40px; }

.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.section-head p { font-size: 14px; color: var(--muted); font-weight: 600; }

/* CATEGORY CARDS */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 56px; }
.cat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 20px 18px;
  cursor: pointer; transition: all .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.cat-card:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.cat-emoji { font-size: 28px; line-height: 1; }
.cat-card-name { font-size: 14px; font-weight: 800; }
.cat-card-count { font-size: 12px; color: var(--muted); font-weight: 600; }

/* COLORS FOR CATEGORY CARDS */
.cat-card.c1 { background: #fff5f3; border-color: #fad3c9; }
.cat-card.c2 { background: #f0faf8; border-color: #bce9e3; }
.cat-card.c3 { background: #fef9ec; border-color: #fce4a3; }
.cat-card.c4 { background: #eef4fd; border-color: #bfd6f6; }
.cat-card.c5 { background: #f4f1fd; border-color: #d0c4f5; }
.cat-card.c6 { background: #eefbf4; border-color: #b8ecd5; }

/* FEATURED */
.featured-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-bottom: 56px; }
.feat-hero {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 32px; cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feat-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}
.feat-hero:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.feat-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--peach); color: var(--coral);
  border-radius: 8px; padding: 4px 12px; font-size: 12px; font-weight: 800;
  margin-bottom: 16px;
}
.feat-hero h3 {
  font-family: 'Lora', serif; font-size: 24px; font-weight: 600;
  line-height: 1.3; margin-bottom: 12px;
}
.feat-hero p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.read-link { font-size: 14px; font-weight: 800; color: var(--coral); display: flex; align-items: center; gap: 4px; }

.feat-stack { display: flex; flex-direction: column; gap: 12px; }
.feat-mini {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 20px; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px;
  transition: box-shadow .2s, transform .2s;
}
.feat-mini:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-1px); }
.feat-mini-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.feat-mini h4 { font-size: 14px; font-weight: 800; line-height: 1.3; margin-bottom: 4px; }
.feat-mini-meta { font-size: 12px; color: var(--muted); font-weight: 600; }

/* HOW IT WORKS */
.how-it-works {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-bottom: 56px;
  text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--peach); color: var(--coral);
  font-size: 16px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.step-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.step-divider { display: flex; align-items: center; justify-content: center; }
.step-arrow { color: var(--border); font-size: 24px; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--coral) 0%, #e8504a 100%);
  border-radius: 24px; padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-bottom: 56px;
}
.cta-banner-left h2 { font-size: 28px; font-weight: 900; color: white; margin-bottom: 8px; }
.cta-banner-left p { font-size: 15px; color: rgba(255,255,255,0.75); }
.cta-email-form { display: flex; gap: 10px; }
.cta-email-form input {
  background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3);
  color: white; padding: 12px 18px; border-radius: 12px;
  font-size: 14px; font-family: 'Nunito', sans-serif; outline: none; min-width: 240px;
}
.cta-email-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-email-form button {
  background: white; color: var(--coral); border: none; cursor: pointer;
  padding: 12px 24px; border-radius: 12px; font-size: 14px; font-weight: 800;
  font-family: 'Nunito', sans-serif;
}


/* ── CONTACT US FORM ── */
#contact-form {
  margin: 45px auto 0;
  max-width: 500px;
}
#contact-form input,
#contact-form textarea {
  flex: 1; border: 1px solid var(--border); border-radius: 6px; outline: none;
  padding: 14px 18px; font-size: 14px;
  color: var(--text); min-width: 100%;
}

#contact-form input:active,
#contact-form textarea:active,
#contact-form input:focus,
#contact-form textarea:focus {
  border: 1px solid var(--border2)
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {color: var(--faint);}

#contact-form button {
  background: var(--coral); border: none; border-radius: 20px; cursor: pointer;
  padding: 16px; color: white;
  font-size: 13px; font-weight: 900; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .2s; white-space: nowrap; width: 100%;
}
#contact-form button:hover { background: var(--coral-mid); }


/* FOOTER */
footer {
  background: var(--text); color: #888;
  padding: 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #888; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: white; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; }

  .hero { padding: 48px 20px 40px; }
  .trust-bar { gap: 24px; flex-wrap: wrap; padding: 16px 20px; }
  .search-box { flex-direction: column; padding: 6px 6px 6px 6px;}
  .search-box input { padding: 16px 8px; }

  main { padding: 40px 20px; }

  .featured-row { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .cta-email-form { flex-direction: column; width: 100%; }
  .cta-email-form input { min-width: 0; width: 100%; }

  footer { flex-direction: column; align-items: flex-start; padding: 32px 20px; }
  .footer-links { gap: 12px; }
}


/* ═══════════════════════════════════
            WIDGETS
═══════════════════════════════════ */


/* ---- SUBLIST ---- */

.item-sublist a {
 width: 100%;
 height: 100%;
}

.item.item-bubbles {
  margin-bottom: 32px;
}

.item-bubbles .row {
  margin: 0;
}

.bubbles-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  display: flex;
  font-weight: 500;
  height: 100%;
  padding: 16px 48px 16px 24px;
  position: relative;
  transition: padding 0.2s ease-in-out
}

.bubbles-chip:hover {
  background: var(--coral-dim);
  border-color: var(--coral-mid);
  padding-left: 20px
}

.bubbles-chip:active,
.bubbles-chip:focus {
  background: var(--coral-mid);
}

.bubbles-link {
  display: block;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.bubbles-link .bubbles-outer {
  height: 100%;
  padding: 5px;
  max-width: 100%;
}

.col-gap:has(> .item-bubbles)::before {display: none !important}

.bubbles-chip::after {
  content: url("data:image/svg+xml,%3Csvg width='13' height='12' viewBox='0 0 13 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.87771 7.01782H1.02042C0.737361 7.01782 0.496528 6.91886 0.297917 6.72094C0.0993056 6.52317 0 6.2833 0 6.00136C0 5.71942 0.0993056 5.4781 0.297917 5.2774C0.496528 5.07657 0.737361 4.97615 1.02042 4.97615H8.87771L5.66583 1.76428C5.46111 1.55955 5.35681 1.31719 5.35292 1.03719C5.34889 0.757332 5.45076 0.510249 5.65854 0.295943C5.86632 0.0948319 6.11014 -0.00377823 6.39 0.000110661C6.66986 0.00399955 6.91236 0.108583 7.1175 0.313861L12.0713 5.27407C12.1699 5.37282 12.2464 5.4856 12.3008 5.6124C12.3551 5.73935 12.3823 5.86865 12.3823 6.00032C12.3823 6.13199 12.3551 6.26122 12.3008 6.38803C12.2464 6.51497 12.1727 6.62497 12.0798 6.71803L7.10958 11.688C6.89403 11.9037 6.65368 12.0081 6.38854 12.0012C6.12354 11.9942 5.88715 11.8862 5.67938 11.6772C5.4716 11.4629 5.36771 11.2166 5.36771 10.9382C5.36771 10.6599 5.4716 10.4192 5.67938 10.2162L8.87771 7.01782Z' fill='%23f4600c'/%3E%3C/svg%3E%0A");
  position: absolute;
  right:16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out
}

.bubbles-chip:hover::after {
  right: 10px;
}



/* SUBLIST CARDS */

.item-sublist:has(.sublist.card) .row > div {
  padding: 5px !important;
}

.sublist.card {
  border: none;
  border-radius: 6px;
  box-shadow: var(--box-shadow-2);
  transition: all 0.2s ease-in;
}

.sublist.card:hover {
  box-shadow: var(--box-shadow-3);
  color: var(--coral);
  transform: translateY(-4px);
}

.sublist.card h5 {
  margin-bottom: 0;
  font-weight: 500;
}

.sublist.card .card-body {
  padding: 16px;
}

@media (max-width: 767.98px) {

  .row div:has(> .sublist.card) {
    padding: 0 !important;
  }

  .row:has(> div .sublist.card) {
    margin:0;
    gap: 10px;
  }

  .sublist.card {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .sublist.card .card-img-top {
    border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .sublist.card .card-body {
    flex: 1;
    padding: 1rem;
  }

  .sublist.card .card-body * {
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .sublist.card .card-body h5 {
    font-size: 16px;
  }
}
