@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  --tpz-radius-sm: 12px;
  --tpz-radius: 18px;
  --tpz-radius-lg: 26px;
  --tpz-surface: #05070b;
  --tpz-surface-2: #090d13;
  --tpz-surface-3: #0d121b;
  --tpz-border: rgba(255, 255, 255, 0.1);
  --tpz-border-soft: rgba(255, 255, 255, 0.08);
  --tpz-text: rgba(255, 255, 255, 0.94);
  --tpz-text-soft: rgba(255, 255, 255, 0.8);
  --tpz-muted: rgba(255, 255, 255, 0.58);
  --tpz-gold: #f2cf55;
  --tpz-accent: #ff2323;
  --tpz-accent-strong: #b20000;
  --tpz-red: #ff2323;
  --tpz-red-deep: #b20000;
  --tpz-panel: rgba(10, 14, 20, 0.64);
  --tpz-panel-border: rgba(255, 255, 255, 0.08);
  --tpz-shadow: 0 22px 65px rgba(0, 0, 0, 0.56);
  --tpz-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.tpz-hero,
.tpz-home {
  font-family: "Outfit", sans-serif;
}

.tpz-home a,
.tpz-hero a,
.tpz-home button,
.tpz-hero button {
  transition: all 0.22s ease;
}

.tpz-home a:focus-visible,
.tpz-hero a:focus-visible,
.tpz-home button:focus-visible,
.tpz-hero button:focus-visible,
.tpz-home input:focus-visible,
.tpz-home select:focus-visible {
  outline: 2px solid var(--tpz-gold);
  outline-offset: 2px;
}

.tpz-hero {
  position: relative;
  overflow: hidden;
}

.tpz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 35, 35, 0.16), transparent 50%),
    radial-gradient(circle at 84% 78%, rgba(242, 207, 85, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.84) 0%, rgba(5, 7, 11, 0.9) 100%);
  z-index: 0;
}

.tpz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 35, 35, 0.09), transparent 42%, rgba(242, 207, 85, 0.08));
  z-index: 1;
}

.tpz-hero .container {
  position: relative;
  z-index: 2;
}

.tpz-hero-container {
  max-width: 1220px;
}

.tpz-hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.tpz-hero-copy {
  color: var(--tpz-text);
}

.tpz-hero-eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 800;
  color: var(--tpz-text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.tpz-hero-copy h1 {
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 5.7vw, 58px);
  line-height: 1.04;
  color: var(--tpz-text);
}

.tpz-hero-lead {
  color: var(--tpz-text-soft);
  line-height: 1.72;
  max-width: 650px;
  font-size: 17px;
}

.tpz-hero-actions {
  margin: 24px 0 16px;
}

.tpz-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--tpz-text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

.tpz-link-cta:hover {
  border-color: rgba(242, 207, 85, 0.7);
  color: var(--tpz-gold);
  transform: translateY(-1px);
}

.tpz-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--tpz-muted);
  font-size: 12px;
}

.tpz-hero-metrics strong {
  color: var(--tpz-text);
}

.tpz-hero-panel {
  position: relative;
  overflow: hidden;
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: var(--tpz-shadow);
  padding: clamp(20px, 3vw, 30px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tpz-hero-panel::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  top: -120px;
  right: -110px;
  background: rgba(255, 35, 35, 0.12);
  filter: blur(22px);
  pointer-events: none;
}

.tpz-panel-head {
  position: relative;
  z-index: 1;
}

.tpz-panel-head h4 {
  margin: 0 0 6px;
  color: var(--tpz-text);
  letter-spacing: -0.02em;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
}

.tpz-panel-head p {
  margin: 0 0 16px;
  color: var(--tpz-muted);
}

.tpz-search {
  position: relative;
  z-index: 1;
}

.tpz-search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tpz-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--tpz-border);
  background: rgba(255, 255, 255, 0.04);
}

.tpz-search-item:focus-within {
  border-color: rgba(255, 35, 35, 0.58);
  box-shadow: 0 0 0 0.2rem rgba(255, 35, 35, 0.14);
}

.tpz-search-item label {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  position: static !important;
  transform: none !important;
}

