/* ===== Global ===== */
:root {
  --c-primary: #880E4F;
  --c-secondary: #C2185B;
  --c-accent: #F06292;
  --c-tint: #F8BBD0;
  --c-light: #FCE4EC;
  --c-ink: #1d1320;
  --c-text: #3a2a36;
  --c-muted: #6b5a66;
  --c-bg: #ffffff;
  --c-soft: #fbf3f6;
  --c-border: #ead2dc;
  --r-card: 12px;
  --r-btn: 8px;
  --shadow-card: 0 8px 24px rgba(136, 14, 79, 0.10);
  --shadow-deep: 0 18px 40px rgba(136, 14, 79, 0.18);
  --container: 1200px;
  --gap: 24px;
  --header-h: 76px;
  --f-head: 'Outfit', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
a { color: var(--c-secondary); text-decoration: none; }
a:hover { color: var(--c-primary); }
img { max-width: 100%; display: block; height: auto; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 12px;
}
.section-title { max-width: 720px; margin-bottom: 16px; }
.section-lead { max-width: 720px; color: var(--c-muted); font-size: 1.05rem; margin-bottom: 48px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--r-btn);
  background: var(--c-primary);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid var(--c-primary);
  cursor: pointer;
  transition: all 0.22s ease;
}
.btn:hover { background: #5a0935; border-color: #5a0935; color: #fff; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 1.05rem;
  color: var(--c-ink); letter-spacing: 0.01em;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.primary-nav { display: flex; gap: 6px; align-items: center; }
.primary-nav .nav-item { position: relative; }
.primary-nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--c-ink); font-family: var(--f-head); font-weight: 600; font-size: 0.95rem;
}
.primary-nav a:hover { background: var(--c-light); color: var(--c-primary); }
.dropdown > .dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 12px; padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.18s ease;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 8px 12px; }
.nav-cta { display: inline-flex; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--c-ink); margin: 5px 0; transition: 0.2s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 86vh;
  display: grid; align-items: center;
  color: #fff; overflow: hidden;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(136,14,79,0.55));
}
.hero-compact { min-height: 52vh; }
.hero-inner { position: relative; padding: 120px 0 100px; max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 660px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* Minimalist hero (index) */
.hero-minimal {
  min-height: 92vh; color: var(--c-ink);
  background: var(--c-soft);
  position: relative; overflow: hidden;
}
.hero-minimal::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%23F06292' stroke-width='0.6' opacity='0.35'><circle cx='300' cy='300' r='80'/><circle cx='300' cy='300' r='160'/><circle cx='300' cy='300' r='240'/><circle cx='300' cy='300' r='320'/><path d='M0 300 H600 M300 0 V600'/></g></svg>");
  background-position: right center; background-repeat: no-repeat; background-size: contain;
  opacity: 0.55;
}
.hero-minimal::after { display: none; }
.hero-minimal .hero-inner { padding: 140px 0 110px; max-width: 760px; }
.hero-minimal h1 { color: var(--c-ink); font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.02em; }
.hero-minimal p { color: var(--c-text); }
.hero-minimal::before { z-index: 1; }
.hero-minimal .hero-inner { z-index: 2; }
.hero-minimal { display: grid; }

/* ===== Layout helpers ===== */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===== Cards ===== */
.card {
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35));
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-secondary);
  font-family: var(--f-head); font-weight: 600; margin-bottom: 8px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--c-muted); font-size: 0.95rem; }
.card a.card-link { margin-top: auto; padding-top: 12px; font-family: var(--f-head); font-weight: 600; color: var(--c-primary); }
.card a.card-link::after { content: " →"; }

/* ===== Magazine layout ===== */
.magazine {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.magazine-main .feature-img {
  border-radius: var(--r-card);
  aspect-ratio: 16/10; object-fit: cover; width: 100%;
  box-shadow: var(--shadow-card);
}
.magazine-main h2 { margin-top: 24px; }
.magazine-aside .side-card {
  background: var(--c-soft);
  border-radius: var(--r-card);
  padding: 22px;
  margin-bottom: 16px;
  border-left: 4px solid var(--c-accent);
}
.magazine-aside h4 {
  font-family: var(--f-head); font-weight: 600;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c-secondary); margin-bottom: 8px;
}
blockquote.pullquote {
  font-family: var(--f-head); font-weight: 600;
  font-size: 1.5rem; line-height: 1.35;
  color: var(--c-primary);
  border-left: 4px solid var(--c-accent);
  padding: 18px 22px;
  margin: 32px 0;
  background: var(--c-light);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}

