/* ================================================
   TOMASO.CO.IL REFRESH, October 2026
   Services bento, selected videos, testimonial strip,
   lectures split, thank-you page, customers carousel,
   seven-person team. Loaded by the templates that use it.
   ================================================ */

/* --- shared eyebrow --- */
.th-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary, #38C4DA);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.th-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-primary, #38C4DA);
  opacity: 0.7;
}

/* --- section header: title on the right, one action on the left --- */
.th-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.th-head .tomaso-heading { margin-bottom: 10px; text-align: right; }
.th-head p { color: #9ca3af; font-size: 1.15rem; max-width: 560px; margin: 0; line-height: 1.7; }

/* ================= Services bento ================= */
.th-services {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.th-svc {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-decoration: none !important;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.th-svc:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 196, 218, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.th-svc--xl { grid-column: span 7; min-height: 320px; }
.th-svc--lg { grid-column: span 5; min-height: 320px; }
.th-svc--5 { grid-column: span 5; }
.th-svc--3 { grid-column: span 3; }

.th-svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(56, 196, 218, 0.10);
  color: var(--color-primary, #38C4DA);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.th-svc-icon svg { width: 24px; height: 24px; }
.th-svc h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  transition: color 0.3s;
}
.th-svc:hover h3 { color: var(--color-primary, #38C4DA); }
.th-svc p {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  max-width: 46ch;
}
.th-svc-more {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary, #38C4DA);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s;
}
.th-svc:hover .th-svc-more { gap: 14px; }
.th-svc-more svg { width: 18px; height: 18px; }

/* campaigns tile: text + a real client quote */
.th-svc--xl .th-svc-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: end;
  height: 100%;
}
.th-svc--xl .th-svc-inner > div:first-child { display: flex; flex-direction: column; height: 100%; }
.th-proof {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: rgba(6, 6, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.th-proof-quote {
  color: #e6ecf7 !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  margin: 0 0 16px !important;
  max-width: none !important;
}
.th-proof-quote::before { content: "\201C"; color: var(--color-primary, #38C4DA); margin-left: 4px; }
.th-proof-quote::after { content: "\201D"; color: var(--color-primary, #38C4DA); margin-right: 4px; }
.th-proof-by { display: flex; align-items: center; gap: 12px; }
.th-proof-by img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}
.th-proof-by strong { display: block; color: #fff; font-size: 0.95rem; }
.th-proof-by span { color: #9ca3af; font-size: 0.85rem; }
.th-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.th-platforms span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  font-size: 0.85rem;
  font-weight: 600;
}

/* video tile: a real still from a client video, faded under the text */
.th-svc--lg .th-svc-bg {
  position: absolute;
  inset: 0;
  background-position: center 25%;
  background-size: cover;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 62%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 62%);
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.th-svc--lg:hover .th-svc-bg { transform: scale(1.04); opacity: 0.7; }
.th-svc--lg > *:not(.th-svc-bg) { position: relative; z-index: 1; }
.th-svc--lg .th-svc-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(6, 6, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
}
.th-svc-badge b {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  color: var(--color-primary, #38C4DA);
  line-height: 1;
}
.th-svc-badge span { font-size: 0.85rem; color: #d1d5db; }

/* ================= Selected videos ================= */
.th-video-card { cursor: pointer; }
.th-video-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b24;
}
.th-video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.th-video-card:hover .th-video-media img { transform: scale(1.05); }
.th-video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 24, 0.75) 0%, rgba(5, 5, 24, 0) 45%);
  pointer-events: none;
}
.th-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.th-video-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 6, 32, 0.7);
  border: 1px solid rgba(56, 196, 218, 0.25);
  color: var(--color-primary, #38C4DA);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.th-video-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  transition: color 0.3s;
}
.th-video-card:hover h3 { color: var(--color-primary, #38C4DA); }
.th-video-card p { color: #9ca3af; margin: 0; line-height: 1.6; }

/* ================= Testimonial strip ================= */
.tomaso-testimonial-card .th-testi-cap,
.tc-testimonial-card .th-testi-cap {
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.3;
  text-align: right;
}
.tomaso-testimonial-card:hover,
.tc-testimonial-card:hover { border-color: rgba(56, 196, 218, 0.45) !important; transform: translateY(-4px); }
.tomaso-testimonial-card:hover img,
.tc-testimonial-card:hover img { transform: scale(1.05); }

/* ================= Lectures: editorial split ================= */
.th-lect {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.th-lect-text h2 {
  font-family: var(--font-primary, 'Assistant', sans-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 18px;
}
.th-lect-text h2 span { color: var(--color-primary, #38C4DA); }
.th-lect-lead {
  color: #c9d2e3;
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 0 22px;
}
.th-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.th-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6ecf7;
  font-size: 0.9rem;
  font-weight: 600;
}
.th-chip svg { color: var(--color-primary, #38C4DA); flex-shrink: 0; width: 16px; height: 16px; }
.th-topics {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.th-topics li { margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.th-topics a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  text-decoration: none !important;
}
.th-topics b {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--color-primary, #38C4DA);
}
.th-topics strong { display: block; color: #fff; font-size: 1.08rem; font-weight: 700; transition: color 0.3s; }
.th-topics small { display: block; color: #8b93a7; font-size: 0.9rem; margin-top: 2px; }
.th-topics svg { width: 20px; height: 20px; color: #6b7280; transition: transform 0.3s, color 0.3s; }
.th-topics a:hover strong { color: var(--color-primary, #38C4DA); }
.th-topics a:hover svg { color: var(--color-primary, #38C4DA); transform: translateX(-4px); }
.th-lect-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.th-lect-visual { position: relative; }
.th-lect-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.th-lect-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.th-lect-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 24, 0.9) 100%);
}
.th-lect-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
}
.th-lect-caption strong { display: block; color: #fff; font-size: 1.15rem; }
.th-lect-caption span { color: #c9d2e3; font-size: 0.9rem; }
.th-lect-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(10, 10, 46, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, border-color 0.3s;
}
.th-lect-float--play { left: -18px; top: 28px; cursor: pointer; }
.th-lect-float--play:hover { transform: translateY(-3px); border-color: rgba(56, 196, 218, 0.45); }
.th-lect-float--clients { right: -18px; bottom: 96px; }
.th-lect-float .tomaso-play-btn {
  width: 44px; height: 44px;
  border-width: 1px;
  background: var(--color-primary, #38C4DA);
  border-color: var(--color-primary, #38C4DA);
  backdrop-filter: none;
}
.th-lect-float .tomaso-play-btn svg { width: 18px; height: 18px; fill: #041018; margin-left: 2px; }
.th-lect-float strong { display: block; color: #fff; font-size: 0.98rem; line-height: 1.2; }
.th-lect-float span { color: #9ca3af; font-size: 0.82rem; }
.th-lect-float-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56,196,218,0.25), rgba(231,67,122,0.25));
  color: #fff;
}
.th-lect-float-icon svg { width: 22px; height: 22px; }

/* ================= Thank-you page ================= */
.tk-page {
  direction: rtl;
  font-family: var(--font-primary, 'Assistant', sans-serif);
  background: radial-gradient(ellipse at top, #0a0a2e 0%, #060620 45%, #050518 100%);
  color: #fff;
  overflow: hidden;
}
.tk-hero {
  position: relative;
  padding: 120px 24px 72px;
  text-align: center;
}
.tk-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,196,218,0.14) 0%, rgba(56,196,218,0) 65%);
  pointer-events: none;
}
.tk-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.tk-check {
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(56, 196, 218, 0.10);
  border: 1px solid rgba(56, 196, 218, 0.35);
  box-shadow: 0 0 0 10px rgba(56, 196, 218, 0.05);
}
.tk-check svg { width: 44px; height: 44px; }
.tk-check path {
  stroke: var(--color-primary, #38C4DA);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: tk-draw 0.7s ease-out 0.25s forwards;
}
@keyframes tk-draw { to { stroke-dashoffset: 0; } }
.tk-eyebrow {
  color: var(--color-primary, #38C4DA);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.tk-hero h1 {
  font-family: var(--font-primary, 'Assistant', sans-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: #fff;
}
.tk-hero h1 span { color: var(--color-primary, #38C4DA); }
.tk-hero p.tk-lead {
  color: #c9d2e3;
  font-size: 1.18rem;
  line-height: 1.8;
  max-width: 56ch;
  margin: 0 auto 36px;
}
.tk-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.tk-next { padding: 24px 24px 96px; }
.tk-next-inner { max-width: 1040px; margin: 0 auto; }
.tk-next h2 {
  font-family: var(--font-primary, 'Assistant', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  text-align: center;
}
.tk-steps {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
}
.tk-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none !important;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.tk-step:hover { transform: translateY(-3px); border-color: rgba(56, 196, 218, 0.35); background: rgba(255, 255, 255, 0.05); }
.tk-step--wide { grid-column: 1 / -1; }
.tk-step-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(56, 196, 218, 0.10);
  color: var(--color-primary, #38C4DA);
}
.tk-step-icon svg { width: 24px; height: 24px; }
.tk-step strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 4px; transition: color 0.3s; }
.tk-step:hover strong { color: var(--color-primary, #38C4DA); }
.tk-step span { color: #9ca3af; font-size: 0.98rem; line-height: 1.65; }
.tk-step-thumbs { display: flex; gap: 8px; margin-top: 14px; }
.tk-step-thumbs img {
  width: 64px; height: 88px; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tk-logos { padding: 0 0 80px; }
.tk-logos > p {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}

/* ================= Customers: work videos carousel ================= */
.tc-work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tc-work-head .tc-section-header { text-align: right; margin-bottom: 0; }
.tc-work-head .tc-section-subtitle { margin-right: 0; }
.tc-work-actions { display: flex; gap: 10px; align-items: center; }
.tc-car-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.tc-car-btn:hover { border-color: var(--color-primary, #38C4DA); color: var(--color-primary, #38C4DA); background: rgba(56, 196, 218, 0.08); }
.tc-car-btn svg { width: 20px; height: 20px; }
.tc-carousel { position: relative; }
.tc-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 4px 4px 20px;
  scrollbar-width: none;
}
.tc-track::-webkit-scrollbar { display: none; }
.tc-track > .tc-work-card {
  flex: 0 0 clamp(260px, calc((100% - 48px) / 3), 420px);
  scroll-snap-align: start;
}
.tc-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
  direction: rtl;
}
.tc-progress i {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--color-primary, #38C4DA);
  border-radius: 2px;
  transition: width 0.25s;
}
.tc-work-more { display: flex; justify-content: center; margin-top: 36px; }

/* ================= Team: seven people, centred rows ================= */
.tomaso-about-secondary-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.tomaso-about-secondary-card {
  flex: 0 0 calc(25% - 18px);
  max-width: 260px;
  min-width: 200px;
}
.tomaso-about-secondary-avatar-ring.tomaso-mono {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.10), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--mono, #38C4DA) 38%, #0a0a2e), #0a0a2e);
  border-color: color-mix(in srgb, var(--mono, #38C4DA) 45%, transparent);
}
.tomaso-about-secondary-avatar-ring.tomaso-mono span {
  font-family: var(--font-primary, 'Assistant', sans-serif);
  font-weight: 700;
  font-size: 2.6rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ================= Responsive ================= */
@media (max-width: 1023px) {
  .th-svc, .th-svc--xl, .th-svc--lg, .th-svc--5, .th-svc--3 { grid-column: span 6; }
  .th-svc--xl .th-svc-inner { grid-template-columns: 1fr; }
  .th-lect { grid-template-columns: 1fr; gap: 40px; }
  .th-lect-visual { max-width: 460px; margin: 0 auto; }
  .tomaso-about-secondary-card { flex-basis: calc(33.333% - 16px); }
}
@media (max-width: 767px) {
  .th-services { gap: 14px; }
  .th-svc, .th-svc--xl, .th-svc--lg, .th-svc--5, .th-svc--3 { grid-column: span 12; min-height: 0; }
  .th-svc { padding: 22px; }
  .th-svc--lg .th-svc-bg { opacity: 0.35; }
  .th-svc--lg .th-svc-badge { position: static; margin-top: 18px; align-self: flex-start; }
  .th-head { margin-bottom: 36px; justify-content: center; text-align: center; }
  .th-head .tomaso-heading { text-align: center; }
  .th-head p { text-align: center; }
  .th-lect-float--play { left: 8px; top: 12px; }
  .th-lect-float--clients { right: 8px; bottom: 80px; }
  .th-topics a { grid-template-columns: 44px 1fr auto; }
  .tk-hero { padding: 88px 20px 48px; }
  .tk-steps { grid-template-columns: 1fr; }
  .tk-step-thumbs { display: none; }
  .tc-track > .tc-work-card { flex-basis: 78%; }
  .tc-work-head { justify-content: center; }
  .tc-work-head .tc-section-header { text-align: center; }
  .tomaso-about-secondary-card { flex-basis: calc(50% - 12px); min-width: 150px; }
}
@media (max-width: 480px) {
  .tomaso-about-secondary-grid { grid-template-columns: none; }
  .tomaso-about-secondary-card { flex-basis: calc(50% - 8px); }
}
