/* ================================================================
   CleverUp Centre — Main Stylesheet
   Brand colours: Teal #5BBAB5 · Gray #9DADB0 · Dark #1A2332
   ================================================================ */

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

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --teal:          #5BBAB5;
  --teal-dark:     #3A9590;
  --teal-light:    #D8F0EE;
  --teal-ultra:    #F2FBFA;
  --gray:          #9DADB0;
  --gray-light:    #E8ECEE;
  --gray-ultra:    #F5F7F8;
  --dark:          #1A2332;
  --dark-mid:      #2C3E50;
  --text:          #2D3B45;
  --text-muted:    #6B7C87;
  --white:         #FFFFFF;
  --bg-alt:        #F7FAFA;

  --font-head: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --r-sm:  8px;
  --r:     14px;
  --r-lg:  22px;
  --r-xl:  32px;

  --sh-sm: 0 2px 8px rgba(0,0,0,.06);
  --sh:    0 6px 28px rgba(0,0,0,.09);
  --sh-lg: 0 16px 56px rgba(0,0,0,.13);
  --sh-teal: 0 8px 32px rgba(91,186,181,.25);

  --tr: .25s cubic-bezier(.4,0,.2,1);
  --container: 1200px;
  --header-h: 72px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
p + p { margin-top: .75em; }

/* ── CONTAINER ───────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media(max-width:768px){ .container{ padding: 0 16px; } }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); letter-spacing: -.01em; }
h4 { font-size: 1.1rem; }
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-teal { color: var(--teal); }
strong { font-weight: 600; color: var(--dark-mid); }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
  transition: all var(--tr);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--sh-teal);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(91,186,181,.35); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--teal-ultra); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--r-lg); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── HEADER ───────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.site-header.scrolled {
  border-bottom-color: var(--gray-light);
  box-shadow: var(--sh-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}
/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 800;
  color: var(--dark);
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo span.accent { color: var(--teal); }

/* Nav */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500;
  color: var(--text-muted);
  transition: all var(--tr);
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); background: var(--gray-ultra); }
.nav-links a.active { color: var(--teal-dark); background: var(--teal-ultra); }

/* ── DROPDOWN NAV ─────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-drop-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500;
  color: var(--text-muted);
  background: none; border: none;
  font-family: inherit; cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}
.nav-drop-btn:hover { color: var(--dark); background: var(--gray-ultra); }
.nav-drop-btn.active { color: var(--teal-dark); background: var(--teal-ultra); }
.nav-drop-btn svg { transition: transform var(--tr); flex-shrink: 0; }
.nav-dropdown:hover .nav-drop-btn svg,
.nav-dropdown.open .nav-drop-btn svg { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 8px;
  min-width: 230px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr), transform var(--tr);
  z-index: 200;
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500;
  color: var(--text);
  transition: all var(--tr);
}
.nav-drop-menu a:hover { background: var(--teal-ultra); color: var(--teal-dark); }
.nav-drop-menu a.active { background: var(--teal-ultra); color: var(--teal-dark); font-weight: 600; }
.nav-drop-menu .drop-divider {
  height: 1px; background: var(--gray-light); margin: 6px 8px;
}

/* Mobile dropdown groups */
.mob-group { display: flex; flex-direction: column; }
.mob-group-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 1rem; font-weight: 500;
  color: var(--text);
  background: none; border: none;
  font-family: inherit; cursor: pointer;
  transition: all var(--tr);
}
.mob-group-btn:hover { background: var(--teal-ultra); color: var(--teal-dark); }
.mob-group-btn svg { transition: transform var(--tr); }
.mob-group.open .mob-group-btn { color: var(--teal-dark); background: var(--teal-ultra); }
.mob-group.open .mob-group-btn svg { transform: rotate(180deg); }
.mob-group-items {
  display: none; flex-direction: column;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--teal-light);
  margin: 0 4px 4px 16px;
}
.mob-group.open .mob-group-items { display: flex; }
.mob-group-items a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 400;
  color: var(--text-muted);
  transition: all var(--tr);
}
.mob-group-items a:hover,
.mob-group-items a.active { background: var(--teal-ultra); color: var(--teal-dark); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px;
  padding: 7px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--dark);
  border-radius: 2px; transition: all var(--tr);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column; gap: 4px;
  box-shadow: var(--sh);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 1rem; font-weight: 500;
  color: var(--text);
}
.mobile-nav a:hover { background: var(--teal-ultra); color: var(--teal-dark); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ── PAGE OFFSET ─────────────────────────────────────────────── */
.page-body { padding-top: var(--header-h); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, var(--teal-ultra) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 90% 80%, var(--teal-light) 0%, transparent 60%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-content { max-width: 580px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); border: 1px solid var(--teal);
  color: var(--teal-dark);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-bottom: 36px; font-size: 1.15rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-light);
}
.hero-stat .num {
  display: block;
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--dark); line-height: 1;
}
.hero-stat .label {
  display: block; font-size: .8rem; color: var(--text-muted); margin-top: 4px; max-width: 100px;
}

