/* ── TDR Hero v1.1 — animated entrance + category strip ── */

/* ── Hero section ─────────────────────────────────────────────────────── */
.tdr-hero {
  position: relative;
  min-height: clamp(560px, 90svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* Gradient de bază când nu există imagine — diagonal navy → steel blue */
  background: linear-gradient(
    135deg,
    var(--tdr-navy-darkest) 0%,
    var(--tdr-primary)      35%,
    var(--tdr-primary-mid)  70%,
    var(--tdr-navy-deeper)  100%
  );
}

/* ── Background layers ────────────────────────────────────────────────── */
.tdr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tdr-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.28;
}

/* Gradient overlay — mai subtil când nu există imagine */
.tdr-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Activ doar când există o imagine (adaugă profunzime peste foto) */
  background: linear-gradient(
    108deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(15, 23, 42, 0.6) 50%,
    rgba(30, 58, 95, 0.25) 100%
  );
}

/* Subtle geometric grid */
.tdr-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* ── Content wrapper ──────────────────────────────────────────────────── */
.tdr-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--tdr-max-w);
  margin-inline: auto;
  padding-inline: var(--tdr-sp-6);
  padding-block: var(--tdr-sp-20);
  width: 100%;
}

.tdr-hero__content { max-width: 680px; }

/* ── Eyebrow — animates first ─────────────────────────────────────────── */
.tdr-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--tdr-sp-2);
  font-size: var(--tdr-text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tdr-amber);
  margin-bottom: var(--tdr-sp-5);
  /* CSS-driven entrance — see animations.css */
}

.tdr-hero__eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--tdr-amber);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Headline ─────────────────────────────────────────────────────────── */
.tdr-hero__title {
  font-size: var(--tdr-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--tdr-white);
  margin-bottom: var(--tdr-sp-5);
}

.tdr-hero__title em {
  font-style: normal;
  color: var(--tdr-amber-light);
}

/* ── Subheadline — 150ms after title ─────────────────────────────────── */
.tdr-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: var(--tdr-sp-8);
  max-width: 58ch;
}

/* ── CTAs — 300ms after title ────────────────────────────────────────── */
.tdr-hero__cta {
  display: flex;
  align-items: center;
  gap: var(--tdr-sp-4);
  flex-wrap: wrap;
}

/* Primary CTA */
.tdr-hero__btn-primary {
  background: var(--tdr-accent);
  color: var(--tdr-white);
  border: 2px solid var(--tdr-accent);
  padding: 0.875rem 2rem;
  font-family: var(--tdr-font);
  font-size: var(--tdr-text-base);
  font-weight: 600;
  border-radius: var(--tdr-r);
  display: inline-flex;
  align-items: center;
  gap: var(--tdr-sp-2);
  text-decoration: none;
  cursor: pointer;
  min-height: 52px;
  transition:
    background-color 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color     200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform        200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow       200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdr-hero__btn-primary:hover {
  background: var(--tdr-accent-hover);
  border-color: var(--tdr-accent-hover);
  color: var(--tdr-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 80, 255, 0.4);
}

.tdr-hero__btn-primary svg {
  transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdr-hero__btn-primary:hover svg { transform: translateX(3px); }

/* Ghost CTA */
.tdr-hero__btn-ghost {
  background: #ffffff;
  color: var(--tdr-primary);
  border: 2px solid var(--tdr-accent);
  padding: 0.875rem 2rem;
  font-family: var(--tdr-font);
  font-size: var(--tdr-text-base);
  font-weight: 500;
  border-radius: var(--tdr-r);
  display: inline-flex;
  align-items: center;
  gap: var(--tdr-sp-2);
  text-decoration: none;
  cursor: pointer;
  min-height: 52px;
  transition:
    background-color 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color     200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color            200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform        200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdr-hero__btn-ghost:hover {
  background: var(--tdr-accent);
  border-color: var(--tdr-accent);
  color: var(--tdr-white);
  transform: translateY(-2px);
}

/* ── Stats row ────────────────────────────────────────────────────────── */
.tdr-hero__stats {
  display: flex;
  align-items: center;
  gap: var(--tdr-sp-10);
  margin-top: var(--tdr-sp-12);
  padding-top: var(--tdr-sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.tdr-hero__stat { display: flex; flex-direction: column; gap: 4px; }

.tdr-hero__stat-value {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--tdr-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tdr-hero__stat-unit { color: var(--tdr-amber-light); }

.tdr-hero__stat-label {
  font-size: var(--tdr-text-xs);
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.tdr-hero__stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}

/* ── Scroll indicator ─────────────────────────────────────────────────── */
.tdr-hero__scroll {
  position: absolute;
  bottom: var(--tdr-sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tdr-sp-2);
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 200ms;
}

.tdr-hero__scroll:hover { color: rgba(255, 255, 255, 0.65); }

.tdr-hero__scroll-mouse {
  width: 22px;
  height: 35px;
  border: 2px solid currentColor;
  border-radius: 11px;
  position: relative;
}

.tdr-hero__scroll-mouse::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  animation: tdrScrollMouse 1.8s ease-in-out infinite;
}

/* ── Category strip ───────────────────────────────────────────────────── */
.tdr-cat-strip {
  background: var(--tdr-surface);
  border-bottom: 1px solid var(--tdr-border);
  padding-block: var(--tdr-sp-6);
  position: relative;
}

/* Fade edges for overflow hint */
.tdr-cat-strip::before,
.tdr-cat-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}

.tdr-cat-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--tdr-surface), transparent);
}

.tdr-cat-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--tdr-surface), transparent);
}

