/* Nucha Strops — 2026 layout */
:root {
  --bg-0: #0f0a14;
  --bg-1: #faf7ff;
  --bg-2: #f0e8ff;
  --surface: #ffffff;
  --surface-veil: rgba(255, 255, 255, 0.88);
  --ink: #1a1423;
  --ink-2: #433854;
  --muted: #6b5f7a;
  --line: rgba(91, 33, 182, 0.14);
  --line-strong: rgba(91, 33, 182, 0.28);
  --shadow: 0 28px 80px rgba(15, 10, 20, 0.12);
  --shadow-tight: 0 4px 20px rgba(79, 26, 120, 0.08);
  --accent: #5b21b6;
  --accent-mid: #7c3aed;
  --accent-hot: #be185d;
  --accent-soft: rgba(91, 33, 182, 0.12);
  --glow: rgba(190, 24, 93, 0.15);
  --radius: 12px;
  --radius-lg: 22px;
  --radius-b: 4px 22px 22px 4px;
  --container: 1100px;
  --header-h: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(175deg, var(--bg-1) 0%, #fff 42%, var(--bg-2) 100%),
    radial-gradient(ellipse 100% 80% at 0% 0%, var(--glow), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 20%, var(--accent-soft), transparent 45%);
  background-color: var(--bg-1);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Top advertising strip */
.top-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(90deg, var(--accent) 0%, #4c1d95 50%, var(--accent-hot) 100%);
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}
.top-tag .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 11px;
  padding-bottom: 11px;
  gap: 12px;
}
.top-tag::after {
  content: "";
  display: none;
}

/* Masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--surface-veil) 0%, rgba(255, 255, 255, 0.72) 100%);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border-left: 4px solid var(--accent-mid);
  padding-left: 14px;
  margin-left: -4px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-mid) 0%, var(--accent-hot) 100%);
  box-shadow: 0 8px 28px rgba(91, 33, 182, 0.35);
  flex: 0 0 auto;
  transform: rotate(-3deg);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-name strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-name span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.header-ico:hover {
  background: var(--accent-soft);
  border-color: var(--line-strong);
  color: var(--accent-hot);
  transform: translateY(-2px);
}
.header-ico svg {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s, border-color 0.12s;
  box-shadow: var(--shadow-tight);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(79, 26, 120, 0.12);
  border-color: var(--line-strong);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 50%, #9d174d 100%);
  color: #fff;
  box-shadow: 0 14px 40px rgba(91, 33, 182, 0.35);
}
.btn-primary:hover {
  border-color: transparent;
  filter: brightness(1.05);
}
.btn-ghost {
  background: transparent;
  box-shadow: none;
}

/* Hero — image column first in DOM */
.hero {
  padding: 32px 0 10px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero-card {
  border-radius: var(--radius-lg);
  background: var(--surface-veil);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-main {
  padding: 30px 28px 28px;
  border-radius: 22px 6px 22px 22px;
}
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 12px;
}
h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0.02em;
}
h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 20ch;
}
.lead {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 0 20px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}
.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-2));
  color: var(--ink-2);
}
.pill strong {
  color: var(--accent);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
  width: 100%;
  margin-top: 4px;
}
@media (min-width: 981px) {
  .hero-note {
    width: auto;
  }
}

.hero-side {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--surface) 55%);
  border-radius: 6px 22px 22px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tight);
}
.media {
  border-radius: 16px;
  border: 2px solid var(--line);
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: 0 12px 40px rgba(79, 26, 120, 0.1);
}
.media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
#cystinorm-offer .media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  min-height: 0;
  border: 2px dashed var(--line-strong);
}
#cystinorm-offer .media img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}
.side-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 16px 16px 14px;
}
.side-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--ink);
}
.side-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.side-list {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
.section {
  padding: 28px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 14px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--ink);
}
.section-sub {
  margin: 6px 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tight);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
  gap: 10px;
}
.card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.card-ico svg {
  width: 22px;
  height: 22px;
}
.card .meta {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-hot);
  font-weight: 700;
  margin: 0;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--ink);
  padding: 0 16px;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  padding: 0 16px 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}
.callout {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(125deg, var(--accent-soft) 0%, #fff 60%);
  padding: 18px 18px 16px;
  border-left: 5px solid var(--accent);
}
.callout strong {
  color: var(--accent);
}
.callout p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

/* Accordion */
details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  padding: 0;
  overflow: hidden;
}
details + details {
  margin-top: 10px;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  padding: 16px 18px;
  background: linear-gradient(90deg, var(--bg-2) 0%, #fff 100%);
  border-left: 4px solid var(--accent-mid);
}
summary::-webkit-details-marker {
  display: none;
}
summary .hint {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
details .answer {
  padding: 0 18px 16px 22px;
  color: var(--ink-2);
  font-size: 14px;
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 14px;
}

/* Legal */
.content {
  padding: 28px 0 40px;
}
.paper {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px 30px 28px;
  border-top: 6px solid var(--accent);
}
.paper h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 16px;
}
.paper h2 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--accent);
}
.paper p,
.paper li {
  color: var(--ink-2);
  font-size: 15px;
}
.paper a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-soft);
}
.paper a:hover {
  color: var(--accent-hot);
  border-bottom-color: var(--accent-hot);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%);
}
.site-footer .container {
  padding-top: 28px;
  padding-bottom: 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.footer-links a {
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.footer-links a:hover {
  background: var(--accent-soft);
  border-color: var(--line-strong);
  color: var(--accent);
}
.footer-contact {
  min-width: min(100%, 280px);
}
.footer-contact > div:first-child {
  font-weight: 700;
  color: var(--ink-2) !important;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}
.footer-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.footer-row svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 2px;
}
.footer-row a {
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color 0.12s, border-color 0.12s;
}
.footer-row a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer-disclosures {
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.footer-disclosures p {
  margin: 8px 0;
}
.footer-bottom {
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  max-width: 72ch;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column-reverse;
  }
}
@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .header-actions .btn {
    padding: 10px 14px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