.tpz-search-item select,
.tpz-search-item input {
  border: 0;
  padding: 0;
  width: 100%;
  background: transparent;
  color: var(--tpz-text);
}

.tpz-search-item select option {
  color: #0f1218;
}

.tpz-search-item input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tpz-search-btn {
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 35, 35, 0.55);
  background: linear-gradient(135deg, var(--tpz-red-deep) 0%, var(--tpz-red) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255, 35, 35, 0.2);
}

.tpz-search-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.tpz-hero-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--tpz-muted);
}

.tpz-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tpz-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 14px;
}

.tpz-pill:hover {
  border-color: rgba(242, 207, 85, 0.7);
  color: var(--tpz-gold);
}

.tpz-home {
  position: relative;
  background:
    radial-gradient(circle at 6% 12%, rgba(255, 35, 35, 0.12), transparent 36%),
    radial-gradient(circle at 94% 84%, rgba(242, 207, 85, 0.1), transparent 38%),
    linear-gradient(180deg, #05070b 0%, #060a10 46%, #05070b 100%);
  color: var(--tpz-text-soft);
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.tpz-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 26%, rgba(255, 35, 35, 0.1), transparent 44%),
    radial-gradient(circle at 84% 18%, rgba(242, 207, 85, 0.08), transparent 40%),
    radial-gradient(circle at 68% 72%, rgba(255, 35, 35, 0.07), transparent 38%);
}

.tpz-home > section {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tpz-home .events-section::before,
.tpz-home .feature-section::before,
.tpz-home .about-section::before,
.tpz-home .testimonial-section::before,
.tpz-home .client-logo-area::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.018), transparent 55%);
}

.tpz-home .events-section > .container,
.tpz-home .feature-section > .container,
.tpz-home .about-section > .container,
.tpz-home .testimonial-section > .container,
.tpz-home .client-logo-area > .container {
  position: relative;
  z-index: 1;
}

.tpz-home .events-section,
.tpz-home .feature-section,
.tpz-home .category-section,
.tpz-home .about-section,
.tpz-home .testimonial-section,
.tpz-home .client-logo-area {
  background: transparent;
}

.tpz-home .bg-lighter,
.tpz-home .bg-light,
.tpz-home .bg-white {
  background: transparent !important;
}

.tpz-home .section-title h2,
.tpz-home .about-content h2,
.tpz-home .work-process-item h4,
.tpz-home .feature-item h5,
.tpz-home .testimonial-item h5,
.tpz-home .client-logo-area h2,
.tpz-home .client-logo-area h5,
.tpz-home .total-client-reviews h6 {
  color: var(--tpz-text);
  letter-spacing: -0.02em;
}

.tpz-home p,
.tpz-home .about-content p,
.tpz-home .feature-item p,
.tpz-home .work-process-item p,
.tpz-home .testimonial-item p,
.tpz-home .testimonial-content p,
.tpz-home .client-logo-area p {
  color: var(--tpz-muted);
}

.tpz-home .text-dark {
  color: var(--tpz-text) !important;
}

.tpz-section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.tpz-section-title h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.tpz-section-subtitle {
  color: var(--tpz-muted);
  margin-top: 12px;
}

.tpz-home .category-section .tpz-section-title {
  text-align: center;
}

.tpz-featured-filter-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tpz-featured-filter-mobile label {
  display: block;
  color: var(--tpz-muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.tpz-featured-filter-mobile select {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--tpz-border);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tpz-text);
}

.tpz-featured-filter-mobile select option {
  color: #10131b;
}

.tpz-featured-filter-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tpz-filter-chip {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tpz-text-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 16px;
}

.tpz-filter-chip:hover {
  color: var(--tpz-text);
  border-color: rgba(242, 207, 85, 0.72);
}

.tpz-filter-chip.is-active {
  background: rgba(255, 35, 35, 0.13);
  border-color: rgba(255, 35, 35, 0.48);
  color: var(--tpz-text);
}

.tpz-event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tpz-event-card {
  display: flex;
  flex-direction: column;
  background: rgba(10, 14, 20, 0.78);
  border-radius: var(--tpz-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--tpz-shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tpz-event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 35, 35, 0.34);
  box-shadow: var(--tpz-shadow);
}

