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

:root {
  --tp-primary: #8a1739;
  --tp-primary-dark: #2b0b16;
  --tp-accent: #dec08e;
  --tp-ink: #222222;
  --tp-muted: #5a5a5a;
  --tp-bg: #ffffff;
  --tp-soft: #f4f1eb;
  --tp-border: rgba(23, 18, 14, 0.12);
  --tp-radius: 16px;
  --tp-radius-lg: 26px;
  --tp-shadow-soft: 0 28px 70px rgba(23, 18, 14, 0.1);
  --tp-shadow-card: 0 16px 40px rgba(23, 18, 14, 0.08);
  --tp-reading-width: 756px;
}

.tpv3 {
  color: var(--tp-ink);
  background: var(--tp-bg);
  font-family: "Roboto", Arial, sans-serif;
}

.tpv3 * {
  box-sizing: border-box;
}

.tpv3 h1,
.tpv3 h2,
.tpv3 h3 {
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.015em;
}

.tpv3-container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.tpv3-eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--tp-primary);
  font-weight: 700;
}

.tpv3-title {
  font-size: clamp(42px, 5vw, 70px);
  margin: 12px 0 12px;
  line-height: 1.04;
}

.tpv3-title-sm {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 18px;
}

.tpv3-lead {
  font-size: 18px;
  color: var(--tp-muted);
}

.tpv3-actions {
  display: flex;
  gap: 12px;
  margin: 22px 0 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tpv3-btn {
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.04em;
  font-size: 13px;
  text-transform: uppercase;
  color: #ffffff;
}

.tpv3-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tpv3-btn--primary {
  background: var(--tp-primary);
  color: #ffffff;
  font-weight: 700;
  border-color: var(--tp-primary);
  margin: 0;
}

.tpv3-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: rgba(17, 12, 14, 0.6);
  backdrop-filter: blur(6px);
}

.tpv3-btn--primary:hover,
.tpv3-btn--primary:focus {
  color: #ffffff;
  background: #6e1230;
  border-color: #6e1230;
}

.tpv3-btn--ghost:hover,
.tpv3-btn--ghost:focus {
  color: #ffffff;
  background: rgba(138, 23, 57, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
}

.tpv3-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.tpv3-modal.is-open {
  display: flex;
}

.tpv3-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 9, 0.65);
}

.tpv3-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 90vw);
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(10, 8, 9, 0.35);
  color: var(--tp-ink);
}

.tpv3-modal__panel h3 {
  margin: 0 0 6px;
}

.tpv3-modal__panel p {
  margin: 0 0 18px;
  color: var(--tp-muted);
}

.tpv3-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 24px;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tpv3-modal__close:hover {
  color: var(--tp-ink);
}

body.page-template-template-landing-php .back-to-top.button {
  border-color: #8a1739;
  color: #8a1739;
  background: rgba(138, 23, 57, 0.1);
}

.tpv3-form {
  display: grid;
  gap: 12px;
}

.tpv3-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--tp-ink);
}

.tpv3-form input,
.tpv3-form select {
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}

.tpv3-form__status {
  margin: 8px 0 0;
  font-size: 14px;
}

.tpv3-btn--inverse {
  background: #ffffff;
  color: var(--tp-primary);
  border-color: #ffffff;
}

.tpv3-link {
  color: var(--tp-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.tpv3-link:hover {
  color: #5b0f26;
}

.tpv3-section {
  padding: 72px 0;
}

.tpv3-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  height: clamp(520px, 68vh, 720px);
  overflow: hidden;
  background: #f7f3eb;
  color: #f8f5f2;
}

.tpv3-hero__bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0.92;
  pointer-events: none;
}

.tpv3-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpv3-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(138, 23, 57, 0.45), transparent 60%),
    linear-gradient(300deg, rgba(222, 192, 142, 0.35), transparent 55%),
    radial-gradient(circle at 20% 10%, rgba(222, 192, 142, 0.35), transparent 45%),
    linear-gradient(180deg, rgba(18, 14, 16, 0.55), rgba(18, 14, 16, 0.15));
  pointer-events: none;
}