.tdr-cat-strip__track {
  display: flex;
  gap: var(--tdr-sp-4);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: var(--tdr-sp-10);
  max-width: var(--tdr-max-w);
  margin-inline: auto;
}

.tdr-cat-strip__track::-webkit-scrollbar { display: none; }

/* Category card */
.tdr-cat-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tdr-sp-3);
  text-decoration: none;
  padding: var(--tdr-sp-4);
  border: 1.5px solid var(--tdr-border);
  border-radius: var(--tdr-r-xl);
  background: var(--tdr-surface);
  width: 160px;
  transition:
    border-color 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow   200ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform    200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdr-cat-card:hover {
  border-color: rgba(0, 80, 255, 0.3);
  box-shadow: var(--tdr-shadow-md);
  transform: translateY(-3px);
}

.tdr-cat-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--tdr-r-md);
  overflow: hidden;
  background: var(--tdr-slate-100);
}

.tdr-cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdr-cat-card:hover .tdr-cat-card__img img { transform: scale(1.06); }

.tdr-cat-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tdr-cat-card__name {
  font-family: var(--tdr-font);
  font-size: var(--tdr-text-sm);
  font-weight: 600;
  color: var(--tdr-primary);
  text-align: center;
  line-height: 1.3;
}

.tdr-cat-card__count {
  font-size: var(--tdr-text-xs);
  color: var(--tdr-slate-500);
  font-weight: 400;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tdr-hero { min-height: clamp(500px, 80svh, 800px); }
  .tdr-hero__stats { gap: var(--tdr-sp-6); }
}

@media (max-width: 600px) {
  .tdr-hero,
  .tdr-hero--split { min-height: clamp(280px, 45svh, 448px); }
}

