/* OptiCore theme.css (base from v6_8 perfect prototype) */

:root {
  --bg: #ffffff;
  --ink: #0b0b0f;
  --muted: #6b7078;
  --border: rgba(11,11,15,.12);
  --shadow: 0 26px 80px rgba(11,11,15,.10);
  --shadow2: 0 10px 24px rgba(11,11,15,.06);
  --accent: #c9b079;
  --radius: 22px;
  --radius2: 30px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.hr {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.topbar .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: .01em;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(14px 14px at 74% 28%, var(--accent), rgba(201,176,121,0) 70%),linear-gradient(145deg, #101217, #1c202a);
  box-shadow: 0 14px 30px rgba(11,11,15,.14);
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 520;
  font-size: .95rem;
  letter-spacing: .01em;
}

.nav a:hover {
  background: rgba(11,11,15,.04);
  color: var(--ink);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,11,15,.18);
  background: #fff;
  font-weight: 650;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

.btn.primary {
  background: #111216;
  border-color: #111216;
  color: #fff;
}

.btn.primary:hover {
  background: #06070a;
  border-color: #06070a;
}

.btn.ghost:hover {
  background: rgba(11,11,15,.03);
}

.burger {
  display: none;
  border: 1px solid rgba(11,11,15,.18);
  background: #fff;
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 650;
}

.burger .bars {
  display: inline-grid;
  gap: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.burger .bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111216;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .nav, .actions {
    display: none;
  }
}

@media (max-width: 980px) {
  .burger {
    display: inline-flex;
    align-items: center;
  }
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,11,15,.55);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
  z-index: 1001;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px,92vw);
  background: rgba(255,255,255,.92);
  border-left: 1px solid var(--border);
  transform: translateX(105%);
  transition: .18s ease;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.drawer header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.close {
  border: 1px solid rgba(11,11,15,.18);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  cursor: pointer;
}

.drawer main {
  padding: 14px 14px 18px;
  display: grid;
  gap: 12px;
}

.drawer .nav {
  display: grid;
  gap: 6px;
}

.drawer .nav a {
  border: 1px solid rgba(11,11,15,.10);
}

.drawer .actions {
  display: grid;
  gap: 10px;
}

body.drawer-open .backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .drawer {
  transform: translateX(0);
}

.kicker {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.h1 {
  margin: 10px 0 12px;
  font-size: 2.35rem;
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 680;
}

@media (min-width: 980px) {
  .h1 {
    font-size: 3.0rem;
  }
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
  font-weight: 430;
}

.small {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  font-weight: 430;
}

.divider-accent {
  height: 2px;
  width: 74px;
  background: linear-gradient(90deg, var(--accent), rgba(201,176,121,0));
  border-radius: 999px;
  margin: 16px 0 0;
}

.section {
  padding: 44px 0 24px;
}

.panel {
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel {
  background: radial-gradient(620px 420px at 18% 22%, rgba(201,176,121,.14), rgba(201,176,121,0) 60%), radial-gradient(520px 380px at 82% 26%, rgba(11,11,15,.06), rgba(11,11,15,0) 62%), #fff;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(780px 520px at 80% 20%, rgba(11,11,15,.06), rgba(11,11,15,0) 70%),linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,1));
  pointer-events: none;
}

.panel .inner {
  position: relative;
  padding: 34px 22px;
  z-index: 1;
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 980px) {
  .grid.hero2 {
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .grid.cards3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .grid.media2 {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .grid.list2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.card .pad {
  padding: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,11,15,.12);
  background: rgba(255,255,255,.70);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 520;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  font-weight: 430;
}

.tile {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tile .head {
  padding: 18px;
  border-bottom: 1px solid rgba(11,11,15,.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.tile .title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  font-weight: 680;
}

.tile .body {
  padding: 18px;
}

.tile .meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 430;
}

.pillline {
  height: 1px;
  background: linear-gradient(90deg, rgba(201,176,121,.50), rgba(201,176,121,0));
  margin-top: 10px;
}

.media-box {
  border-radius: var(--radius);
  border: 1px solid rgba(11,11,15,.10);
  overflow: hidden;
  background: #fff;
}

.media-box .cap {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(11,11,15,.08);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.media-box .cap span {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 520;
}

.footer {
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 430;
}

.footer .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  border-radius: 18px;
  border: 1px solid rgba(11,11,15,.14);
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 60px rgba(11,11,15,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 14px 12px;
  display: none;
}

.cookie-banner h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 680;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
  font-weight: 430;
}

.cookie-banner .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-end;
}

.cookie-link {
  text-decoration: underline;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11,11,15,.14);
  color: var(--muted);
  background: rgba(255,255,255,.70);
}

.socials a:hover {
  color: var(--ink);
  background: rgba(11,11,15,.03);
}

.socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11,11,15,.14);
  color: var(--muted);
  background: rgba(255,255,255,.70);
}

.socials a:hover {
  color: var(--ink);
  background: rgba(11,11,15,.03);
}

/* Brandmark SVG (badge) */

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 12px;
}

@media (max-width:720px) {
  .logo img {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }
}

/* Tile image inside card (keeps layout) */

.tile-media {
  width: 100%;
  height: 110px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg,#f7f7f8,#f2f2f3);
  border: 1px solid rgba(15,15,18,.08);
  box-shadow: 0 18px 40px rgba(12,12,18,.06);
  margin: 14px 0 12px;
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .tile-media {
    height: 118px;
  }
}

/* --- Extra rules for Bootstrap Studio project (buttons, nav, utilities) --- */

html, body {
  height: 100%;
}

body {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

.smallcaps {
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--muted);
}

.hero-wrap {
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 0 18px;
}

.shell {
  background: radial-gradient(closest-side, rgba(0,0,0,.04), transparent 65%), radial-gradient(closest-side, rgba(0,0,0,.03), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.85));
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow2);
  position: relative;
  overflow: hidden;
}

