/* =======================================================
   K12 CRAFTER — V3 (per detailed spec 2026-05-24)
   Palette: 2 navies + cream + white + structural blue + accent green
   Type: Poppins 700–800 headings | Manrope 400–700 body+UI
   Section rhythm: navy → navy-dark → green → cream → navy → cream → white → navy-dark → white → navy-dark
   Scope: <body class="k12-v3">
   ======================================================= */

.k12-v3 {
  --v3-navy:        #001D6E;
  --v3-navy-dark:   #0d1545;
  --v3-cream:       #F7F8FC;
  --v3-white:       #ffffff;
  --v3-blue:        #0047BB;
  --v3-blue-tint:   rgba(0,71,187,0.06);
  --v3-green:       #2BB656;
  --v3-green-dark:  #1E8C40;
  --v3-border:      #DDE0EA;
  --v3-ink:         #0d1545;
  --v3-text:        #374151;
  --v3-muted:       #9ca3af;
  --v3-on-dark-strong: #F7F8FC;
  --v3-on-dark-muted:  rgba(247,248,252,0.75);
  --v3-on-dark-dim:    rgba(247,248,252,0.40);
  --v3-shadow:        0 12px 36px rgba(0,71,187,0.12);
  --v3-ease:          cubic-bezier(0.34, 1.56, 0.64, 1);
  --v3-ease-out:      cubic-bezier(0.22, 1, 0.36, 1);

  --v3-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --v3-body: 'Manrope', system-ui, -apple-system, sans-serif;

  background: var(--v3-cream);
  color: var(--v3-text);
  font-family: var(--v3-body);
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.k12-v3 *, .k12-v3 *::before, .k12-v3 *::after { box-sizing: border-box; }
.k12-v3 p { margin: 0; }
.k12-v3 ul { list-style: none; padding: 0; margin: 0; }
.k12-v3 a { color: inherit; text-decoration: none; }
.k12-v3 img { max-width: 100%; height: auto; display: block; }
.k12-v3 h1, .k12-v3 h2, .k12-v3 h3, .k12-v3 h4 {
  font-family: var(--v3-head);
  margin: 0;
  color: inherit;
  letter-spacing: -0.02em;
}

/* CONTRAST FIX — override Elementor Kit's .elementor h1/h2 color */
.k12-v3 .v3-section--dark .v3-h1,
.k12-v3 .v3-section--dark .v3-h2,
.k12-v3 .v3-section--dark h1,
.k12-v3 .v3-section--dark h2,
.k12-v3 .v3-section--dark h3,
.k12-v3 .v3-section--dark-mid .v3-h1,
.k12-v3 .v3-section--dark-mid .v3-h2,
.k12-v3 .v3-section--dark-mid h1,
.k12-v3 .v3-section--dark-mid h2,
.k12-v3 .v3-section--dark-mid h3 { color: var(--v3-on-dark-strong); }
.k12-v3 .v3-section--light .v3-h2,
.k12-v3 .v3-section--light h1,
.k12-v3 .v3-section--light h2,
.k12-v3 .v3-section--light h3,
.k12-v3 .v3-section--white .v3-h2,
.k12-v3 .v3-section--white h1,
.k12-v3 .v3-section--white h2,
.k12-v3 .v3-section--white h3 { color: var(--v3-ink); }

/* SECTIONS */
.k12-v3 .v3-section          { padding: 80px 0; }
.k12-v3 .v3-section--dark    { background: var(--v3-navy-dark); color: var(--v3-on-dark-muted); }
.k12-v3 .v3-section--dark-mid{ background: var(--v3-navy);      color: var(--v3-on-dark-muted); }
.k12-v3 .v3-section--light   { background: var(--v3-cream);     color: var(--v3-text); }
.k12-v3 .v3-section--white   { background: var(--v3-white);     color: var(--v3-text); }

.k12-v3 .v3-container {
  width: 100%; max-width: 1240px;
  margin-inline: auto;
  padding-inline: 32px;
}
.k12-v3 .v3-container--center { text-align: center; }

/* TYPOGRAPHY */
.k12-v3 .v3-h1 {
  font-family: var(--v3-head);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.k12-v3 .v3-h2 {
  font-family: var(--v3-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.k12-v3 .v3-h2--cta {
  font-size: 2.4rem;
  font-weight: 800;
}
.k12-v3 .v3-h3 {
  font-family: var(--v3-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* EYEBROW */
.k12-v3 .v3-eyebrow {
  font-family: var(--v3-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v3-green);
  display: block;
  margin-bottom: 12px;
}

/* BUTTONS (4 types) */
.k12-v3 .v3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--v3-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s var(--v3-ease-out), background 0.22s ease, color 0.22s ease;
  line-height: 1;
  letter-spacing: 0.01em;
}
.k12-v3 .v3-btn:hover { transform: translateY(-2px); }

/* 1. Green CTA (on dark sections) */
.k12-v3 .v3-btn--green {
  background: var(--v3-green);
  color: var(--v3-on-dark-strong);
}
.k12-v3 .v3-btn--green:hover { background: var(--v3-green-dark); }

/* 2. Navy CTA (on light sections) */
.k12-v3 .v3-btn--navy {
  background: var(--v3-navy);
  color: var(--v3-on-dark-strong);
}
.k12-v3 .v3-btn--navy:hover { background: var(--v3-navy-dark); }

/* 3. Ghost (soft secondary) */
.k12-v3 .v3-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--v3-on-dark-strong);
  border: 1px solid rgba(255,255,255,0.10);
}
.k12-v3 .v3-btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* 4. Transparent (nav links) handled in nav block */

/* CARDS */
.k12-v3 .v3-card {
  background: var(--v3-white);
  border: 1px solid var(--v3-border);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  color: inherit;
  transition: transform 0.28s var(--v3-ease), box-shadow 0.28s var(--v3-ease), border-color 0.28s var(--v3-ease);
}
.k12-v3 .v3-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--v3-shadow);
  border-color: rgba(0,71,187,0.18);
}

/* PHOTO PLACEHOLDER */
.k12-v3 .v3-ph {
  background: linear-gradient(135deg, rgba(0,71,187,0.08) 0%, rgba(0,29,110,0.14) 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.k12-v3 .v3-section--dark .v3-ph,
.k12-v3 .v3-section--dark-mid .v3-ph {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
}
.k12-v3 .v3-ph::after {
  content: ''; position: absolute; inset: 12px;
  border: 1px dashed rgba(0,29,110,0.18);
  border-radius: 4px;
}
.k12-v3 .v3-section--dark .v3-ph::after,
.k12-v3 .v3-section--dark-mid .v3-ph::after {
  border-color: rgba(255,255,255,0.16);
}
.k12-v3 .v3-ph__label {
  position: relative;
  font-family: var(--v3-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,29,110,0.45);
}
.k12-v3 .v3-section--dark .v3-ph__label,
.k12-v3 .v3-section--dark-mid .v3-ph__label {
  color: rgba(255,255,255,0.5);
}

/* ===== SECTION 0: NAV ===== */
.k12-v3 .v3-nav {
  background: var(--v3-navy);
  padding: 0;
}
.k12-v3 .v3-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 80px;
  max-width: 100%;
}
.k12-v3 .v3-logo {
  font-family: var(--v3-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--v3-on-dark-strong);
  letter-spacing: -0.025em;
}
.k12-v3 .v3-nav__links { display: flex; align-items: center; gap: 4px; }
.k12-v3 .v3-nav__links a {
  position: relative;
  font-family: var(--v3-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--v3-on-dark-strong);
  padding: 8px 20px;
  background: transparent;
  transition: color 0.2s ease;
}
.k12-v3 .v3-nav__links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: var(--v3-green);
  transition: width 0.28s var(--v3-ease-out), left 0.28s var(--v3-ease-out);
}
.k12-v3 .v3-nav__links a:hover::after {
  left: 20%;
  width: 60%;
}

/* ===== SECTION 1: HERO ===== */
.k12-v3 .v3-hero {
  background: var(--v3-navy-dark);
  color: var(--v3-on-dark-muted);
  padding: 0;
}
.k12-v3 .v3-hero__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: stretch;
  padding: 0 80px;
}
.k12-v3 .v3-hero__left {
  padding: 100px 0;
  display: flex; flex-direction: column;
  justify-content: center;
}
.k12-v3 .v3-hero__sub {
  font-family: var(--v3-body);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--v3-on-dark-muted);
  max-width: 560px;
  margin: 20px 0 32px;
}
.k12-v3 .v3-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.k12-v3 .v3-hero__right {
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.k12-v3 .v3-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  width: 100%;
  aspect-ratio: 1/1;
}
.k12-v3 .v3-hero__grid .v3-ph { border-radius: 8px; aspect-ratio: auto; }

