/* ashtonmeadows.com — школа финансовых знаний
   Warm palette · Playfair + Lato · split hero · outlined cards */
:root {
  --c-primary: #BF360C;
  --c-orange: #E64A19;
  --c-coral: #FF7043;
  --c-peach: #FFAB91;
  --c-cream: #FBE9E7;
  --c-ink: #1F1410;
  --c-ink-soft: #5A4138;
  --c-paper: #FFFFFF;
  --c-paper-2: #FAF6F4;
  --c-line: #E9DDD8;
  --shadow-sm: 0 6px 24px -10px rgba(191,54,12,0.18);
  --r-md: 12px;
  --r-lg: 22px;
  --container: 1200px;
  --grid-gap: clamp(16px, 2vw, 28px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-orange); text-decoration: none; transition: color .25s; }
a:hover { color: var(--c-primary); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .55rem; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--c-ink-soft); font-weight: 300; }
strong { font-weight: 600; color: var(--c-ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-orange);
  padding: 6px 0;
  margin-bottom: 16px;
  position: relative;
}
.eyebrow::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 28px; height: 1px; background: var(--c-orange);
  margin-right: 12px;
}
.section-title { max-width: 780px; margin-bottom: 48px; }
.section-title p { font-size: 1.05rem; }

/* ghost button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 14px 30px;
  border: 2px solid var(--c-primary);
  background: transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn--solid {
  background: var(--c-primary);
  color: #fff;
}
.btn--solid:hover { background: var(--c-orange); border-color: var(--c-orange); }
.btn--light { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--light:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn--small { padding: 9px 18px; font-size: .8rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-ink);
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -.02em;
}
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-coral));
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  color: var(--c-ink-soft);
  font-size: .9rem;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
  position: relative;
  padding: 4px 0;
}
.nav a:hover, .nav a.active { color: var(--c-primary); }
.nav a.active::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--c-primary);
}
.nav-toggle {
  display: none; border: 1px solid var(--c-line);
  background: #fff; border-radius: 8px;
  padding: 8px 12px; cursor: pointer;
  font-size: 1.1rem; color: var(--c-ink);
}
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: flex-start; padding: 18px 24px;
    background: #fff; border-bottom: 1px solid var(--c-line); }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* split hero */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(48px,6vw,84px) 0 clamp(56px,7vw,96px);
}
.hero-split-text { display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.hero-split-text h1 { margin-bottom: 22px; }
.hero-split-text h1 em { color: var(--c-orange); font-style: italic; }
.hero-split-text p.lead { font-size: 1.15rem; color: var(--c-ink-soft); margin-bottom: 32px; max-width: 540px; }
.hero-split-image {
  position: relative;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  overflow: hidden;
  min-height: 480px;
  margin-right: calc(-1 * (100vw - 100%) / 2);
}
.hero-split-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-split-image::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 80px; height: 80px;
  background: var(--c-orange);
  border-top-right-radius: 80px;
}
@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-split-image { min-height: 320px; margin-right: 0; border-radius: var(--r-lg); }
}

/* compact + minimal hero */
.hero-compact {
  padding: clamp(60px,8vw,100px) 0 clamp(40px,5vw,72px);
  background: linear-gradient(180deg, var(--c-cream), #fff);
  position: relative;
  overflow: hidden;
}
.hero-compact::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,112,67,0.18), transparent);
}
.hero-compact .container { position: relative; z-index: 2; }
.hero-compact .lead { max-width: 640px; font-size: 1.1rem; }

.hero-fullwidth {
  padding: clamp(72px,10vw,140px) 0;
  background: linear-gradient(135deg, var(--c-cream) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.hero-fullwidth::before {
  content: '';
  position: absolute;
  left: -10%; top: 30%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-peach), transparent);
  opacity: .35;
}
.hero-fullwidth::after {
  content: '';
  position: absolute;
  right: -8%; bottom: -10%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--c-coral);
  opacity: .12;
}
.hero-fullwidth .container { position: relative; z-index: 2; }
.hero-fullwidth h1 { max-width: 880px; }
.hero-fullwidth .lead { max-width: 700px; font-size: 1.2rem; margin-top: 20px; }