.tpz-event-media {
  position: relative;
}

.tpz-event-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tpz-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 40px;
  width: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(8, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.tpz-wishlist-btn:hover {
  background: rgba(8, 12, 18, 0.95);
  color: #fff;
}

.tpz-wishlist-btn.is-active {
  background: #118c5a;
  border-color: #118c5a;
}

.tpz-event-body {
  padding: 16px;
}

.tpz-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--tpz-muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.tpz-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tpz-event-organiser {
  display: inline-flex;
  color: rgba(242, 207, 85, 0.92);
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

.tpz-event-title {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.tpz-event-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--tpz-text);
}

.tpz-event-title a:hover {
  color: var(--tpz-gold);
}

.tpz-event-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--tpz-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.tpz-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tpz-event-location {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tpz-muted);
  font-size: 13px;
  min-width: 0;
}

.tpz-event-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tpz-event-price {
  margin: 0;
  color: var(--tpz-text);
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

.tpz-event-price del {
  color: var(--tpz-muted);
  font-size: 12px;
  margin-left: 6px;
  font-weight: 500;
}

.tpz-category-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tpz-category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--tpz-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--tpz-shadow-soft);
}

.tpz-category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tpz-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.06), rgba(7, 11, 18, 0.82));
}

.tpz-category-card .category-content {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 14px;
}

.tpz-category-card h5 {
  color: #fff;
  margin: 0;
}

.tpz-home .about-image-part img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--tpz-shadow);
}

.tpz-home .feature-item,
.tpz-home .work-process-item,
.tpz-home .testimonial-item,
.tpz-home .client-logo-item,
.tpz-home .total-client-reviews {
  border-radius: var(--tpz-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--tpz-shadow-soft);
  background: rgba(10, 14, 20, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tpz-home .feature-item,
.tpz-home .work-process-item,
.tpz-home .testimonial-item {
  padding: 20px;
  height: 100%;
}

.tpz-home .feature-item i,
.tpz-home .work-process-item .icon i {
  color: var(--tpz-gold);
}

.tpz-home .work-process-item .number {
  background: rgba(255, 35, 35, 0.16);
  border: 1px solid rgba(255, 35, 35, 0.35);
  color: #fff;
}

.tpz-home .feature-item:hover,
.tpz-home .work-process-item:hover,
.tpz-home .testimonial-item:hover,
.tpz-home .client-logo-item:hover,
.tpz-home .total-client-reviews:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 207, 85, 0.45);
}

.tpz-home .feature-section .row > [class*="col-"],
.tpz-home .work-process .row > [class*="col-"] {
  display: flex;
}

.tpz-home .testimonial-item .author img {
  border-radius: 12px;
}

.tpz-home .testimonial-item .author span {
  color: var(--tpz-muted);
}

.tpz-home .testimonial-item .ratting i {
  color: var(--tpz-gold);
}

.tpz-home .client-logo-item {
  padding: 18px;
}

.tpz-home .client-logo-item img {
  filter: grayscale(0.1) brightness(0.92);
  opacity: 0.95;
}

.tpz-home .client-logo-item:hover img {
  filter: grayscale(0) brightness(1.02);
  opacity: 1;
}

.tpz-home hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Fixes for legacy theme collisions on home */
.tpz-hero.hero-section {
  min-height: 620px !important;
  padding-top: 110px !important;
  padding-bottom: 74px !important;
}

.tpz-hero-grid {
  gap: 24px;
}

.tpz-search .search-item,
.tpz-search .ui-selectmenu-button.ui-button {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--tpz-border) !important;
  color: var(--tpz-text) !important;
}

