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

/* Shell pagini statice — Despre Noi, Contact (Figma 1440) */

html:has(.ecp-static-page),
html:has(.ecp-static-page) body {
  margin: 0;
  padding: 0;
  background: #f0f8ff;
}

.ecp-static-page {
  --static-page-bg: #f0f8ff;
  --static-nav-bg: #f0f7ff;
  --static-panel-bg: #ffffff;
  --static-footer-border: #d9e2ff;
  --static-text: #364153;
  --static-muted: #8e9fdb;
  --static-active: #0744b4;
  --static-heading: #4a54e3;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--static-page-bg);
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--static-text);
}

.ecp-static-page * {
  box-sizing: border-box;
}

/* Menu — 100px */
.ecp-static-nav {
  flex-shrink: 0;
  height: 100px;
  background: var(--static-nav-bg);
  position: relative;
  z-index: 80;
  /* Același gutter ca .ecp-static-main — logo pe linia stângă a zonei albe */
  padding: 0 clamp(24px, 5.7vw, 82px);
}

.ecp-static-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1273px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 16px 0 0;
}

.ecp-static-nav__brand {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
}

.ecp-static-nav__logo {
  display: block;
  width: 67px;
  height: 67px;
  object-fit: contain;
}

.ecp-static-nav__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px clamp(16px, 3vw, 56px);
}

.ecp-static-nav__link {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--static-text);
  text-decoration: none;
  white-space: nowrap;
}

.ecp-static-nav__link:hover,
.ecp-static-nav__link.is-active {
  color: var(--static-active);
}

.ecp-static-nav__dropdown {
  position: relative;
}

.ecp-static-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  background: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--static-text);
  cursor: pointer;
  white-space: nowrap;
}

.ecp-static-nav__trigger:hover,
.ecp-static-nav__trigger.is-active,
.ecp-static-nav__dropdown.is-open .ecp-static-nav__trigger {
  color: var(--static-active);
}

.ecp-static-nav__chevron {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ecp-static-nav__dropdown.is-open .ecp-static-nav__chevron {
  transform: rotate(180deg);
}

.ecp-static-nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  padding: 24px;
  background: #f0f7ff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  box-shadow: 0 8px 10.5px -8px rgba(0, 0, 0, 0.1);
  isolation: isolate;
}

.ecp-static-nav__menu-caret {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  background: #f0f7ff;
  border-top: 1px solid #f3f4f6;
  border-left: 1px solid #f3f4f6;
  transform: rotate(45deg);
  z-index: 1;
}

.ecp-static-nav__menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.ecp-static-nav__menu-heading {
  margin: 0 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #4a54e3;
}

.ecp-static-nav__menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecp-static-nav__menu-item + .ecp-static-nav__menu-item {
  margin-top: 4px;
}

.ecp-static-nav__menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: #4a5565;
  text-decoration: none;
}

.ecp-static-nav__menu-link:hover {
  background: rgba(220, 235, 252, 0.55);
}

.ecp-static-nav__menu-item.is-active .ecp-static-nav__menu-link {
  background: #dcebfc;
  color: #4a5565;
}

.ecp-static-nav__menu-item.is-active .ecp-static-nav__menu-icon {
  color: #4a54e3;
}

.ecp-static-nav__menu-icon {
  flex-shrink: 0;
  color: #d1d5dc;
}

/* Main panel — 1273px, top 127px from page top */
.ecp-static-main {
  flex: 1 1 auto;
  width: 100%;
  padding: 27px clamp(24px, 5.7vw, 82px) 40px;
}

.ecp-static-panel {
  width: min(1273px, 100%);
  min-height: 905px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 57px);
  background: var(--static-panel-bg);
  border-radius: 21px;
}

.ecp-static-panel__title {
  margin: 0 0 32px;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--static-heading);
}

/* Despre Noi — Figma Frame 1832 (1273×941) */
.ecp-static-panel--about {
  min-height: 0;
  padding: clamp(48px, 8vw, 72px) clamp(24px, 4vw, 80px);
  overflow: visible;
}

.ecp-static-about-intro {
  position: relative;
  margin-bottom: 0;
}

@media (min-width: 901px) {
  .ecp-static-about-intro {
    /* rezervă înălțimea vizualului absolute; conținutul poate crește peste */
    min-height: calc(min(48%, 581px) * 573.54 / 580.69);
  }
}