.hero-banner {
  padding: clamp(56px,7vw,90px) 0 clamp(36px,4vw,56px);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper-2);
}
.hero-minimal-text {
  padding: clamp(80px,12vw,180px) 0 clamp(40px,5vw,80px);
}
.hero-minimal-text h1 .gradient {
  background: linear-gradient(120deg, var(--c-primary), var(--c-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-minimal-text h1 .typed-cursor {
  display:inline-block; width: 3px; background: var(--c-orange);
  margin-left: 4px; animation: blink 1s steps(2) infinite;
  height: .85em; vertical-align: -.05em;
}
@keyframes blink { 50% { opacity: 0; } }

/* article hero */
.hero-article {
  position: relative;
  height: clamp(340px, 50vh, 540px);
  overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff;
}
.hero-article img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-article::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(31,20,16,0.85));
}
.hero-article .container { position: relative; z-index: 2; padding-bottom: 36px; }
.hero-article h1 { color: #fff; max-width: 880px; }
.hero-article .meta { color: rgba(255,255,255,0.8); font-size: .9rem; }
.hero-article a { color: #fff; }

/* contact hero */
.hero-contact {
  padding: clamp(60px,8vw,100px) 0;
  background: linear-gradient(135deg, var(--c-primary), var(--c-orange));
  color: #fff;
}
.hero-contact h1, .hero-contact p { color: #fff; }
.hero-contact p { color: rgba(255,255,255,0.9); max-width: 620px; font-size: 1.1rem; }
.hero-contact .eyebrow { color: var(--c-peach); }
.hero-contact .eyebrow::before { background: var(--c-peach); }

/* breadcrumb */
.breadcrumb {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-size: .85rem; color: var(--c-ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--c-orange); }
.breadcrumb span.sep { opacity: .4; }

/* grid */
.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* outlined card */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 30px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover {
  border-color: var(--c-coral);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--c-cream);
  color: var(--c-primary);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--c-orange);
  letter-spacing: -.02em;
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}

/* portfolio grid */
.proj-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj-card:hover img { transform: scale(1.06); }
.proj-card-body {
  position: absolute; inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(31,20,16,0.92));
  color: #fff;
}
.proj-card-body h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.proj-card-body span { color: var(--c-peach); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: 'Lato', sans-serif; }

/* testimonials horizontal scroll */
.testimonials-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 380px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--c-coral) var(--c-cream);
}
.testimonials-scroll::-webkit-scrollbar { height: 8px; }
.testimonials-scroll::-webkit-scrollbar-track { background: var(--c-cream); border-radius: 4px; }
.testimonials-scroll::-webkit-scrollbar-thumb { background: var(--c-coral); border-radius: 4px; }
.t-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .25s, box-shadow .25s;
}
.t-card:hover { border-color: var(--c-coral); box-shadow: var(--shadow-sm); }
.t-card .quote { color: var(--c-ink); font-size: 1.02rem; flex: 1; }
.t-card .author { display: flex; align-items: center; gap: 12px; }
.t-card .author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-card .author strong { display: block; font-size: .92rem; }
.t-card .author span { font-size: .8rem; color: var(--c-ink-soft); }

/* stats */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .counters { grid-template-columns: repeat(2, 1fr); } }
.counter strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--c-primary);
  letter-spacing: -.02em;
  line-height: 1;
}
.counter span { font-size: .92rem; color: var(--c-ink-soft); display: block; margin-top: 8px; }

/* logos strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.logo-strip .logo-item {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  padding: 14px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color .25s, color .25s;
}
.logo-strip .logo-item:hover { border-color: var(--c-coral); color: var(--c-primary); }

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-size: .88rem;
  color: var(--c-ink);
  font-weight: 600;
  transition: border-color .25s, transform .25s;
}
.badge-pill:hover { border-color: var(--c-coral); transform: translateY(-2px); }
.badge-pill::before { content: '✦'; color: var(--c-orange); }

/* compare table */
table.compare, table.cookies {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin: 18px 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
table.compare th, table.compare td,
table.cookies th, table.cookies td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
table.compare th, table.cookies th {
  background: var(--c-cream);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--c-primary);
}
.table-wrap { overflow-x: auto; }

/* form */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
label { font-family: 'Lato', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-soft); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: .96rem;
  color: var(--c-ink);
  transition: border-color .25s, box-shadow .25s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255,112,67,0.18);
}
textarea { resize: vertical; min-height: 130px; }
.form-error { color: #c1373c; font-size: .82rem; min-height: 1em; display: block; margin-top: 4px; }
.form-status { padding: 14px 18px; border-radius: var(--r-md); margin-top: 12px; display: none; }
.form-status.ok { display: block; background: var(--c-cream); color: var(--c-primary); border: 1px solid var(--c-peach); }

/* hours */
.hours { display: grid; gap: 0; max-width: 480px; }
.hours-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: .96rem; }
.hours-row span:first-child { font-family: 'Playfair Display', serif; font-weight: 600; }
.hours-row span:last-child { color: var(--c-ink-soft); }