.tpz-search .ui-selectmenu-button.ui-button {
  border-radius: 14px !important;
  min-height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.tpz-search .ui-selectmenu-text {
  color: var(--tpz-text) !important;
}

.tpz-search .ui-selectmenu-icon.ui-icon {
  color: rgba(255, 255, 255, 0.62) !important;
}

.tpz-home .about-content {
  max-width: 100%;
  background: rgba(10, 14, 20, 0.76) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--tpz-shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tpz-home .feature-section {
  margin-bottom: 0 !important;
  padding-bottom: 40px !important;
}

.tpz-home .work-process {
  margin-top: 0 !important;
  transform: none !important;
  padding: 6px 0 0 !important;
}

.tpz-home .work-process-inner {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.tpz-home .work-process-inner.pt-110,
.tpz-home .work-process-inner.rpt-90,
.tpz-home .work-process-inner.pb-80,
.tpz-home .work-process-inner.rpb-60 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.tpz-home .work-process .container {
  max-width: 1270px !important;
  padding-bottom: 0 !important;
}

.tpz-home section:last-of-type,
.tpz-home .client-logo-area,
.page-wrapper > .footer-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .tpz-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .tpz-search-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  .tpz-hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .tpz-search-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .tpz-search-btn {
    padding: 0 20px;
    min-width: 148px;
  }

  .tpz-event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tpz-hero {
    padding-top: 90px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
  }

  .tpz-hero-copy h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .tpz-hero-lead {
    font-size: 16px;
  }

  .tpz-hero-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .tpz-pill {
    white-space: nowrap;
  }

  .tpz-event-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .tpz-home .about-content {
    padding: 18px;
  }
}

/* Hero search hard overrides against legacy theme */
.tpz-hero .tpz-search,
.tpz-hero .tpz-search-row {
  background: transparent !important;
}

.tpz-hero .tpz-search-row {
  align-items: stretch;
}

.tpz-hero .tpz-search-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--tpz-border-soft) !important;
}

.tpz-hero .tpz-search-item select,
.tpz-hero .tpz-search-item input {
  color: var(--tpz-text) !important;
  font-weight: 500;
}

.tpz-hero .tpz-search-item input::placeholder {
  color: rgba(243, 246, 255, 0.55);
}

.tpz-hero .tpz-search-btn,
.tpz-hero button.tpz-search-btn {
  appearance: none;
  border: 0 !important;
  background: var(--tpz-accent) !important;
  color: #ffffff !important;
  font-weight: 700;
  width: 100%;
}

.tpz-hero .tpz-search-btn:hover {
  background: var(--tpz-accent-strong) !important;
}

