/* EAIO signature layer — the Excel-grid E as a house style. */

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext-600-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10241c;
  --paper: #f3f7f4;
  --cream: #e8f3ec;
  --accent: #1a5c38;
  --accent-light: #2e7d4f;
  --accent-glow: #3aaa6d;
  --cell: #3aaa6d;
  --cell-mid: #6fd394;
  --cell-bright: #7ee48a;
  --muted: #4d5f57;
  --border: rgba(16, 36, 28, .12);
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --body: Outfit, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --radius-cell: 11px;
}

.eaio-v3 {
  --v3-serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --v3-font: Outfit, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

html { scrollbar-color: #1a5c38 #e8f3ec; }
::selection { background: #1a5c38; color: #7ee48a; }
:focus-visible { outline: 2px solid #7ee48a; outline-offset: 3px; }

.eaio-v3 .hero-v3 h1,
.eaio-v3 .v3-section-head h2,
.eaio-v3 .schedule-head .section-title,
.eaio-v3 .reviews-v3-head h2,
.eaio-v3 .about-v3-copy h2,
.eaio-v3 .faq-v3-intro h2,
.eaio-v3 .contact-v3-copy h2,
.eaio-v3 .knowledge-v3-head h2,
.eaio-v3 .course-card-v3 h3,
.eaio-v3 .corporate-v3-copy h3,
.eaio-v3 .aftercourse-v3-card h3,
.eaio-v3 .hero-v3-panel h2 {
  font-family: var(--v3-serif);
}

/* Three cells — the house mark, next to every eyebrow */
.eaio-v3 .v3-eyebrow,
.eaio-v3 .section-tag,
.public-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eaio-v3 .v3-eyebrow::before,
.eaio-v3 .section-tag::before,
.public-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-right: 22px;
  border-radius: 2.2px;
  background: #3aaa6d;
  box-shadow: 11px 0 0 #6fd394, 22px 0 0 #7ee48a;
}

.eaio-v3 .hero-v3-kicker span,
.public-hero .public-eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  background: #3aaa6d;
  box-shadow: 12px 0 0 #6fd394, 24px 0 0 #7ee48a;
}
.eaio-v3 .hero-v3-kicker { gap: 38px; }
.eaio-v3 .hero-v3-kicker span { display: inline-block; }

/* Stripe under the mark */
.eaio-v3 .site-nav-v3::after,
.public-header::after {
  content: "";
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  bottom: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, #3aaa6d, #6fd394, #7ee48a);
  border-radius: 2px 2px 0 0;
}
.public-header { position: sticky; }

/* Rounded-square portraits — same crop as the mark */
.eaio-v3 .hero-v3-person img {
  border-radius: 14px;
  border: 2px solid rgba(126, 228, 138, .5);
}
.eaio-v3 .review-v3-avatar { border-radius: 12px; }
.eaio-v3 .about-v3-visual picture { border-radius: 22px; }

/* Dark fields carry a faint E-grid */
.eaio-v3 .corporate-v3,
.eaio-v3 .about-v3,
.eaio-v3 .footer-v3,
.public-hero {
  position: relative;
  isolation: isolate;
}
.eaio-v3 .corporate-v3::after,
.eaio-v3 .about-v3::after,
.eaio-v3 .footer-v3::after,
.public-hero::after {
  content: "";
  position: absolute;
  right: clamp(-48px, 2vw, 24px);
  bottom: clamp(-36px, 4vw, 12px);
  width: min(240px, 38vw);
  height: min(240px, 38vw);
  background: url("/logo.svg") center / contain no-repeat;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
.eaio-v3 .corporate-v3 > *,
.eaio-v3 .about-v3-grid,
.eaio-v3 .footer-v3 > .v3-container,
.public-hero > div { position: relative; z-index: 1; }

/* Workbook lists: the three greens cycle like a row of cells */
.eaio-v3 .course-card-v3 li::before {
  border-radius: 2.4px;
  box-shadow: none;
}
.eaio-v3 .course-card-v3 li:nth-child(3n+1)::before { background: #3aaa6d; }
.eaio-v3 .course-card-v3 li:nth-child(3n+2)::before { background: #6fd394; }
.eaio-v3 .course-card-v3 li:nth-child(3n)::before { background: #7ee48a; }

.eaio-v3 .faq-item-v3 .faq-q > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e8f3ec;
  color: #1a5c38;
  font-size: .72rem;
  letter-spacing: .04em;
}

/* Buttons: cell radius, never a pill */
.eaio-v3 .nav-quote-v3,
.eaio-v3 .hero-v3-primary,
.eaio-v3 .hero-v3-secondary,
.eaio-v3 .course-card-v3-actions button,
.eaio-v3 .btn-signup,
.eaio-v3 .corporate-v3-primary,
.eaio-v3 .contact-submit-v3,
.public-nav-cta,
.public-actions a,
.detail-button,
.cookie-accept,
.cookie-decline,
.quiz-btn-next,
.quiz-btn-prev {
  border-radius: var(--radius-cell) !important;
}

.eaio-v3 .nav-quote-v3:hover { background: #1a5c38; }
.public-nav-cta {
  background: #1a5c38;
  color: #fff !important;
  border-color: #1a5c38 !important;
  font-weight: 700;
}

/* Cookie bar — forest, not black */
.cookie-banner {
  background: #0c1f16;
  color: #d5e6db;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #3aaa6d, #6fd394, #7ee48a) 1;
}
.cookie-banner a { color: #7ee48a; }
.cookie-accept { background: #7ee48a; color: #10241c; font-weight: 700; }
.cookie-accept:hover { background: #6fd394; }
.cookie-decline { color: #c5d9ce; }

/* Quiz: same forest header, cell options */
.quiz-header {
  background: #0c1f16;
  position: relative;
}
.quiz-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #3aaa6d, #6fd394, #7ee48a);
}
.quiz-progress-fill { background: #7ee48a; }
.quiz-q-text { font-family: var(--serif); }
.quiz-option { border-radius: 12px; }
.quiz-option.selected { background: #e8f3ec; border-color: #1a5c38; }

.eaio-v3 .cookie-toggle input:checked + .cookie-toggle-slider { background: #3aaa6d; }

/* Public course pages */
.public-hero {
  background:
    radial-gradient(ellipse at 88% 8%, rgba(126, 228, 138, .18), transparent 42%),
    linear-gradient(165deg, #0c1f16 0%, #145232 58%, #0f2e20 100%) !important;
}
.public-hero h1,
.legal-content h2,
.legal-content h3,
.public-grid h2,
.public-card-list h2,
.public-steps h2,
.public-next h2 {
  font-family: var(--serif);
}
.public-hero .public-eyebrow { color: #7ee48a; }
.public-actions a.primary,
.detail-button {
  background: #7ee48a;
  color: #10241c;
  border-color: #7ee48a;
}

/* Checkout / vélemény / portál lockup on the shared type */
.logo,
.public-brand,
.login-logo {
  font-family: var(--body);
}
h1, h2, h3 {
  font-family: var(--serif);
}

.topbar {
  background: #0c1f16;
}

@media (max-width: 680px) {
  .eaio-v3 .corporate-v3::after,
  .eaio-v3 .about-v3::after,
  .eaio-v3 .footer-v3::after,
  .public-hero::after { opacity: .05; width: 160px; height: 160px; }
  .eaio-v3 .site-nav-v3::after,
  .public-header::after { left: 16px; width: 40px; }
}

.offer-ticker {
  position: sticky;
  top: 0;
  z-index: 130;
  display: flex;
  align-items: stretch;
  min-height: 46px;
  background: #0c1f16;
  color: #f4fff7;
  border-bottom: 1px solid rgba(126, 228, 138, .35);
  box-shadow: inset 3px 0 0 #7ee48a, 0 10px 28px rgba(12, 31, 22, .28);
}
.offer-ticker[hidden] { display: none !important; }
.offer-ticker__link {
  display: flex;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.offer-ticker__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 46px;
  overflow: hidden;
}
.offer-ticker__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 28px 0 22px;
  white-space: nowrap;
  overflow: hidden;
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: .01em;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.offer-ticker__item.is-current {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform .9s cubic-bezier(.22, .8, .28, 1), opacity .45s ease;
}
.offer-ticker__item.is-leaving {
  transform: translateY(110%);
  opacity: 0;
  transition: transform .9s cubic-bezier(.22, .8, .28, 1), opacity .45s ease;
}
.offer-ticker__close {
  width: 42px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #c5ddcf;
  font-size: 1.35rem;
  cursor: pointer;
}
.offer-ticker__close:hover,
.offer-ticker__close:focus-visible { color: #fff; }
body.has-offer-ticker .public-header { top: 46px; }
body.has-offer-ticker.eaio-v3 .site-nav-v3 { top: 46px; }
body.has-offer-ticker.eaio-v3 .hero-v3 {
  padding-top: calc(clamp(124px, 12vw, 156px) + 46px);
}
body.has-offer-ticker .article-read-progress { top: 46px; }
@media (prefers-reduced-motion: reduce) {
  .offer-ticker__item,
  .offer-ticker__item.is-current,
  .offer-ticker__item.is-leaving {
    transition: none;
    transform: none;
    opacity: 0;
  }
  .offer-ticker__item.is-current { opacity: 1; }
}
@media (max-width: 1100px) {
  .offer-ticker__item { font-size: .84rem; letter-spacing: 0; padding: 0 16px 0 16px; }
}
@media (max-width: 680px) {
  .offer-ticker,
  .offer-ticker__viewport { min-height: 40px; height: 40px; }
  .offer-ticker__item { font-size: .78rem; padding: 0 12px; }
  body.has-offer-ticker .public-header { top: 40px; }
  body.has-offer-ticker.eaio-v3 .site-nav-v3 { top: 40px; }
  body.has-offer-ticker.eaio-v3 .hero-v3 { padding-top: 150px; }
  body.has-offer-ticker .article-read-progress { top: 40px; }
}
