/* ================================================
   TOMASO CUSTOMERS PAGE
   Deep navy / dark vibe, consistent with contact & home
   ================================================ */

.tomaso-customers-page {
  background: linear-gradient(180deg, #0a0a2e 0%, #060620 30%, #050518 60%, #000 100%);
  min-height: 100vh;
  padding-top: 100px;
  font-family: var(--font-primary, 'Assistant', sans-serif);
  overflow: hidden;
}

/* ================================================
   SHARED ELEMENTS
   ================================================ */

/* Gradient text helper */
.tc-gradient-text {
  background: linear-gradient(135deg, var(--color-primary, #38C4DA), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section headers */
.tc-section-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 10;
}

.tc-section-label {
  color: var(--color-primary, #38C4DA);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  font-weight: 700;
}

.tc-section-title {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
}

.tc-section-subtitle {
  font-size: 1.15rem;
  color: #9ca3af;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Play button */
.tc-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(56, 196, 218, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 0 30px rgba(56, 196, 218, 0.5);
  transition: all 0.3s ease;
  padding-left: 4px;
}

.tc-play-btn-sm {
  width: 52px;
  height: 52px;
}

/* ================================================
   HERO
   ================================================ */
.tc-hero {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.tc-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(56, 196, 218, 0.12), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(231, 67, 122, 0.08), transparent 50%);
  pointer-events: none;
}

.tc-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.tc-hero-label {
  color: var(--color-primary, #38C4DA);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  font-weight: 700;
}

.tc-hero-title {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1;
}

.tc-hero-desc {
  font-size: 1.2rem;
  color: #a0aec0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================================================
   STATS STRIP
   ================================================ */
.tc-stats-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.015);
}

.tc-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.tc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tc-stat-number {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary, #38C4DA);
  line-height: 1;
}

.tc-stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.tc-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ================================================
   CLIENT LOGOS CAROUSEL
   ================================================ */
.tc-logos-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.tc-logos-wrap {
  position: relative;
}

.tc-logos-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.tc-logos-fade-right {
  right: 0;
  background: linear-gradient(to left, #060620, transparent);
}

.tc-logos-fade-left {
  left: 0;
  background: linear-gradient(to right, #060620, transparent);
}

.tc-logos-row {
  overflow: hidden;
  margin-bottom: 16px;
}

.tc-logos-row:last-child {
  margin-bottom: 0;
}

.tc-logos-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.tc-logos-track-left {
  animation: tc-scroll-left 80s linear infinite;
}

.tc-logos-track-right {
  animation: tc-scroll-right 75s linear infinite;
}

.tc-logo-box {
  flex-shrink: 0;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px;
  transition: all 0.3s ease;
}

.tc-logo-box:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(56, 196, 218, 0.4);
  transform: scale(1.05);
}

.tc-logo-box img {
  max-height: 70px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(1.2);
  transition: all 0.3s ease;
}

.tc-logo-box:hover img {
  opacity: 1;
  filter: brightness(1.4);
}

.tc-logos-track:hover {
  animation-play-state: paused !important;
}

@keyframes tc-scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes tc-scroll-right {
  0%   { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

/* ================================================
   SELECTED WORK VIDEOS
   ================================================ */
.tc-work-section {
  padding: 96px 24px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tc-work-card {
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.tc-work-card:hover {
  border-color: var(--color-primary, #38C4DA);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(56, 196, 218, 0.12);
}

.tc-work-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tc-work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tc-work-card:hover .tc-work-card-media img {
  transform: scale(1.08);
}

.tc-work-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tc-work-card:hover .tc-work-card-overlay {
  opacity: 1;
}

.tc-work-card:hover .tc-play-btn {
  transform: scale(1.1);
}

.tc-work-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: var(--color-primary, #38C4DA);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(56, 196, 218, 0.2);
}

.tc-work-card-info {
  padding: 20px 24px 24px;
}

.tc-work-card-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.tc-work-card:hover .tc-work-card-info h3 {
  color: var(--color-primary, #38C4DA);
}

.tc-work-card-info p {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* ================================================
   CASE STUDIES
   ================================================ */
.tc-cases-section {
  position: relative;
  padding: 96px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.tc-cases-glow {
  position: absolute;
  top: 0;
  left: 30%;
  width: 500px;
  height: 500px;
  background: rgba(231, 67, 122, 0.06);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.tc-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tc-case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.tc-case-card:hover {
  border-color: var(--case-color, #38C4DA);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.tc-case-card-top {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 20, 50, 0.8), rgba(10, 10, 30, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 32px;
}

.tc-case-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--case-color, #38C4DA), transparent 70%);
  opacity: 0.08;
  transition: opacity 0.5s;
}

.tc-case-card:hover .tc-case-card-glow {
  opacity: 0.2;
}

.tc-case-card-logo {
  position: relative;
  z-index: 5;
  max-width: 160px;
  max-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s;
}

.tc-case-card:hover .tc-case-card-logo {
  transform: scale(1.1);
}

.tc-case-card-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.tc-case-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tc-case-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.tc-case-card:hover .tc-case-card-name {
  color: var(--case-color, #38C4DA);
}

.tc-case-card-desc {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tc-case-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tc-case-card-tags span {
  font-size: 0.75rem;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.tc-case-card-stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tc-case-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.tc-case-card:hover .tc-case-stat {
  border-color: rgba(255, 255, 255, 0.15);
}

.tc-case-stat-icon {
  color: #6b7280;
  display: flex;
  margin-bottom: 2px;
}

.tc-case-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.tc-case-stat-value {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.tc-cases-cta {
  text-align: center;
  margin-top: 48px;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.tc-testimonials-section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tc-testimonial-card {
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.tc-testimonial-card:hover {
  border-color: var(--color-primary, #38C4DA);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(56, 196, 218, 0.15);
}

.tc-testimonial-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tc-testimonial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.tc-testimonial-card:hover .tc-testimonial-thumb img {
  transform: scale(1.05);
}

.tc-testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.tc-testimonial-card:hover .tc-testimonial-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(56, 196, 218, 0.15));
}

.tc-testimonial-card:hover .tc-play-btn {
  transform: scale(1.1);
}

.tc-testimonial-quote-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(56, 196, 218, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  z-index: 5;
}

.tc-testimonial-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.tc-testimonial-business {
  font-size: 0.85rem;
  color: var(--color-primary, #38C4DA);
}

/* ================================================
   CTA SECTION
   ================================================ */
.tc-cta-section {
  position: relative;
  padding: 128px 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 196, 218, 0.1), transparent 60%);
  pointer-events: none;
}

.tc-cta-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.tc-cta-title {
  font-family: var(--font-display, 'Bebas Neue', cursive);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}

.tc-cta-desc {
  font-size: 1.2rem;
  color: #9ca3af;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tc-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ================================================
   VIDEO MODAL
   ================================================ */
.tc-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.tc-video-modal-open {
  display: flex;
}

.tc-video-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 100000;
  line-height: 1;
  transition: color 0.3s;
  padding: 0;
}

.tc-video-modal-close:hover {
  color: var(--color-primary, #38C4DA);
}

.tc-video-modal-body {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.tc-video-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* ================================================
   WORDPRESS OVERRIDES
   ================================================ */
.page-template-template-customers .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-template-template-customers .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.page-template-template-customers .site-main > article {
  margin: 0 !important;
  padding: 0 !important;
}

.page-template-template-customers .entry-content {
  margin: 0 !important;
}

.page-template-template-customers .entry-header,
.page-template-template-customers .entry-title {
  display: none !important;
}

.page-template-template-customers .entry-content > .elementor,
.page-template-template-customers .entry-content > [data-elementor-type="wp-page"] {
  display: none !important;
}

/* ================================================
   RESPONSIVE — TABLET
   ================================================ */
@media (max-width: 1024px) {
  .tc-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tc-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tc-cases-grid .tc-case-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .tc-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ================================================
   RESPONSIVE — MOBILE
   ================================================ */
@media (max-width: 768px) {
  .tomaso-customers-page {
    padding-top: 80px;
  }

  .tc-hero {
    padding: 50px 20px 40px;
  }

  .tc-hero-title {
    font-size: 3.5rem;
  }

  .tc-hero-desc {
    font-size: 1.05rem;
  }

  .tc-stats-inner {
    gap: 24px;
  }

  .tc-stat-number {
    font-size: 2rem;
  }

  .tc-stat-divider {
    display: none;
  }

  .tc-stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
  }

  .tc-logos-section {
    padding: 60px 0;
  }

  .tc-logo-box {
    width: 150px;
    height: 80px;
  }

  .tc-work-section {
    padding: 60px 16px;
  }

  .tc-work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tc-cases-section {
    padding: 60px 16px;
  }

  .tc-cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tc-cases-grid .tc-case-card:last-child {
    max-width: none;
  }

  .tc-case-card-top {
    height: 160px;
  }

  .tc-testimonials-section {
    padding: 60px 16px;
  }

  .tc-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tc-section-title {
    font-size: 2rem;
  }

  .tc-cta-section {
    padding: 80px 20px;
  }

  .tc-cta-title {
    font-size: 3rem;
  }

  .tc-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tc-video-modal-body {
    width: 95%;
  }
}

/* ================================================
   RESPONSIVE — SMALL MOBILE
   ================================================ */
@media (max-width: 480px) {
  .tc-hero-title {
    font-size: 2.8rem;
  }

  .tc-stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .tc-case-card-stats {
    grid-template-columns: 1fr;
  }

  .tc-cta-title {
    font-size: 2.5rem;
  }
}