/* ===== SECTION 2: TRUST STRIP (GREEN) ===== */
.k12-v3 .v3-trust {
  background: var(--v3-green);
  padding: 18px 0;
  overflow: hidden;
  width: 100%;
}
.k12-v3 .v3-trust__scroll {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  width: max-content;
  animation: v3-marquee 35s linear infinite;
}
@keyframes v3-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.k12-v3 .v3-trust__item {
  font-family: var(--v3-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--v3-on-dark-strong);
  letter-spacing: 0.02em;
}
.k12-v3 .v3-trust__dot {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
}

/* ===== SECTION 3: RESOURCE COLLECTION ===== */
.k12-v3 .v3-section-head { margin-bottom: 48px; }
.k12-v3 .v3-section-head--center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 48px; }
.k12-v3 .v3-section__sub {
  font-family: var(--v3-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--v3-muted);
  margin-top: 16px;
  max-width: 540px;
}
.k12-v3 .v3-section-head--center .v3-section__sub { margin-inline: auto; }

.k12-v3 .v3-collection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.k12-v3 .v3-collection__card { padding: 0; }
.k12-v3 .v3-collection__img {
  height: 160px;
  aspect-ratio: auto;
}
.k12-v3 .v3-collection__body {
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.k12-v3 .v3-collection__cat {
  font-family: var(--v3-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--v3-green);
}
.k12-v3 .v3-collection__name {
  font-family: var(--v3-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--v3-ink);
  letter-spacing: -0.015em;
}
.k12-v3 .v3-collection__count {
  font-family: var(--v3-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--v3-green);
}

/* ===== SECTION 4: BRAND STORY ===== */
.k12-v3 .v3-story {
  max-width: 720px;
}
.k12-v3 .v3-story__body {
  font-family: var(--v3-body);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--v3-on-dark-muted);
  margin: 20px 0 32px;
  max-width: 580px;
}

