/* mediflowly.css — Mediflowly site CSS */
/* Inlines: base.css + nav.css + hero.css + features.css + stats.css + process.css + team.css + cta.css + contact.css + footer.css + cookie-banner.css + blog-grid.css */
/* Accent: #e11d48 | Secondary: #db2777 | Fonts: Satoshi + Sora */

/* ============================================================
   :root — brand tokens (hex only, no var() in output)
   ============================================================ */
:root {
  --accent: #e11d48;
  --accent-rgb: 225,29,72;
  --secondary: #db2777;
  --bg-dark: #0f172a;
  --bg-alt: #1e293b;
  --bg-surface: #1a2332;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --font-sans: 'Satoshi', system-ui, sans-serif;
  --font-display: 'Sora', 'Satoshi', system-ui, sans-serif;
}

/* ============================================================
   Base (from base.css)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Satoshi', system-ui, sans-serif;
  background: #ffffff;
  color: #334155;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.page-sub { padding-top: 64px; }

a { color: #e11d48; text-decoration: none; }
a:hover { opacity: 0.85; }

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

html { scroll-behavior: smooth; }

.section-dark { background: #0f172a; }
.section-alt { background: #1e293b; }
.section-light { background: #f8fafc; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Nav (from nav.css)
   ============================================================ */