.tpv3-hero__stack {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.tpv3-hero .tpv3-eyebrow {
  color: #f0d7a6;
}

.tpv3-hero .tpv3-title {
  color: #ffffff;
  text-shadow: 0 14px 40px rgba(18, 14, 16, 0.38);
}

.tpv3-hero .tpv3-lead {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 10px 26px rgba(18, 14, 16, 0.28);
}

.tpv3-hero .tpv3-hero__chips span {
  color: #ffffff;
  background: rgba(18, 14, 16, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

.tpv3-hero__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tpv3-hero__chips span {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--tp-border);
}

.tpv3-split__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.tpv3-split__media img {
  width: 100%;
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-soft);
}

.tpv3-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.tpv3-heading--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tpv3-heading p {
  color: var(--tp-muted);
  max-width: 520px;
}

.tpv3-services {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tpv3-article {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.tpv3-article__main {
  flex: 1 1 var(--tp-reading-width);
  max-width: var(--tp-reading-width);
  min-width: 0;
}

.tpv3-article__content {
  width: 100%;
  max-width: var(--tp-reading-width);
  margin: 0 auto;
}

.tpv3-article__content .tpv3-lead {
  margin-top: 16px;
}

.tpv3-article__content .tpv3-lead a {
  color: #7a1232;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.tpv3-article__content .tpv3-lead a:hover,
.tpv3-article__content .tpv3-lead a:focus {
  color: #5b0d25;
}

.tpv3-error {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
  border: 1px solid rgba(23, 18, 14, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f6 100%);
  box-shadow: 0 18px 40px rgba(23, 18, 14, 0.08);
}

.tpv3-error p {
  color: var(--tp-muted);
  margin-bottom: 16px;
}

.tpv3-article__aside {
  width: 320px;
  border: 1px solid rgba(23, 18, 14, 0.12);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f6 100%);
  box-shadow: 0 18px 40px rgba(23, 18, 14, 0.08);
  position: sticky;
  top: 110px;
}

.tpv3-article__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tpv3-article__link {
  display: block;
  color: var(--tp-text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.tpv3-article__link:hover {
  background: rgba(138, 23, 57, 0.08);
  color: var(--tp-primary);
}

.tpv3-article__link.is-current {
  background: rgba(138, 23, 57, 0.12);
  color: var(--tp-primary);
  font-weight: 600;
}

.tpv3-article__aside-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.tpv3-article__aside-link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--tp-ink);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 18, 14, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.tpv3-article__aside-link:hover {
  border-color: rgba(138, 23, 57, 0.3);
  color: #8a1739;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .tpv3-article {
    flex-direction: column;
  }

  .tpv3-article__content {
    max-width: none;
  }

  .tpv3-article__aside {
    width: 100%;
    position: static;
  }
}

.tpv3-service {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(23, 18, 14, 0.16);
  box-shadow: var(--tp-shadow-card);
  padding: 22px;
  display: grid;
  gap: 10px;
}

.tpv3-service--wide {
  grid-column: span 2;
  display: grid;
  gap: 16px;
  align-content: start;
}

.tpv3-service__media {
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
}

.tpv3-service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpv3-service--wide .tpv3-service__media {
  height: 220px;
}

.tpv3-service__body {
  display: grid;
  gap: 8px;
}

.tpv3-band {
  background: var(--tp-primary);
  color: #ffffff;
  padding: 60px 0;
}

.tpv3-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tpv3-band h3,
.tpv3-band p {
  color: #ffffff;
}

.tpv3-quote {
  background: var(--tp-soft);
}

.tpv3-quote__card {
  background: #ffffff;
  padding: 36px;
  border-radius: 26px;
  box-shadow: var(--tp-shadow-soft);
  text-align: center;
}

.tpv3-quote__card span {
  color: var(--tp-muted);
  font-size: 14px;
}

.tpv3-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.tpv3-stats__grid h3 {
  font-size: 32px;
  margin-bottom: 6px;
}

.tpv3-stats__grid p {
  color: var(--tp-muted);
}

.tpv3-pricing {
  background: linear-gradient(180deg, #ffffff 0%, #f4f1eb 100%);
}

.tpv3-price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: center;
}

.tpv3-price {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--tp-border);
}

.tpv3-price__value {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0;
}

.tpv3-deal {
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--tp-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tpv3-note {
  color: var(--tp-muted);
  margin-top: 16px;
}

.tpv3-blog-grid {
  display: grid;
  gap: 20px;
}

.tpv3-blog-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--tp-border);
  overflow: hidden;
  box-shadow: var(--tp-shadow-card);
}

.tpv3-blog-card__media {
  display: block;
  height: 180px;
  background: var(--tp-soft);
  overflow: hidden;
}

.tpv3-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpv3-blog-card__content {
  padding: 18px;
}

.tpv3-blog-card__date {
  font-size: 12px;
  color: var(--tp-muted);
  margin-bottom: 8px;
}

.tpv3-blog-card__title {
  font-size: 18px;
  margin: 0 0 8px;
}

.tpv3-blog-card__title a {
  text-decoration: none;
  color: var(--tp-ink);
  transition: color 0.2s ease;
}

.tpv3-blog-card__title a:hover {
  color: #5b0f26;
}

.tpv3-blog-card__excerpt {
  color: var(--tp-muted);
}

.tpv3-blog-cta {
  margin-top: 24px;
}

.tpv3-blog-layout {
  display: grid;
  gap: 28px;
}

.tpv3-blog-main {
  min-width: 0;
}

.tpv3-blog-aside {
  align-self: start;
}

.tpv3-blog-panel {
  border: 1px solid var(--tp-border);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f6 100%);
  box-shadow: 0 18px 40px rgba(23, 18, 14, 0.08);
}