.ecp-static-about-intro__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: min(100%, 640px);
  padding-right: clamp(0px, 2vw, 24px);
}

.ecp-static-about-hero {
  margin-bottom: 0;
}

.ecp-static-about-hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: min(48%, 581px);
  align-self: center;
  overflow: visible;
  margin-right: -1.9%;
}

.ecp-static-about-hero__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 580.69 / 573.54;
}

.ecp-static-about-hero__art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ecp-static-about-hero__title {
  margin: 0 0 20px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.39;
  color: #364153;
}

.ecp-static-about-hero__lead,
.ecp-static-about-association__text,
.ecp-static-about-pillar__desc {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #27303d;
}

.ecp-static-about-hero__lead + .ecp-static-about-hero__lead,
.ecp-static-about-association__text + .ecp-static-about-association__text {
  margin-top: 1em;
}

.ecp-static-about-association {
  max-width: 640px;
  margin-top: 45px;
  margin-bottom: 0;
}

.ecp-static-about-association__title {
  margin: 0 0 22px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.39;
  color: #364153;
}

.ecp-static-about-pillars {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 82px;
  max-width: 1126px;
  margin-top: 70px;
}

.ecp-static-about-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  flex: 1 1 280px;
  min-width: 0;
}

.ecp-static-about-pillar__icon-wrap {
  flex: none;
  height: 100px;
  display: flex;
  align-items: flex-end;
}

.ecp-static-about-pillar__icon {
  display: block;
  width: auto;
  height: 100px;
  max-width: 100%;
}

.ecp-static-about-pillar__title {
  margin: 0;
  align-self: stretch;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.39;
  color: #364153;
}

.ecp-static-about-pillar__desc {
  margin: 0;
  align-self: stretch;
  line-height: 23px;
}

/* Politica de confidențialitate */
.ecp-static-panel--privacy {
  min-height: 0;
  padding: clamp(32px, 5vw, 48px) clamp(20px, 3vw, 48px);
}

.ecp-static-privacy {
  max-width: none;
  width: 100%;
}

.ecp-static-privacy__title {
  margin: 0 0 12px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.39;
  color: #364153;
}

.ecp-static-privacy__meta {
  margin: 0 0 28px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: #8e9fdb;
}

.ecp-static-privacy__section + .ecp-static-privacy__section {
  margin-top: 28px;
}

.ecp-static-privacy__heading {
  margin: 0 0 14px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.39;
  color: #364153;
}

.ecp-static-privacy__subheading {
  margin: 18px 0 10px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.4;
  color: #364153;
}

.ecp-static-privacy__subheading:first-child {
  margin-top: 0;
}

.ecp-static-privacy__text {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: #27303d;
}

.ecp-static-privacy__text + .ecp-static-privacy__text {
  margin-top: 1.5em;
}

.ecp-static-privacy__text + .ecp-static-privacy__list {
  margin-top: 1em;
}

.ecp-static-privacy__list {
  margin: 0;
  padding-left: 1.25em;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: #27303d;
}

.ecp-static-privacy__list + .ecp-static-privacy__text {
  margin-top: 1.5em;
}

.ecp-static-privacy__list li + li {
  margin-top: 0.35em;
}

.ecp-static-privacy__text strong,
.ecp-static-privacy__list strong {
  font-weight: 800;
  color: #364153;
}

.ecp-static-privacy__link {
  color: #364153;
  font-weight: 700;
  text-decoration: none;
}

.ecp-static-privacy__link:hover {
  color: #0744b4;
}

.ecp-static-privacy__actions {
  margin-top: 20px;
}

.ecp-static-privacy__actions-note {
  margin: 24px 0 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  color: #364153;
}

.ecp-static-privacy__list--after-note {
  margin-top: 0.5em;
}

.ecp-static-privacy__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 32px;
  border: none;
  border-radius: 12px;
  background: #4E65B4;
  background-color: #4E65B4;
  -webkit-appearance: none;
  appearance: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
  color: #ffffff;
  cursor: pointer;
}

.ecp-static-privacy__button:hover,
.ecp-static-privacy__button:focus {
  background: #4E65B4;
  background-color: #4E65B4;
  color: #ffffff;
}

