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

:root {
  --ink: #181d26;
  --body-color: #333840;
  --muted: #41454d;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --surface-dark-elevated: #1d1f25;
  --hairline: #dddddd;
  --link: #1b61c9;
  --link-active: #1a3866;
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;
  --peach: #fcab79;
  --mint: #a8d8c4;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
  --max-w: 1280px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body-color);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:active { color: var(--link-active); }

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
}

/* ── NAV ── */
.site-header {
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.logo span { color: var(--coral); }

.main-nav ul {
  display: flex;
  gap: var(--sp-xl);
  list-style: none;
}
.main-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}
.main-nav a:active { color: var(--link); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--sp-lg) var(--sp-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: var(--sp-sm); }
}

/* ── HERO ── */
.hero-band {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}
.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: var(--sp-lg);
}
.hero-band .lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
  max-width: 580px;
  margin-bottom: var(--sp-xl);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
.btn-primary:active { background: #0d1218; color: #fff; }

.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  line-height: 1.4;
  margin-left: var(--sp-sm);
}

/* ── SECTION BANDS ── */
.section-band {
  padding: var(--sp-section) 0;
}

.section-band--soft {
  background: var(--surface-soft);
}

.section-band--cream {
  background: var(--cream);
}

.section-band--dark {
  background: var(--surface-dark);
  color: #fff;
}
.section-band--dark h2,
.section-band--dark p { color: #fff; }

.section-band--coral {
  background: var(--coral);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  margin: 0 var(--sp-xxl);
}
.section-band--coral h2,
.section-band--coral p { color: #fff; }

/* ── TYPOGRAPHY HELPERS ── */
.section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.section-sub {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.12px;
}
.label-md {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.muted { color: var(--muted); }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ── ARTICLE CARD ── */
.article-card {
  background: var(--canvas);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-card__body {
  padding: var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.article-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.article-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  flex: 1;
}
.article-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--sp-xs);
}
.article-card a { color: inherit; }

/* ── SIGNATURE CORAL CARD ── */
.sig-coral {
  background: var(--coral);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  color: #fff;
}
.sig-coral h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--sp-md);
  max-width: 560px;
}
.sig-coral p { color: #fff; max-width: 520px; margin-bottom: var(--sp-xl); }

.sig-dark {
  background: var(--surface-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  color: #fff;
}
.sig-dark h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--sp-md);
  max-width: 560px;
}
.sig-dark p { color: rgba(255,255,255,.75); max-width: 520px; margin-bottom: var(--sp-xl); }

.sig-cream {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
}

/* ── DEMO GRID CARDS ── */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
@media (max-width: 1024px) { .demo-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
  border-radius: var(--r-md);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.demo-card--peach { background: var(--peach); }
.demo-card--mint { background: var(--mint); }
.demo-card--cream { background: var(--cream); }
.demo-card__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.demo-card__text {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.5;
}

/* ── ARTICLE PAGE ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-xl);
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

.article-content { min-width: 0; }
.article-content h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.article-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-md);
}
.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--sp-lg) 0 var(--sp-sm);
}
.article-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: var(--sp-md);
}
.article-content ul, .article-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}
.article-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: var(--sp-xs);
}
.article-content img {
  border-radius: var(--r-md);
  margin: var(--sp-xl) 0;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
  display: flex;
  gap: var(--sp-md);
}

.article-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-block {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}
.sidebar-block strong {
  display: block;
  margin-bottom: var(--sp-sm);
  color: var(--ink);
}
.sidebar-block ul { list-style: none; }
.sidebar-block li { margin-bottom: var(--sp-xs); }
.sidebar-block a { color: var(--link); font-size: 14px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  gap: var(--sp-xs);
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--body-color); }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 560px;
}
.form-group {
  margin-bottom: var(--sp-md);
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  outline: none;
}
.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #458fff;
}
.form-success {
  display: none;
  background: var(--mint);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  margin-top: var(--sp-md);
  color: var(--ink);
  font-weight: 500;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  text-align: center;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.cta-band p {
  font-size: 16px;
  color: var(--body-color);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── ARTICLES LIST PAGE ── */
.articles-hero {
  background: var(--surface-dark-elevated, #1d1f25);
  padding: var(--sp-section) 0;
}
.articles-hero h1 {
  font-size: 48px;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--sp-md);
}
.articles-hero p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
}

/* ── PAGES ── */
.page-content {
  padding: var(--sp-section) 0;
  max-width: 760px;
  margin: 0 auto;
}
.page-content h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-xl);
}
.page-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-md);
}
.page-content p, .page-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-color);
  margin-bottom: var(--sp-sm);
}
.page-content ul, .page-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}
.page-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-xl);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-section) 0 var(--sp-xl);
}
.footer-inner {}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xxl);
}
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; }
}
.footer-brand {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.footer-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}
.footer-col address {
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}
.footer-col address a { color: var(--muted); }
.footer-vat { font-size: 12px; color: var(--muted); }
.footer-col strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-lg);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-legal a { color: var(--muted); text-decoration: underline; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: #fff;
  padding: var(--sp-lg) var(--sp-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
#cookie-banner p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  flex: 1;
  min-width: 240px;
}
#cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-btns { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.btn-legal {
  background: var(--link);
  color: #fff;
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--r-xs);
  border: none;
  cursor: pointer;
}
.btn-legal--reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}

@media (max-width: 768px) {
  #cookie-banner { flex-direction: column; padding: var(--sp-md); }
  .cookie-btns { width: 100%; }
  .btn-legal { flex: 1; }
  .articles-hero h1 { font-size: 32px; }
}

/* ── UTILS ── */
.mt-xl { margin-top: var(--sp-xl); }
.mt-xxl { margin-top: var(--sp-xxl); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-xxl { margin-bottom: var(--sp-xxl); }
.text-center { text-align: center; }
