/* Blue Efficience: styles that theme.json cannot express.
   The "be-…" classes are set in the patterns. Content stays editable
   in the editor; these rules only handle layout. */

:root {
  --be-card-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --be-row-night: #10294F;
  --be-logo-gray: #5A6478;
}

/* ---------- Utilities ---------- */
.be-overline {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.be-overline--wide { letter-spacing: 0.1em; }
.be-display { font-family: var(--wp--preset--font-family--space-grotesk); }
.be-max-720 { max-width: 720px; }
.be-max-640 { max-width: 640px; }
.be-max-560 { max-width: 560px; }
.be-max-380 { max-width: 380px; }
.be-max-800 { max-width: 800px; }
.be-strong-white strong { color: var(--wp--preset--color--white); }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .15s, border-color .15s, color .15s; }
.is-style-ghost .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--white);
  border-color: #4E69A6;
}
.is-style-ghost .wp-block-button__link:hover { border-color: #8FA3C8; color: var(--wp--preset--color--white); background: transparent; }
.be-light .is-style-ghost .wp-block-button__link { color: var(--wp--preset--color--night); border-color: #C9D3E6; }
.be-light .is-style-ghost .wp-block-button__link:hover { border-color: var(--wp--preset--color--night); color: var(--wp--preset--color--night); }

.is-style-dark .wp-block-button__link { background: var(--wp--preset--color--night); color: var(--wp--preset--color--white); }
.is-style-dark .wp-block-button__link:hover { background: var(--wp--preset--color--night-3); color: var(--wp--preset--color--white); }

.is-style-urgent .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--warning);
  border-color: #6B5530;
  display: inline-flex; align-items: center; gap: 8px;
}
.is-style-urgent .wp-block-button__link::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none;
}
.is-style-urgent .wp-block-button__link:hover { color: #FFD591; border-color: var(--wp--preset--color--warning); background: transparent; }
.be-light .is-style-urgent .wp-block-button__link { color: #8A4300; border-color: #D9A66B; }
.be-light .is-style-urgent .wp-block-button__link:hover { color: #5C2D00; border-color: #8A4300; }

.is-style-link .wp-block-button__link {
  background: transparent; border: 0; padding: 10px 0; color: inherit; font-weight: 500;
}
.is-style-link .wp-block-button__link:hover { background: transparent; color: var(--wp--preset--color--white); }
.be-light .is-style-link .wp-block-button__link { color: var(--wp--preset--color--text-secondary); }
.be-light .is-style-link .wp-block-button__link:hover { color: var(--wp--preset--color--night); }

.be-header-buttons .wp-block-button__link { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.be-buttons-large .wp-block-button__link { padding: 15px 24px; }
.be-buttons-cta .wp-block-button__link { padding: 16px 26px; }

/* ---------- Header ---------- */
.be-header { padding-top: 18px; padding-bottom: 18px; }
.be-header .be-logo img { height: 44px; width: auto; display: block; }
.be-header > .wp-block-group { row-gap: 12px; }

.be-nav .wp-block-navigation-item__content { padding: 12px 0; }
.be-nav .wp-block-navigation__submenu-icon { margin-left: 4px; }

/* Dropdown panel (desktop) */
.be-nav .has-child .wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--white); color: var(--wp--preset--color--night);
  border: 1px solid var(--wp--preset--color--border); border-radius: 14px; padding: 8px;
  box-shadow: 0 20px 50px rgba(13, 34, 71, 0.18); left: -16px; margin-top: 8px;
}
/* Invisible bridge between the label and the panel: the pointer can move down without closing the menu */
.be-nav .has-child .wp-block-navigation__submenu-container::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px;
}
/* Entries reserved for the mobile menu (FR / EN, urgent) */
.be-nav .be-nav-mobile-only { display: none; }
.be-nav .wp-block-navigation__responsive-container.is-menu-open .be-nav-mobile-only { display: block; margin-top: 12px; }
.be-nav .wp-block-navigation__responsive-container.is-menu-open .be-nav-urgent .wp-block-navigation-item__content { color: var(--wp--preset--color--warning); }
.be-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  display: block; min-width: 300px; max-width: 86vw; padding: 12px 14px; border-radius: 10px;
  color: var(--wp--preset--color--night); font-weight: 600; font-size: 15px; line-height: 1.4;
}
.be-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.be-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:focus-visible {
  background: var(--wp--preset--color--background-light); color: var(--wp--preset--color--night);
}
.be-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__label { display: block; }
.be-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
  display: block; font-size: 13px; font-weight: 400; color: var(--wp--preset--color--text-secondary); margin-top: 2px;
}

