
:root {
  --site-primary: #155eef;
  --site-primary-dark: #0f4ccc;
  --site-primary-soft: rgba(21, 94, 239, 0.12);
  --site-ink: #101828;
  --site-muted: #475467;
  --site-border: rgba(16, 24, 40, 0.08);
  --site-surface: #ffffff;
  --site-soft: #f4f7fb;
  --site-soft-2: #edf3ff;
  --site-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
  --site-shadow-hover: 0 28px 65px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "liga" 1, "kern" 1;
  background:
    radial-gradient(circle at top right, rgba(21, 94, 239, 0.10), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f2f5fb 100%);
  color: var(--site-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: var(--site-primary);
}

a:hover {
  color: var(--site-primary-dark);
}

main {
  min-height: calc(100vh - 230px);
}

.site-navbar {
  background: linear-gradient(90deg, #1158e2 0%, #1a73e8 100%);
  box-shadow: 0 12px 36px rgba(17, 88, 226, 0.18);
  padding-block: 0.7rem;
}

.navbar-brand,
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.96);
}

.navbar-brand {
  letter-spacing: -0.02em;
}

.navbar-dark .navbar-nav .nav-link {
  font-size: 0.97rem;
  font-weight: 500;
  padding-inline: 0.6rem;
  opacity: 0.95;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #fff;
  opacity: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}

.brand-mark.small {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.95rem;
}

.home-page,
.page-builder-page {
  padding-top: 0.75rem;
}

.hero-panel,
.content-card,
.feature-card,
.info-card,
.app-card,
.feedback-banner,
.footer-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 1.6rem;
  box-shadow: var(--site-shadow);
}

.builder-block {
  margin-bottom: 1.75rem;
}

.builder-hero-panel,
.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    linear-gradient(180deg, rgba(164, 217, 255, 0.08) 0%, rgba(164, 217, 255, 0) 28%),
    linear-gradient(135deg, rgba(17, 34, 78, 0.96) 0%, rgba(33, 63, 135, 0.88) 48%, rgba(88, 138, 234, 0.80) 100%),
    linear-gradient(180deg, #18325d 0%, #3f72d2 100%);
  min-height: 470px;
  display: flex;
  align-items: center;
}

.builder-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(255,255,255,0.16), transparent 18%),
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.07), transparent 20%),
    linear-gradient(180deg, rgba(170, 219, 255, 0.12) 0%, rgba(16, 31, 66, 0.08) 38%, rgba(10, 18, 38, 0.34) 100%);
}

.builder-hero-panel .position-relative,
.hero-panel .position-relative {
  z-index: 2;
  width: 100%;
}

.builder-hero-fullbleed,
.hero-fullwidth {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.builder-hero-fullbleed .builder-hero-panel,
.hero-fullwidth {
  border-radius: 0 0 2.5rem 2.5rem;
  padding: 0;
  min-height: 540px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.hero-content-shell {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 4.5rem) 1rem;
}

.hero-sea-layers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  left: -12%;
  width: 124%;
  border-radius: 46%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-wave.wave-1 {
  height: 300px;
  bottom: -170px;
  background: linear-gradient(180deg, rgba(167, 230, 255, 0.12), rgba(167, 230, 255, 0.28));
  opacity: 0.32;
  animation: heroWaveDrift 22s linear infinite;
}

.hero-wave.wave-2 {
  height: 260px;
  bottom: -155px;
  background: linear-gradient(180deg, rgba(121, 197, 255, 0.06), rgba(121, 197, 255, 0.20));
  opacity: 0.20;
  animation: heroWaveReverse 30s linear infinite;
}

.hero-wave.wave-3 {
  height: 200px;
  bottom: -105px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(176, 231, 255, 0.14));
  opacity: 0.14;
  animation: heroWaveBob 14s ease-in-out infinite;
}