/* ===== SECTION 5: FEATURES ===== */
.k12-v3 .v3-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.k12-v3 .v3-feature {
  background: var(--v3-blue-tint);
  border-radius: 8px;
  padding: 24px;
  display: flex; flex-direction: column;
}
.k12-v3 .v3-feature__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.k12-v3 .v3-feature__name {
  font-family: var(--v3-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v3-ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.k12-v3 .v3-feature__desc {
  font-family: var(--v3-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--v3-text);
}

/* ===== SECTION 6: FEATURED PRODUCTS ===== */
.k12-v3 .v3-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.k12-v3 .v3-product { padding: 0; }
.k12-v3 .v3-product__img {
  height: 180px;
  aspect-ratio: auto;
}
.k12-v3 .v3-product__body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.k12-v3 .v3-product__tag {
  font-family: var(--v3-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--v3-green);
}
.k12-v3 .v3-product__name {
  font-family: var(--v3-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--v3-ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.k12-v3 .v3-product__price {
  font-family: var(--v3-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--v3-green);
  margin-top: 4px;
}

/* ===== SECTION 7: CTA STRIP ===== */
.k12-v3 .v3-cta-strip {
  padding: 96px 80px;
  text-align: center;
  background: var(--v3-navy-dark);
  color: var(--v3-on-dark-muted);
}
.k12-v3 .v3-cta-strip .v3-h2 {
  max-width: 720px;
  margin-inline: auto;
}
.k12-v3 .v3-cta-buttons {
  margin-top: 36px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ===== SECTION 8: TESTIMONIALS ===== */
.k12-v3 .v3-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.k12-v3 .v3-testimonial {
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.k12-v3 .v3-testimonial__stars {
  font-size: 0.9rem;
  color: var(--v3-green);
  letter-spacing: 2px;
}
.k12-v3 .v3-testimonial__quote {
  font-family: var(--v3-body);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--v3-text);
  flex: 1;
}
.k12-v3 .v3-testimonial__attr {
  font-family: var(--v3-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--v3-muted);
  margin-top: auto;
}

/* ===== SECTION 9: FOOTER ===== */
.k12-v3 .v3-footer {
  background: var(--v3-navy-dark);
  color: var(--v3-on-dark-muted);
  padding: 80px 0 0;
}
.k12-v3 .v3-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 0 80px 64px;
}
.k12-v3 .v3-footer__col-title {
  font-family: var(--v3-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--v3-on-dark-strong);
  margin-bottom: 18px;
}
.k12-v3 .v3-footer__brand .v3-logo { color: var(--v3-on-dark-strong); display: inline-block; margin-bottom: 12px; }
.k12-v3 .v3-footer__tag {
  font-family: var(--v3-body);
  font-size: 0.88rem;
  color: rgba(247,248,252,0.65);
  margin-bottom: 20px;
  line-height: 1.6;
}
.k12-v3 .v3-footer__social { display: flex; gap: 10px; }
.k12-v3 .v3-footer__social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,71,187,0.2);
  color: var(--v3-on-dark-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--v3-body);
  font-weight: 700;
  font-size: 0.75rem;
  transition: transform 0.28s var(--v3-ease), background 0.28s var(--v3-ease);
}
.k12-v3 .v3-footer__social-icon:hover {
  transform: translateY(-3px) rotate(6deg);
  background: var(--v3-blue);
}
.k12-v3 .v3-footer__list { display: flex; flex-direction: column; gap: 10px; }
.k12-v3 .v3-footer__list a {
  font-family: var(--v3-body);
  font-size: 0.88rem;
  color: rgba(247,248,252,0.7);
  display: inline-block;
  padding-left: 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.k12-v3 .v3-footer__list a:hover { color: var(--v3-on-dark-strong); padding-left: 6px; }
.k12-v3 .v3-footer__contact {
  font-family: var(--v3-body);
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(247,248,252,0.65);
}
.k12-v3 .v3-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 80px;
  text-align: center;
}
.k12-v3 .v3-footer__copy {
  font-family: var(--v3-body);
  font-size: 0.78rem;
  color: rgba(247,248,252,0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .k12-v3 .v3-hero__inner { grid-template-columns: 1fr; gap: 0; }
  .k12-v3 .v3-hero__right { padding: 0 0 80px; }
  .k12-v3 .v3-hero__grid { max-width: 480px; }
  .k12-v3 .v3-products { grid-template-columns: repeat(2, 1fr); }
  .k12-v3 .v3-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .k12-v3 .v3-h1 { font-size: 1.9rem; }
  .k12-v3 .v3-h2 { font-size: 1.5rem; }
  .k12-v3 .v3-h2--cta { font-size: 1.6rem; }
  .k12-v3 .v3-section { padding: 56px 0; }
  .k12-v3 .v3-hero__inner { padding: 0 36px; }
  .k12-v3 .v3-hero__left { padding: 56px 0 36px; }
  .k12-v3 .v3-nav__inner { padding: 18px 24px; overflow-x: auto; white-space: nowrap; }
  .k12-v3 .v3-container { padding-inline: 24px; }
  .k12-v3 .v3-cta-strip { padding: 56px 24px; }
  .k12-v3 .v3-collection,
  .k12-v3 .v3-features { grid-template-columns: 1fr; }
  .k12-v3 .v3-products { grid-template-columns: 1fr; }
  .k12-v3 .v3-testimonials { grid-template-columns: 1fr; }
  .k12-v3 .v3-footer__cols { grid-template-columns: 1fr; padding: 0 24px 48px; }
  .k12-v3 .v3-footer__bottom { padding: 20px 24px; }
  .k12-v3 .v3-hero__ctas .v3-btn,
  .k12-v3 .v3-cta-buttons .v3-btn { width: 100%; }
}
@media (max-width: 480px) {
  .k12-v3 .v3-h1 { font-size: 1.65rem; }
  .k12-v3 .v3-h2 { font-size: 1.3rem; }
  .k12-v3 .v3-section { padding: 40px 0; }
}