/* Mobile menu (full-screen panel) */
.be-header .be-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--wp--preset--color--night); color: var(--wp--preset--color--white);
  padding: 24px clamp(20px, 5vw, 32px) 32px;
}
.be-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: var(--wp--preset--color--white); }
.be-nav .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container {
  background: transparent; color: inherit; border: 0; box-shadow: none; border-radius: 0; margin-top: 0; padding: 0 0 0 16px;
}
.be-nav .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--white); min-width: 0; padding: 8px 0;
}
.be-nav .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { background: transparent; color: var(--wp--preset--color--white); }
.be-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__description { color: var(--wp--preset--color--text-muted-on-night); }
.be-nav .wp-block-navigation__responsive-container-close,
.be-nav .wp-block-navigation__responsive-container-open { color: inherit; }

/* ---------- Key figures ---------- */
.be-figures { gap: 12px 28px; }
.be-figures strong {
  font-family: var(--wp--preset--font-family--space-grotesk);
  font-size: var(--wp--preset--font-size--figure);
  color: var(--wp--preset--color--white);
  font-weight: 600;
}

/* ---------- "Reports" card ---------- */
.be-reports-card {
  border: 1px solid var(--wp--preset--color--border-night);
  border-radius: 18px; padding: 20px; box-shadow: var(--be-card-shadow);
}
.be-reports-card__head { padding: 4px 6px 16px; border-bottom: 1px solid var(--wp--preset--color--border-night); }
.be-live { display: inline-flex; align-items: center; gap: 6px; }
.be-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.be-report { background: var(--be-row-night); border-radius: 12px; padding: 14px; }
.be-report > .wp-block-group:nth-child(2) { flex: 1; min-width: 0; }
.be-icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none;
  background: var(--wp--preset--color--night-3);
}
.be-icon svg { display: block; }

/* ---------- Pills ---------- */
.be-pill {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; line-height: 1.3; white-space: nowrap;
}
.be-pill--large { font-size: 14px; padding: 8px 14px; }
.be-pill--medium { font-size: 13px; padding: 5px 12px; }
.be-pill--removed { background: var(--wp--preset--color--success); color: var(--wp--preset--color--night); }
.be-pill--reported { background: var(--wp--preset--color--warning); color: var(--wp--preset--color--night); }
.be-pill--analyzing { background: var(--wp--preset--color--border-night); color: var(--wp--preset--color--text-on-night); }
.be-pill--night { background: var(--wp--preset--color--night-3); color: var(--wp--preset--color--white); }
.be-pill--cyan { background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--night); }
.be-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--wp--preset--color--white); background: var(--wp--preset--color--blue-dark); padding: 3px 8px; border-radius: 999px; line-height: 1.3;
}

/* ---------- Logo band ---------- */
.be-logo-band { border-bottom: 1px solid var(--wp--preset--color--border); }
.be-logos { gap: 18px 32px; }
.be-logos .wp-block-image, .be-logos figure { margin: 0; }
.be-logos img, .be-logos .wp-block-image img {
  height: 36px !important; width: auto !important; max-width: 160px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: 0.72; transition: filter .2s, opacity .2s;
}
.be-logos .wp-block-image:hover img, .be-logos figure:hover img { filter: none; opacity: 1; }
.be-logos .be-logo-text {
  font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; font-size: 20px; color: var(--be-logo-gray);
}