/* ===== Article body ===== */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: var(--c-text); }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.25em; }
.article-body li { margin-bottom: 6px; }

/* ===== Process / Timeline ===== */
.timeline { display: grid; gap: 18px; counter-reset: step; }
.timeline-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  background: #fff; padding: 22px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.timeline-step .step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700; font-size: 1.3rem;
}

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat {
  background: #fff; padding: 28px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); text-align: center;
  border-top: 4px solid var(--c-accent);
}
.stat .num {
  font-family: var(--f-head); font-weight: 700;
  font-size: 2.8rem; color: var(--c-primary); display: block;
}
.stat .lbl { color: var(--c-muted); font-size: 0.95rem; margin-top: 6px; display: block; }

/* ===== Team grid ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.team-card {
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); overflow: hidden; text-align: center;
}
.team-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.team-card .name { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; margin: 16px 0 4px; color: var(--c-ink); }
.team-card .role { color: var(--c-secondary); font-size: 0.9rem; padding-bottom: 18px; }

/* ===== Forms ===== */
.form-wrap {
  background: #fff; padding: 32px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); max-width: 640px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-family: var(--f-head); font-weight: 600;
  font-size: 0.9rem; margin-bottom: 6px; color: var(--c-ink);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-btn);
  font-family: inherit; font-size: 1rem;
  background: #fff; color: var(--c-text);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--c-primary);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-error { color: #b3122f; font-size: 0.85rem; margin-top: 6px; min-height: 1em; }
