/* RO home hero in the Banca Transilvania "BT Go" style. Scoped to .hero-bt; rollback = component 'hero' in data/content/ro/home.php. */
.hero-bt {
  --bt-blue: #2152dc;
  --bt-blue-deep: #1b44b8;
  position: relative;
  overflow: hidden;
  margin-top: -4.25rem;
  padding: 9rem 0 0;
  color: #fff;
  background: var(--bt-blue);
}

.hero-bt__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  gap: 3rem;
  align-items: center;
  padding-bottom: 4.5rem;
}

.hero-bt__kicker {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-bt h1 {
  margin: 0;
  color: #fff;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-bt__lead {
  max-width: 520px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.45;
}

.hero-bt__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-bt .site-button {
  min-height: 3rem;
  padding: 0.7rem 2rem;
  border: 1px solid #fff;
  border-radius: 999px;
  font-weight: 700;
}

.hero-bt .site-button--primary {
  color: var(--bt-blue);
  background: #fff;
}

.hero-bt .site-button--ghost {
  color: #fff;
  background: transparent;
}

.hero-bt .hero-price-label {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.hero-bt__visual {
  display: flex;
  justify-content: center;
}

.hero-bt__phone {
  width: min(100%, 300px);
  padding: 2.2rem 1rem 1.2rem;
  border: 7px solid #0b1d4d;
  border-radius: 38px;
  background: #0f2f8f;
  box-shadow: 0 30px 60px rgba(5, 17, 60, 0.4);
  transform: rotate(3deg);
}

.hero-bt__notch {
  width: 36%;
  height: 0.8rem;
  margin: -1.4rem auto 1rem;
  border-radius: 999px;
  background: #0b1d4d;
}

.hero-bt__balance {
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem 1rem;
  border-radius: 20px;
  background: var(--bt-blue-deep);
  text-align: center;
}

.hero-bt__balance span,
.hero-bt__balance small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.hero-bt__balance strong {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.1;
}

.hero-bt__row {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-bt__row strong {
  font-size: 0.9rem;
}

.hero-bt__row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.hero-bt__marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--bt-blue-deep);
}

.hero-bt__track {
  display: flex;
  width: max-content;
  animation: hero-bt-marquee 40s linear infinite;
}

.hero-bt__track span {
  padding: 0.5rem 1.4rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

@keyframes hero-bt-marquee {
  to { transform: translateX(-50%); }
}

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

@media (max-width: 860px) {
  .hero-bt { padding-top: 7rem; }
  .hero-bt__grid { grid-template-columns: 1fr; padding-bottom: 3rem; }
  .hero-bt__phone { transform: none; }
}

/* ---- Whole RO home in the BT Go pattern. Active only while the page contains .hero-bt (rollback: hero component back to 'hero'). ---- */
body:has(.hero-bt) {
  --bt-blue: #2152dc;
  --bt-blue-deep: #1b44b8;
  --bt-ink: #12307f;
  background: var(--bt-blue);
}

body:has(.hero-bt) .site-section {
  --bt-fg: #fff;
  --bt-muted: rgba(255, 255, 255, 0.78);
  --bt-line: rgba(255, 255, 255, 0.28);
  color: var(--bt-fg);
  background: var(--bt-blue);
  background-image: none;
  padding-block: clamp(4rem, 8vw, 7rem);
}

body:has(.hero-bt) [id="02-trust"],
body:has(.hero-bt) [id="11-extra-trust"] {
  background: var(--bt-blue-deep);
}

body:has(.hero-bt) :is([id="04-mid-cta"], [id="05-client-gets"], [id="08-competencies"], [id="09-process"], [id="10-testimonials"], [id="12-pricing"], [id="14-final-cta"]) {
  --bt-fg: var(--bt-ink);
  --bt-muted: rgba(18, 48, 127, 0.78);
  --bt-line: rgba(33, 82, 220, 0.3);
  background: #fff;
}

/* flatten inner surfaces so rows, lines and big type carry the layout */
body:has(.hero-bt) .site-section :is(div, article, li, ul, details, summary, figure, header):not(.testimonial-item__avatar) {
  background: transparent;
  box-shadow: none;
  border-color: var(--bt-line);
  color: inherit;
}

body:has(.hero-bt) .site-section :is(h2, h3, h4, p, span, li, strong, small, summary, dt, dd, a:not(.site-button), i, em) {
  color: var(--bt-fg);
}

body:has(.hero-bt) .site-section :is(p, small, .row-number, dd, .faq-answer *) {
  color: var(--bt-muted);
}

body:has(.hero-bt) .site-section .section-kicker {
  color: var(--bt-muted);
  letter-spacing: 0.08em;
}

/* big editorial headings */
body:has(.hero-bt) .site-section :is(.section-heading h2, h2) {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body:has(.hero-bt) .site-section :is(h3, .case-mosaic__title) {
  font-weight: 900;
  letter-spacing: -0.02em;
}

body:has(.hero-bt) .site-section .row-number,
body:has(.hero-bt) .site-section .trust-badge strong {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* rows and lines */
body:has(.hero-bt) .site-section :is(.split-row, .price-row, .faq-list > *, .trust-badge, .development-format, .timeline-list > *, .competency-group, .testimonial-item) {
  border: 0;
  border-top: 1px solid var(--bt-line);
  border-radius: 0;
}

/* pills and buttons */
body:has(.hero-bt) .site-section :is(.content-pill, .pill, .trust-badge__action) {
  border: 1px solid var(--bt-line);
  border-radius: 999px;
  background: transparent;
  color: var(--bt-fg);
}

body:has(.hero-bt) .site-section .site-button {
  min-height: 3rem;
  padding: 0.7rem 2rem;
  border: 1px solid var(--bt-fg);
  border-radius: 999px;
  font-weight: 700;
}

body:has(.hero-bt) .site-section .site-button--primary {
  color: var(--bt-blue);
  background: #fff;
  border-color: #fff;
}

body:has(.hero-bt) .site-section .site-button--ghost {
  color: var(--bt-fg);
  background: transparent;
}

body:has(.hero-bt) :is([id="04-mid-cta"], [id="05-client-gets"], [id="08-competencies"], [id="09-process"], [id="10-testimonials"], [id="12-pricing"], [id="14-final-cta"]) .site-button--primary {
  color: #fff;
  background: var(--bt-blue);
  border-color: var(--bt-blue);
}

body:has(.hero-bt) .site-section :is(img, video) {
  border-radius: 24px;
}