/* Brain visual */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brain-wrap {
  width: 380px; height: 380px;
  position: relative;
}
.brain-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  opacity: .3;
  animation: spin 18s linear infinite;
}
.brain-ring:nth-child(2) { inset: 20px; opacity: .2; animation-direction: reverse; animation-duration: 24s; }
.brain-ring:nth-child(3) { inset: 40px; opacity: .15; animation-duration: 30s; }
.brain-center {
  position: absolute; inset: 60px;
  background: var(--teal-ultra);
  border: 2px solid var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.brain-icon { width: 120px; height: 120px; }
.metric-pill {
  position: absolute;
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 99px; padding: 8px 16px;
  font-size: .82rem; font-weight: 600; color: var(--dark);
  white-space: nowrap; box-shadow: var(--sh-sm);
  display: flex; align-items: center; gap: 8px;
}
.metric-pill .pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.metric-pill-1 { top: 15%; right: -5%; }
.metric-pill-2 { bottom: 25%; right: -8%; }
.metric-pill-3 { bottom: 15%; left: -5%; }
.metric-pill-4 { top: 30%; left: -8%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.brain-wrap { animation: float 6s ease-in-out infinite; }

/* ── SECTION BASE ─────────────────────────────────────────────── */
section { padding: 88px 0; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin: 0 auto; }
.section-header h2 { margin-bottom: 14px; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all var(--tr);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--teal-light); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--teal-ultra);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: .92rem; line-height: 1.65; }

.cards-grid { display: grid; gap: 24px; }
.cards-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ── STATS ROW ───────────────────────────────────────────────── */
.stats-row {
  display: flex; flex-wrap: wrap; gap: 0;
  background: var(--dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-box {
  flex: 1; min-width: 160px;
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.stat-box:last-child { border-right: none; }
.stat-box .num {
  display: block; font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 800;
  color: var(--teal); line-height: 1; margin-bottom: 8px;
}
.stat-box .desc { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.4; }

/* ── PILLARS ─────────────────────────────────────────────────── */
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--gray-light); border-radius: var(--r-lg); overflow: hidden;
}
.pillar-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
@media(max-width:1100px) { .pillar-grid-4 { grid-template-columns: repeat(2, 1fr) !important; } }
@media(max-width:600px) { .pillar-grid-4 { grid-template-columns: 1fr !important; } }
.pillar {
  background: var(--white); padding: 48px 36px;
  transition: background var(--tr);
}
.pillar:hover { background: var(--teal-ultra); }
.pillar-num {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 800;
  color: var(--teal-light); line-height: 1; margin-bottom: 16px;
}
.pillar h3 { margin-bottom: 12px; font-size: 1.3rem; }
.pillar p { color: var(--text-muted); font-size: .92rem; }
.pillar .pillar-msg {
  margin-top: 20px; padding: 14px 16px;
  background: var(--teal-ultra); border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .85rem; font-style: italic; color: var(--teal-dark);
}

/* ── PROGRAM CARDS ───────────────────────────────────────────── */
.program-card {
  border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--gray-light);
  transition: all var(--tr);
  display: flex; flex-direction: column;
  background: var(--white);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--teal); }