/* Contact — Figma Frame 1832 (1273×774); scene bbox 764.42×639.72, origin (523, 25) */
.ecp-static-panel--contact {
  min-height: 774px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 80px);
  overflow: visible;
}

.ecp-static-contact {
  display: grid;
  grid-template-columns: minmax(0, 434px) minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 662px;
}

.ecp-static-contact__title {
  margin: 0 0 22px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.39;
  color: #364153;
}

.ecp-static-contact__intro {
  margin: 0 0 49px;
  max-width: 434px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 23px;
  color: #27303d;
}

.ecp-static-contact__visual {
  position: relative;
  align-self: center;
  overflow: visible;
  /* Figma deco top 25px; compensează padding-ul panoului */
  margin-top: calc(25px - clamp(32px, 4vw, 56px));
  /* Poza iese ~14px peste marginea dreaptă a frame-ului */
  margin-right: -1.9%;
}

/* Scene bbox: left 523 → right 1287.42, top 25 → bottom 664.72 */
.ecp-static-contact__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 764.42 / 639.72;
}

.ecp-static-contact__art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ecp-static-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 434px;
  margin: 0;
}

.ecp-static-contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ecp-static-contact-form__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #364153;
}

.ecp-static-contact-form__field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #d9e2ff;
  border-radius: 10px;
  background: #f7f9ff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #364153;
}

.ecp-static-contact-form__field::placeholder {
  color: #b0bcd4;
}

.ecp-static-contact-form__field:focus {
  outline: 2px solid rgba(78, 101, 180, 0.25);
  border-color: #4e65b4;
}

.ecp-static-contact-form__field.is-invalid {
  border-color: #d14343;
}

.alert {
  margin: 0 0 20px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.alert p {
  margin: 0 0 6px;
}

.alert p:last-child,
.alert ul:last-child {
  margin-bottom: 0;
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}

.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

.ecp-static-contact-form__field--area {
  min-height: 127px;
  resize: vertical;
  line-height: 21px;
}

.ecp-static-contact-form__actions {
  padding-top: 4px;
}

.ecp-static-contact-form__turnstile {
  min-height: 65px;
}

.ecp-static-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  padding: 12px 32px;
  border: none;
  border-radius: 12px;
  background: #4e65b4;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  color: #ffffff;
  cursor: pointer;
}

.ecp-static-contact-form__submit:hover {
  background: #3f5499;
}

/* Footer — 146px */
.ecp-static-footer {
  flex-shrink: 0;
  min-height: 146px;
  border-top: 1px solid var(--static-footer-border);
  background: var(--static-page-bg);
}

.ecp-static-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1276px;
  min-height: 146px;
  margin: 0 auto;
  padding: 24px clamp(24px, 7vw, 101px);
}

.ecp-static-footer__brand {
  display: flex;
  align-items: center;
  gap: 45px;
}

.ecp-static-footer__logo {
  display: block;
  width: 95px;
  height: 95px;
  object-fit: contain;
  flex-shrink: 0;
}

.ecp-static-footer__links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.ecp-static-footer__link {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--static-text);
  text-decoration: none;
}

.ecp-static-footer__link:hover {
  color: var(--static-active);
}

.ecp-static-footer__copy {
  margin: 0;
  max-width: 320px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  color: var(--static-muted);
}