@keyframes heroWaveDrift {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(3.5%) translateY(-10px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes heroWaveReverse {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-4.5%) translateY(12px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes heroWaveBob {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(2%) translateY(-14px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.builder-hero-panel .eyebrow.bg-white {
  background: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.96) !important;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.7rem);
  line-height: 0.98;
  font-weight: 800;
  max-width: 12ch;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.hero-text,
.builder-hero-panel .hero-text {
  color: rgba(255,255,255,0.86) !important;
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  line-height: 1.8;
  max-width: 58ch;
}

.hero-side-card {
  padding: 1.3rem;
  border-radius: 1.45rem;
  background: linear-gradient(160deg, #0f6bdc 0%, #0a4fbe 100%);
  color: #fff;
  min-height: 100%;
}

.hero-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-stat {
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  min-height: 120px;
}

.mini-stat.full {
  grid-column: 1 / -1;
}

.mini-stat strong,
.feature-card h3,
.card-header-lite,
.feedback-banner h2,
.info-card h2,
.footer-title {
  display: block;
  font-weight: 700;
}

.mini-stat span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255,255,255,0.9);
}

.builder-hero-panel .btn,
.hero-panel .btn {
  min-width: 160px;
  border-radius: 0.95rem;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.builder-hero-panel .btn-light,
.hero-panel .btn-light {
  color: #0f172a;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2,
.info-card h2,
.builder-block h2,
.feedback-banner h2 {
  font-size: clamp(1.75rem, 2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.feature-card,
.info-card,
.app-card,
.content-card,
.feedback-banner {
  padding: 1.6rem;
}

.feature-card,
.content-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--site-shadow-hover);
  border-color: rgba(21, 94, 239, 0.16);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.10), transparent 72%);
}

.feature-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(180deg, #eff4ff 0%, #dfeaff 100%);
  color: var(--site-primary-dark);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(21, 94, 239, 0.1);
}

.feature-card h3 {
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 0;
  position: relative;
  z-index: 1;
}

.feature-card p,
.info-card p,
.app-card p,
.feedback-banner p,
.content-item span,
.empty-state,
.site-footer .text-muted,
.builder-image-copy,
.accordion-body,
.page-summary,
.body-copy {
  color: var(--site-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.builder-image-card {
  padding: 1.2rem;
}

.builder-media-frame {
  border-radius: 1.35rem;
  overflow: hidden;
  background: linear-gradient(180deg, #edf3ff 0%, #f7faff 100%);
  box-shadow: inset 0 0 0 1px rgba(21, 94, 239, 0.06);
}

.builder-media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.builder-media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--site-muted);
  font-weight: 600;
  background: repeating-linear-gradient(
    45deg,
    rgba(21, 94, 239, 0.05),
    rgba(21, 94, 239, 0.05) 12px,
    rgba(21, 94, 239, 0.08) 12px,
    rgba(21, 94, 239, 0.08) 24px
  );
}

.builder-image-copy {
  padding-inline: clamp(0rem, 1vw, 1rem);
}

.builder-image-copy h2 {
  margin-bottom: 1rem;
}

.builder-image-copy .btn-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--site-primary);
  text-decoration: none;
}

.builder-image-copy .btn-inline-link::after {
  content: "→";
}

.info-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.app-card {
  background: linear-gradient(180deg, #0f172a 0%, #172554 100%);
  color: #fff;
}

.app-card p,
.app-card .eyebrow {
  color: rgba(255,255,255,0.82);
}

.app-card .eyebrow {
  background: rgba(255,255,255,0.08);
}

.card-header-lite {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.content-item {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}

.content-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  border-color: rgba(21, 94, 239, 0.12);
}

.content-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.empty-state {
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fafc;
}

.feedback-banner {
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
}

.feedback-banner .btn {
  border-radius: 0.9rem;
  padding-inline: 1.25rem;
  font-weight: 700;
}

.accordion-item {
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 0.85rem;
}

.accordion-button {
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 1.15rem;
  background: #f9fbff;
  color: var(--site-ink);
}

.accordion-button:not(.collapsed) {
  background: #eef4ff;
  color: var(--site-primary-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(21, 94, 239, 0.12);
}

.accordion-body {
  background: #fff;
  padding: 1rem 1.15rem 1.2rem;
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(248,250,252,0.95) 100%);
  border-top: 1px solid var(--site-border);
  backdrop-filter: blur(8px);
}

.footer-card {
  padding: 2rem;
}

.footer-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #344054;
  margin-bottom: 0.85rem;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link-list a {
  color: var(--site-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link-list a:hover {
  color: var(--site-primary-dark);
}

.footer-meta {
  padding-top: 1.35rem;
  margin-top: 1.35rem;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.eu-disclaimer {
  padding-top: 1.1rem;
  margin-top: 1.1rem;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  color: var(--site-muted);
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: center;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.site-lang-switch .btn,
.navbar .btn {
  border-radius: 0.7rem;
  min-width: 46px;
  font-weight: 700;
}

.page-shell-card {
  background: #fff;
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  box-shadow: var(--site-shadow);
  padding: clamp(1.5rem, 2vw, 2.5rem);
}

.page-title {
  font-size: clamp(2rem, 2.8vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.page-summary {
  max-width: 60ch;
}

@media (max-width: 991.98px) {
  .site-navbar {
    padding-block: 0.6rem;
  }

  .hero-panel,
  .builder-hero-panel {
    min-height: auto;
    padding: 1.75rem;
  }

  .hero-title {
    max-width: none;
  }

  .builder-image-copy {
    padding-inline: 0;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding-inline: 0;
  }
}

@media (max-width: 767.98px) {
  main {
    min-height: auto;
  }

  .feature-card,
  .content-card,
  .info-card,
  .app-card,
  .feedback-banner,
  .footer-card {
    padding: 1.25rem;
  }

  .hero-panel,
  .builder-hero-panel {
    border-radius: 1.35rem;
  }

  .builder-hero-panel .btn,
  .hero-panel .btn {
    width: 100%;
  }

  .section-heading h2,
  .info-card h2,
  .builder-block h2,
  .feedback-banner h2,
  .page-title {
    font-size: 1.6rem;
  }
}


.site-logo-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(15, 23, 42, 0.18));
}

.brand-word {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.hero-actions .btn + .btn {
  background: transparent;
}

.hero-visual-panel {
  position: relative;
  max-width: 430px;
  margin-left: auto;
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-brand-lockup img {
  width: 64px;
  height: auto;
  object-fit: contain;
}

.hero-brand-lockup strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.hero-brand-lockup small,
.hero-brand-kicker {
  display: block;
  color: rgba(255,255,255,0.75);
}

.hero-brand-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.hero-visual-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.hero-visual-card-grid-compact {
  margin-bottom: 0.9rem;
}

.hero-mini-card {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-mini-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255,255,255,0.16);
  color: #fff;
  margin-bottom: 0.65rem;
}

.hero-mini-card strong {
  display: block;
  font-size: 1rem;
}

.hero-mini-card small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

.hero-program-note {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 0.9rem;
}

.hero-program-note strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.hero-program-note small {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255,255,255,0.76);
  line-height: 1.55;
}

.hero-logo-ribbon {
  margin-top: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.92);
}

.hero-logo-ribbon-compact img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  margin: 0 auto;
}

.feature-icon.feature-icon-svg {
  padding: 0.75rem;
}

.feature-icon.feature-icon-svg svg {
  width: 100%;
  height: 100%;
}

.feature-card {
  cursor: default;
}

.feature-card[href],
.feature-card a {
  cursor: pointer;
}

.feature-card h3 {
  margin-top: 0.15rem;
}

.feature-card-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.08);
  color: var(--site-primary-dark);
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.feature-card:hover .feature-card-arrow {
  transform: translateX(4px);
  background: rgba(21, 94, 239, 0.14);
}

.feedback-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0%, #e9f1ff 100%);
}

.feedback-banner::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.10), transparent 70%);
}

