/* Light theme (index-light.html and every content page): cream page and white cards, navy text, gold accents.
   The top bar and the footer stay navy, so the brand colors still frame the page. */

html.theme-light body { background: #f7f3ea; }

html.theme-light .site-header,
html.theme-light main {
  --navy-800: #ffffff;
  --navy-700: #ffffff;
  --text: #1b2a42;
  --muted: #5d6879;
  --gold: #b48a35;
  --gold-light: #8a6420;
  --line: rgba(180, 138, 53, .35);
  --line-soft: rgba(15, 29, 51, .1);
  color: var(--text);
}

/* Header and mega menu */
html.theme-light .site-header { background: rgba(255, 255, 255, .96); box-shadow: 0 2px 14px rgba(15, 29, 51, .06); }
html.theme-light .mega { box-shadow: 0 24px 48px rgba(15, 29, 51, .14); }
html.theme-light .mega a:hover { background: #f7f3ea; }
html.theme-light .nav-toggle { color: #0f1d33; }

/* Hero */
html.theme-light .hero {
  background:
    radial-gradient(800px 460px at 12% 10%, rgba(213, 176, 90, .16), transparent 60%),
    linear-gradient(180deg, #fffdf8, #f7f3ea);
}
html.theme-light .hero h1,
html.theme-light .hero-name { color: #0f1d33; }
html.theme-light .hero h1 .gold-text { background: linear-gradient(180deg, #c99b3c 0%, #a67b26 100%); -webkit-background-clip: text; background-clip: text; }
html.theme-light .hero-creds em { color: #c9ac6a; }
html.theme-light .hero-note { color: #3c4a60; }
html.theme-light .hero-note strong { color: #8a6420; }
html.theme-light main .btn-ghost { color: #0f1d33; border-color: #b48a35; }
html.theme-light main .btn-ghost:hover { background: rgba(180, 138, 53, .1); }
html.theme-light .hero-photo img { box-shadow: 0 18px 40px rgba(15, 29, 51, .18); -webkit-mask-image: none; mask-image: none; }
html.theme-light .values-strip { box-shadow: 0 14px 30px rgba(15, 29, 51, .14); }

/* Topic cards */
html.theme-light .areas { background: #f7f3ea; }
html.theme-light .section-head h2,
html.theme-light .topic-main strong { color: #0f1d33; }
html.theme-light .topic-card { box-shadow: 0 6px 20px rgba(15, 29, 51, .06); }
html.theme-light .topic-card:hover, html.theme-light .topic-card.open { box-shadow: 0 10px 28px rgba(15, 29, 51, .12); }
html.theme-light .topic-main .ico { background: #fbf6ea; }
html.theme-light .topic-toggle { background: #fbf6ea; }
html.theme-light .topic-menu { box-shadow: 0 22px 40px rgba(15, 29, 51, .16); }
html.theme-light .topic-menu a:hover { background: #f7f3ea; }

/* Content pages */
html.theme-light .page-hero {
  background:
    radial-gradient(800px 360px at 12% 0%, rgba(213, 176, 90, .16), transparent 60%),
    linear-gradient(180deg, #fffdf8, #f7f3ea);
}
html.theme-light .page-hero h1,
html.theme-light .content h2,
html.theme-light .points h3,
html.theme-light .services h3,
html.theme-light .checks h3,
html.theme-light .steps strong,
html.theme-light .compare-card strong,
html.theme-light .faq summary { color: #0f1d33; }
html.theme-light .page-hero h1 .gold-text { background: linear-gradient(180deg, #c99b3c 0%, #a67b26 100%); -webkit-background-clip: text; background-clip: text; }
html.theme-light .points > div,
html.theme-light .services > div,
html.theme-light .compare-card,
html.theme-light .checks li { background: #fff; box-shadow: 0 4px 16px rgba(15, 29, 51, .05); }
html.theme-light .ticks li { background: #fff; }
html.theme-light .steps li::before { background: #f7f3ea; }
html.theme-light .faq summary:hover { color: #8a6420; }
html.theme-light .side-box { background: #fff; }

/* Topic, calculator, placeholder and contact pages */
html.theme-light .topic-head h1,
html.theme-light .area-tile strong,
html.theme-light .calc-card strong,
html.theme-light .calc-page h1,
html.theme-light .calc-result .big,
html.theme-light .placeholder h1,
html.theme-light .contact-form-wrap h2 { color: #0f1d33; }
html.theme-light main .calcs { background: transparent; }
html.theme-light .area-tile,
html.theme-light .calc-card a,
html.theme-light .calc-form,
html.theme-light .calc-result,
html.theme-light .contact-form,
html.theme-light .form-done { box-shadow: 0 4px 16px rgba(15, 29, 51, .05); }
html.theme-light .area-tile:hover { background: #fffdf8; }
html.theme-light .calc-result dl div { background: #f7f3ea; }
html.theme-light .calc-form input,
html.theme-light .contact-form input:not([type="checkbox"]),
html.theme-light .contact-form select,
html.theme-light .contact-form textarea { background: #fbf8f1; color: #1b2a42; border-color: rgba(15, 29, 51, .18); }
html.theme-light .form-error { color: #b3261e; }
html.theme-light .contact-form.tried :invalid { border-color: #b3261e; }

/* The contact box stays navy, so it stands out on the light page. */
html.theme-light .contact-box {
  --navy-700: #172843;
  --navy-800: #0f1d33;
  --muted: #a7b3c5;
  --gold-light: #f2d98f;
  box-shadow: 0 16px 34px rgba(15, 29, 51, .22);
}
html.theme-light .contact-box h2 { color: #fff; }
html.theme-light main .contact-box .btn-ghost { color: #f2d98f; border-color: #d5b05a; }
