:root {
  --purple: #3e2b85;
  --purple-ink: #2e1a47;
  --purple-footer: #32236f;
  --orange: #f68b1f;
  --orange-hover: #ff8800;
  --amber: #f6921e;
  --white: #ffffff;
  --lilac: #9d8ed1;
  --surface-soft: #f5f3fc;
  --surface-alt-tint: #ede9f9;
  --text-muted-on-light: #5c4d7a;
  --text-on-dark-soft: rgba(255, 255, 255, 0.88);
  --text-on-dark-muted: rgba(255, 255, 255, 0.78);
  --radius: 16px;
  --shadow-card: 0 12px 32px rgba(46, 26, 71, 0.14);
  --shadow-card-on-dark: 0 16px 40px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.top-nav {
  display: flex;
  gap: 1.2rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--orange);
  color: var(--purple-ink);
}

.button-dark:hover {
  background: var(--orange-hover);
}

.button-outline {
  border-width: 2px;
  border-style: solid;
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 74px;
  background: url('/assets/hive.jpg') no-repeat center center / cover;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-decor__hive {
  position: absolute;
  top: -6%;
  left: -12%;
  width: min(92vw, 540px);
  height: auto;
  max-height: 115%;
}

.hero-decor__bee {
  position: absolute;
  right: -4%;
  bottom: 2%;
  width: min(46vw, 280px);
  height: auto;
  max-width: 300px;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 1.1rem;
}

.hero-copy {
  margin: 1rem 0 1.5rem;
  max-width: 56ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-stats li {
  background: var(--white);
  border: 1px solid rgba(157, 142, 209, 0.45);
  border-left: 5px solid var(--purple);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}

.hero-stats strong {
  display: block;
  font-size: 0.97rem;
  color: var(--purple-ink);
}

.hero-stats span {
  font-size: 0.9rem;
  color: var(--text-muted-on-light);
}

.hero-card {
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid rgba(157, 142, 209, 0.35);
  box-shadow: var(--shadow-card);
}

.hero-card h2 {
  font-size: 1.35rem;
  color: var(--purple-ink);
}

.hero-card ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--text-muted-on-light);
}

.hero-card a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-card a:hover {
  color: var(--orange-hover);
}

.section {
  padding: 72px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  border: 1px solid rgba(157, 142, 209, 0.4);
  border-radius: 14px;
  padding: 1rem;
  background: var(--white);
}

.card h3 {
  color: var(--purple-ink);
}

.card p {
  color: var(--text-muted-on-light);
  margin: 0.55rem 0 0;
}

.split {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 0.8fr;
}

.steps {
  margin: 0.3rem 0 0;
  padding-left: 1.25rem;
}

.steps li {
  margin: 0 0 1rem;
}

.steps h3 {
  color: inherit;
}

.steps p {
  margin: 0.45rem 0 0;
}

.highlight-box {
  background: var(--orange);
  color: var(--purple-ink);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}

.highlight-box h3 {
  margin-bottom: 0.85rem;
}

.highlight-box ul {
  margin: 0;
  padding-left: 1rem;
}

.highlight-box li {
  margin-bottom: 0.7rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

blockquote {
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(157, 142, 209, 0.4);
  background: var(--white);
  font-size: 0.98rem;
  color: var(--purple-ink);
}

blockquote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--text-muted-on-light);
  font-style: normal;
  font-size: 0.92rem;
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(157, 142, 209, 0.35);
  border-radius: var(--radius);
  padding: 1rem;
}

.contact-card h3 {
  color: var(--purple-ink);
}

.contact-card p {
  margin: 0.4rem 0;
  color: var(--text-muted-on-light);
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Hybrid layout ----- */
body.layout-hybrid {
  color: var(--purple-ink);
  background: var(--surface-soft);
}

body.layout-hybrid .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(157, 142, 209, 0.35);
}

body.layout-hybrid .brand,
body.layout-hybrid .brand-text {
  color: var(--purple);
}

body.layout-hybrid .top-nav {
  color: var(--text-muted-on-light);
}

body.layout-hybrid .top-nav a:hover {
  color: var(--purple-ink);
}