.footer-project-strip {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(16,24,40,0.08);
  border-radius: 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  padding: 0.8rem 1rem;
  max-width: 980px;
  margin-inline: auto;
}

.footer-project-strip img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto;
}

.footer-brand-mark {
  width: 52px;
  height: auto;
  object-fit: contain;
}

.footer-subtitle {
  color: var(--site-muted);
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .hero-visual-panel {
    margin-top: 0.5rem;
  }
  .hero-logo-ribbon {
    padding: 0.65rem 0.75rem;
  }
  .footer-project-strip img {
    width: min(100%, 620px);
  }
}

@media (max-width: 767.98px) {
  .site-logo-mark {
    width: 30px;
    height: 30px;
  }
  .brand-word {
    font-size: 1.15rem;
  }
  .hero-visual-card-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo-ribbon-compact img {
    width: 100%;
  }
  .footer-project-strip {
    padding: 0.7rem 0.8rem;
  }
}


@media (max-width: 1199.98px) {
  .builder-hero-fullbleed .builder-hero-panel,
  .hero-fullwidth {
    min-height: 500px;
  }

  .hero-content-shell {
    width: min(1140px, calc(100vw - 1.5rem));
  }
}

@media (max-width: 991.98px) {
  .builder-hero-fullbleed .builder-hero-panel,
  .hero-fullwidth {
    min-height: 0;
    border-radius: 0 0 2rem 2rem;
  }

  .hero-content-shell {
    width: min(100%, calc(100vw - 1rem));
    padding-block: 2.25rem 2.5rem;
  }

  .hero-visual-panel {
    margin: 0.75rem auto 0;
  }
}