/* map */
.map-frame { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* article body */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2.4em; margin-bottom: .7em; }
.prose h3 { margin-top: 1.8em; margin-bottom: .55em; }
.prose p { font-size: 1.05rem; }
.prose ul { margin: 1em 0 1.4em 1.4em; list-style: disc; }
.prose ul li { margin-bottom: .4em; color: var(--c-ink-soft); }
.prose blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--c-cream);
  border-left: 3px solid var(--c-orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--c-ink);
}

/* author bio */
.author-bio {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-paper-2);
  max-width: 760px; margin: 0 auto;
}
.author-bio img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.author-bio h4 { margin-bottom: 4px; }
.author-bio .role { font-size: .82rem; color: var(--c-orange); margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 540px) { .author-bio { grid-template-columns: 1fr; text-align: center; } .author-bio img { margin: 0 auto; } }

/* tags + share */
.tag-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-strip a {
  font-size: .8rem;
  padding: 7px 14px;
  background: var(--c-cream);
  color: var(--c-primary);
  border-radius: 999px;
  transition: background .25s;
}
.tag-strip a:hover { background: var(--c-peach); }

.share-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.share-buttons a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--c-primary);
  transition: all .25s;
}
.share-buttons a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* comments */
.comments-list { display: grid; gap: 22px; }
.comment {
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
}
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.comment-head strong { display: block; font-size: .92rem; }
.comment-head span { font-size: .78rem; color: var(--c-ink-soft); }

/* faq */
.faq details { border-bottom: 1px solid var(--c-line); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; color: var(--c-orange); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: .98rem; }

/* article cards */
.article-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.article-card:hover { border-color: var(--c-coral); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.article-card img { aspect-ratio: 16/10; object-fit: cover; }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.article-card-body .tag { font-size: .75rem; color: var(--c-orange); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.article-card-body h3 { font-size: 1.2rem; }
.article-card-body p { font-size: .92rem; }
.article-card-body .more { margin-top: auto; padding-top: 12px; }

/* team */
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 22px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.team-card:hover { border-color: var(--c-coral); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.team-card h4 { margin-bottom: 4px; }
.team-card span.role { font-size: .8rem; color: var(--c-orange); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.team-card p { font-size: .92rem; margin-top: 12px; }

/* split layout (sidebar + main) */
.split { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.sidebar {
  position: sticky; top: 100px;
  align-self: start;
  background: var(--c-paper-2);
  border-radius: var(--r-md);
  padding: 24px;
}
.sidebar h4 { margin-bottom: 12px; }
.sidebar ul { display: grid; gap: 8px; }
.sidebar a { font-size: .92rem; color: var(--c-ink-soft); display: block; padding: 4px 0; }
.sidebar a:hover { color: var(--c-primary); }

/* video */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* about-split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; } }
.about-split img { border-radius: var(--r-md); aspect-ratio: 4/5; object-fit: cover; }

/* event calendar */
.events-list { display: grid; gap: 18px; }
.event {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.event:hover { border-color: var(--c-coral); box-shadow: var(--shadow-sm); }
.event-date {
  text-align: center;
  background: var(--c-cream);
  border-radius: var(--r-md);
  padding: 12px;
}
.event-date strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--c-primary); line-height: 1; }
.event-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-ink-soft); margin-top: 4px; display: block; }
.event-body h4 { margin-bottom: 6px; }
.event-body p { font-size: .92rem; margin: 0; }
@media (max-width: 620px) {
  .event { grid-template-columns: 1fr; }
  .event-date { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; }
  .event-date strong, .event-date span { display: inline; margin: 0; }
}

/* timeline */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: var(--c-peach); }
.timeline-step { position: relative; padding-bottom: 32px; }
.timeline-step::before { content: ''; position: absolute; left: -28px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c-orange); }
.timeline-step h4 { margin-bottom: 6px; }