.tpz-hero .tpz-search {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tpz-hero .tpz-search-item,
.tpz-hero .tpz-search-btn {
  min-height: 56px;
}

.tpz-hero .tpz-search-item select,
.tpz-hero .tpz-search-item input,
.tpz-hero .tpz-search-btn {
  box-shadow: none !important;
}

.tpz-hero .tpz-search-item select {
  background: transparent !important;
}

.tpz-hero .tpz-search-ic {
  color: rgba(243, 246, 255, 0.58);
  line-height: 1;
  flex: 0 0 auto;
}

.tpz-hero .tpz-search-item input:focus-visible,
.tpz-hero .tpz-search-item select:focus-visible,
.tpz-hero .tpz-search-btn:focus-visible {
  outline: 2px solid var(--tpz-gold);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .tpz-hero-panel {
    max-width: 520px;
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  .tpz-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .tpz-hero-copy {
    order: 1;
  }

  .tpz-hero-panel {
    order: 2;
  }

  .tpz-search-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .tpz-hero.hero-section {
    padding-top: 92px !important;
    padding-bottom: 54px !important;
  }
}

/* Customer-first hero search layout */
.tpz-search-2row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
}

.tpz-search-2row .tpz-search-item:first-child {
  grid-column: 1 / -1;
}

.tpz-search-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.tpz-search-2row .tpz-search-item input,
.tpz-search-2row .tpz-search-item select {
  min-height: 40px;
}

.tpz-nearme-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  min-height: 36px;
  background: rgba(242, 207, 85, 0.14);
  color: var(--tpz-gold);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tpz-nearme-btn:hover {
  background: rgba(242, 207, 85, 0.22);
  color: #fff1bf;
}

.tpz-more-filters {
  color: var(--tpz-text-soft);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.tpz-more-filters:hover {
  border-color: rgba(242, 207, 85, 0.6);
  color: var(--tpz-gold);
}

.tpz-quick-picks {
  margin-top: 12px;
}

.tpz-quick-picks .tpz-pill {
  padding: 8px 12px;
}

.tpz-hero-metrics i {
  margin-right: 6px;
  color: var(--tpz-gold);
}

@media (min-width: 992px) {
  .tpz-hero-panel {
    max-width: 520px;
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  .tpz-hero.hero-section {
    padding-top: 84px !important;
    padding-bottom: 48px !important;
  }

  .tpz-hero-grid {
    gap: 18px !important;
  }

  .tpz-search-2row {
    grid-template-columns: 1fr !important;
  }

  .tpz-search-2row .tpz-search-item:first-child {
    grid-column: auto;
  }

  .tpz-search-actions {
    grid-template-columns: 1fr;
  }

  .tpz-search-btn,
  .tpz-more-filters {
    width: 100%;
    text-align: center;
  }
}

/* Home section spacing rebalance */
.tpz-home .about-section {
  padding-bottom: 72px !important;
}

.tpz-home .feature-section {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.tpz-home .work-process {
  padding-top: 28px !important;
}

.tpz-home .work-process-inner.pt-110,
.tpz-home .work-process-inner.rpt-90,
.tpz-home .work-process-inner.pb-80,
.tpz-home .work-process-inner.rpb-60 {
  padding-top: 0 !important;
  padding-bottom: 56px !important;
}

.tpz-home section:last-of-type {
  padding-bottom: 64px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 991px) {
  .tpz-home .about-section {
    padding-bottom: 56px !important;
  }

  .tpz-home .feature-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .tpz-home .work-process {
    padding-top: 20px !important;
  }

  .tpz-home .work-process-inner.pt-110,
  .tpz-home .work-process-inner.rpt-90,
  .tpz-home .work-process-inner.pb-80,
  .tpz-home .work-process-inner.rpb-60 {
    padding-bottom: 44px !important;
  }

  .tpz-home section:last-of-type {
    padding-bottom: 48px !important;
  }
}

/* Discovery-first hero refactor */
.tpz-hero {
  min-height: 86vh !important;
  padding-top: 110px !important;
  padding-bottom: 80px !important;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 35, 35, 0.14), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(242, 207, 85, 0.1), transparent 55%),
    linear-gradient(180deg, #05070b 0%, #070a10 40%, #05070b 100%);
}

.tpz-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tpz-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.tpz-hero::before {
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 35, 35, 0.2), transparent 44%),
    radial-gradient(circle at 80% 82%, rgba(242, 207, 85, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.76) 0%, rgba(7, 10, 16, 0.72) 48%, rgba(5, 7, 11, 0.82) 100%);
}

.tpz-hero-container {
  max-width: 1360px;
}

.tpz-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: calc(86vh - 190px);
}

.tpz-hero-title {
  margin: 0;
  color: var(--tpz-text);
  text-align: center;
  letter-spacing: -0.03em;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  text-wrap: balance;
}

.tpz-hero-panel {
  width: min(100%, 760px) !important;
  margin: 0 auto !important;
  padding: clamp(26px, 4.2vw, 42px) !important;
  border-radius: 28px;
  background: rgba(11, 16, 24, 0.64) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.66), 0 14px 36px rgba(0, 0, 0, 0.42);
}

.tpz-search-item,
.tpz-search-btn {
  min-height: 68px !important;
}

.tpz-search-item input,
.tpz-search-item select {
  font-size: 16px;
}

.tpz-search-btn {
  font-size: 16px;
  font-weight: 800;
}

.tpz-quick-picks {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tpz-pill {
  font-size: 13px;
  padding: 10px 16px;
}

.tpz-pill-button {
  appearance: none;
  cursor: pointer;
}

.tpz-pill-button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .tpz-hero {
    min-height: 76vh !important;
    padding-top: 82px !important;
    padding-bottom: 28px !important;
  }

  .tpz-hero-grid {
    min-height: calc(76vh - 120px);
    justify-content: flex-start;
    gap: 16px;
  }

  .tpz-hero-title {
    font-size: clamp(30px, 8.2vw, 42px);
  }

  .tpz-hero-panel {
    padding: 22px !important;
    width: 100% !important;
  }

  .tpz-search-item,
  .tpz-search-btn {
    min-height: 62px !important;
  }

  .tpz-quick-picks {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .tpz-pill {
    white-space: nowrap;
  }
}