/* ---------- Offer cards ---------- */
.be-card {
  border: 1px solid var(--wp--preset--color--border); border-radius: 18px; padding: 32px;
  background: var(--wp--preset--color--white); height: 100%; box-sizing: border-box;
}
.wp-block-column > .be-card { min-height: 100%; }
.be-offer-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--wp--preset--color--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.be-subcard { background: var(--wp--preset--color--background-light); border-radius: 12px; padding: 14px 16px; }
.be-card-link { font-weight: 600; margin-top: auto !important; padding-top: 8px; }
.be-card-link a { color: var(--wp--preset--color--blue-dark); }
.be-card-link a:hover { color: #1847B8; }

/* ---------- Check lists ---------- */
.be-check-list { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.be-check-list li {
  padding-left: 32px; position: relative;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231F5AE6' stroke-width='2.4'><path d='M5 12l4 4 10-10'/></svg>") no-repeat 0 3px;
}
.be-check-list--cyan { gap: 14px; }
.be-check-list--cyan li {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235EE0F5' stroke-width='2.4'><path d='M5 12l4 4 10-10'/></svg>");
}

/* ---------- Deepfake illustration ---------- */
.be-dark-card { border-radius: 20px; padding: 24px; }
.be-illustration {
  aspect-ratio: 16 / 10; border-radius: 14px; background: var(--wp--preset--color--night-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.be-face-frame { border: 2px solid var(--wp--preset--color--cyan); border-radius: 14px; padding: 18px 22px; display: flex; }
.be-face-frame svg { display: block; }
.be-arrow { display: inline-flex; }
.be-arrow svg { display: block; }

/* ---------- Steps and ruled columns ---------- */
.be-steps .wp-block-column { border-top: 2px solid var(--wp--preset--color--night); padding-top: 24px; }
.be-steps--tight .wp-block-column { padding-top: 22px; }
.be-number { font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; }
.be-steps h3 { font-size: 22px; }

/* ---------- BlueSafe screenshot ---------- */
.be-screenshot img { border-radius: 18px; width: 100%; height: auto; display: block; }

/* ---------- Sector cards ---------- */
.be-sector-card {
  background: var(--wp--preset--color--background-light); border-radius: 16px; padding: 26px; position: relative; height: 100%; box-sizing: border-box;
  transition: background-color .15s;
}
.be-sector-card:hover { background: var(--wp--preset--color--blue-light); }
.be-sector-card h3 { font-size: 20px; }
.be-sector-card h3 a { color: inherit; text-decoration: none; }
.be-sector-card h3 a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Quote ---------- */
.be-quote-frame { border-radius: 20px; padding: 44px; }
.be-quote-frame > .be-quote { flex: 2 1 480px; min-width: 0; }
.be-quote-frame > .wp-block-group { flex: 1 1 240px; }
/* Home quote: a long testimonial reads better smaller, with a more visible author. */
.be-quote-frame > .be-quote { font-size: clamp(19px, 17px + 0.5vw, 22px); line-height: 1.45; }
.be-quote-author { font-size: 17px; line-height: 1.5; }
.be-quote-author > p:first-child { font-size: 18px; line-height: 1.4; }
.be-quote-author > p + p { margin-top: 6px; }
.be-quote { font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 500; line-height: 1.3; }

/* ---------- Call to action ---------- */
.be-cta { border-radius: 24px; padding: clamp(36px, 5vw, 64px) clamp(24px, 4.5vw, 56px); }

/* ---------- Footer ---------- */
.be-footer a { color: var(--wp--preset--color--text-muted-on-night); text-decoration: none; }
.be-footer a:hover { color: var(--wp--preset--color--white); text-decoration: none; }
.be-footer .be-logo img { height: 40px; width: auto; display: block; }
.be-footer-list { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.be-footer-columns { gap: 32px; }
.be-partners { gap: 8px 22px; }
.be-bottom-line { border-top: 1px solid var(--wp--preset--color--border-night); padding-top: 20px; }

/* ---------- Responsive rules ---------- */
@media (max-width: 781px) {
  .be-card { padding: 24px; }
  .be-dark-card { padding: 18px; }
  .be-quote-frame { padding: 28px; }
  .be-steps .wp-block-column:not(:first-child) { margin-top: 8px; }
}
@media (max-width: 781px) {
  /* Mobile header: logo, demo button and hamburger on one line */
  .be-header > .wp-block-group { flex-wrap: nowrap; }
  .be-header .be-logo { order: 1; }
  .be-header .be-logo img { height: 34px; }
  .be-header-buttons { order: 2; margin-left: auto; }
  .be-header .be-nav { order: 3; }
  .be-header-buttons .wp-block-button:not(:last-child) { display: none; }
  .be-header-buttons .wp-block-button__link { padding: 9px 12px; font-size: 13px; }
}
@media (max-width: 600px) {
  .be-logos { gap: 14px 28px; }
  .be-logos img { height: 28px !important; }
}

/* ---------- Navigation: hover colors ---------- */
.be-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.be-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--white); }
.be-light .be-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.be-light .be-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--night); }
.be-light { border-bottom: 1px solid var(--wp--preset--color--border); }

/* ---------- No gap between header, content and footer ---------- */
.wp-site-blocks > header, .wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }

/* ====================================================================
   Inner page patterns
   ==================================================================== */