body.layout-hybrid .hero {
  background: linear-gradient(165deg, #453091 0%, var(--purple) 42%, #2f2168 100%);
  color: var(--white);
}

body.layout-hybrid .hero h1 {
  color: var(--white);
}

body.layout-hybrid .hero-copy {
  color: var(--text-on-dark-muted);
}

body.layout-hybrid .hero .button-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

body.layout-hybrid .hero .button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.layout-hybrid .section {
  background: transparent;
}

body.layout-hybrid .section:not(.cta-section) h2,
body.layout-hybrid .section:not(.cta-section) h3 {
  color: var(--purple-ink);
}

body.layout-hybrid .section:not(.cta-section) p {
  color: var(--text-muted-on-light);
}

body.layout-hybrid .section-alt {
  background: var(--surface-alt-tint);
}

body.layout-hybrid .steps p {
  color: var(--text-muted-on-light);
}

body.layout-hybrid .cta-section {
  background: linear-gradient(180deg, var(--orange) 0%, #e67d18 100%);
  color: var(--purple-ink);
}

body.layout-hybrid .cta-section .eyebrow {
  color: var(--purple-ink);
  opacity: 0.92;
}

body.layout-hybrid .cta-section h2 {
  color: var(--purple-ink);
}

body.layout-hybrid .cta-section > .container > .cta-wrap > div > p {
  color: rgba(46, 26, 71, 0.88);
}

body.layout-hybrid .site-footer {
  background: var(--purple-footer);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(157, 142, 209, 0.25);
}

body.layout-hybrid .footer-wrap a {
  color: var(--amber);
}

body.layout-hybrid .footer-wrap a:hover {
  color: var(--white);
}

/* ----- Full brand layout ----- */
body.layout-full-brand {
  background: var(--purple);
  color: var(--text-on-dark-soft);
}

body.layout-full-brand .site-header {
  background: rgba(62, 43, 133, 0.92);
  border-bottom: 1px solid rgba(157, 142, 209, 0.35);
}

body.layout-full-brand .brand,
body.layout-full-brand .brand-text {
  color: var(--white);
}

body.layout-full-brand .top-nav {
  color: rgba(255, 255, 255, 0.88);
}

body.layout-full-brand .top-nav a:hover {
  color: var(--white);
}

body.layout-full-brand .hero {
  background: linear-gradient(180deg, #352270 0%, var(--purple) 55%, #32236f 100%);
  color: var(--white);
}

body.layout-full-brand .hero h1 {
  color: var(--white);
}

body.layout-full-brand .hero-copy {
  color: var(--text-on-dark-muted);
}

body.layout-full-brand .hero .button-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

body.layout-full-brand .hero .button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.layout-full-brand .hero-card,
body.layout-full-brand .card,
body.layout-full-brand blockquote,
body.layout-full-brand .contact-card {
  box-shadow: var(--shadow-card-on-dark);
}

body.layout-full-brand .section {
  background: transparent;
}

body.layout-full-brand .section:not(.cta-section) h2 {
  color: var(--white);
}

body.layout-full-brand .section:not(.cta-section) .eyebrow {
  color: var(--amber);
}

body.layout-full-brand .section-alt {
  background: rgba(0, 0, 0, 0.14);
}

body.layout-full-brand .section-alt h2,
body.layout-full-brand .section-alt h3,
body.layout-full-brand .section-alt .eyebrow {
  color: var(--white);
}

body.layout-full-brand .section-alt .eyebrow {
  color: var(--amber);
}

body.layout-full-brand .steps p {
  color: var(--text-on-dark-muted);
}

body.layout-full-brand .cta-section {
  background: linear-gradient(180deg, var(--orange) 0%, #e67d18 100%);
  color: var(--purple-ink);
}

body.layout-full-brand .cta-section .eyebrow {
  color: var(--purple-ink);
  opacity: 0.9;
}

body.layout-full-brand .cta-section h2 {
  color: var(--purple-ink);
}

body.layout-full-brand .cta-section > .container > .cta-wrap > div > p {
  color: rgba(46, 26, 71, 0.9);
}

body.layout-full-brand .site-footer {
  background: var(--purple-footer);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(157, 142, 209, 0.2);
}

body.layout-full-brand .footer-wrap a {
  color: var(--amber);
}

body.layout-full-brand .footer-wrap a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero-decor__hive {
    top: -2%;
    left: -20%;
    width: min(88vw, 460px);
  }

  .hero-decor__bee {
    right: -8%;
    bottom: 0;
    width: min(42vw, 220px);
  }

  .top-nav {
    display: none;
  }

  .hero-grid,
  .cards,
  .split,
  .testimonials,
  .cta-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-decor__hive {
    left: -28%;
    width: min(100vw, 380px);
    opacity: 0.9;
  }

  .hero-decor__bee {
    right: -10%;
    bottom: -4%;
    width: min(52vw, 168px);
    opacity: 0.92;
  }

  .site-header .button {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .section {
    padding: 56px 0;
  }
}

.brand-logo {
  width: 100px;
  height: auto;
}