.form-success {
  background: #e6f9ec; color: #1a6b3a;
  padding: 12px 16px; border-radius: 8px; margin-bottom: 18px;
  display: none;
}
.form-success.show { display: block; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; }
table.data-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.data-table th, .data-table td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.data-table th {
  background: var(--c-light); color: var(--c-primary);
  font-family: var(--f-head); font-weight: 700;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.data-table tr:last-child td { border-bottom: 0; }

/* ===== Tabs ===== */
.tabs { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.tab-buttons { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--c-border); }
.tab-btn {
  flex: 1; min-width: 140px;
  padding: 16px 18px; background: transparent;
  border: 0; cursor: pointer;
  font-family: var(--f-head); font-weight: 600; color: var(--c-muted);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.tab-btn.active { color: var(--c-primary); border-bottom-color: var(--c-primary); background: var(--c-light); }
.tab-content { padding: 28px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== FAQ accordion ===== */
.accordion-item {
  background: #fff; border-radius: var(--r-card);
  margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.accordion-q {
  width: 100%; padding: 18px 22px;
  background: transparent; border: 0; cursor: pointer;
  text-align: left; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; color: var(--c-ink);
}
.accordion-q::after { content: "+"; color: var(--c-primary); font-size: 1.4rem; transition: transform 0.2s; }
.accordion-item.open .accordion-q::after { transform: rotate(45deg); }
.accordion-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--c-muted); }
.accordion-item.open .accordion-a { padding: 0 22px 22px; max-height: 800px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff; padding: 64px; border-radius: var(--r-card);
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 620px; margin: 0 auto 28px; }

/* ===== Newsletter ===== */
.newsletter {
  background: var(--c-light);
  border-radius: var(--r-card);
  padding: 48px;
  text-align: center;
}
.newsletter form { max-width: 480px; margin: 24px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; padding: 12px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r-btn); }
.newsletter input:focus { outline: none; border-color: var(--c-primary); }

/* ===== Footer ===== */
.site-footer {
  background: #1d1320; color: #cabdc6;
  padding: 72px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 48px;
}
.site-footer h4 {
  color: #fff; font-family: var(--f-head); font-weight: 600;
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.site-footer a { color: #cabdc6; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--c-accent); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.9rem;
}

/* Mega footer */
.mega-footer {
  background: linear-gradient(135deg, #2a1622, #44243a);
  color: #f0dbe5;
  padding: 80px 0;
  border-radius: var(--r-card);
  margin-bottom: 60px;
}
.mega-footer .columns { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mega-footer h4 { color: #fff; }
.mega-footer a { color: #f0dbe5; display: block; padding: 4px 0; }
.mega-footer a:hover { color: var(--c-accent); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 540px; margin: 0 auto;
  background: #1d1320; color: #fff;
  padding: 22px 24px; border-radius: var(--r-card);
  box-shadow: var(--shadow-deep);
  z-index: 200;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { margin: 0 0 14px; font-size: 0.95rem; }
.cookie-banner a { color: var(--c-accent); }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ===== Floating action buttons ===== */
.fab-stack {
  position: fixed; right: 18px; bottom: 96px;
  display: flex; flex-direction: column; gap: 12px; z-index: 80;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-deep);
  font-size: 1.3rem;
  transition: transform 0.2s, background 0.2s;
}
.fab:hover { background: var(--c-secondary); transform: scale(1.08); color: #fff; }

/* ===== Chat widget mockup ===== */
.chat-widget {
  position: fixed; right: 18px; bottom: 18px;
  width: 320px; max-width: calc(100vw - 36px);
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-deep);
  overflow: hidden; z-index: 70;
  border: 1px solid var(--c-border);
}
.chat-head {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff; padding: 14px 18px;
  font-family: var(--f-head); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-body { padding: 16px 18px; max-height: 220px; overflow-y: auto; }
.chat-msg { margin-bottom: 10px; font-size: 0.92rem; }
.chat-msg.bot { color: var(--c-text); background: var(--c-light); padding: 8px 12px; border-radius: 12px 12px 12px 0; max-width: 86%; }
.chat-msg.user { background: var(--c-primary); color: #fff; padding: 8px 12px; border-radius: 12px 12px 0 12px; margin-left: auto; max-width: 86%; }
.chat-foot { padding: 12px; border-top: 1px solid var(--c-border); display: flex; gap: 6px; }
.chat-foot input { flex: 1; padding: 8px 10px; border: 1px solid var(--c-border); border-radius: 8px; }
.chat-foot button { padding: 8px 14px; background: var(--c-primary); color: #fff; border: 0; border-radius: 8px; cursor: pointer; }

/* ===== Logo strip ===== */
.logo-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 32px; align-items: center; padding: 24px 0;
}
.logo-strip svg { max-width: 140px; height: 48px; margin: 0 auto; opacity: 0.7; }
.logo-strip svg:hover { opacity: 1; }

/* ===== Achievements / badges ===== */
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.badge {
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 26px; text-align: center;
  border-bottom: 4px solid var(--c-accent);
}
.badge .icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  background: var(--c-light); border-radius: 50%;
  display: grid; place-items: center; color: var(--c-primary); font-size: 1.5rem;
}
.badge h3 { font-size: 1.05rem; margin-bottom: 6px; }
.badge p { color: var(--c-muted); font-size: 0.9rem; margin: 0; }

/* ===== Before/After ===== */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.beforeafter > div {
  background: #fff; padding: 28px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.beforeafter h3 {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.beforeafter .before h3 { background: var(--c-light); color: var(--c-muted); }
.beforeafter .after h3 { background: var(--c-primary); color: #fff; }

/* ===== Gallery masonry ===== */
.gallery {
  columns: 3 240px;
  column-gap: 16px;
}
.gallery img {
  width: 100%; margin-bottom: 16px;
  border-radius: var(--r-card);
  break-inside: avoid;
}

/* ===== Map ===== */
.map-wrap {
  border-radius: var(--r-card); overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 16/10;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== Hours ===== */
.hours-list { background: #fff; padding: 24px; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--c-border);
  list-style: none;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:first-child { font-family: var(--f-head); font-weight: 600; color: var(--c-ink); }
.hours-list ul { padding: 0; margin: 0; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Video / embed ===== */
.video-wrap {
  position: relative; aspect-ratio: 16/9;
  border-radius: var(--r-card); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== Tags / chips ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip {
  display: inline-block; padding: 6px 14px;
  background: var(--c-light); color: var(--c-primary);
  border-radius: 999px; font-size: 0.85rem;
  font-family: var(--f-head); font-weight: 600;
}

/* ===== Pricing-style plan cards ===== */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.plan {
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 32px; text-align: center;
  display: flex; flex-direction: column;
}
.plan.featured { background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); color: #fff; }
.plan.featured h3, .plan.featured p, .plan.featured li { color: #fff; }
.plan h3 { margin-bottom: 6px; }
.plan .tier { color: var(--c-secondary); font-family: var(--f-head); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.plan li { padding: 6px 0; padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.plan.featured li::before { color: var(--c-tint); }
.plan .btn { margin-top: auto; }

/* ===== Comparison split ===== */
.compare-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-split > div {
  background: #fff; padding: 28px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.compare-split h3 { color: var(--c-primary); }

/* ===== Author / Comments ===== */
.author-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--c-soft); padding: 22px; border-radius: var(--r-card);
  margin: 32px 0;
}
.author-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.comment {
  background: #fff; padding: 18px 22px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); margin-bottom: 14px;
}
.comment .meta { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 8px; }
.comment .meta strong { color: var(--c-ink); font-family: var(--f-head); }

/* ===== Event calendar ===== */
.events { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px;
  background: #fff; padding: 18px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.event .date {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff; border-radius: 10px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-head); padding: 12px 6px;
}
.event .date .day { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event .date .mon { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.event h3 { font-size: 1.1rem; margin-bottom: 6px; }
.event .when { font-size: 0.85rem; color: var(--c-muted); }

/* ===== Chart mockup ===== */
.chart-mock {
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 28px;
}
.chart-bars { display: flex; align-items: flex-end; gap: 14px; height: 220px; padding: 16px 0; border-bottom: 2px solid var(--c-border); }
.chart-bars .bar {
  flex: 1; background: linear-gradient(180deg, var(--c-accent), var(--c-primary));
  border-radius: 6px 6px 0 0;
  position: relative;
}
.chart-bars .bar::after {
  content: attr(data-label); position: absolute; bottom: -22px; left: 0; right: 0;
  text-align: center; font-size: 0.75rem; color: var(--c-muted);
}

/* ===== Portfolio ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.portfolio-item {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--r-card); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item .overlay {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.78));
}
.portfolio-item h3 { color: #fff; font-size: 1.1rem; margin: 0 0 4px; }
.portfolio-item p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }

/* ===== Customer journey ===== */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; counter-reset: jx; }
.journey-step {
  background: #fff; padding: 24px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  position: relative;
}
.journey-step::before {
  counter-increment: jx; content: counter(jx, decimal-leading-zero);
  font-family: var(--f-head); font-weight: 700;
  color: var(--c-accent); font-size: 1.4rem; display: block; margin-bottom: 10px;
}
.journey-step h3 { font-size: 1.05rem; }

/* ===== Page section background variants ===== */
.bg-soft { background: var(--c-soft); }
.bg-light { background: var(--c-light); }
.bg-dark { background: var(--c-ink); color: #f0dbe5; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.85); }

/* ===== Download list ===== */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.download-item {
  display: flex; gap: 14px; align-items: center;
  background: #fff; padding: 18px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.download-item .ico {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--c-light); color: var(--c-primary);
  display: grid; place-items: center; font-weight: 700;
  font-family: var(--f-head);
}
.download-item .info { flex: 1; }
.download-item .info strong { display: block; font-family: var(--f-head); color: var(--c-ink); }
.download-item .info span { color: var(--c-muted); font-size: 0.85rem; }

/* ===== Sidebar (article) ===== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 40px;
  align-items: start;
}
.article-sidebar .side-card {
  background: var(--c-soft); padding: 22px;
  border-radius: var(--r-card); margin-bottom: 18px;
  border-left: 4px solid var(--c-accent);
}
.article-sidebar h4 {
  font-family: var(--f-head); font-weight: 600;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c-secondary); margin-bottom: 12px;
}
.article-sidebar a { display: block; padding: 6px 0; font-family: var(--f-head); font-weight: 500; color: var(--c-ink); }
.article-sidebar a:hover { color: var(--c-primary); }

/* ===== Share buttons ===== */
.share-row { display: flex; gap: 10px; margin: 20px 0; }
.share-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-light); color: var(--c-primary);
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700;
}
.share-row a:hover { background: var(--c-primary); color: #fff; }

/* ===== Page header (compact) ===== */
.page-head {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  color: #fff; padding: 100px 0 80px; position: relative;
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.page-head h1 { color: #fff; }
.page-head p { color: rgba(255,255,255,0.92); max-width: 660px; }

/* ===== Legal page ===== */
.legal-body { max-width: 820px; }
.legal-body h2 {
  border-left: 4px solid var(--c-accent);
  padding-left: 14px; margin-top: 2em;
}
.legal-body h3 { margin-top: 1.4em; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .magazine { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .beforeafter { grid-template-columns: 1fr; }
  .compare-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px;
    transform: translateY(-200%); transition: transform 0.25s;
    box-shadow: var(--shadow-deep); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .dropdown > .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 16px; border: 0; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner { padding: 40px 24px; }
  .newsletter { padding: 32px 24px; }
  .hero-inner { padding: 80px 0 60px; }
}
@media (max-width: 480px) {
  .stat .num { font-size: 2.2rem; }
  .hero { min-height: 78vh; }
  .chat-widget { width: calc(100vw - 36px); }
}