/* Breadcrumb */
.be-breadcrumb a { color: inherit; }
.be-breadcrumb a:hover { color: var(--wp--preset--color--white); text-decoration: none; }
.be-hero--light .be-breadcrumb a:hover { color: var(--wp--preset--color--night); }
.be-hero--light { border-bottom: 1px solid var(--wp--preset--color--border); }
.be-max-620 { max-width: 620px; }
.be-hero .has-text-align-center.be-max-620 { margin-left: auto; margin-right: auto; }
/* Text links of the dark page header: the default link blue is too dark on the night background. */
.be-hero.has-night-background-color p:not(.be-breadcrumb) a { color: #8FB0FF; text-decoration: underline; }
.be-hero.has-night-background-color p:not(.be-breadcrumb) a:hover { color: var(--wp--preset--color--white); }

/* Figure cards (header) */
.be-figure-card { border: 1px solid var(--wp--preset--color--border-night); border-radius: 16px; padding: 22px; height: 100%; box-sizing: border-box; }
.be-figure-card--light { border-color: var(--wp--preset--color--border); }
.be-figure { font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.be-figure--large { line-height: 1.05; }
/* Key figure next to the text it supports */
.be-key-figure--card { background: var(--wp--preset--color--background-light); border-radius: 16px; padding: 28px; max-width: 420px; box-sizing: border-box; }

/* Icon rows */
.be-row-card { border: 1px solid var(--wp--preset--color--border-night); border-radius: 14px; padding: 14px 16px; }
.be-icon--small { width: 32px; height: 32px; border-radius: 8px; }
.be-icon--bare { width: auto; height: auto; background: transparent; border-radius: 0; }

/* Logos card (light header) */
.be-logos-card { border: 1px solid var(--wp--preset--color--border); border-radius: 16px; padding: 22px; }
.be-logos-card .be-logos { gap: 12px 24px; }
.be-logos-card .be-logos img { height: 30px !important; }
.be-logos-card .be-logo-text { font-size: 16px; color: var(--wp--preset--color--night); }

/* Sub-navigation */
.be-subnav { border-bottom: 1px solid var(--wp--preset--color--border); }
.be-subnav__list > * { padding: 16px 0; }
.be-subnav a { color: var(--wp--preset--color--night); }
.be-subnav a:hover { color: var(--wp--preset--color--blue-dark); text-decoration: none; }

/* Card grid */
.be-grid-card { border-radius: 16px; padding: 26px; height: 100%; box-sizing: border-box; }
.be-grid-card--border { border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--white); }
.be-grid-card--white { background: var(--wp--preset--color--white); }
.be-grid-card--night2 { background: var(--wp--preset--color--night-2); border: 1px solid var(--wp--preset--color--border-night); }
.be-grid-card--blue-light { background: var(--wp--preset--color--blue-light); }
.be-grid-card .be-offer-icon { width: 40px; height: 40px; margin-bottom: 6px; }
.be-grid-card h3 { font-size: 20px; }
.be-card--tight { padding: 24px; }
.be-card--wide { padding: clamp(24px, 3vw, 32px); }
.be-dark-card--tight { padding: 24px; border-radius: 18px; }
.be-filled-card { border-radius: 18px; padding: 28px; height: 100%; box-sizing: border-box; }
.be-filled-card--tight { padding: 20px 22px; height: auto; }

/* Extra pills and badges */
.be-pill--light { background: var(--wp--preset--color--background-light); color: var(--wp--preset--color--night); font-weight: 500; }
.be-badge--cyan { background: var(--wp--preset--color--cyan); color: var(--wp--preset--color--night); }

/* Note and numbered rows (IPTV) */
.be-note { border: 1px solid var(--wp--preset--color--border-night); border-radius: 16px; padding: 18px 20px; }
.be-note strong { color: var(--wp--preset--color--white); }
.be-note--border { background: transparent; padding: 16px 18px; }
.be-row { border-radius: 14px; padding: 18px 22px; }
.be-row > .be-number { flex: none; width: 24px; }

/* Cross lists */
.be-cross-list { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.be-cross-list li {
  padding-left: 32px; position: relative;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238A94A8' stroke-width='2.2'><path d='M6 6l12 12M18 6L6 18'/></svg>") no-repeat 1px 3px;
}

/* FAQ */
.be-faq-item { border-bottom: 1px solid var(--wp--preset--color--border); padding: 22px 0; }
.be-faq-item:first-child { border-top: 1px solid var(--wp--preset--color--border); }

/* FAQ page: collapsible questions (native details block) */
.be-faq-topic + .be-faq-topic { border-top: 1px solid var(--wp--preset--color--border); }
.be-faq-question { border-bottom: 1px solid var(--wp--preset--color--border); }
.be-faq-list > .be-faq-question:first-child { border-top: 1px solid var(--wp--preset--color--border); }
.be-faq-question > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: var(--wp--preset--font-size--body); line-height: 1.45; color: var(--wp--preset--color--night);
}
.be-faq-question > summary::-webkit-details-marker { display: none; }
.be-faq-question > summary:hover { color: var(--wp--preset--color--blue-dark); }
.be-faq-question > summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin: 5px 6px 0 0;
  border-right: 2px solid var(--wp--preset--color--blue-dark); border-bottom: 2px solid var(--wp--preset--color--blue-dark);
  transform: rotate(45deg); transition: transform 0.2s;
}
.be-faq-question[open] > summary::after { transform: rotate(-135deg); margin-top: 10px; }
.be-faq-question > :not(summary) { margin: 0 0 20px; padding-right: 32px; line-height: 1.6; }
.be-faq-question > :not(summary) + * { margin-top: -8px; }
@media (prefers-reduced-motion: reduce) { .be-faq-question > summary::after { transition: none; } }

