/**
 * Homepage premium — showcase (sidebar categorii + hero) + carduri promo.
 */

/* ── Layout general ── */
body.tc-home-premium {
  background: #f7f7f8;
}

.homepage-hero-section {
  --tc-home-h: 505px;
  padding: 28px 0 0;
  background: #f7f7f8;
}

/* ══════════════════════════════════════════════════════════
   WRAPPER PRINCIPAL — un singur container, două secțiuni:
   1) showcase-row (sidebar + hero)
   2) promo grid (3 carduri), imediat dedesubt
   ══════════════════════════════════════════════════════════ */
.tricotur-home-layout {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

/* ── Rândul principal: sidebar + hero, frați direcți, același grid ── */
.tricotur-showcase-row {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tricotur-showcase-row:has(.tricotur-hero-area--full) {
  grid-template-columns: minmax(0, 1fr);
}

.tricotur-hero-area--full {
  width: 100%;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR CATEGORII — copil direct al .tricotur-showcase-row,
   NU absolute/fixed, NU dropdown-ul din header
   ══════════════════════════════════════════════════════════ */
.tricotur-category-sidebar {
  position: relative;
  width: 100%;
  height: var(--tc-home-h);
  min-height: 0;
  max-height: var(--tc-home-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tricotur-category-sidebar__toggle {
  display: none;
}

.tricotur-category-sidebar__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tricotur-category-sidebar__scroll {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

.tricotur-category-sidebar__scroll::-webkit-scrollbar {
  width: 5px;
}

.tricotur-category-sidebar__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.tricotur-category-sidebar__scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 999px;
}

.tricotur-category-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.1s, color 0.1s, padding-left 0.15s;
}

.tricotur-category-sidebar__link:first-child {
  border-top: none;
}

.tricotur-category-sidebar__link:hover {
  background: #e8f8fa;
  color: var(--red);
  padding-left: 20px;
}

.tricotur-category-sidebar__link svg {
  width: 13px;
  height: 13px;
  stroke: var(--gray);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.tricotur-category-sidebar__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.15s;
}

.tricotur-category-sidebar__footer:hover {
  background: var(--red-dark);
  color: #fff;
}

.tricotur-category-sidebar__footer svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

/* ══════════════════════════════════════════════════════════
   HERO AREA — copil direct al .tricotur-showcase-row, frate cu
   sidebar-ul. Conținutul hero-ului (.tc-home-hero) rămâne exact
   cel existent, doar umple 100% din acest wrapper.
   ══════════════════════════════════════════════════════════ */
.tricotur-hero-area {
  position: relative;
  width: 100%;
  min-width: 0;
  height: var(--tc-home-h);
  min-height: 0;
  max-height: var(--tc-home-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tc-home-hero {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-slider__stage,
.tc-home-hero__stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  border: 1px solid #e5e7eb;
}

.hero-slider__track,
.tc-home-hero__track {
  position: relative;
  height: 100%;
  max-height: 100%;
  min-height: 0;
}

.hero-slide.tc-home-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  background-color: #111;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-slide.tc-home-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(8, 13, 25, 0.82) 0%,
    rgba(8, 13, 25, 0.68) 28%,
    rgba(8, 13, 25, 0.36) 52%,
    rgba(8, 13, 25, 0.08) 76%,
    rgba(8, 13, 25, 0) 100%
  );
}

.hero-slide.tc-home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.tc-home-hero__slide.slide-image-only::before {
  display: none;
}

.hero-slide.slide-light-split.slide-image-only {
  grid-template-columns: 1fr;
}

.hero-slide.slide-light-split.slide-image-only .slide-light-split-media {
  grid-column: 1 / -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 70px 64px;
  color: #fff;
}

.hero-title {
  font-family: var(--font-head);
  color: rgba(255, 255, 255, 0.9);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
}

.hero-badge--overlay {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  margin: 0 0 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-content:has(.hero-badge--overlay) .hero-title {
  margin-top: 0;
}

.hero-title__accent {
  color: rgba(255, 220, 228, 0.95);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(11, 135, 150, 0.45);
  text-underline-offset: 0.1em;
  text-decoration-thickness: 1.5px;
}

/* ── Slide light-split — text stânga, imagine dreapta ── */
.hero-slide.slide-light-split {
  display: grid;
  grid-template-columns: 42% 58%;
  grid-template-rows: 1fr;
  align-items: stretch;
  height: 100%;
  max-height: 100%;
  background: #fff !important;
  background-image: none !important;
}

.hero-slide.slide-light-split::before {
  display: none;
}

.slide-light-split-content {
  padding: 56px 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.slide-light-split .hero-title {
  color: #111827;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 0;
  text-shadow: none;
  max-width: none;
}

.hero-badge--eyebrow {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #0b8796;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.slide-light-split-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: #6b7280;
  margin: 16px 0 0;
  max-width: 480px;
}

.slide-light-split-media {
  position: relative;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  background: #f7f7f8;
  overflow: hidden;
}

.slide-light-split-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.slide-light-split .btn-hero-primary--pill {
  border-radius: 999px;
  min-width: 160px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.slide-light-split .btn-hero-secondary--light {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.slide-light-split .btn-hero-secondary--light:hover {
  background: #f9fafb;
  color: #0b8796;
  border-color: rgba(11, 135, 150, 0.35);
}

.tc-home-hero__stage:has(.slide-light-split.is-active) {
  background: #fff;
}

.tc-home-hero__stage:has(.slide-light-split.is-active) .tc-home-hero__dot {
  background: rgba(17, 24, 39, 0.22);
}

.tc-home-hero__stage:has(.slide-light-split.is-active) .tc-home-hero__dots {
  left: auto;
  right: 28px;
  bottom: 22px;
}

.tc-home-hero__stage:has(.slide-light-split.is-active) .tc-home-hero__arrow {
  border-color: #e5e7eb;
  background: rgba(255, 255, 255, 0.96);
}

/* ── Slide școli — layout split text + galerie ── */
.hero-slide.slide-school {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  background: #fff;
  background-image: none !important;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-slide.slide-school::before {
  display: none;
}

.slide-school-content {
  padding: 44px 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  min-height: 0;
}

.slide-school .hero-title {
  color: #111827;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 0;
  text-shadow: none;
  max-width: none;
}

.slide-school-subtitle {
  font-size: 16.5px;
  line-height: 1.65;
  color: #374151;
  margin: 18px 0 0;
  max-width: 520px;
}

.slide-school-gallery {
  padding: 22px;
  background: #f7f7f8;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 100%;
}

.slide-school-gallery .photo-card:first-child {
  grid-row: 1 / span 2;
}

.photo-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  min-height: 0;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.slide-school-gallery--single {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 16px;
}

.slide-school-gallery--single .photo-card {
  flex: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  min-height: 0;
}

.slide-school-gallery--single .photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #f7f7f8;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  align-items: center;
  flex-shrink: 0;
}

.slide-actions a {
  width: auto;
}

.slide-school .btn-hero-primary,
.slide-school .btn-hero-secondary {
  height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 800;
}

.slide-school .btn-hero-secondary {
  background: #fff;
  color: #0b8796;
  border: 1px solid rgba(11, 135, 150, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.slide-school .btn-hero-secondary:hover {
  background: rgba(11, 135, 150, 0.05);
  color: #a90d27;
}

.tc-home-hero__stage:has(.slide-school.is-active) .tc-home-hero__dot {
  background: rgba(17, 24, 39, 0.22);
}

.tc-home-hero__stage:has(.slide-school.is-active) .tc-home-hero__dots {
  left: auto;
  right: 28px;
  bottom: 22px;
}

.tc-home-hero__stage:has(.slide-school.is-active) .tc-home-hero__dot:hover {
  background: rgba(17, 24, 39, 0.38);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
  margin: 18px 0 0;
}

.hero-banner__price {
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffccd5;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: center;
}

.hero-actions a {
  width: auto;
}

.tc-home-hero .btn-hero-primary,
.tc-home-hero .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  width: auto;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tc-home-hero .btn-hero-primary {
  background: #0b8796;
  color: #fff;
  border: 1px solid #0b8796;
}

.tc-home-hero .btn-hero-primary:hover {
  background: #a90d27;
  border-color: #a90d27;
  color: #fff;
}

.tc-home-hero .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tc-home-hero .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.tc-home-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tc-home-hero__arrow:hover {
  background: #fff;
  color: #0b8796;
  border-color: rgba(255, 255, 255, 0.9);
}

.tc-home-hero__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.tc-home-hero__arrow--prev {
  left: 20px;
}

.tc-home-hero__arrow--next {
  right: 20px;
}

.tc-home-hero__dots {
  position: absolute;
  left: 64px;
  bottom: 38px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-home-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.tc-home-hero__dot.is-active {
  background: #0b8796;
  transform: scale(1.15);
}

.tc-home-hero__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.tc-home-hero__dot.is-active:hover {
  background: #075b66;
}

/* ══════════════════════════════════════════════════════════
   CARDURI PROMO — un singur rând, lățime completă container
   ══════════════════════════════════════════════════════════ */
.home-promo-banners {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}

.home-promo-banners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.home-promo-banner {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.home-promo-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.home-promo-banner:hover .home-promo-banner__media img {
  transform: scale(1.04);
}

.home-promo-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 220px;
  padding: 24px 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

.home-promo-banner__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #0b8796;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-promo-banner__title {
  display: block;
  color: #111827;
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-promo-banner__cta {
  display: inline-block;
  margin-top: 12px;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}

.home-promo-banner:hover .home-promo-banner__cta {
  color: #0b8796;
}

/* ══════════════════════════════════════════════════════════
   TABLETĂ 768–1024px — sidebar mai îngust, tot pe același rând
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 768px) {
  .homepage-hero-section {
    --tc-home-h: 460px;
  }

  .tricotur-showcase-row {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .tricotur-home-layout {
    row-gap: 20px;
  }
}

/* ══════════════════════════════════════════════════════════
   MOBIL ≤767px — sidebar devine buton extensibil, totul pe 1 col
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .homepage-hero-section {
    --tc-home-h: 420px;
    padding: 16px 0 0;
  }

  .tricotur-home-layout {
    row-gap: 14px;
  }

  .tricotur-showcase-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tricotur-hero-area {
    width: 100%;
    order: 2;
  }

  .tricotur-category-sidebar {
    width: 100%;
    height: auto;
    max-height: none;
    order: 1;
  }

  .tricotur-category-sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  }

  .tricotur-category-sidebar__toggle svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s;
  }

  .tricotur-category-sidebar.is-open .tricotur-category-sidebar__toggle svg {
    transform: rotate(180deg);
  }

  .tricotur-category-sidebar__inner {
    display: none;
    margin-top: 8px;
    height: auto !important;
    max-height: min(70vh, 420px);
  }

  .tricotur-category-sidebar.is-open .tricotur-category-sidebar__inner {
    display: flex !important;
  }

  .hero-slide.tc-home-hero__slide {
    align-items: flex-end;
    min-height: 0;
    background-position: center top !important;
  }

  .hero-slide.tc-home-hero__slide::before {
    background: linear-gradient(
      180deg,
      rgba(8, 13, 25, 0.1) 0%,
      rgba(8, 13, 25, 0.28) 34%,
      rgba(8, 13, 25, 0.82) 72%,
      rgba(8, 13, 25, 0.92) 100%
    );
  }

  .hero-slide.slide-school,
  .hero-slide.slide-light-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    max-height: 100%;
    min-height: 0;
    align-items: stretch;
  }

  .slide-light-split-content {
    padding: 28px 20px 24px;
  }

  .slide-light-split .hero-title {
    font-size: 28px;
    line-height: 1.14;
  }

  .slide-light-split-subtitle {
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 100%;
  }

  .slide-light-split-media {
    height: auto;
    max-height: 220px;
    min-height: 160px;
  }

  .slide-light-split-media img {
    object-fit: cover;
    object-position: center center;
  }

  .slide-school-content {
    padding: 24px 18px 26px;
  }

  .slide-school .hero-title {
    font-size: 26px;
    line-height: 1.14;
  }

  .slide-school-subtitle {
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 100%;
  }

  .slide-school-gallery {
    padding: 12px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .slide-school-gallery .photo-card:first-child {
    grid-row: auto;
  }

  .photo-card {
    aspect-ratio: 16 / 10;
  }

  .slide-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 18px;
  }

  .slide-actions a {
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    padding: 24px 20px 28px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.16;
    letter-spacing: -0.02em;
    font-weight: 700;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
  }

  .hero-actions a {
    width: 100%;
  }

  .tc-home-hero .btn-hero-primary,
  .tc-home-hero .btn-hero-secondary {
    width: 100%;
    height: 46px;
    justify-content: center;
  }

  .tc-home-hero__arrow {
    display: none;
  }

  .tc-home-hero__dots {
    left: 18px;
    bottom: 14px;
  }

  .home-promo-banners__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-promo-banner,
  .home-promo-banner__content {
    min-height: 180px;
  }

  .home-promo-banner__title {
    font-size: 19px;
  }
}

/* MedicaDent: full-width image with a compact, readable overlay. */
.homepage-hero-section {
  --tc-home-h: 500px;
  padding: 0;
}

.tricotur-showcase-row,
.tricotur-showcase-row:has(.tricotur-hero-area--full) {
  grid-template-columns: minmax(0, 1fr);
}

.tricotur-category-sidebar {
  display: none !important;
}

.hero-slider__stage,
.tc-home-hero__stage {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hero-slide.slide-light-split,
.hero-slide.tc-home-hero__slide {
  display: flex !important;
  align-items: center;
  background-size: cover !important;
  background-position: center right;
  background-color: #063f47 !important;
}

.hero-slide.slide-light-split::before,
.hero-slide.tc-home-hero__slide::before {
  display: block;
  background:
    linear-gradient(90deg, rgba(18, 32, 36, 0.86) 0%, rgba(18, 32, 36, 0.72) 32%, rgba(18, 32, 36, 0.12) 68%, transparent 100%);
}

.slide-light-split-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
}

.slide-light-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slide-light-split-content,
.hero-content {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 96px));
  max-width: 560px;
  margin-left: max(48px, calc((100% - 1280px) / 2));
  padding: 36px 0 76px;
  background: transparent;
  color: #fff;
}

.slide-light-split .hero-title,
.hero-title {
  color: #fff;
  font-family: var(--font-body);
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  max-width: 540px;
  margin: 0;
  text-transform: none;
  overflow-wrap: anywhere;
  text-shadow: none;
}

.hero-badge--eyebrow,
.hero-badge--overlay {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.slide-light-split-subtitle,
.hero-subtitle {
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.tc-home-hero .btn-hero-primary,
.tc-home-hero .btn-hero-secondary {
  border-radius: 4px;
  min-height: 46px;
  padding: 12px 22px;
  background: #0b8796;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  white-space: normal;
  text-align: center;
}

.tc-home-hero .btn-hero-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.tc-home-hero .btn-hero-primary:hover,
.tc-home-hero .btn-hero-secondary:hover {
  background: #075b66;
  color: #fff;
}

.hero-content .hero-actions,
.slide-light-split-content .slide-actions {
  margin-top: 28px;
  gap: 12px;
}

.tc-home-hero__arrow {
  top: auto;
  bottom: 24px;
  transform: none;
  width: 36px;
  height: 36px;
  box-shadow: none;
}

.tc-home-hero__arrow--prev { left: auto; right: 84px; }
.tc-home-hero__arrow--next { right: 36px; }

.tc-home-hero__dots {
  bottom: 36px;
  left: max(48px, calc((100% - 1280px) / 2));
  transform: none;
  padding: 0;
  background: transparent;
}

@media (max-width: 1024px) {
  .homepage-hero-section {
    --tc-home-h: 480px;
  }

  .hero-title,
  .slide-light-split .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .homepage-hero-section {
    --tc-home-h: 480px;
  }

  .hero-slide.tc-home-hero__slide::before {
    background: linear-gradient(90deg, rgba(18, 32, 36, 0.88), rgba(18, 32, 36, 0.6));
  }

  .slide-light-split-content,
  .hero-content {
    width: calc(100% - 40px);
    max-width: 500px;
    margin-left: 20px;
    padding: 28px 0 64px;
  }

  .hero-title,
  .slide-light-split .hero-title {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero-subtitle,
  .slide-light-split-subtitle {
    margin-top: 18px;
    font-size: 15px;
  }

  .tc-home-hero__dots { left: 20px; }
  .tc-home-hero__arrow--next { right: 20px; }
  .tc-home-hero__arrow--prev { right: 68px; }
}

@media (max-width: 360px) {
  .hero-title,
  .slide-light-split .hero-title {
    font-size: 27px;
  }
}