.program-card-top {
  padding: 32px 28px 24px;
  position: relative;
}
.program-card-top.teal { background: var(--teal); }
.program-card-top.dark { background: var(--dark); }
.program-card-top.mid { background: var(--dark-mid); }
.program-card-top.gray { background: var(--gray-ultra); }
.program-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.2); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 99px;
}
.program-badge.highlight { background: var(--teal); color: var(--white); }
.program-name { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.program-name.dark-text { color: var(--dark); }
.program-tagline { font-size: .88rem; color: rgba(255,255,255,.75); }
.program-tagline.dark-text { color: var(--text-muted); }
.program-price {
  margin-top: 20px;
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 800;
  color: var(--white);
}
.program-price.dark-text { color: var(--dark); }
.program-price span { font-size: 1rem; font-weight: 500; opacity: .7; }
.program-card-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; }
.program-meta {
  display: flex; gap: 20px; margin-bottom: 20px;
  font-size: .84rem; color: var(--text-muted);
}
.program-meta span { display: flex; align-items: center; gap: 6px; }
.program-meta svg { width: 15px; height: 15px; color: var(--teal); }
.program-features { flex: 1; }
.program-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-ultra);
  font-size: .88rem; color: var(--text-muted);
}
.program-features li:last-child { border-bottom: none; }
.program-features li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A9590' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
}
.program-card .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ── PROCESS STEPS ───────────────────────────────────────────── */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.step {
  padding: 36px 28px; text-align: center; position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.step::after {
  content: '';
  position: absolute; top: 64px; left: calc(50% + 28px); right: calc(-50% + 28px);
  height: 2px; background: var(--teal-light);
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--text-muted); }

/* ── QUOTE / HIGHLIGHT BOX ───────────────────────────────────── */
.quote-box {
  background: var(--teal-ultra);
  border: 1px solid var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: var(--r);
  padding: 28px 32px;
}
.quote-box p { font-size: 1.05rem; font-style: italic; color: var(--dark-mid); line-height: 1.7; }
.quote-box cite { display: block; margin-top: 12px; font-size: .82rem; color: var(--teal-dark); font-weight: 600; font-style: normal; }

.highlight-box {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  color: var(--white);
  text-align: center;
}
.highlight-box h2 { color: var(--white); margin-bottom: 16px; }
.highlight-box .lead { color: rgba(255,255,255,.7); margin: 0 auto 36px; }
.highlight-box .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── FEATURE LIST ────────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--r);
  border: 1px solid var(--gray-light);
  transition: all var(--tr);
}
.feature-item:hover { border-color: var(--teal-light); background: var(--teal-ultra); }
.feature-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--teal-light); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
}
.feature-item-icon svg { width: 22px; height: 22px; }
.feature-item h4 { margin-bottom: 4px; font-size: 1rem; }
.feature-item p { font-size: .88rem; color: var(--text-muted); }

/* ── FAQ ACCORDION ───────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600; font-size: .95rem; text-align: left;
  color: var(--dark); background: var(--white);
  transition: background var(--tr);
}
.faq-q:hover { background: var(--teal-ultra); }
.faq-q svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--teal); transition: transform var(--tr);
}
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-q[aria-expanded="true"] { background: var(--teal-ultra); color: var(--teal-dark); }
.faq-a {
  display: none; padding: 4px 24px 20px;
  font-size: .9rem; color: var(--text-muted); line-height: 1.7;
  background: var(--teal-ultra);
}
.faq-a.open { display: block; }

/* ── TAGS ────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .76rem; font-weight: 600;
  background: var(--gray-ultra); color: var(--text-muted);
  transition: all var(--tr);
}
.tag:hover, .tag.active { background: var(--teal-light); color: var(--teal-dark); }

/* ── NAV PAGES GRID ──────────────────────────────────────────── */
.pages-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.page-nav-card {
  display: block; padding: 28px;
  border: 1px solid var(--gray-light); border-radius: var(--r-lg);
  transition: all var(--tr); position: relative; overflow: hidden;
}
.page-nav-card::after {
  content: '→';
  position: absolute; bottom: 20px; right: 24px;
  font-size: 1.2rem; color: var(--teal);
  transition: transform var(--tr);
}
.page-nav-card:hover { border-color: var(--teal); background: var(--teal-ultra); transform: translateY(-3px); box-shadow: var(--sh); }
.page-nav-card:hover::after { transform: translateX(4px); }
.page-nav-card .page-icon {
  width: 48px; height: 48px; background: var(--teal-light);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 16px;
}
.page-nav-card .page-icon svg { width: 24px; height: 24px; }
.page-nav-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.page-nav-card p { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }

/* ── BLOG CARDS ───────────────────────────────────────────────── */
.blog-card {
  border: 1px solid var(--gray-light); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all var(--tr);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--teal-light); }
.blog-card-img {
  height: 200px; background: var(--teal-light);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img .blog-img-icon { color: var(--teal); opacity: .4; }
.blog-card-img .blog-img-icon svg { width: 72px; height: 72px; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .78rem; color: var(--text-muted); }
.blog-meta .tag { font-size: .72rem; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a:hover { color: var(--teal-dark); }
.blog-card p { font-size: .86rem; color: var(--text-muted); flex: 1; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .84rem; font-weight: 600; color: var(--teal-dark); }
.blog-card .read-more:hover { gap: 10px; }

/* ── TESTIMONIAL ─────────────────────────────────────────────── */
.testimonial {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--r-lg); padding: 32px;
}
.testimonial .stars { color: #F59E0B; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial blockquote { font-size: .95rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial cite {
  display: flex; align-items: center; gap: 12px;
  font-style: normal;
}
.testimonial cite .ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.testimonial cite .info strong { display: block; font-size: .9rem; color: var(--dark); }
.testimonial cite .info span { font-size: .8rem; color: var(--text-muted); }

/* ── TABLE ───────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th {
  text-align: left; padding: 14px 16px;
  background: var(--dark); color: var(--white);
  font-weight: 600;
}
.data-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--r-sm) 0 0; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--gray-light); vertical-align: top; }
.data-table tr:hover td { background: var(--teal-ultra); }
.data-table .check { color: var(--teal); font-weight: 700; font-size: 1.1rem; }
.data-table .dash { color: var(--gray); }

/* ── FORM ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-control {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--r-sm);
  font-size: .95rem; color: var(--text);
  background: var(--white);
  transition: border-color var(--tr);
  outline: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(91,186,181,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── BADGE / CHIP ────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  font-size: .76rem; font-weight: 700;
}
.badge-teal { background: var(--teal-light); color: var(--teal-dark); }
.badge-dark { background: var(--dark); color: var(--white); }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-amber { background: #FEF3C7; color: #92400E; }

/* ── SPECIALIST CARD ─────────────────────────────────────────── */
.specialist-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--gray-light); border-radius: var(--r);
  transition: all var(--tr);
}
.specialist-card:hover { border-color: var(--teal-light); background: var(--teal-ultra); }
.specialist-ava {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  color: var(--teal-dark);
  overflow: hidden;
}
.specialist-ava img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.specialist-info strong { display: block; font-size: .95rem; color: var(--dark); }
.specialist-info span { font-size: .82rem; color: var(--text-muted); }
.specialist-info .city { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: .8rem; color: var(--teal-dark); font-weight: 500; }

/* ── MAP PLACEHOLDER ─────────────────────────────────────────── */
.map-box {
  background: var(--teal-ultra); border: 1px solid var(--teal-light);
  border-radius: var(--r-lg); height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: var(--text-muted);
  position: relative; overflow: hidden;
}
.map-box svg { width: 64px; height: 64px; color: var(--teal); opacity: .5; }
.map-box p { font-size: .9rem; }
/* Map dots */
.map-dot {
  position: absolute; width: 16px; height: 16px;
  background: var(--teal); border: 3px solid var(--white);
  border-radius: 50%; box-shadow: var(--sh-sm);
  cursor: pointer; transition: transform var(--tr);
}
.map-dot:hover { transform: scale(1.4); }
.map-dot::after {
  content: attr(data-city);
  position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: var(--white);
  font-size: .72rem; font-weight: 600; padding: 4px 8px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--tr);
}
.map-dot:hover::after { opacity: 1; }