/* Removal chain */
.be-chain { align-items: stretch; }
.be-chain-link { flex: 1 1 0; min-width: 0; border: 1px solid var(--wp--preset--color--border-night); border-radius: 16px; padding: 20px; }
.be-chain-link h3 { font-size: 18px; }
@media (max-width: 900px) {
  .be-chain { flex-wrap: wrap !important; }
  .be-chain-link { flex: 1 1 calc(50% - 32px); }
}
@media (max-width: 520px) { .be-chain-link { flex-basis: 100%; } }

/* Case study */
.be-ruled-row { border-top: 1px solid var(--wp--preset--color--border); padding: 16px 0; }
.be-ruled-row:last-child { border-bottom: 1px solid var(--wp--preset--color--border); }

/* Solutions used */
.be-sector-card--blue { background: var(--wp--preset--color--blue-light); }
.be-sector-card--blue:hover { background: #DCE6FF; }
.be-sector-link a { color: var(--wp--preset--color--night); }
.be-sector-link a:hover { color: var(--wp--preset--color--blue-dark); text-decoration: none; }

/* Team, light screenshots */
.be-photo img { width: 100%; height: auto; border-radius: 14px; display: block; }
.be-screenshot--light img { border-radius: 12px; }

/* Demo form */
.be-section-demo > .wp-block-columns { margin-top: -72px; position: relative; }
.be-form-card { border-radius: 18px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 30px 80px rgba(13, 34, 71, 0.18); border: 1px solid var(--wp--preset--color--border); }
.be-form { display: flex; flex-direction: column; gap: 16px; }
.be-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.be-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.be-form__field label { font-size: 13px; font-weight: 600; }
.be-form__field input, .be-form__field textarea {
  font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #C9D3E6; border-radius: 10px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--night); width: 100%; box-sizing: border-box;
}
.be-form__field input:focus, .be-form__field textarea:focus { outline: 2px solid var(--wp--preset--color--blue); outline-offset: 1px; border-color: var(--wp--preset--color--blue); }
.be-form__hint { font-size: 12px; color: var(--wp--preset--color--text-secondary); }
.be-urgent { border: 1px solid #F0C98A; border-radius: 16px; padding: 20px 22px; scroll-margin-top: 24px; }
.be-urgent a { color: var(--wp--preset--color--blue-dark); }
.be-round-step .be-round {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--blue-light); color: var(--wp--preset--color--blue-dark);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 781px) {
  .be-section-demo > .wp-block-columns { margin-top: -40px; }
  .be-filled-card, .be-grid-card { padding: 22px; }
}

/* ---------- Contact Form 7 ---------- */
.be-form .wpcf7-form-control-wrap { display: block; }
.be-form__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 20px; margin-top: 4px; }
.be-form__privacy { margin: 0; max-width: 380px; font-size: 13px; color: var(--wp--preset--color--text-secondary); }
.be-form .wpcf7-submit { padding: 15px 24px; cursor: pointer; }
.be-form .wpcf7-not-valid-tip { display: block; font-size: 12px; color: #B42318; margin-top: 4px; }
.be-form .wpcf7-not-valid { border-color: #B42318; }
.wpcf7 .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border: 1px solid var(--wp--preset--color--border); border-radius: 10px; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--wp--preset--color--success); background: #EFFBF4; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #F0C98A; background: var(--wp--preset--color--urgent-background); }
.wpcf7-spinner { margin-left: 12px; }

/* ---------- Accessibility: visible focus, target sizes ---------- */
:focus-visible { outline: 3px solid var(--wp--preset--color--blue-dark); outline-offset: 3px; border-radius: 4px; }
.has-night-background-color :focus-visible,
.has-night-2-background-color :focus-visible,
.be-header:not(.be-light) :focus-visible,
.be-footer :focus-visible,
.wp-block-navigation__responsive-container.is-menu-open :focus-visible { outline-color: var(--wp--preset--color--cyan); }
.wp-block-button__link:focus-visible { outline-offset: 3px; }
.be-nav .wp-block-navigation__submenu-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
.be-footer-list a, .be-partners a, .be-bottom-line a, .be-subnav a, .be-breadcrumb a, .be-sector-link a, .be-card-link a { display: inline-block; padding: 4px 0; margin: -4px 0; }
.be-subnav__list > * { padding: 12px 0; }

/* ---------- Mobile: two-per-row for figure cards and team ---------- */
@media (max-width: 781px) {
  .be-figure-row.is-not-stacked-on-mobile, .be-team-row.is-not-stacked-on-mobile { flex-wrap: wrap !important; }
  .be-figure-row.is-not-stacked-on-mobile > .wp-block-column, .be-team-row.is-not-stacked-on-mobile > .wp-block-column { flex-basis: calc(50% - 8px) !important; }
  .be-team-row.is-not-stacked-on-mobile { row-gap: 24px; }
}

/* ---------- Press list ---------- */
.be-press-item { border-top: 1px solid var(--wp--preset--color--border); padding: 22px 0; }
.be-press-item:last-child { border-bottom: 1px solid var(--wp--preset--color--border); }
.be-press-item > .be-press-logo { flex: none; margin: 0; }
.be-press-item > .be-press-logo img { width: 52px !important; height: 52px !important; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px var(--wp--preset--color--border); }
.be-press-item > .wp-block-group { flex: 1; min-width: 0; }
.be-press-item h3 { font-size: 18px; line-height: 1.35; }
.be-press-item h3 a { color: var(--wp--preset--color--night); text-decoration: none; }
.be-press-item h3 a:hover { color: var(--wp--preset--color--blue-dark); }
.be-press-meta { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.be-press-files { margin-top: 8px !important; }
.be-press-files .wp-block-button__link { padding: 8px 14px; font-size: 13px; border-radius: 8px; color: var(--wp--preset--color--night); border-color: #C9D3E6; background: transparent; }
.be-press-files .wp-block-button__link:hover { border-color: var(--wp--preset--color--night); background: transparent; color: var(--wp--preset--color--night); }
@media (max-width: 600px) { .be-press-item > .be-press-logo img { width: 40px !important; height: 40px !important; } }

/* ---------- Submenu arrows: lighter chevron ---------- */
.be-nav .wp-block-navigation__submenu-icon svg { width: 10px; height: 10px; opacity: 0.6; transition: transform .15s, opacity .15s; }
.be-nav .wp-block-navigation__submenu-icon svg path { stroke-width: 1.4; }
.be-nav .has-child:hover .wp-block-navigation__submenu-icon svg,
.be-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg { opacity: 1; transform: rotate(180deg); }
.be-nav .wp-block-navigation__submenu-icon { margin-left: -2px; }
.be-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }

/* ---------- Deepfake visual (real case, composed image) ---------- */
.be-deepfake-visual img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 30px 80px rgba(13, 34, 71, 0.25); }

/* Plain text pages (legal notice, privacy) */
.be-prose h2 { margin-top: 28px; font-size: var(--wp--preset--font-size--heading-3); }
.be-prose p, .be-prose li { line-height: 1.65; }
.be-prose ul { padding-left: 22px; }

/* Mobile header: tap targets of at least 44px, without changing the size of icons and labels. */
.be-nav .wp-block-navigation__responsive-container-open,
.be-nav .wp-block-navigation__responsive-container-close { padding: 10px; margin: -10px; box-sizing: content-box; }
.be-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 44px; }

/* Deepfakes section: 40 / 60 by default (block widths), a larger visual on wide screens. */
@media (min-width: 1200px) {
  .be-deepfake-columns { gap: 40px !important; }
  .be-deepfake-columns > .wp-block-column:first-child { flex-basis: 36% !important; }
  .be-deepfake-columns > .wp-block-column:last-child { flex-basis: 64% !important; }
}