@media (max-width: 767.98px) {
  .builder-hero-fullbleed,
  .hero-fullwidth {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .builder-hero-fullbleed .builder-hero-panel,
  .hero-fullwidth {
    border-radius: 0 0 1.5rem 1.5rem;
  }

  .hero-content-shell {
    width: calc(100vw - 0.8rem);
    padding-inline: 0.7rem;
  }

  .hero-title {
    max-width: 10ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave {
    animation: none !important;
  }
}


.home-page-sections,
.page-builder-homepage {
  padding-top: 0;
}

.hero-panel.hero-fullwidth,
.builder-hero-fullbleed .builder-hero-panel {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-panel.hero-fullwidth {
  border-radius: 0 0 2.4rem 2.4rem;
}

@media (max-width: 991.98px) {
  .hero-panel.hero-fullwidth,
  .builder-hero-fullbleed .builder-hero-panel {
    border-radius: 0 0 2rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-panel.hero-fullwidth,
  .builder-hero-fullbleed .builder-hero-panel {
    border-radius: 0 0 1.5rem 1.5rem;
  }
}

/* Official Interreg/EU/e-Local header and hero correction */
.site-navbar {
  padding-block: 0.55rem;
}

.site-navbar .container-fluid {
  gap: 1.15rem;
}

.site-official-brand {
  flex: 0 0 auto;
  min-width: 0;
  margin-right: 1.1rem;
}

.site-official-logo {
  display: block;
  width: clamp(220px, 23vw, 330px);
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.site-navbar .navbar-collapse {
  min-width: 0;
}

.site-main-nav {
  min-width: 0;
}

.site-navbar .navbar-nav .nav-link {
  white-space: nowrap;
  font-size: 0.92rem;
  line-height: 1.15;
  padding-inline: 0.45rem;
}

.site-lang-switch {
  flex: 0 0 auto;
}

.site-lang-switch .btn {
  min-width: 42px;
  white-space: nowrap;
}

.hero-visual-panel-official {
  max-width: 430px;
  padding: 1.15rem;
}

.hero-official-logo-card {
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(8, 20, 43, 0.10);
}

.hero-official-logo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-project-identity {
  padding: 0.25rem 0.15rem 1rem;
}

.hero-project-identity span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.3rem;
}

.hero-project-identity strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hero-project-identity small {
  display: block;
  color: rgba(255,255,255,0.76);
  line-height: 1.45;
}

.hero-mini-card > span {
  display: inline-flex;
}

.hero-app-card {
  display: flex;
  flex-direction: column;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.42rem 0.6rem;
  border-radius: 0.7rem;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  font-weight: 700;
}

.store-badge:hover,
.store-badge:focus {
  color: #fff;
  background: rgba(255,255,255,0.18);
}

.store-badge svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero-mini-card .store-badge span {
  display: inline;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.hero-feedback-link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  text-decoration: none;
}

.hero-feedback-link:hover,
.hero-feedback-link:focus {
  color: #fff;
  background: rgba(255,255,255,0.16);
}

.hero-feedback-link strong,
.hero-feedback-link small,
.hero-feedback-link em {
  display: block;
}

.hero-feedback-link strong {
  font-size: 1rem;
}

.hero-feedback-link small {
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.hero-feedback-link em {
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 800;
  color: #fff;
}

@media (max-width: 1280px) {
  .site-official-logo {
    width: clamp(205px, 20vw, 280px);
  }

  .site-navbar .navbar-nav .nav-link {
    font-size: 0.88rem;
    padding-inline: 0.34rem;
  }
}

@media (max-width: 991.98px) {
  .site-official-logo {
    width: min(310px, 72vw);
    max-height: 60px;
  }

  .site-navbar .navbar-nav .nav-link {
    white-space: normal;
    padding-block: 0.55rem;
  }
}

/* Hero official panel store and identity revision */
.hero-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.hero-store-card {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 1rem;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-store-card:hover,
.hero-store-card:focus {
  color: #fff;
  background: rgba(255,255,255,0.17);
  transform: translateY(-1px);
}

.hero-store-card svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero-project-identity-with-pin {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.95rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

.hero-project-identity-with-pin img {
  width: 62px;
  height: auto;
  flex: 0 0 auto;
  display: block;
}

.hero-project-identity-with-pin > div {
  min-width: 0;
}

.hero-project-identity-with-pin span {
  margin-bottom: 0.22rem;
}

.hero-project-identity-with-pin strong {
  font-size: 1.25rem;
}

.hero-project-identity-with-pin small {
  font-size: 0.86rem;
}

@media (max-width: 575.98px) {
  .hero-store-grid {
    grid-template-columns: 1fr;
  }

  .hero-store-card {
    min-height: 72px;
  }

  .hero-project-identity-with-pin img {
    width: 52px;
  }
}

/* Active main menu state */
.site-navbar .navbar-nav .nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link[aria-current="page"] {
  color: #fff;
  opacity: 1;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.navbar-dark .navbar-nav .nav-link.active:hover,
.navbar-dark .navbar-nav .nav-link[aria-current="page"]:hover,
.navbar-dark .navbar-nav .nav-link.active:focus,
.navbar-dark .navbar-nav .nav-link[aria-current="page"]:focus {
  color: #fff;
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.38);
}