@media (max-width: 768px) {
  .tdr-hero__inner {
    padding-block: var(--tdr-sp-16);
    padding-inline: var(--tdr-sp-4);
  }

  .tdr-hero__cta { flex-direction: column; align-items: stretch; }
  .tdr-hero__btn-primary,
  .tdr-hero__btn-ghost { text-align: center; justify-content: center; }

  .tdr-hero__stats {
    gap: var(--tdr-sp-5);
    margin-top: var(--tdr-sp-8);
  }

  .tdr-hero__stat-divider { display: none; }
  .tdr-hero__scroll { display: none; }

  .tdr-cat-strip::before,
  .tdr-cat-strip::after { width: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TDR Hero Split — two-column, purple background, ink explosion visual
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Split variant: deep purple gradient (overrides base .tdr-hero) ─────── */
/* Remove any space above hero inserted by theme wrappers */
.tdr-hero--split,
.tdr-hero--split:first-child,
* + .tdr-hero--split {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.tdr-hero--split {
  background: linear-gradient(
    112deg,
    #13002C 0%,
    #3B0076 22%,
    #6400B0 48%,
    #8C00CC 68%,
    #7200A8 100%
  );
  min-height: clamp(520px, 54vw, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Remove image and overlay for split — pure gradient background */
.tdr-hero--split .tdr-hero__bg img { display: none; }

.tdr-hero--split .tdr-hero__overlay {
  background: linear-gradient(
    112deg,
    rgba(10, 0, 22, 0.55) 0%,
    rgba(30, 0, 80, 0.25) 50%,
    transparent 100%
  );
}

/* ── Two-column inner grid ──────────────────────────────────────────────── */
.tdr-hero--split .tdr-hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  gap: 0;
}

/* ── Left column: content ───────────────────────────────────────────────── */
.tdr-hero--split .tdr-hero__content {
  max-width: none;
  display: flex;
  align-items: flex-start;
  padding-inline-end: 2rem;
}

/* ── White-bordered text box ────────────────────────────────────────────── */
.tdr-hero__box {
  border: 2px solid rgba(255, 255, 255, 0.62);
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.75rem, 3vw, 2.75rem);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  /* box border apare cu fade; fiecare copil se animă separat */
  animation: tdrFadeIn 0.5s ease 100ms both;
}

/* ── Eyebrow inside box — prezent + animat la încărcare ─────────────────── */
.tdr-hero--split .tdr-hero__eyebrow {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 1.4rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  animation: tdrEyebrowReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) 350ms both;
}

/* Linii decorative de o parte și de alta */
.tdr-hero--split .tdr-hero__eyebrow::before,
.tdr-hero--split .tdr-hero__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 36px;
  background: rgba(255, 255, 255, 0.38);
}

/* Stagger animații pe celelalte elemente din box */
.tdr-hero--split .tdr-hero__title-bold {
  animation: tdrFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 540ms both;
}

.tdr-hero--split .tdr-hero__title-thin {
  animation: tdrFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 660ms both;
}

.tdr-hero--split .tdr-hero__badge {
  animation: tdrScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 820ms both;
}

/* ── Main title — dezactivăm animația de pe h1, animăm copiii direct ────── */
.tdr-hero--split .tdr-hero__title {
  font-size: unset;
  font-weight: unset;
  line-height: unset;
  letter-spacing: unset;
  color: #fff;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: none;
}

.tdr-hero__title-bold {
  display: block;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}

.tdr-hero__title-thin {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0.15em;
}

/* ── Badge ──────────────────────────────────────────────────────────────── */
.tdr-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.0);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition:
    background 200ms ease,
    color      200ms ease;
}

.tdr-hero__badge:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ── Right column: ink visual ───────────────────────────────────────────── */
.tdr-hero__visual {
  position: relative;
  height: clamp(300px, 42svh, 500px);
  overflow: visible;
  will-change: transform;
  animation: tdrInkEnter 1s cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
}

.tdr-hero__ink {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Ink blobs — organic paint explosion ────────────────────────────────── */
.tdr-hero__ink-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.45;
}

/* Main orange mass */
.tdr-hero__ink-blob--1 {
  width: 130%;
  height: 120%;
  top: -10%;
  left: -15%;
  background: radial-gradient(
    ellipse at 42% 50%,
    #FF6200 0%,
    #FF7C00 28%,
    rgba(255, 98, 0, 0.6) 56%,
    transparent 76%
  );
  border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%;
  animation: tdrInkFloat1 9s ease-in-out infinite;
}

/* Yellow-orange cloud — top right */
.tdr-hero__ink-blob--2 {
  width: 105%;
  height: 95%;
  top: -25%;
  right: -20%;
  background: radial-gradient(
    ellipse at 48% 58%,
    #FFD000 0%,
    #FFAB00 32%,
    rgba(255, 200, 0, 0.52) 60%,
    transparent 78%
  );
  border-radius: 40% 60% 48% 52% / 64% 36% 64% 36%;
  animation: tdrInkFloat2 12s ease-in-out infinite;
}