/* charts */
.chart-card { background: #fff; padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.bar { height: 12px; background: var(--c-cream); border-radius: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--c-primary), var(--c-coral)); border-radius: 6px; }
.bar-row { display: grid; gap: 8px; margin-bottom: 18px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: .92rem; }

/* download cta */
.download-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 28px 32px;
  background: linear-gradient(120deg, var(--c-primary), var(--c-orange));
  color: #fff;
  border-radius: var(--r-md);
  flex-wrap: wrap;
  margin: 32px 0;
}
.download-cta h3 { color: #fff; margin-bottom: 4px; }
.download-cta p { color: rgba(255,255,255,0.88); margin-bottom: 0; }
.download-cta .btn { background: #fff; color: var(--c-primary); border-color: #fff; }
.download-cta .btn:hover { background: var(--c-cream); border-color: var(--c-cream); }

/* tabs */
.tabs-head { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab-btn {
  padding: 12px 22px;
  border: 1px solid var(--c-line);
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .25s;
}
.tab-btn.active, .tab-btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 32px;
}

/* before / after */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 760px) { .beforeafter { grid-template-columns: 1fr; } }
.beforeafter-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px;
}
.beforeafter-card h4 { margin-bottom: 8px; }
.beforeafter-card .label {
  display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.label-before { background: var(--c-cream); color: var(--c-ink-soft); }
.label-after { background: var(--c-orange); color: #fff; }

/* plan */
.plan {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 32px;
  background: #fff;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.plan:hover { border-color: var(--c-coral); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan ul { margin-top: 18px; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: .96rem; color: var(--c-ink-soft); }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--c-orange); font-weight: 700; }
.plan-tag {
  font-family: 'Lato', sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 8px;
  display: block;
  font-weight: 700;
}
.plan--featured { background: linear-gradient(165deg, var(--c-primary), var(--c-orange)); color: #fff; border-color: var(--c-primary); }
.plan--featured h3, .plan--featured p, .plan--featured li { color: #fff; }
.plan--featured li::before { color: var(--c-peach); }
.plan--featured .plan-tag { color: var(--c-peach); }

/* footer */
.site-footer { background: var(--c-ink); color: rgba(255,255,255,0.7); padding: 80px 0 32px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 16px; font-family: 'Lato', sans-serif; font-weight: 700; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-mark { background: linear-gradient(135deg, var(--c-coral), var(--c-peach)); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; font-size: .82rem; }
.footer-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* mega footer block (used as a section before site-footer) */
.mega-footer-block {
  background: linear-gradient(135deg, var(--c-primary), var(--c-orange));
  color: #fff;
  padding: clamp(56px,7vw,90px) 0;
}
.mega-footer-block h2, .mega-footer-block p { color: #fff; }
.mega-footer-block p { color: rgba(255,255,255,0.85); }
.mega-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) { .mega-footer-grid { grid-template-columns: 1fr; } }
.mega-footer-block ul { display: grid; gap: 10px; }
.mega-footer-block a { color: rgba(255,255,255,0.88); }
.mega-footer-block a:hover { color: #fff; }
.mega-footer-block h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 14px; font-family: 'Lato', sans-serif; font-weight: 700; }

/* cookie banner */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px;
  max-width: 720px; margin: 0 auto;
  background: var(--c-ink); color: #fff;
  padding: 18px 22px;
  border-radius: var(--r-md);
  display: none;
  align-items: center; justify-content: space-between; gap: 18px;
  z-index: 999;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  font-size: .92rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner a { color: var(--c-peach); }
.cookie-banner button {
  background: var(--c-orange); color: #fff;
  border: none; padding: 10px 22px; border-radius: var(--r-md);
  font-family: 'Lato', sans-serif; font-weight: 700; cursor: pointer;
  white-space: nowrap;
  letter-spacing: .04em;
}
@media (max-width: 540px) { .cookie-banner { flex-direction: column; align-items: stretch; } }

/* fab */
.fab-stack { position: fixed; right: 22px; bottom: 88px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 16px 32px -10px rgba(191,54,12,0.4);
  transition: transform .25s, background .25s;
  font-family: 'Playfair Display', serif; font-weight: 700;
}
.fab:hover { background: var(--c-orange); transform: translateY(-2px); color: #fff; }

/* legal */
.legal-toc { background: var(--c-paper-2); border-radius: var(--r-md); padding: 26px 30px; margin-bottom: 40px; }
.legal-toc h4 { margin-bottom: 14px; font-family: 'Playfair Display', serif; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--c-ink); }
.legal-toc ol { display: grid; gap: 6px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; padding-left: 32px; position: relative; font-size: .92rem; }
.legal-toc li::before { content: counter(toc) '.'; position: absolute; left: 0; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--c-orange); }
.legal-section h2 { margin-top: 2em; }
.legal-section h2:first-child { margin-top: 0; }

/* utility */
.text-center { text-align: center; }
.muted { color: var(--c-ink-soft); }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-1 { animation: fadeUp .85s cubic-bezier(.2,.7,.3,1) .05s both; }
.fade-in-2 { animation: fadeUp .85s cubic-bezier(.2,.7,.3,1) .25s both; }
.fade-in-3 { animation: fadeUp .85s cubic-bezier(.2,.7,.3,1) .45s both; }

/* before/after svg */
.svg-icon { width: 22px; height: 22px; }