.c-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.c-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.c-nav__logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 800;
  text-decoration: none;
  color: inherit;
}
.c-nav__logo-img { height: 28px; width: auto; display: none; }
.c-nav__logo-fallback { display: inline; }
.c-nav__logo-fallback span { color: #e11d48; }

.c-nav__links {
  display: flex; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.c-nav__links a {
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s;
}
.c-nav__cta {
  background: #e11d48;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.c-nav__cta:hover { opacity: 0.9; color: #fff !important; }

.c-nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.c-nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; transition: 0.3s; }

/* Nav theme: light */
.c-nav[data-nav-theme="light"] {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.c-nav[data-nav-theme="light"] .c-nav__logo,
.c-nav[data-nav-theme="light"] .c-nav__logo-fallback { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--light { display: inline; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--dark  { display: none; }
.c-nav[data-nav-theme="light"] .c-nav__links a { color: #334155; }
.c-nav[data-nav-theme="light"] .c-nav__links a:hover,
.c-nav[data-nav-theme="light"] .c-nav__links a.active { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__toggle span { background: #0f172a; }

/* Nav theme: dark */
.c-nav[data-nav-theme="dark"] { background: transparent; }
.c-nav[data-nav-theme="dark"].scrolled,
.c-nav[data-nav-theme="dark"].c-nav--solid {
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.c-nav[data-nav-theme="dark"] .c-nav__logo,
.c-nav[data-nav-theme="dark"] .c-nav__logo-fallback { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--light { display: none; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--dark  { display: inline; }
.c-nav[data-nav-theme="dark"] .c-nav__links a { color: #94a3b8; }
.c-nav[data-nav-theme="dark"] .c-nav__links a:hover,
.c-nav[data-nav-theme="dark"] .c-nav__links a.active { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__toggle span { background: #f1f5f9; }

.c-nav__logo-img ~ .c-nav__logo-fallback { display: none !important; }

@media (max-width: 768px) {
  .c-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #0f172a;
    padding: 16px;
    border-top: 1px solid #1e293b;
  }
  .c-nav[data-nav-theme="light"] .c-nav__links {
    background: #ffffff;
    border-top-color: rgba(15,23,42,0.08);
  }
  .c-nav[data-nav-theme="light"] .c-nav__links a { color: #0f172a; }
  .c-nav__links.open { display: flex; }
  .c-nav__toggle { display: block; }
}

/* ============================================================
   Hero (from hero.css)
   ============================================================ */
.c-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f172a;
  color: #f1f5f9;
}

.c-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%);
  z-index: 1;
}

.c-hero .container { position: relative; z-index: 2; }

.c-hero__wrap {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.c-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 20px;
}

.c-hero__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 720px;
}

.c-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 600px;
}

.c-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Variant: Background (full-bleed concept image) */
.c-hero--bg {
  background: #0f172a url('../images/hero-home.webp') center/cover no-repeat;
  color: #f1f5f9;
  padding: 120px 0 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}
.c-hero--bg .c-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.55) 55%, rgba(15,23,42,0.35) 100%);
  z-index: 1;
}
.c-hero--bg .container { position: relative; z-index: 2; }
.c-hero--bg .c-hero__content { max-width: 720px; }
.c-hero--bg .c-hero__label { color: #fb7185; }
.c-hero--bg .c-hero__title { color: #ffffff; font-size: 52px; }
.c-hero--bg .c-hero__subtitle { color: #cbd5e1; }
.c-hero--bg .c-btn--ghost {
  background: transparent;
  color: #f1f5f9;
  border: 1px solid rgba(241,245,249,0.45);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.c-hero--bg .c-btn--ghost:hover {
  background: rgba(241,245,249,0.08);
  border-color: #f1f5f9;
  color: #ffffff;
}
@media (max-width: 768px) {
  .c-hero--bg { padding: 80px 0 60px; min-height: auto; }
  .c-hero--bg .c-hero__title { font-size: 32px; }
  .c-hero--bg .c-hero__subtitle { font-size: 16px; }
}

/* Variant: Split */
.c-hero--split {
  background: #f8fafc;
  color: #0f172a;
  padding: 100px 0 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.c-hero--split .c-hero__label { color: #e11d48; }
.c-hero--split .c-hero__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  color: #0f172a;
  font-size: 44px;
  line-height: 1.15;
}
.c-hero--split .c-hero__subtitle { color: #475569; }
.c-hero--split .c-hero__image {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15,23,42,0.15);
  display: block;
  margin-left: auto;
}
.c-hero--split .row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.c-hero--split .col-md-6 {
  flex: 1 1 320px;
  min-width: 0;
}

/* Compact hero for inner pages */
.c-page-hero {
  background: #f8fafc;
  padding: 100px 0 48px;
  border-bottom: 1px solid #e2e8f0;
}
.c-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 12px;
}
.c-page-hero__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.c-page-hero__lede {
  font-size: 17px;
  color: #475569;
  max-width: 600px;
  line-height: 1.65;
  margin: 0;
}

/* Buttons */
.c-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.c-btn--primary {
  background: #e11d48;
  color: #ffffff;
}
.c-btn--primary:hover { opacity: 0.9; color: #ffffff; }

.c-btn--outline {
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.c-btn--outline:hover { border-color: #e11d48; color: #e11d48; }

.c-hero--split .c-btn--outline {
  color: #334155;
  border-color: #cbd5e1;
}

.c-btn--sm { padding: 8px 16px; font-size: 14px; }

@media (max-width: 768px) {
  .c-hero--split { padding: 80px 0 60px; min-height: auto; }
  .c-hero--split .c-hero__title { font-size: 32px; }
  .c-hero--split .c-hero__subtitle { font-size: 16px; }
  .c-hero--split .c-hero__image { margin-top: 40px; }
  .c-hero--split .row { flex-direction: column; gap: 0; }
}

/* ============================================================
   Section header (shared)
   ============================================================ */
.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 12px;
}
.c-section-title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.c-section-desc {
  font-size: 17px;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Dark section overrides */
.section-dark .c-section-title { color: #f1f5f9; }
.section-dark .c-section-desc { color: #94a3b8; }

/* ============================================================
   Features (from features.css)
   ============================================================ */
.c-features { padding: 80px 0; background: #ffffff; }

.c-features__grid--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.c-features__grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.c-features__card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.c-features__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.c-features__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225,29,72,0.1);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  color: #e11d48;
}

.c-features__name {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.c-features__text {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  flex: 1;
}

@media (max-width: 768px) {
  .c-features__grid--6,
  .c-features__grid--3 { grid-template-columns: 1fr; }
  .c-section-title { font-size: 28px; }
}

/* ============================================================
   Stats (from stats.css)
   ============================================================ */
.c-stats { padding: 48px 0; }
.c-stats--bar { background: #1e293b; }
.c-stats--cards { background: #0f172a; padding: 64px 0; }

.c-stats__wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.c-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.c-stats__item { padding: 16px 0; }

.c-stats__number {
  display: block;
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #e11d48;
  line-height: 1.2;
}

.c-stats__label {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 8px;
  line-height: 1.4;
}

.c-stats__card {
  background: #1e293b;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-stats__desc {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .c-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .c-stats__number { font-size: 28px; }
}

/* ============================================================
   Process (from process.css)
   ============================================================ */
.c-process { padding: 80px 0; background: #f8fafc; }

.c-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.c-process__step {
  position: relative;
  padding: 32px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.c-process__num {
  display: inline-block;
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #e11d48;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.c-process__name {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.c-process__text {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .c-process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .c-process__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Team (from team.css)
   ============================================================ */
.c-team { padding: 80px 0; background: #ffffff; }
.c-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 960px; margin: 0 auto; }
.c-team__card { text-align: center; }
.c-team__photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: center; margin-bottom: 16px; border: 3px solid #e2e8f0; display: block; margin-left: auto; margin-right: auto; }
.c-team__name { font-family: 'Sora', 'Satoshi', system-ui, sans-serif; font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: #64748b; }

/* ============================================================
   About page content
   ============================================================ */
.c-about { padding: 64px 0; background: #ffffff; }
.c-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-about__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.c-about__body p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 18px;
}
.c-about__body p:last-child { margin-bottom: 0; }
.c-about__values { padding: 64px 0; background: #f8fafc; }
.c-about__values-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c-about__values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
}
.c-about__values-list li i {
  color: #e11d48;
  margin-top: 3px;
  min-width: 18px;
}
@media (max-width: 768px) {
  .c-about__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CTA (from cta.css)
   ============================================================ */
.c-cta { background: #e11d48; padding: 64px 0; text-align: center; }
.c-cta__title { font-family: 'Sora', 'Satoshi', system-ui, sans-serif; font-size: 32px; font-weight: 800; color: #ffffff; margin-bottom: 16px; letter-spacing: -0.02em; }
.c-cta__desc { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.c-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.c-cta .c-btn--primary { background: #ffffff; color: #e11d48; }
.c-cta .c-btn--primary:hover { opacity: 0.9; }
.c-cta .c-btn--outline { border-color: rgba(255,255,255,0.4); color: #ffffff; background: transparent; }
.c-cta .c-btn--outline:hover { border-color: #ffffff; color: #ffffff; }

/* ============================================================
   Contact (from contact.css)
   ============================================================ */
.c-contact { padding: 80px 0; }
.c-contact__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) {
  .c-contact__grid { grid-template-columns: 7fr 4fr; gap: 72px; }
}
.c-contact__form-col { min-width: 0; }
.c-contact__info-col { min-width: 0; }
.c-contact__row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) {
  .c-contact__row-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.c-contact__title { font-family: 'Sora', 'Satoshi', system-ui, sans-serif; font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 32px; }
.c-contact__form input,
.c-contact__form select,
.c-contact__form textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  font-family: inherit;
}
.c-contact__form input:focus,
.c-contact__form select:focus,
.c-contact__form textarea:focus { border-color: #e11d48; outline: none; }
.c-contact__form select option { background: #ffffff; color: #0f172a; }
.c-contact__form button { cursor: pointer; }
.c-contact__info-title { font-family: 'Sora', 'Satoshi', system-ui, sans-serif; font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 24px; }
.c-contact__info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-size: 15px; color: #475569; }
.c-contact__info-item i { color: #e11d48; font-size: 16px; margin-top: 3px; min-width: 20px; }
.c-contact__info-item a { color: #475569; text-decoration: none; }
.c-contact__info-item a:hover { color: #e11d48; }

/* ============================================================
   Footer (from footer.css)
   ============================================================ */
.c-footer { background: #0f172a; padding: 64px 0 0; border-top: 1px solid #1e293b; color: #94a3b8; }
.c-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.c-footer__logo { font-size: 20px; font-weight: 800; color: #f1f5f9; text-decoration: none; display: inline-block; margin-bottom: 12px; font-family: 'Sora', 'Satoshi', system-ui, sans-serif; }
.c-footer__logo span { color: #e11d48; }
.c-footer__tagline { font-size: 14px; color: #64748b; line-height: 1.6; }
.c-footer__col h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.c-footer__col ul { list-style: none; padding: 0; margin: 0; }
.c-footer__col ul li { margin-bottom: 10px; color: #94a3b8; font-size: 14px; }
.c-footer__col ul li a { color: #94a3b8; }
.c-footer__col ul li a:hover { color: #e11d48; }
.c-footer__col ul a { color: #94a3b8; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.c-footer__col ul a:hover { color: #e11d48; }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: #e11d48; width: 18px; font-size: 13px; margin-right: 8px; }
.c-footer__bottom { border-top: 1px solid #1e293b; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #475569; }
.c-footer__legal { display: flex; gap: 20px; }
.c-footer__legal a { color: #64748b; text-decoration: none; font-size: 13px; }
.c-footer__legal a:hover { color: #94a3b8; }
@media (max-width: 768px) {
  .c-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .c-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   Cookie Banner (from cookie-banner.css)
   ============================================================ */
.c-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 720px;
  margin-left: auto;
  z-index: 1080;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 20px 50px rgba(15,23,42,0.18);
  border-radius: 12px;
  padding: 14px 18px;
}

.c-cookie[hidden] { display: none !important; }

.c-cookie__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.c-cookie__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #374151;
}
.c-cookie__text a { color: #e11d48; }

.c-cookie__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

@media (max-width: 576px) {
  .c-cookie { inset: auto 8px 8px 8px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   Blog Grid (from blog-grid.css — A-cards variant)
   ============================================================ */
.c-blog-grid { padding: 80px 0; background: #ffffff; }
.c-blog-grid .c-section-header { margin-bottom: 40px; }
.c-blog-grid .c-section-title { color: #0f172a; }

.c-blog-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-blog-grid__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.c-blog-grid__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

.c-blog-grid__thumb { width: 100%; height: 200px; object-fit: cover; display: block; }

.c-blog-grid__body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.c-blog-grid__date { font-size: 12px; color: #94a3b8; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

.c-blog-grid__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.4;
}
.c-blog-grid__title a { color: inherit; text-decoration: none; }
.c-blog-grid__title a:hover { color: #e11d48; }

.c-blog-grid__excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .c-blog-grid__list { grid-template-columns: 1fr; }
}

/* ============================================================
   Product page specifics
   ============================================================ */
.c-product-detail { padding: 64px 0; background: #ffffff; }
.c-product-detail .container { max-width: 900px; }
.c-product-detail__section { margin-bottom: 56px; }
.c-product-detail__section:last-child { margin-bottom: 0; }
.c-product-detail__heading {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.c-product-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c-product-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}
.c-product-detail__list li i {
  color: #e11d48;
  margin-top: 3px;
  min-width: 16px;
  font-size: 13px;
}

/* ============================================================
   404 page
   ============================================================ */
.c-404 {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: #f8fafc;
}
.c-404__inner { max-width: 560px; }
.c-404__code {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 96px;
  font-weight: 900;
  color: #e11d48;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.15;
}
.c-404__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}
.c-404__desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ==== BLOG ARTICLE READING WIDTH (MANDATORY) ==== */
.c-article,
.c-article__container,
.c-post__body,
.c-post,
.c-blog-post,
.blog-article,
.blog-article-body,
.blog-article-content,
.blog-post,
.blog-post-body,
.article-body,
.article-content,
.post-content,
.post-body,
.container-narrow,
.reading-column {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Article body images: never exceed reading column */
.c-article img,
.c-article__container img,
.c-post__body img,
.blog-article-body img,
.blog-post img,
.article-body img,
.article-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 24px auto 32px;
}

/* Heading rhythm in article body */
.c-article h2,
.c-post__body h2,
.blog-article-body h2,
.blog-post h2,
.article-body h2,
.post-content h2 { margin-top: 48px; margin-bottom: 20px; }

.c-article h3,
.c-post__body h3,
.blog-article-body h3,
.blog-post h3,
.article-body h3,
.post-content h3 { margin-top: 36px; margin-bottom: 16px; }

/* ============================================================
   Blog Article Page (A-standard)
   ============================================================ */
.c-post-hero {
  background: #0f172a;
  padding: 100px 0 48px;
  color: #f1f5f9;
}
.c-post-hero__inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.c-post-hero__badge {
  display: inline-block;
  padding: 5px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #cbd5e1;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.c-post-hero__title {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.c-post-hero__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 0;
}
.c-post-hero__meta .sep { color: #475569; }

.c-post-cover {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.c-post-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  max-height: 420px;
  object-fit: cover;
}

.c-post { padding: 48px 0 64px; background: #ffffff; }
.c-post__body { font-size: 17px; line-height: 1.8; color: #334155; }
.c-post__body p { margin-bottom: 24px; }

/* Related articles */
.c-related { padding: 64px 0; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.c-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.c-related__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.c-related__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.c-related__card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
  max-height: none;
}
.c-related__body { padding: 14px 16px 18px; }
.c-related__body h3 { font-size: 14px; font-weight: 600; color: #0f172a; line-height: 1.45; margin: 0 0 6px; }
.c-related__body h3 a { color: inherit; text-decoration: none; }
.c-related__body h3 a:hover { color: #e11d48; }
.c-related__date { font-size: 12px; color: #94a3b8; }

/* Blog card category */
.c-blog-grid__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 6px;
}
.c-blog-grid__author { font-size: 12px; color: #94a3b8; margin-top: 12px; margin-top: auto; padding-top: 12px; }

/* Article prev/next nav */
.c-post-nav {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 32px 24px 0;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.c-post-nav a { font-size: 14px; font-weight: 600; color: #e11d48; text-decoration: none; }
.c-post-nav a:hover { opacity: 0.8; }

/* Blog img full width */
.blog-img-full { text-align: center; margin: 32px auto; max-width: 100%; }
.blog-img-full img { max-width: 100%; height: auto; border-radius: 12px; margin: 0; }

@media (max-width: 768px) {
  .c-post-hero__title { font-size: 26px; }
  .c-related__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Legal pages
   ============================================================ */
.c-legal { padding: 64px 0; background: #ffffff; }
.c-legal__body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-legal__body h2 {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 40px;
  margin-bottom: 16px;
}
.c-legal__body h3 {
  font-family: 'Sora', 'Satoshi', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 12px;
}
.c-legal__body p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 18px;
}
.c-legal__body ul {
  padding-left: 24px;
  margin-bottom: 18px;
}
.c-legal__body ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 8px;
}
.c-legal__body a { color: #e11d48; }
.c-legal__effective {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
}

/* ============================================================
   Utility
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