/* Red/coral — lower sweep */
.tdr-hero__ink-blob--3 {
  width: 88%;
  height: 80%;
  bottom: -25%;
  left: -18%;
  background: radial-gradient(
    ellipse at 54% 44%,
    #E53400 0%,
    #FF5722 32%,
    rgba(229, 52, 0, 0.52) 60%,
    transparent 78%
  );
  border-radius: 64% 36% 55% 45% / 44% 56% 44% 56%;
  animation: tdrInkFloat3 7.5s ease-in-out infinite;
}

/* Bright yellow center highlight */
.tdr-hero__ink-blob--4 {
  width: 52%;
  height: 52%;
  top: 18%;
  left: 18%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 240, 0, 0.96) 0%,
    rgba(255, 210, 0, 0.65) 45%,
    transparent 70%
  );
  border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%;
  filter: blur(5px);
  animation: tdrInkFloat1 6.5s ease-in-out infinite reverse;
}

/* Soft wide glow — depth layer */
.tdr-hero__ink-blob--5 {
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(
    ellipse 60% 55% at 45% 47%,
    rgba(255, 115, 0, 0.48) 0%,
    transparent 68%
  );
  filter: blur(32px);
  animation: tdrInkFloat2 18s ease-in-out infinite;
}

/* Coral drip — bottom right tendril */
.tdr-hero__ink-blob--6 {
  width: 45%;
  height: 70%;
  top: 42%;
  left: 46%;
  background: radial-gradient(
    ellipse at 50% 40%,
    #FF4500 0%,
    rgba(255, 69, 0, 0.6) 42%,
    transparent 70%
  );
  border-radius: 30% 70% 55% 45% / 60% 40% 64% 36%;
  animation: tdrInkFloat3 8.5s ease-in-out infinite reverse;
}