.tpv3-blog-panel h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.tpv3-blog-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tpv3-blog-cats a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--tp-ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 18, 14, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.tpv3-blog-cats a:hover {
  border-color: rgba(138, 23, 57, 0.3);
  color: #8a1739;
  transform: translateY(-2px);
}

.tpv3-blog-cats span {
  color: rgba(23, 18, 14, 0.55);
  font-size: 12px;
}

.tpv3-blog-pagination {
  margin-top: 24px;
}

.tpv3-blog-pagination .nav-pagination {
  margin: 0;
  justify-content: flex-start;
}

.tpv3-blog-pagination .nav-pagination>li>* {
  border-radius: 10px;
}

.tpv3-cta {
  background: var(--tp-primary);
  color: #ffffff;
}

.tpv3-cta .tpv3-title-sm,
.tpv3-cta p {
  color: #ffffff;
}

.tpv3-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tpv3-faq {
  display: grid;
  gap: 24px;
  align-items: start;
}

.tpv3-faq__list details {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid var(--tp-border);
}

.tpv3-faq__list summary {
  cursor: pointer;
  font-weight: 600;
}

.tpv3-breadcrumbs {
  margin-bottom: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(23, 18, 14, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tpv3-breadcrumbs a {
  color: inherit;
  font-weight: 600;
}

.tpv3-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgba(23, 18, 14, 0.6);
  margin-bottom: 20px;
}

.tpv3-post-meta a {
  color: inherit;
  font-weight: 600;
}

.tpv3-article__cta {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--tp-border);
  background: #fff7f0;
  display: grid;
  gap: 10px;
}

.tpv3-article__cta h4 {
  margin: 0;
  font-size: 16px;
}

.tpv3-article__hotline {
  font-weight: 600;
  color: #8a1739;
}

.tpv3-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tpv3-tags__label {
  font-weight: 600;
  color: var(--tp-ink-strong);
}

.tpv3-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tpv3-tags__item {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--tp-border);
  color: var(--tp-ink);
  font-size: 12px;
  background: #ffffff;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tpv3-tags__item:hover {
  color: #8a1739;
  border-color: #8a1739;
  transform: translateY(-1px);
}

.tpv3-footer {
  padding-bottom: 0;
}

.tpv3-footer .tpv3-footer__bottom p {
  margin: 0;
  padding-bottom: 16px;
}

@media (min-width: 960px) {
  .tpv3-blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .tpv3-blog-aside {
    position: sticky;
    top: 110px;
  }

  .tpv3-split__grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  .tpv3-hero {
    height: clamp(460px, 70vh, 620px);
  }

  .tpv3-band__inner,
  .tpv3-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tpv3-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .tpv3-hero__chips {
    justify-content: flex-start;
  }

  .tpv3-service--wide {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tpv3-hero__stack>* {
    animation: tpv3-fade-up 0.4s ease both;
  }

  .tpv3-hero__stack>*:nth-child(1) {
    animation-delay: 0.02s;
  }

  .tpv3-hero__stack>*:nth-child(2) {
    animation-delay: 0.06s;
  }

  .tpv3-hero__stack>*:nth-child(3) {
    animation-delay: 0.1s;
  }

  .tpv3-hero__stack>*:nth-child(4) {
    animation-delay: 0.14s;
  }
}

@keyframes tpv3-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