.shell:before {
  content: "";
  position: absolute;
  inset: -120px -140px auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(1200px 600px at 82% 16%, rgba(201,176,121,.12), rgba(255,255,255,0));
  filter: blur(18px);
  opacity: .6;
  pointer-events: none;
}

.shell:after {
  content: "";
  position: absolute;
  inset: auto -160px -170px auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 35% 35%, rgba(18,18,26,.06), transparent 65%);
  opacity: .9;
  pointer-events: none;
}

.section-title {
  font-weight: 700;
  letter-spacing: -.02em;
}

.lead-muted {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.btn-pill {
  border-radius: 999px;
  padding: .65rem 1.05rem;
  font-weight: 600;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: #fff;
}

.btn-ink {
  background: #0b0b0f;
  color: #fff;
  border: 1px solid rgba(0,0,0,.2);
}

.btn-ink:hover {
  background: #000;
  color: #fff;
}

.badge-soft {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: .25rem .6rem;
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
}

.card-soft {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.80);
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.card-soft .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.card-soft .card-footer {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,.06);
}

.hr-accent {
  height: 2px;
  width: 68px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
}

.thumb {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,245,247,.7));
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

.footer {
  max-width: var(--max);
  margin: 18px auto 24px;
  padding: 0 18px;
  color: var(--muted);
  font-size: .92rem;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
}

.social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  margin-left: 8px;
}

.social svg {
  width: 16px;
  height: 16px;
  opacity: .75;
}

/* cards with image placeholder */

.img-slot {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  border: 1px dashed rgba(0,0,0,.18);
  background: radial-gradient(circle at 30% 35%, rgba(0,0,0,.06), transparent 55%), radial-gradient(circle at 70% 55%, rgba(242,193,75,.18), transparent 50%), linear-gradient(180deg, rgba(255,255,255,.75), rgba(248,248,249,.85));
  overflow: hidden;
  position: relative;
}

.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.img-slot .label {
  position: absolute;
  inset: auto 16px 14px 16px;
  color: rgba(0,0,0,.55);
  font-weight: 600;
  font-size: .9rem;
}

.pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--border);
  padding: .36rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: #1c1c22;
  font-weight: 600;
  font-size: .9rem;
}

.pill svg {
  width: 16px;
  height: 16px;
}

/* cookie banner */

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 1080;
  display: none;
}

.cookie-banner.show {
  display: block;
}

/* prevent "frozen" selection overlays - ensure no full-screen pointer blockers */

.backdrop {
  pointer-events: none;
}

.ring-highlight {
  outline: 3px solid rgba(242,193,75,.55);
  outline-offset: 6px;
  border-radius: 20px;
}

/* Accordion icon: plus/minus (Bootstrap Studio-friendly) */

.accordion-button::after {
  display: none !important;
}

.accordion-button {
  position: relative;
  padding-right: 3.25rem;
}

/* Remove Bootstrap's default active background/box-shadow (keeps the "premium" look) */

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
}

.accordion-item {
  background: transparent;
}

.accordion-button .acc-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid rgba(17,17,21,.18);
  background: rgba(255,255,255,.65);
}

.accordion-button .acc-icon::before {
  content: "+";
  line-height: 1;
}

.accordion-button:not(.collapsed) .acc-icon::before {
  content: "–";
}

.table-group td {
  background: rgba(17,17,21,.03)!important;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