@media (max-width: 900px) {
  .ecp-static-about-intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .ecp-static-about-intro__content {
    max-width: none;
    width: 100%;
    padding-right: 0;
    order: 2;
  }

  .ecp-static-about-hero__visual {
    position: static;
    width: 100%;
    order: 1;
  }

  .ecp-static-about-hero__scene {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 420px);
  }

  .ecp-static-about-pillars {
    flex-direction: column;
    gap: 32px;
    max-width: none;
    margin-top: 48px;
  }

  .ecp-static-about-pillar {
    flex-basis: auto;
    max-width: none !important;
  }

  .ecp-static-contact {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
  }

  .ecp-static-panel--contact {
    min-height: 0;
    padding: 28px 20px;
  }

  .ecp-static-contact__visual {
    order: -1;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .ecp-static-contact__scene {
    width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .ecp-static-contact__intro {
    margin-bottom: 32px;
  }
}

@media (max-width: 700px) {
  .ecp-static-nav {
    height: 100px;
    padding: 0 12px;
  }

  .ecp-static-nav__inner {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 16px 0 0;
  }

  .ecp-static-nav__logo {
    width: 48px;
    height: 48px;
  }

  .ecp-static-nav__links {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .ecp-static-nav__link,
  .ecp-static-nav__trigger {
    font-size: 14px;
    line-height: 1.3;
    flex-shrink: 0;
  }

  .ecp-static-nav__trigger {
    gap: 5px;
  }

  .ecp-static-nav__chevron {
    width: 16px;
    height: 16px;
  }

  .ecp-static-nav__dropdown,
  .ecp-static-nav__link {
    flex-shrink: 0;
  }

  .ecp-static-nav__menu {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    max-width: 100vw;
    transform: none;
    margin: 0;
    padding: 20px 16px;
    border-radius: 0 0 16px 16px;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ecp-static-nav__menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .ecp-static-nav__menu-col {
    width: 100%;
  }

  .ecp-static-nav__menu-list,
  .ecp-static-nav__menu-link {
    width: 100%;
  }

  .ecp-static-nav__menu-link span {
    white-space: normal;
  }

  .ecp-static-nav__menu-caret {
    display: none;
  }

  .ecp-static-panel {
    min-height: 0;
    padding: 28px 18px;
  }

  .ecp-static-panel--contact {
    padding: 24px 16px;
  }

  .ecp-static-contact__title {
    margin-bottom: 16px;
  }

  .ecp-static-contact__intro {
    margin-bottom: 24px;
  }

  .ecp-static-contact-form {
    max-width: none;
  }

  .ecp-static-contact-form__field {
    font-size: 16px;
    line-height: 1.4;
  }

  .ecp-static-contact-form__submit {
    width: 100%;
    min-height: 48px;
  }

  .ecp-static-contact__scene {
    width: 100%;
  }

  .ecp-static-panel--about {
    padding: 24px 16px;
  }

  .ecp-static-about-hero__title {
    margin-bottom: 16px;
  }

  .ecp-static-about-pillar__icon {
    height: 80px;
  }

  .ecp-static-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ecp-static-footer__copy {
    max-width: none;
    text-align: left;
  }

  .ecp-static-page.invata-hub-page .invata-hub-exit {
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
  }
}

@media (max-width: 380px) {
  .ecp-static-nav__inner {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .ecp-static-nav__logo {
    width: 44px;
    height: 44px;
  }

  .ecp-static-nav__links {
    gap: 8px;
  }
}

/* Hub lecții în același shell */
.ecp-static-page.invata-hub-page .ecp-static-panel.invata-hub-panel {
  min-height: 0;
}

.ecp-static-panel--lesson {
  min-height: 0;
  overflow: visible;
}

.ecp-lesson-content {
  width: 100%;
  display: flow-root;
}

.ecp-lesson-content.deseneaza-root {
  min-height: 320px;
}

.ecp-lesson-content.alfabet-scris-root,
.ecp-lesson-content.alfabet-grupuri-scris-root,
.ecp-lesson-content.alfabet-grupuri-citit-root {
  max-width: 100%;
}


.ecp-static-fise__header {
  margin-bottom: 28px;
}

.ecp-static-fise__title {
  margin: 0 0 12px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.39;
  color: #364153;
}

.ecp-static-fise__lead {
  margin: 0;
  max-width: 42rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: #27303d;
}

.ecp-static-fise__section + .ecp-static-fise__section {
  margin-top: 32px;
}

.ecp-static-fise__heading {
  margin: 0 0 14px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.39;
  color: #4a54e3;
}

.ecp-static-fise__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.ecp-static-fise__card {
  display: block;
  height: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #27303d;
  background: #f8faff;
  border: 1px solid #e4eafc;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ecp-static-fise__card:hover,
.ecp-static-fise__card:focus-visible {
  background: #fff;
  border-color: #c7d2fe;
  box-shadow: 0 8px 20px rgba(74, 84, 227, 0.08);
  outline: none;
}

.ecp-static-fise__card-title {
  display: block;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
}

.ecp-static-fise__card-meta {
  display: block;
  margin-top: 6px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #8e9fdb;
}

@media (max-width: 640px) {
  .ecp-static-fise__grid {
    grid-template-columns: 1fr;
  }
}
