/* ── Sections ─────────────────────────────────────────── */

.tp-section {
  position: relative;
  padding: var(--tp-section-py) 0;
}
.tp-section-alt { background: var(--tp-bg-secondary); }
.tp-section-border { border-top: 1px solid var(--tp-border); }

.tp-container {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ─────────────────────────────────────────────── */

.tp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--tp-bg-secondary);
  overflow: hidden;
  padding: 120px 0 80px;
}

.tp-hero-inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.tp-hero-label {
  font-family: var(--tp-font-english);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--tp-gold);
  display: block;
  margin-bottom: 16px;
}

.tp-hero-name {
  font-family: var(--tp-font-body);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 800;
  color: var(--tp-text-primary);
  line-height: 1;
  margin-bottom: 24px;
}

.tp-hero-title {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--tp-text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.tp-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.tp-hero-image { position: relative; }
.tp-hero-image-wrapper {
  border-radius: var(--tp-radius);
  overflow: hidden;
  box-shadow: var(--tp-shadow-lg);
}
.tp-hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.tp-hero-image-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--tp-shadow-card);
}
.tp-hero-image-badge strong {
  display: block;
  font-family: var(--tp-font-english);
  font-size: 22px;
  font-weight: 800;
  color: var(--tp-gold);
}
.tp-hero-image-badge span {
  font-size: 13px;
  color: var(--tp-text-secondary);
}

@media (max-width: 768px) {
  .tp-hero { min-height: auto; padding: 100px 0 60px; }
  .tp-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .tp-hero-buttons { justify-content: center; }
  .tp-hero-image { max-width: 360px; margin: 0 auto; }
  .tp-hero-image-badge { right: 0; }
}

/* ── Stats Strip ──────────────────────────────────────── */

.tp-stats-strip {
  background: var(--tp-bg-dark);
  color: var(--tp-text-light);
  padding: 40px 0;
}

.tp-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.tp-stat { text-align: center; min-width: 120px; }
.tp-stat-value {
  font-family: var(--tp-font-english);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.tp-stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.tp-stats-strip .tp-gold-text { color: var(--tp-gold-light); }

/* ── Achievements ─────────────────────────────────────── */

.tp-achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-achievement {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--tp-transition);
  box-shadow: var(--tp-shadow-card);
}
.tp-achievement:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-lg);
  border-color: var(--tp-border-hover);
}
.tp-achievement-icon { font-size: 36px; margin-bottom: 16px; }
.tp-achievement h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--tp-text-primary); }
.tp-achievement p { font-size: 14px; color: var(--tp-text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
  .tp-achievements-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tp-achievements-grid { grid-template-columns: 1fr; }
}

/* ── Ventures Grid ────────────────────────────────────── */

.tp-ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.tp-venture-card {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  overflow: hidden;
  transition: all var(--tp-transition);
  box-shadow: var(--tp-shadow-card);
}
.tp-venture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tp-shadow-lg);
}

.tp-venture-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.tp-venture-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.tp-venture-card:hover .tp-venture-card-img img { transform: scale(1.05); }

.tp-venture-card-body {
  padding: 24px;
}
.tp-venture-card-body .tp-tag { margin-bottom: 12px; }
.tp-venture-card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--tp-text-primary); }
.tp-venture-card-body p { font-size: 14px; color: var(--tp-text-secondary); line-height: 1.6; margin-bottom: 16px; }

/* ── Marquee ──────────────────────────────────────────── */

.tp-marquee {
  background: var(--tp-gold);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.tp-marquee-track {
  display: flex;
  width: max-content;
  animation: tp-marquee 60s linear infinite;
}

.tp-marquee-item {
  font-family: var(--tp-font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 0 16px;
}

.tp-marquee-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  align-self: center;
}

@keyframes tp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* ── Testimonials (Video) — Match Tomaso ──────────────── */

.tp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tp-testimonial-video-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--tp-radius);
  aspect-ratio: 9 / 16;
  border: 1px solid var(--tp-border);
  transition: all 0.3s;
  box-shadow: var(--tp-shadow-card);
}
.tp-testimonial-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-lg);
}
.tp-testimonial-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.tp-testimonial-video-card:hover img { transform: scale(1.05); }
.tp-testimonial-video-card .tp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-testimonial-video-card .tp-card-quote {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .tp-testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .tp-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Text Testimonials ────────────────────────────────── */

.tp-text-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tp-text-testimonial-card {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 28px;
  transition: all var(--tp-transition);
  box-shadow: var(--tp-shadow-card);
}
.tp-text-testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow-lg);
}
.tp-text-testimonial-card .tp-tq {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tp-text-primary);
  margin-bottom: 20px;
  font-style: italic;
}
.tp-text-testimonial-card .tp-ta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tp-text-testimonial-card .tp-ta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.tp-text-testimonial-card .tp-ta strong { display: block; font-size: 14px; color: var(--tp-text-primary); }
.tp-text-testimonial-card .tp-ta span { font-size: 13px; color: var(--tp-text-muted); }

/* ── Work Videos — Match Tomaso ───────────────────────── */

.tp-work-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tp-work-video-card {
  cursor: pointer;
  transition: all 0.3s;
}
.tp-work-video-card:hover { transform: translateY(-4px); }