/* ── ROI CALCULATOR ──────────────────────────────────────────── */
.calc-box {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: var(--sh);
}
.calc-result {
  background: var(--teal); border-radius: var(--r);
  padding: 28px; color: var(--white); text-align: center;
  margin-top: 24px;
}
.calc-result .result-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  line-height: 1; display: block; margin-bottom: 8px;
}
.calc-result .result-label { font-size: .9rem; opacity: .85; }
.range-input { -webkit-appearance: none; width: 100%; height: 6px; background: var(--gray-light); border-radius: 3px; outline: none; margin: 8px 0; }
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  background: var(--teal); border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 6px rgba(91,186,181,.4);
}
.range-val { font-family: var(--font-head); font-weight: 700; color: var(--teal-dark); }

/* ── MEMBERSHIP CARD ─────────────────────────────────────────── */
.membership-card {
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  color: var(--white);
  position: relative; overflow: hidden;
}
.membership-card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(91,186,181,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.membership-price {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 800;
  color: var(--teal); line-height: 1; margin: 24px 0 8px;
}
.membership-price span { font-size: 1.2rem; color: rgba(255,255,255,.6); }
.membership-includes { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.membership-includes li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; color: rgba(255,255,255,.85);
}
.membership-includes li::before {
  content: '✓'; flex-shrink: 0;
  width: 24px; height: 24px; background: rgba(91,186,181,.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-weight: 700; font-size: .8rem;
}

/* ── SECTION ALTERNATING ─────────────────────────────────────── */
.alt-section { background: var(--bg-alt); }
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.split-section.reverse .split-visual { order: -1; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--white); margin-bottom: 16px; }
.footer-logo .logo-icon { background: rgba(91,186,181,.15); }
.footer-about { font-size: .88rem; line-height: 1.65; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .9rem;
  transition: all var(--tr);
}
.footer-social:hover { background: var(--teal); color: var(--white); }
.footer-col h5 { color: var(--white); font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--teal); }
.footer-contact p { font-size: .88rem; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.footer-bottom {
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--teal); }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: 72px 0 64px;
  background: var(--teal-ultra);
  border-bottom: 1px solid var(--teal-light);
}
.page-hero .section-tag { margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 32px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-muted); margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb span { color: var(--gray); }

/* ── UTILITY ──────────────────────────────────────────────────── */
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--dark); }
.rounded-lg { border-radius: var(--r-lg); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media(max-width:1100px){
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:900px){
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse .split-visual { order: 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta .btn { display: none; }
}
@media(max-width:768px){
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .stats-row { flex-direction: column; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-box:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .highlight-box { padding: 40px 24px; }
  .membership-card { padding: 36px 24px; }
  .calc-box { padding: 28px 20px; }
  h1 { font-size: 2.2rem; }
}
@media(max-width:480px){
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 20px; }
  .program-meta { flex-direction: column; gap: 8px; }
  .steps-row { grid-template-columns: 1fr; }
  .step::after { display: none; }
}

/* ── ARTICLE HERO (journal pages) ──────────────────────────────── */
.article-hero {
  background: var(--dark) !important;
  border-bottom: 1px solid rgba(91,186,181,.15) !important;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: 5%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,186,181,.1) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero .breadcrumb,
.article-hero .breadcrumb a,
.article-hero .breadcrumb span { color: rgba(255,255,255,.45) !important; }
.article-hero .breadcrumb a:hover { color: var(--teal) !important; }
.article-hero h1 { color: var(--white) !important; }
.article-hero p   { color: rgba(255,255,255,.7) !important; }
.article-hero [style*="color:var(--text-muted)"],
.article-hero [style*="color: var(--text-muted)"] { color: rgba(255,255,255,.45) !important; }
/* tag-pill — used in article hero section tags */
.tag-pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  background: rgba(91,186,181,.14);
  border: 1px solid rgba(91,186,181,.28);
  color: var(--teal);
  letter-spacing: .02em;
}

/* ── DARK HERO SPLIT GRID ────────────────────────────────────── */
.dark-hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 56px;
  align-items: center;
}
.dark-hero-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .dark-hero-split,
  .dark-hero-equal {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dark-hero-split > :last-child,
  .dark-hero-equal > :last-child {
    display: none;
  }
}

/* ── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .5s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ── TL;DR BOX (journal articles) ───────────────────────────── */
.tldr-box { background: linear-gradient(160deg, #0f1622, #18222f); color: #fff; border-radius: var(--r-lg); padding: 32px; margin: 24px 0 40px; border: 1px solid rgba(92,174,139,.40); }
.tldr-box h4 { color: #8fd0b0; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.tldr-box ul { padding-left: 22px; margin: 0; }
.tldr-box li { color: rgba(255,255,255,.78); margin-bottom: 8px; line-height: 1.65; }

/* ── SCROLL INDICATOR ────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); z-index: 1100;
  transform-origin: left; transform: scaleX(0);
  transition: transform .1s;
}

/* ──────────────────────────────────────────────────────────────────
   MOBILE LAYOUT OVERRIDES (for inline-styled blocks on index.html
   and shared components). All rules use !important to defeat the
   inline grid-template-columns set directly on those elements.
   ────────────────────────────────────────────────────────────── */

/* Bio-age calculator promo — stack vertically, smaller padding */
@media (max-width: 768px) {
  .bio-calc-promo {
    grid-template-columns: 1fr !important;
    padding: 36px 24px !important;
    gap: 28px !important;
    text-align: center;
  }
  .bio-calc-promo > div:first-of-type + div { display: none; } /* decorative glow */
  .bio-calc-promo h2 { font-size: 1.5rem !important; }
  .bio-calc-promo p { margin-left: auto; margin-right: auto; }
  .bio-calc-promo .btn { width: 100%; justify-content: center; }
}

/* AI-age section — stack two columns on tablet/phone */
@media (max-width: 900px) {
  .ai-age-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
  }
  .ai-age-grid > div > div[style*="padding:2.5rem"],
  .ai-age-grid > div > div[style*="padding: 2.5rem"] {
    padding: 1.75rem !important;
  }
  .ai-age-grid h3 { font-size: 1.1rem !important; }
}

/* "Что ИИ не сможет заменить" — keep 2 cols even on small phones,
   but reduce padding so the four chips don't break */
@media (max-width: 480px) {
  .ai-cant-grid {
    gap: .5rem !important;
  }
  .ai-cant-grid > div {
    padding: .75rem .5rem !important;
    font-size: .78rem !important;
  }
}

/* Generic safety: prevent horizontal overflow caused by long inline
   styles or non-wrapping content. */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  section { padding: 56px 0 !important; }
  /* Any inline grid that still has 2 cols at this width — collapse */
  section .container > div[style*="grid-template-columns:1fr 1fr"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Cookie banner — make compact on small phones */
@media (max-width: 600px) {
  #cu-cookie-banner {
    padding: 12px 14px !important;
    font-size: .78rem !important;
    line-height: 1.45 !important;
  }
  #cu-cookie-banner p { font-size: .78rem !important; }
  #cu-cookie-banner #cu-cookie-inner { gap: 10px !important; }
  #cu-cookie-banner button {
    padding: 8px 18px !important;
    font-size: .78rem !important;
  }
}


/* ── UNIVERSAL MOBILE GRID COLLAPSE (patched) ─────────── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; max-width: 100vw; }
  section { padding: 56px 0 !important; }

  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns: 1fr 1.5fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:1fr auto"],
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns:auto 1fr"],
  [style*="grid-template-columns: auto 1fr"],
  [style*="grid-template-columns:1fr 280px"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns: 1fr 340px"],
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns:340px 1fr"],
  [style*="grid-template-columns: 340px 1fr"],
  [style*="grid-template-columns:420px 1fr"],
  [style*="grid-template-columns: 420px 1fr"],
  [style*="grid-template-columns:55% 45%"],
  [style*="grid-template-columns: 55% 45%"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns: 120px 1fr 38px"],
  [style*="grid-template-columns: 1fr 48px 1fr"],
  [style*="grid-template-columns: 60px 1fr"],
  [style*="grid-template-columns:60px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  [style*="padding:56px 64px"],
  [style*="padding: 56px 64px"],
  [style*="padding:64px"],
  [style*="padding: 64px"],
  [style*="padding:48px 56px"],
  [style*="padding: 48px 56px"],
  [style*="padding:2.5rem 3rem"],
  [style*="padding: 2.5rem 3rem"],
  [style*="padding:3rem"],
  [style*="padding: 3rem"] {
    padding: 32px 20px !important;
  }
}

@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
