/* ==========================================================================
   ნუმანე — სამედიცინო კურსების პლატფორმა
   Design System / Global Styles
   Palette: medical teal + health green  | Fonts: Figtree / Noto Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&family=Noto+Sans+Georgian:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand colors — derived from ნუმანე logo (navy steel + teal-green) */
  --color-primary: #1A5E7E;
  --color-primary-600: #144E6A;
  --color-primary-700: #0F3D53;
  --color-on-primary: #FFFFFF;
  --color-secondary: #2DB5A4;
  --color-accent: #1FA890;
  --color-accent-600: #16806E;
  --color-background: #F1FAF8;
  --color-surface: #FFFFFF;
  --color-foreground: #0E3340;
  --color-muted: #E7F3F1;
  --color-muted-fg: #587A7E;
  --color-border: #D2E8E5;
  --color-destructive: #DC2626;
  --color-warning: #D97706;
  --color-ring: #1A5E7E;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #15607F 0%, #1A7E84 55%, #1FA890 100%);
  --grad-accent: linear-gradient(135deg, #16806E 0%, #25B19F 100%);
  --grad-hero: linear-gradient(135deg, #0F3D53 0%, #1A5E7E 52%, #1C9384 100%);
  --grad-soft: linear-gradient(180deg, #F1FAF8 0%, #FFFFFF 100%);

  /* Typography */
  --font-sans: 'Figtree', 'Noto Sans Georgian', system-ui, sans-serif;
  --font-ka: 'Noto Sans Georgian', 'Figtree', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 46, 44, .06);
  --shadow-sm: 0 2px 10px rgba(15, 46, 44, .06);
  --shadow: 0 8px 24px rgba(15, 46, 44, .08);
  --shadow-lg: 0 18px 48px rgba(15, 46, 44, .12);
  --shadow-primary: 0 12px 30px rgba(26, 94, 126, .30);
  --shadow-accent: 0 12px 30px rgba(31, 168, 144, .28);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .15s;
  --t: .25s;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ka);
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

img { max-width: 100%; display: block; }
/* <picture> from <x-img> must not affect layout — let the inner <img> sit in the parent box.
   Also hide <source>: with display:contents the picture box dissolves and its children leak
   into the parent grid/flex, where a stray <source> would otherwise become an extra item. */
picture { display: contents; }
picture > source { display: none; }
/* Default size for inline icon SVGs — prevents unsized icons from blowing up.
   Any explicit `.class svg { width:.. }` rule below overrides this (defined later).
   `:not([width])` keeps attribute-sized SVGs (e.g. logo, certificate mark) intact. */
svg:not([width]) { width: 1.1em; height: 1.1em; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-ka); font-weight: 700; line-height: 1.2; color: var(--color-foreground); }

:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; border-radius: 6px; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 14px 24px; border-radius: var(--radius-full);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  white-space: nowrap; min-height: 48px;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { box-shadow: 0 16px 38px rgba(26,94,126,.38); transform: translateY(-2px); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-accent:hover { box-shadow: 0 16px 38px rgba(31,168,144,.36); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--color-primary-700); border: 1.5px solid var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); background: var(--color-muted); }
.btn-ghost { background: transparent; color: var(--color-primary-700); }
.btn-ghost:hover { background: var(--color-muted); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .9rem; }
.btn-lg { padding: 17px 32px; min-height: 56px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== Tags / Pills ===== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 600;
  background: var(--color-muted); color: var(--color-primary-700);
}
.pill-accent { background: #DCFCE7; color: var(--color-accent-600); }
.pill-free { background: #DCFCE7; color: var(--color-accent-600); }
.pill-paid { background: #E0F2FE; color: var(--color-primary-700); }
.pill-fmt { background: rgba(255,255,255,.95); box-shadow: var(--shadow-xs); }
.fmt-video { color: #0E7490; }
.fmt-online { color: var(--color-primary-700); }
.fmt-physical { color: #B45309; }
.pill-live { background: #FEE2E2; color: #B91C1C; }
.pill-live::before { content:""; width:7px; height:7px; border-radius:50%; background:#DC2626; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: .16em; font-size: 1rem; font-weight: 800;
  color: var(--color-primary-700);
  background: #E0F2FE; padding: 9px 20px; border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content:""; width: 22px; height: 3px; background: var(--color-primary); border-radius: 2px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.topbar { background: var(--color-primary-700); color: #cdeef3; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #eafaff; display:inline-flex; align-items:center; gap:6px; }
.topbar a:hover { color:#fff; }
.topbar svg { width:15px; height:15px; flex-shrink:0; }
.topbar-left span { display:inline-flex; align-items:center; gap:7px; }
.topbar-left svg { width:16px; height:16px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-social { display:flex; gap:12px; }
.topbar-social svg { width:15px; height:15px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; display: block; }
@media (max-width: 600px){ .brand-logo { height: 40px; } }
.brand-mark {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 50px; height: 50px; }
.brand-text strong { display: block; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; color: var(--color-muted-fg); letter-spacing: .04em; }
/* ლოგოს ფერები სათაურში — ნუმანე (ნავი), საექთნო ასოციაცია (ფირუზისფერი) */
.site-header .brand-text strong { color: var(--color-primary); }
.site-header .brand-text span { color: var(--color-accent); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  display: block; padding: 10px 13px; border-radius: var(--radius-full);
  font-weight: 500; font-size: .95rem; color: var(--color-foreground);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-menu { flex-wrap: nowrap; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: var(--color-muted); color: var(--color-primary-700); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  display: grid; place-items: center; color: var(--color-foreground);
  transition: background var(--t-fast); position: relative;
}
.icon-btn:hover { background: var(--color-muted); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--color-accent); color: #fff; border-radius: 999px;
  font-size: .68rem; font-weight: 700; display: grid; place-items: center;
}
.burger { display: none; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(15,46,44,.55);
  backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity var(--t);
  padding-top: 12vh;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  max-width: 640px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-lg); transform: translateY(-14px); transition: transform var(--t);
}
.search-overlay.open .search-box { transform: none; }
.search-field { display:flex; align-items:center; gap:12px; padding: 8px 14px; }
.search-field svg { width:24px; height:24px; color: var(--color-muted-fg); }
.search-field input { flex:1; border:none; outline:none; font-size:1.15rem; padding:8px 0; }
.search-results { margin-top: 8px; max-height: 50vh; overflow:auto; }
.search-result { display:flex; gap:12px; padding:12px 14px; border-radius: var(--radius); transition: background var(--t-fast); }
.search-result:hover { background: var(--color-muted); }
.search-result img { width:54px; height:54px; border-radius:10px; object-fit:cover; }
.search-hint { padding: 10px 14px; color: var(--color-muted-fg); font-size:.9rem; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset:0; background: rgba(15,46,44,.5); z-index:150; opacity:0; visibility:hidden; transition: opacity var(--t); }
.drawer-backdrop.open { opacity:1; visibility:visible; }
.drawer {
  position: fixed; top:0; right:-100%; width: min(86vw, 340px); height:100%; background:#fff; z-index:160;
  transition: right var(--t) var(--ease); padding: 20px; overflow-y:auto; box-shadow: var(--shadow-lg);
}
.drawer.open { right: 0; }
.drawer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.drawer-menu li a { display:block; padding: 14px 12px; border-radius: var(--radius); font-weight:500; border-bottom:1px solid var(--color-border); }
.drawer-menu li a:hover { background: var(--color-muted); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left:0; text-align:left; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--color-muted-fg); font-size: 1.08rem; margin-top: 14px; }

.page-hero {
  background: var(--grad-hero); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
/* numane background photo as a faint texture under the teal gradient (keeps white text readable) */
.page-hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background: url(../img/numane-bg-2.jpg) center/cover no-repeat;
  opacity:.14; mix-blend-mode: luminosity;
}
.page-hero::after {
  content:""; position:absolute; right:-120px; top:-120px; width:380px; height:380px;
  background: radial-gradient(circle, rgba(34,211,238,.4), transparent 70%); border-radius:50%;
}
.page-hero .container { position: relative; z-index:1; }
.page-hero h1 { color:#fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight:800; letter-spacing:-.02em; }
.page-hero p { color:#d6f3f7; font-size:1.12rem; margin-top:14px; max-width:620px; }
/* ნაგულისხმევი — ღია (თეთრ) ფონზე იკითხება */
.breadcrumb { display:flex; gap:8px; align-items:center; font-size:.88rem; color:var(--color-muted-fg); margin-bottom:18px; }
.breadcrumb a { color:var(--color-primary); }
.breadcrumb a:hover { color:var(--color-primary-700); text-decoration:underline; }
.breadcrumb span { opacity:.5; }
/* page-hero-ის მუქ ფონზე — ღია ფერები */
.page-hero .breadcrumb { color:#bfe9ef; }
.page-hero .breadcrumb a { color:#bfe9ef; }
.page-hero .breadcrumb a:hover { color:#fff; }

/* ===== Cards (generic) ===== */
.card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  overflow: hidden;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Course / Training card ===== */
.course-card { display: flex; flex-direction: column; }
.course-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course-media img { width:100%; height:100%; object-fit: cover; transition: transform .5s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.06); }
.course-badges { position:absolute; top:12px; left:12px; display:flex; gap:6px; }
.course-fav { position:absolute; top:12px; right:12px; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; color:var(--color-muted-fg); transition: color var(--t-fast), transform var(--t-fast); }
.course-fav:hover { color: var(--color-destructive); transform: scale(1.08); }
.course-fav.active { color: var(--color-destructive); }
.course-fav svg { width:20px; height:20px; }
.course-body { padding: 20px; display:flex; flex-direction:column; flex:1; gap:12px; }
.course-cat { font-size:.78rem; font-weight:700; color: var(--color-primary); text-transform: uppercase; letter-spacing:.06em; }
.course-title { font-size: 1.12rem; font-weight: 700; line-height:1.35; }
.course-title a:hover { color: var(--color-primary); }
.course-meta { display:flex; flex-wrap:wrap; gap:14px; font-size:.85rem; color: var(--color-muted-fg); margin-top:auto; }
.course-meta span { display:inline-flex; align-items:center; gap:5px; }
.course-meta svg { width:15px; height:15px; }
.course-sched { display:inline-flex; align-items:center; gap:6px; font-size:.83rem; font-weight:600; color:var(--color-primary-700); background:var(--color-muted); padding:5px 11px; border-radius:var(--radius-full); width:fit-content; white-space:nowrap; max-width:100%; }
.course-sched svg { flex-shrink:0; }
.course-sched svg { width:15px; height:15px; color:var(--color-primary); }
.course-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:14px; border-top:1px solid var(--color-border); }
.price { display:flex; align-items:baseline; gap:8px; }
.price-now { font-size:1.3rem; font-weight:800; color: var(--color-foreground); }
.price-old { font-size:.95rem; color: var(--color-muted-fg); text-decoration: line-through; }
.price-free { font-size:1.2rem; font-weight:800; color: var(--color-accent-600); }
.rating { display:inline-flex; align-items:center; gap:4px; font-weight:600; font-size:.88rem; }
.rating svg { width:16px; height:16px; color:#F59E0B; }

/* ===== Trainer card ===== */
.trainer-card { display:block; text-align:center; padding: 26px 20px; color: inherit; }
.trainer-photo { width: 124px; height:124px; border-radius:50%; object-fit:cover; margin:0 auto 16px; border:4px solid #fff; box-shadow: var(--shadow); }
.trainer-name { font-size:1.15rem; font-weight:700; }
.trainer-role { color: var(--color-primary); font-weight:600; font-size:.9rem; margin-top:4px; }
.trainer-bio { color: var(--color-muted-fg); font-size:.9rem; margin-top:10px; }
.trainer-social { display:flex; justify-content:center; gap:8px; margin-top:16px; }
.trainer-social a { width:38px;height:38px;border-radius:50%;background:var(--color-muted);display:grid;place-items:center;color:var(--color-primary-700);transition:background var(--t-fast),color var(--t-fast); }
.trainer-social a:hover { background:var(--color-primary); color:#fff; }
.trainer-social svg { width:17px;height:17px; }
/* nm-icon wraps its svg in a span; flex collapses the span's line-height strut
   so the glyph actually centers inside the circular grid anchor */
.trainer-social .icon, .footer-social .icon, .topbar-social .icon { display:flex; }

/* ===== Stats ===== */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.stat { text-align:center; }
.stat-num { font-size: clamp(2rem,4vw,2.8rem); font-weight:800; color: var(--color-primary); letter-spacing:-.02em; }
.stat-label { color: var(--color-muted-fg); font-weight:500; margin-top:4px; }

/* ===== Feature / value cards ===== */
.feature { padding: 28px; }
.feature-ico { width:58px; height:58px; border-radius:16px; background: var(--color-muted); color: var(--color-primary); display:grid; place-items:center; margin-bottom:18px; }
.feature-ico svg { width:28px; height:28px; }
.feature h3 { font-size:1.15rem; margin-bottom:8px; }
.feature p { color: var(--color-muted-fg); font-size:.95rem; }

/* ===== Forms ===== */
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:7px; }
.field .req { color: var(--color-destructive); }
.input, .select, .textarea {
  width:100%; padding: 13px 15px; border:1.5px solid var(--color-border); border-radius: var(--radius);
  background:#fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); color: var(--color-foreground);
}
.input:focus, .select:focus, .textarea:focus { outline:none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(26,94,126,.14); }
.textarea { min-height: 130px; resize: vertical; }
.input-icon { position: relative; }
.input-icon svg { position:absolute; left:14px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--color-muted-fg); }
.input-icon .input { padding-left: 44px; }
.helper { font-size:.82rem; color: var(--color-muted-fg); margin-top:6px; }
.field-error { font-size:.82rem; color: var(--color-destructive); margin-top:6px; display:none; }
.field.invalid .input, .field.invalid .select { border-color: var(--color-destructive); }
.field.invalid .field-error { display:block; }
.checkbox { display:flex; gap:10px; align-items:flex-start; font-size:.92rem; cursor:pointer; }
.checkbox input { width:20px; height:20px; margin-top:1px; accent-color: var(--color-primary); flex-shrink:0; }
.form-card { background:#fff; border-radius: var(--radius-lg); border:1px solid var(--color-border); box-shadow: var(--shadow); padding: 32px; }

/* Tabs */
.tabs { display:flex; gap:6px; background: var(--color-muted); padding:6px; border-radius: var(--radius-full); }
.tab { flex:1; padding: 12px; border-radius: var(--radius-full); font-weight:600; color: var(--color-muted-fg); transition: all var(--t-fast); text-align:center; }
.tab.active { background:#fff; color: var(--color-primary-700); box-shadow: var(--shadow-xs); }

/* Segmented radio cards (banks / installment) */
.option-grid { display:grid; gap:12px; }
.option {
  display:flex; align-items:center; gap:14px; padding:16px; border:1.5px solid var(--color-border);
  border-radius: var(--radius); cursor:pointer; transition: border-color var(--t-fast), background var(--t-fast);
  background:#fff;
}
.option:hover { border-color: var(--color-secondary); }
.option.selected { border-color: var(--color-primary); background: var(--color-muted); box-shadow: 0 0 0 3px rgba(26,94,126,.12); }
.option input { accent-color: var(--color-primary); width:20px; height:20px; }
.option-logo { width:46px; height:46px; border-radius:11px; object-fit:contain; background:#fff; border:1px solid var(--color-border); padding:5px; }
.option-info { flex:1; }
.option-info strong { display:block; font-size:.98rem; }
.option-info small { color: var(--color-muted-fg); }

/* ===== Cart ===== */
.cart-item { display:grid; grid-template-columns: 96px 1fr auto; gap:16px; padding:18px 0; border-bottom:1px solid var(--color-border); align-items:center; }
.cart-item img { width:96px; height:72px; border-radius: var(--radius); object-fit:cover; }
.cart-item-title { font-weight:700; }
.cart-item-meta { font-size:.85rem; color:var(--color-muted-fg); }
.cart-remove { color: var(--color-muted-fg); display:inline-flex; align-items:center; gap:4px; font-size:.85rem; margin-top:6px; }
.cart-remove:hover { color: var(--color-destructive); }
.summary { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); padding:26px; box-shadow: var(--shadow-sm); position:sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display:flex; justify-content:space-between; padding:10px 0; color: var(--color-muted-fg); }
.summary-row.total { border-top:1px solid var(--color-border); margin-top:8px; padding-top:16px; font-size:1.25rem; font-weight:800; color: var(--color-foreground); }
.empty-state { text-align:center; padding: 60px 20px; }
.empty-state svg { width:72px; height:72px; color: var(--color-border); margin:0 auto 18px; }
.empty-state h3 { font-size:1.3rem; margin-bottom:8px; }
.empty-state p { color: var(--color-muted-fg); margin-bottom:20px; }

/* ===== Certificate ===== */
.certificate {
  position: relative; aspect-ratio: 1.414/1; background:#fff; border-radius: var(--radius);
  border: 10px solid var(--color-primary); box-shadow: var(--shadow-lg); padding: 6%; overflow:hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(26,94,126,.07) 1px, transparent 0); background-size: 22px 22px;
}
.certificate::before { content:""; position:absolute; inset:12px; border:2px solid var(--color-secondary); border-radius:8px; pointer-events:none; }
.cert-inner { position:relative; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:2%; }
.cert-seal { position:absolute; bottom:4%; right:6%; width:84px; height:84px; border-radius:50%; background: var(--grad-primary); color:#fff; display:grid; place-items:center; box-shadow: var(--shadow); font-weight:800; font-size:.7rem; text-align:center; line-height:1.2; }
.cert-name { font-size: clamp(1.4rem,3vw,2.2rem); font-weight:800; color: var(--color-primary-700); border-bottom:2px solid var(--color-border); padding-bottom:8px; }

/* ===== Blog / News ===== */
.post-card { display:flex; flex-direction:column; }
.post-media { display:block; aspect-ratio:16/10; overflow:hidden; position:relative; cursor:pointer; }
.post-media img { width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-play { position:absolute; inset:0; display:grid; place-items:center; }
.post-play span { width:62px; height:62px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; color:var(--color-primary); box-shadow:var(--shadow); transition: transform var(--t-fast); }
.post-card:hover .post-play span { transform: scale(1.1); }
.post-play svg { width:26px; height:26px; margin-left:3px; }
.post-body { padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-date { font-size:.82rem; color: var(--color-muted-fg); display:flex; align-items:center; gap:6px; }
.post-title { font-size:1.15rem; font-weight:700; line-height:1.35; }
.post-title a:hover { color: var(--color-primary); }
.post-excerpt { color: var(--color-muted-fg); font-size:.92rem; }
.post-more { color: var(--color-primary); font-weight:600; font-size:.9rem; margin-top:auto; display:inline-flex; align-items:center; gap:6px; }

/* ===== Partners ===== */
.partner-grid { display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
.partner-logo {
  aspect-ratio: 3/2; background:#fff; border:1px solid var(--color-border); border-radius: var(--radius);
  display:grid; place-items:center; padding:22px; transition: transform var(--t), box-shadow var(--t);
}
.partner-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-logo img { max-height:60px; width:auto; filter: grayscale(1); opacity:.7; transition: filter var(--t), opacity var(--t); }
.partner-logo:hover img { filter:none; opacity:1; }
.partner-logo__text { font-weight:600; color: var(--color-muted, #64748b); text-align:center; font-size:1rem; }
a.partner-logo { text-decoration:none; }

/* ===== Filters ===== */
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:32px; }
.chip { padding:9px 18px; border-radius: var(--radius-full); background:#fff; border:1.5px solid var(--color-border); font-weight:600; font-size:.9rem; transition: all var(--t-fast); color: var(--color-muted-fg); }
.chip:hover { border-color: var(--color-primary); color: var(--color-primary-700); }
.chip.active { background: var(--grad-primary); color:#fff; border-color: transparent; }

/* ===== Accordion (FAQ / membership info) ===== */
.accordion-item { border:1px solid var(--color-border); border-radius: var(--radius); background:#fff; margin-bottom:12px; overflow:hidden; }
.accordion-head { width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 22px; font-weight:600; text-align:left; }
.accordion-head svg { width:22px; height:22px; flex-shrink:0; transition: transform var(--t); color: var(--color-primary); }
.accordion-item.open .accordion-head svg { transform: rotate(45deg); }
.accordion-body { max-height:0; overflow:hidden; transition: max-height var(--t) var(--ease); }
.accordion-item.open .accordion-body { max-height: 420px; }
.accordion-body-inner { padding: 0 22px 20px; color: var(--color-muted-fg); }

/* ===== Steps / process ===== */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset: step; }
.step { text-align:center; position:relative; }
.step-num { width:60px; height:60px; border-radius:50%; background:var(--grad-primary); color:#fff; font-size:1.4rem; font-weight:800; display:grid; place-items:center; margin:0 auto 16px; box-shadow: var(--shadow-primary); }
.step h3 { font-size:1.08rem; margin-bottom:6px; }
.step p { color: var(--color-muted-fg); font-size:.9rem; }

/* ===== Toast ===== */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 300; display:flex; flex-direction:column; gap:10px; }
.toast {
  background:#fff; border:1px solid var(--color-border); border-left:4px solid var(--color-accent);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding:14px 18px; min-width:280px;
  display:flex; gap:12px; align-items:center; animation: toastIn .3s var(--ease);
}
.toast.error { border-left-color: var(--color-destructive); }
.toast svg { width:22px; height:22px; color: var(--color-accent); flex-shrink:0; }
.toast.error svg { color: var(--color-destructive); }
@keyframes toastIn { from { opacity:0; transform: translateX(40px); } to { opacity:1; transform:none; } }

/* ===== Cookie banner ===== */
.cookie {
  position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 560px; margin:0 auto; z-index:250;
  background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; display: none;
}
.cookie.show { display:block; animation: toastIn .35s var(--ease); }
.cookie h4 { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.cookie h4 svg { width:24px; height:24px; color: var(--color-primary); }
.cookie p { color: var(--color-muted-fg); font-size:.9rem; margin-bottom:16px; }
.cookie-actions { display:flex; gap:10px; flex-wrap:wrap; }

/* ===== Footer ===== */
.site-footer { background: #0B2B2A; color: #b9d4d3; padding-top: 64px; margin-top: 40px; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:40px; padding-bottom:46px; border-bottom:1px solid rgba(255,255,255,.1); }
.site-footer .brand-text strong { color:#fff; }
.site-footer .brand-text span { color:#8fb3b2; }
.footer-logo { height:64px; width:auto; max-width:100%; display:block; }
@media (max-width: 600px){ .footer-logo { height:52px; } }
.footer-about { font-size:.92rem; line-height:1.7; margin-top:16px; color:#9fc0bf; max-width:320px; }
.footer-col h4 { color:#fff; font-size:1rem; margin-bottom:16px; }
.footer-col li { margin-bottom:10px; }
.footer-col a { font-size:.92rem; color:#a8c8c7; transition: color var(--t-fast); }
.footer-col a:hover { color:#fff; }
.footer-contact li { display:flex; gap:10px; align-items:flex-start; font-size:.92rem; margin-bottom:14px; color:#a8c8c7; min-width:0; }
.footer-contact li span, .footer-contact li a { min-width:0; overflow-wrap:anywhere; }
.footer-contact a[href^="mailto:"] { font-size:.86rem; letter-spacing:-.1px; }
.footer-contact svg { width:18px; height:18px; color: var(--color-secondary); flex-shrink:0; margin-top:2px; }
.footer-social { display:flex; gap:10px; margin-top:18px; }
.footer-social a { width:40px; height:40px; border-radius:11px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; transition: background var(--t-fast); }
.footer-social a:hover { background: var(--color-primary); }
.footer-social svg { width:19px; height:19px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:22px 0; font-size:.85rem; color:#8fb3b2; }
.footer-bottom a:hover { color:#fff; }

/* Newsletter mini */
.news-mini { display:flex; gap:8px; margin-top:14px; }
.news-mini input { flex:1; min-width:0; padding:12px 14px; border-radius: var(--radius-full); border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.06); color:#fff; }
.news-mini .btn { flex-shrink:0; }
.news-mini input::placeholder { color:#7fa3a2; }

/* ===== Misc utilities ===== */
.text-muted { color: var(--color-muted-fg); }
.text-center { text-align:center; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.flex{display:flex}.between{justify-content:space-between}.items-center{align-items:center}.gap-2{gap:16px}.wrap{flex-wrap:wrap}
.hide { display:none !important; }
@media (max-width: 680px){ .hide-sm { display:none !important; } }
.reveal { opacity:0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform:none; }

.split { display:grid; grid-template-columns: 1fr 1fr; gap:54px; align-items:center; }
.media-frame { border-radius: var(--radius-xl); overflow:hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width:100%; height:100%; object-fit:cover; }
.prose p { margin-bottom: 16px; color:#33514f; }
.prose h2 { margin: 28px 0 14px; font-size:1.5rem; }
.prose h3 { margin: 22px 0 10px; font-size:1.2rem; }
.prose ul { margin: 0 0 16px; padding-left: 4px; }
.prose ul li { position:relative; padding-left: 28px; margin-bottom:10px; color:#33514f; }
.prose ul li::before { content:""; position:absolute; left:0; top:8px; width:18px; height:18px; background: var(--color-accent); border-radius:50%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* icon-in-box polish (boxes that hold a raw icon) */
.hero-float .ico svg { width: 22px; height: 22px; }
.contact-card .ic svg { width: 22px; height: 22px; }
.share-btn svg { width: 20px; height: 20px; }
.cab-thumb svg { width: 36px; height: 36px; }

/* image fallback */
img.broken { background: var(--grad-primary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3,1fr); }
  .partner-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; }
}
@media (max-width: 860px) {
  .nav-menu { display:none; }
  .burger { display:grid; }
  .split { grid-template-columns: 1fr; gap:32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap:28px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .section { padding: 60px 0; }
  .cart-with-summary { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2,1fr); }
  .container { padding: 0 18px; }
  .topbar-left span { display:none; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .cart-item-price { grid-column: 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }

  /* Footer */
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap:34px; padding-bottom:36px; }
  .footer-about { max-width:none; }
  .footer-bottom { flex-direction:column; align-items:flex-start; gap:8px; text-align:left; }
}