.tp-work-video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--tp-radius);
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow-card);
}
.tp-work-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.tp-work-video-card:hover .tp-work-video-thumb img { transform: scale(1.05); }

.tp-video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.tp-work-video-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--tp-text-primary); }
.tp-work-video-cat { font-size: 14px; color: var(--tp-text-muted); }

@media (max-width: 768px) {
  .tp-work-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .tp-work-videos-grid { grid-template-columns: 1fr; }
}

/* ── Results Grid ─────────────────────────────────────── */

.tp-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-result-card {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--tp-transition);
  box-shadow: var(--tp-shadow-card);
}
.tp-result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-lg);
}

.tp-result-metric {
  font-family: var(--tp-font-english);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 4px;
}
.tp-result-platform { font-size: 14px; color: var(--tp-text-muted); margin-bottom: 8px; }
.tp-result-name { font-size: 16px; font-weight: 700; color: var(--tp-text-primary); }

@media (max-width: 768px) {
  .tp-results-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Client Logos Carousel ────────────────────────────── */

.tp-logos-section { overflow: hidden; padding-bottom: 80px; }

.tp-logos-wrap { position: relative; }

.tp-logos-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}
.tp-logos-fade-right { right: 0; background: linear-gradient(to left, var(--tp-bg-primary), transparent); }
.tp-logos-fade-left { left: 0; background: linear-gradient(to right, var(--tp-bg-primary), transparent); }

.tp-logos-row { overflow: hidden; margin-bottom: 12px; }

.tp-logos-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.tp-logos-track-left { animation: tp-logos-left 80s linear infinite; }
.tp-logos-track-right { animation: tp-logos-right 75s linear infinite; }

@keyframes tp-logos-left {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
@keyframes tp-logos-right {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}

.tp-logo-box {
  width: 100px;
  height: 60px;
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  transition: all 0.3s;
  box-shadow: var(--tp-shadow-sm);
}
.tp-logo-box:hover {
  box-shadow: var(--tp-shadow-card);
  border-color: var(--tp-border-hover);
}
.tp-logo-box img {
  max-width: 80px;
  max-height: 44px;
  object-fit: contain;
  transition: transform 0.3s;
}
.tp-logo-box:hover img { transform: scale(1.1); }

/* ── Media / Shark Tank ───────────────────────────────── */

.tp-media-section { background: var(--tp-bg-secondary); }

.tp-media-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.tp-media-video {
  border-radius: var(--tp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--tp-shadow-lg);
}
.tp-media-video iframe { width: 100%; height: 100%; border: none; }

.tp-media-content h3 {
  font-family: var(--tp-font-english);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--tp-text-muted);
  margin-bottom: 8px;
}
.tp-media-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--tp-text-primary);
}
.tp-media-content p {
  font-size: 16px;
  color: var(--tp-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .tp-media-inner { grid-template-columns: 1fr; }
}

/* ── Timeline / Milestones ────────────────────────────── */

.tp-milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-milestone-card {
  background: var(--tp-bg-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 28px;
  transition: all var(--tp-transition);
  box-shadow: var(--tp-shadow-card);
  position: relative;
}
.tp-milestone-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tp-shadow-lg);
}
.tp-milestone-year {
  font-family: var(--tp-font-english);
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-gold);
  background: rgba(201, 168, 76, 0.08);
  padding: 4px 12px;
  border-radius: var(--tp-radius-full);
  display: inline-block;
  margin-bottom: 12px;
}
.tp-milestone-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--tp-text-primary); }
.tp-milestone-card p { font-size: 14px; color: var(--tp-text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
  .tp-milestones-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tp-milestones-grid { grid-template-columns: 1fr; }
}

/* ── Lectures Grid ────────────────────────────────────── */

.tp-lectures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .tp-lectures-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tp-lectures-grid { grid-template-columns: 1fr; }
}

/* ── Grids Utility ────────────────────────────────────── */

.tp-grid { display: grid; gap: 24px; }
.tp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tp-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .tp-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tp-grid-3 { grid-template-columns: 1fr; }
  .tp-grid-4 { grid-template-columns: 1fr; }
}

/* ── CTA Section ──────────────────────────────────────── */

.tp-cta {
  background: var(--tp-bg-dark);
  color: var(--tp-text-light);
  padding: 80px 0;
  text-align: center;
}
.tp-cta .tp-heading-xl { color: var(--tp-text-light); }
.tp-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ── Footer ───────────────────────────────────────────── */

.tp-footer {
  background: var(--tp-bg-footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.tp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.tp-footer-logo {
  font-family: var(--tp-font-display);
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.06em;
}
.tp-footer-logo span { color: var(--tp-gold); }

.tp-footer-links { display: flex; gap: 24px; }
.tp-footer-links a { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.tp-footer-links a:hover { color: var(--tp-gold); }

.tp-footer-social { display: flex; gap: 16px; }
.tp-footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.tp-footer-social a:hover { color: var(--tp-gold); }

.tp-footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}
.tp-footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.tp-footer-bottom a:hover { color: var(--tp-gold); }

@media (max-width: 768px) {
  .tp-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .tp-footer-links { flex-wrap: wrap; justify-content: center; }
  .tp-footer-social { justify-content: center; }
  .tp-section { padding: var(--tp-section-py-mobile) 0; }
}