/* ── Info bar — pe fundalul violet, la baza secțiunii ───────────────────── */
.tdr-hero__infobar {
  position: relative;
  z-index: 3;
  padding-block: 1rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tdr-hero__infobar-inner {
  max-width: var(--tdr-max-w, 1400px);
  margin-inline: auto;
  padding-inline: var(--tdr-sp-6, 1.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tdr-hero__infobar-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tdr-hero__infobar-title {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.97);
}

.tdr-hero__infobar-sub {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.tdr-hero__infobar-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.tdr-hero__infobar-tag {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* Telefon — CTA primar din infobar */
.tdr-hero__phone-cta {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  transition:
    background    200ms ease,
    border-color  200ms ease;
}

.tdr-hero__phone-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
}

/* ── Responsive — split hero ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tdr-hero--split .tdr-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
    padding-block-start: 0;
  }

  .tdr-hero--split .tdr-hero__content {
    padding-inline-end: 0;
    justify-content: center;
  }

  .tdr-hero__visual {
    height: clamp(220px, 45vw, 320px);
    width: 100%;
  }
}

@media (max-width: 600px) {
  .tdr-hero__box {
    padding: 1.75rem 1.5rem;
  }

  .tdr-hero__title-bold { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .tdr-hero__title-thin { font-size: clamp(1.5rem, 7vw, 2.2rem); }

  .tdr-hero__infobar-inner {
    gap: 0.75rem;
    justify-content: center;
    text-align: center;
  }
  .tdr-hero__infobar-group { align-items: center; }
  .tdr-hero__infobar-divider { display: none; }
  .tdr-hero__phone-cta { order: -1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TDR Partner Strip — Bronkhorst logo + domenii, full-width, dungă albă
   ═══════════════════════════════════════════════════════════════════════════ */

.tdr-partner-strip {
  background: #ffffff;
  border-bottom: 1px solid #e8eaf0;
  padding-block: calc(0.75rem + 10px);
}

.tdr-partner-strip__inner {
  width: 100%;
  max-width: var(--tdr-max-w, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo SVG inline */
.tdr-partner-strip__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.tdr-partner-strip__logo:hover { opacity: 0.75; }

.tdr-partner-strip__logo svg {
  height: 52px;
  width: auto;
  display: block;
}

/* Separator vertical — margin-left: auto împinge sep+items la dreapta */
.tdr-partner-strip__sep {
  width: 1px;
  height: 40px;
  background: #d1d5db;
  flex-shrink: 0;
  margin-left: auto;
}

/* Tagline dreapta — "We are the / low-flow specialists" */
.tdr-partner-strip__tagline {
  text-align: right;
  margin: 0;
  line-height: 1.25;
}

.tdr-partner-strip__tagline-thin { display: none; }

.tdr-partner-strip__tagline-bold {
  display: block;
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: rgb(0, 80, 255);
  letter-spacing: 0;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .tdr-partner-strip__sep { display: none; }
  .tdr-partner-strip__inner { justify-content: space-between; }
  .tdr-partner-strip__logo svg { height: 40px; }
  .tdr-partner-strip__tagline-thin { font-size: 0.8125rem; }
  .tdr-partner-strip__tagline-bold { font-size: 1rem; }
}

@media (max-width: 600px) {
  .tdr-partner-strip__tagline { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TDR Bronkhorst Products — 7 carduri portret, layout exact site Bronkhorst
   ═══════════════════════════════════════════════════════════════════════════ */

.tdr-brk-products {
  background: #ffffff;
  border-bottom: 1px solid #e8eaf0;
  padding-block: 1.25rem 1.5rem;
  overflow: hidden;
}

/* Track — flex orizontal, all 7 cards visible pe desktop */
.tdr-brk-products__track {
  display: flex;
  gap: 16px;
  max-width: var(--tdr-max-w, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tdr-brk-products__track::-webkit-scrollbar { display: none; }

/* Card */
.tdr-brk-products__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  flex: 1 0 0;
  min-width: 130px;
  max-width: 220px;
  scroll-snap-align: start;
}

/* Image wrapper — raport 3:4 */
.tdr-brk-products__img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 3px;
  background: #ffffff;
}

.tdr-brk-products__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Hover — scale imagine + text-shadow ca pe Bronkhorst */
.tdr-brk-products__card:hover .tdr-brk-products__img-wrap img {
  transform: scale(1.04);
}

/* Label */
.tdr-brk-products__label {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #003064;
  margin: 0;
  line-height: 1.3;
  transition: text-shadow 250ms ease;
  white-space: nowrap;
}

.tdr-brk-products__card:hover .tdr-brk-products__label {
  text-shadow: 0px 0px 1px #003064;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

/* Tabletă — min-width mai mare ca să fie scroll */
@media (max-width: 1100px) {
  .tdr-brk-products__card {
    flex: 0 0 160px;
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .tdr-brk-products {
    padding-block: 1.5rem 1.75rem;
  }

  .tdr-brk-products__card {
    flex: 0 0 140px;
    max-width: 140px;
  }

  .tdr-brk-products__label {
    font-size: 0.8125rem;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .tdr-brk-products__card {
    flex: 0 0 120px;
    max-width: 120px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tdr-brk-products__img-wrap img { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TDR Bronkhorst Distribuitor Strip — linie sub carduri
   ═══════════════════════════════════════════════════════════════════════════ */

.tdr-brk-dist {
  border: 0;
  background: #ffffff;
  padding-block: 1.75rem;
}

.tdr-brk-dist__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--tdr-max-w, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 3rem);
  min-height: 56px;
}

.tdr-brk-dist__text {
  margin: 0 !important;
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 1.0625rem;
  color: #475569;
  line-height: 1.6;
}

.tdr-brk-dist__text strong {
  color: #1e293b;
  font-weight: 700;
}

.tdr-brk-dist__email {
  color: rgb(0, 80, 255);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.tdr-brk-dist__email:hover {
  text-decoration: underline;
}

/* Buton */
.tdr-brk-dist__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: rgb(0, 80, 255);
  color: #ffffff;
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 200ms ease, transform 200ms ease;
}

.tdr-brk-dist__btn:hover {
  background: rgb(0, 60, 200);
  color: #ffffff;
  transform: translateY(-1px);
}

.tdr-brk-dist__btn svg {
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.tdr-brk-dist__btn:hover svg {
  transform: translateX(3px);
}

/* ── Mobil — stack vertical, 100% lățime ────────────────────────────────── */
@media (max-width: 768px) {
  .tdr-brk-dist__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .tdr-brk-dist__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TDR Bronkhorst Knowledge Base — secțiune sub carduri produse
   ═══════════════════════════════════════════════════════════════════════════ */

.tdr-brk-kb {
  border-top: 1px solid #e8eaf0;
  background: #ffffff;
  padding-block: 0 2.5rem;
}

/* Header — fundal alb, label aliniat dreapta ca tagline-ul Bronkhorst */
.tdr-brk-kb__header {
  background: #ffffff;
  height: 40px;
  max-width: var(--tdr-max-w, 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline: clamp(1rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e8eaf0;
}

.tdr-brk-kb__label {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgb(0, 80, 255);
  white-space: nowrap;
}

/* ── Products carousel ──────────────────────────────────────────────────── */
.tdr-products-carousel {
  background: #ffffff;
  border-bottom: 1px solid #c5d5f7;
  padding-block: 1.5rem 2rem;
}

.tdr-products-carousel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--tdr-max-w, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 3rem);
  margin-bottom: 1.25rem;
}

.tdr-products-carousel__title {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  color: rgb(0, 80, 255);
  margin: 0;
}

.tdr-products-carousel__nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.tdr-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--tdr-border, #D8DEE7);
  border-radius: 50%;
  background: #fff;
  color: var(--tdr-primary, #0F172A);
  cursor: pointer;
  transition: background 180ms, border-color 180ms, color 180ms;
  padding: 0;
}

.tdr-carousel-btn:hover {
  background: var(--tdr-accent, #0050FF);
  border-color: var(--tdr-accent, #0050FF);
  color: #fff;
}

.tdr-products-carousel__viewport {
  overflow: hidden;
  max-width: var(--tdr-max-w, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 3rem);
}

.tdr-products-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.tdr-products-carousel__track::-webkit-scrollbar { display: none; }

.tdr-products-carousel__card {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  scroll-snap-align: start;
}

.tdr-products-carousel__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: var(--tdr-slate-50, #F8FAFC);
  border: 1px solid var(--tdr-border, #D8DEE7);
  position: relative;
}

.tdr-products-carousel__price {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: var(--tdr-font-price, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tdr-accent, #0050FF);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0.5rem;
  line-height: 1.3;
  backdrop-filter: blur(4px);
}

.tdr-products-carousel__price del {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--tdr-slate-400, #94a3b8);
  text-decoration: line-through;
  margin-right: 0.2em;
}

.tdr-products-carousel__price ins {
  text-decoration: none;
}

.tdr-products-carousel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdr-products-carousel__card:hover .tdr-products-carousel__img-wrap img {
  transform: scale(1.05);
}

.tdr-products-carousel__label {
  font-family: var(--tdr-font, system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: #003064;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 150ms;
}

.tdr-products-carousel__card:hover .tdr-products-carousel__label {
  color: var(--tdr-accent, #0050FF);
}

@media (max-width: 768px) {
  .tdr-products-carousel__card { flex: 0 0 140px; }
}

@media (max-width: 480px) {
  .tdr-products-carousel__card { flex: 0 0 120px; }
  .tdr-carousel-btn { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .tdr-products-carousel__img-wrap img { transition: none; }
}

/* Reutilizează track-ul și cardurile din .tdr-brk-products */
.tdr-brk-kb__track {
  padding-block: 0;
}

/* Cardurile KB permit wrap pe label */
.tdr-brk-kb__track .tdr-brk-products__label {
  white-space: normal;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .tdr-brk-kb { padding-block: 0 1.75rem; }
}
