/* Tryidol overrides on top of the Agenio theme (loaded after style.css) */

/* ---------- Brand colour system ----------
   Ink #0A0A0A · Paper #FAFAF7 · Signal Blue #2952FF
   Graphite #1A1A1A · Steel #6B6B6B · Mist #A3A3A3 · Line #E5E5E5 · White #FFFFFF
   Blue on dark #5B7BFF (pixel on Ink)
   70% Paper/Ink · 25% neutrals · max 5% Signal Blue */
:root {
  --color-primary: #2952FF;
  --tr-blue-on-dark: #5B7BFF;
  --tr-blue-hover: #1E45F0;
  --color-secondary: #1A1A1A;
  --color-black: #0A0A0A;
  --color-bg-1: #FAFAF7;
  --color-bg-dark: #1A1A1A;
  --color-bg-dark-2: #0A0A0A;
  --color-border: #E5E5E5;
  --color-border-dark: #2A2A2A;
  --color-heading-1: #0A0A0A;
  --color-body-1: #6B6B6B;
  --color-body-dark: #A3A3A3;
  --color-title: #1A1A1A;
  --color-title-nav: #1A1A1A;
  --counter-title: #6B6B6B;
}
body {
  background-color: var(--color-bg-1);
  color: var(--color-body-1);
}
::selection {
  background: var(--color-primary);
  color: #fff;
}

/* Text sitting on Signal Blue must be white */
mark,
input[type=submit],
.wpr-service-extended-area .service-tags-row .service-tag:hover,
.wpr-service-extended-area .service-tags-row .service-tag.active,
.wpr-service-extended-area .service-images-row .service-img-wrap .service-img-label,
.wg-pagination .pagination-item.active,
.wg-pagination .pagination-item:hover {
  color: #fff;
}

/* Blue used as text/accents on Ink backgrounds -> Blue on dark */
.header-style-one .header-top .header-top-inner .text span {
  color: var(--tr-blue-on-dark);
}

/* ---------- Home hero ---------- */
.wpr-banner-area.home-hero .banner-content-area {
  padding: 150px 0 130px;
}
.wpr-banner-area.home-hero .banner-content-area .text-area {
  max-width: 640px;
  margin-top: 0;
}
.wpr-banner-area.home-hero .banner-content-area .text-area .desc {
  margin-bottom: 32px;
}

/* ---------- Home services: 3 cards ---------- */
.wpr-services-area.three-services .section-bottom-content .service-wrapper {
  flex-basis: 33.3333%;
}
.wpr-services-area.three-services .section-bottom-content .service-wrapper:nth-child(3) {
  border-right: 0;
  border-top: 0;
}
/* Shorter cards: fixed image height instead of the tall portrait image ratio */
.wpr-services-area.three-services .section-bottom-content .service-wrapper .image-area {
  height: 560px;
}
.wpr-services-area.three-services .section-bottom-content .service-wrapper .image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wpr-services-area.three-services .section-bottom-content .service-wrapper .content .mid h2 {
  font-size: 150px;
}
@media (max-width: 1399px) {
  .wpr-services-area.three-services .section-bottom-content .service-wrapper .image-area {
    height: 540px;
  }
  .wpr-services-area.three-services .section-bottom-content .service-wrapper .content .mid h2 {
    font-size: 120px;
  }
}
@media (max-width: 991px) {
  .wpr-services-area.three-services .section-bottom-content .service-wrapper .image-area {
    height: 520px;
  }
  .wpr-services-area.three-services .section-bottom-content .service-wrapper .content .mid h2 {
    font-size: 96px;
  }
  .wpr-services-area.three-services .section-bottom-content .service-wrapper {
    flex-basis: 100%;
    border-right: 0;
  }
  .wpr-services-area.three-services .section-bottom-content .service-wrapper + .service-wrapper {
    border-top: 1px solid var(--color-border);
  }
}

/* ---------- Buttons ---------- */
.wpr-btn,
.wpr-banner-area .banner-content-area .text-area .button-area .wpr-btn,
.wpr-banner-area .banner-content-area .text-area .button-area .btn-white {
  min-height: 54px;
  padding: 0 26px;
  gap: 14px;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: #0A0A0A;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08), 0 8px 20px -10px rgba(10, 10, 10, 0.45);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.wpr-btn:hover {
  color: #fff;
  background: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(10, 10, 10, 0.08), 0 14px 28px -12px rgba(10, 10, 10, 0.55);
}
.wpr-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* White / secondary */
.wpr-btn.btn-white,
.wpr-banner-area .banner-content-area .text-area .button-area .btn-white {
  color: var(--color-heading-1);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.12), 0 1px 2px rgba(10, 10, 10, 0.05);
}
.wpr-btn.btn-white:hover {
  color: var(--color-heading-1);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.85), 0 10px 22px -12px rgba(10, 10, 10, 0.3);
}

/* With icon: text + lime arrow tile on the right */
.wpr-btn.with-icon,
.wpr-banner-area .banner-content-area .text-area .button-area .wpr-btn.with-icon {
  padding: 0 8px 0 24px;
}
.wpr-btn.with-icon .inner {
  display: none;
}
.wpr-btn.with-icon::after {
  content: "";
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.06);
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.3s ease;
}
.wpr-btn.with-icon:hover::after {
  transform: rotate(-45deg);
}

/* Section-specific buttons the theme styles separately */
.wpr-working-process .working-process-left .text-area .wpr-btn,
.wpr-why-choose-us-area .wpr-content-area .content-inner .bottom-button-area .wpr-btn {
  background: #0A0A0A;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08), 0 8px 20px -10px rgba(10, 10, 10, 0.45);
  padding: 0 26px;
}
.wpr-working-process .working-process-left .text-area .wpr-btn.with-icon {
  padding: 0 8px 0 24px;
}
.wpr-why-choose-us-area .wpr-content-area .content-inner .bottom-button-area .wpr-btn:hover {
  box-shadow: 0 2px 4px rgba(10, 10, 10, 0.08), 0 14px 28px -12px rgba(10, 10, 10, 0.55);
}
.post-comment form .form-action .wpr-btn {
  padding: 0 24px;
}

/* Submit button: white on the dark contact panel, Ink on the light contact page */
.wpr-contact-area .section-inner .contact-form-area form .form-btn-area button {
  min-height: 56px;
  color: var(--color-heading-1);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.wpr-contact-area .section-inner .contact-form-area form .form-btn-area button:hover {
  color: var(--color-heading-1);
  background: #E5E5E5;
  transform: translateY(-2px);
}
.wpr-contact-area.inner .section-inner .contact-form-area form .form-btn-area button {
  color: #fff;
  background: var(--color-heading-1);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08), 0 8px 20px -10px rgba(10, 10, 10, 0.45);
}
.wpr-contact-area.inner .section-inner .contact-form-area form .form-btn-area button:hover {
  color: #fff;
  background: #1A1A1A;
}

/* Contact Form 7 hidden inputs wrapper (plugin CSS isn't loaded on the static site) */
.wpcf7 .hidden-fields-container {
  display: none;
}

/* ---------- Contact page info cards ---------- */
.wpr-get-in-touch .row .box-contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-height: 220px;
  padding: 28px !important;
  text-align: left !important;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.wpr-get-in-touch .row .box-contact-item:hover {
  border-color: var(--color-heading-1);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(10, 10, 10, 0.35);
}
.wpr-get-in-touch .row .box-contact-item .icon {
  width: 48px;
  height: 48px;
  margin: 0 0 auto;
  font-size: 20px;
  color: #fff;
  background: var(--color-heading-1);
  border-radius: 12px;
  box-shadow: none;
}
.wpr-get-in-touch .row .box-contact-item .title {
  margin: 36px 0 8px;
  font-size: 13px;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.wpr-get-in-touch .row .box-contact-item .text {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-heading-1);
  word-break: break-word;
}
.wpr-get-in-touch .row .box-contact-item a.text:hover {
  color: var(--color-primary);
}
.wpr-get-in-touch .wpr-map.box-contact-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: none;
}
.wpr-get-in-touch .wpr-map iframe {
  border-radius: 12px;
}

/* ---------- Services mega menu (desktop) ---------- */
.main-nav-area ul li.has-dropdown .sub-menu.tr-mega {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 8px 24px;
  align-items: start;
  width: 720px;
  left: 50%;
  margin-left: -360px;
  padding: 24px !important;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.25);
}
.main-nav-area .tr-mega ul {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-nav-area .tr-mega .tr-mega-title {
  display: block;
  padding: 0 10px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6B6B6B;
}
.main-nav-area ul li.has-dropdown .sub-menu.tr-mega li > a {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}
.main-nav-area ul li.has-dropdown .sub-menu.tr-mega li > a:hover {
  background: var(--color-bg-1);
}
.main-nav-area .tr-mega .tr-mega-all {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.main-nav-area ul li.has-dropdown .sub-menu.tr-mega .tr-mega-all > a {
  font-weight: 600;
}
@media (max-width: 1399px) {
  .main-nav-area ul li.has-dropdown .sub-menu.tr-mega {
    width: 660px;
    margin-left: -300px;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

/* Mobile menu: services grouped into collapsible Build / Grow / Automation */
#mobileMenu_services {
  margin-top: 6px;
}
#mobileMenu_services > li {
  margin: 0;
}
#mobileMenu_services .tr-mob-group {
  border-top: 1px solid var(--color-border);
}
#mobileMenu_services .tr-mob-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-heading-1);
  text-align: left;
}
#mobileMenu_services .tr-mob-toggle::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-heading-1);
}
#mobileMenu_services .tr-mob-toggle:not(.collapsed)::after {
  content: "−";
}
#mobileMenu_services .tr-mob-list {
  margin: 0 0 12px 2px !important;
  padding: 2px 0 2px 16px !important;
  border-left: 1px solid var(--color-border);
}
#mobileMenu_services .tr-mob-list li {
  margin: 0;
}
#mobileMenu_services .tr-mob-list a.sub-menu {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #3A3A3A;
}
#mobileMenu_services .tr-mob-list a.sub-menu:hover {
  color: var(--color-heading-1);
}
#mobileMenu_services .tr-mob-all {
  border-top: 1px solid var(--color-border);
}
#mobileMenu_services .tr-mob-all a.sub-menu {
  display: inline-block;
  padding: 12px 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading-1);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Service card list items are links */
.wpr-services-area .section-bottom-content .service-wrapper .content .bottom ul li a {
  color: inherit;
  transition: color 0.3s ease;
}
.wpr-services-area .section-bottom-content .service-wrapper .content .bottom ul li a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sibling-service tags on detail pages are links */
.wpr-service-extended-area .service-tags-row {
  flex-wrap: wrap;
  gap: 8px;
}
.wpr-service-extended-area .service-tags-row a.service-tag:hover {
  color: #fff;
}

/* ---------- Square markers next to labels ----------
   Graphite on light backgrounds, off-white on dark labels/sections */
.section-title-area .sub-title::after,
.wpr-service-extended-area .service-what-we-do .service-what-left .sub-title::before,
.wpr-service-extended-area .service-deliverables .service-deliverables-header .sub-title::before,
.wpr-service-extended-area .service-included .service-included-header .sub-title::before {
  background: #1A1A1A;
}
.wpr-services-area .section-bottom-content .service-wrapper .content .top .tag::after,
.wpr-cta-area .section-inner .section-bottom-shape .tag::after,
.wpr-contact-area .section-inner .left-content-area .get-in-touch .sub-title::after,
.wpr-contact-area .section-inner .left-content-area .location-area .sub-title::after {
  background: #FAFAF7;
}

/* Service card hover: tag turns white, list sits on the dark image */
.wpr-services-area .section-bottom-content .service-wrapper:hover .content .top .tag::after {
  background: #0A0A0A;
}
.wpr-services-area .section-bottom-content .service-wrapper .content .bottom ul {
  transition: border-color 0.6s ease;
}
.wpr-services-area .section-bottom-content .service-wrapper:hover .content .bottom ul {
  border-left-color: #fff;
}

/* Awards accordion +/- toggle sits on a dark tile */
.toggle {
  color: #fff;
}

/* Blog comment submit: theme resets form buttons to transparent */
.post-comment form button.wpr-btn {
  color: #fff;
  background-color: #0A0A0A;
  border: 0;
}
.post-comment form button.wpr-btn:hover {
  color: #fff;
  background-color: #1A1A1A;
}

/* Project cards: glass panel was too light on the Paper background for white text */
.product-intro {
  background: rgba(10, 10, 10, 0.78) !important;
}

/* Links on dark surfaces: Signal Blue is too dark on Ink, use Blue on dark */
.wpr-contact-area:not(.inner) .left-content-area a:hover,
.product-intro a:hover,
.list-tags a.tags-item:hover {
  color: var(--tr-blue-on-dark);
}

/* ---------- Header: menu toggle matches the 54px buttons ---------- */
.header-style-one .header-style-one-wrapper .button-area-start {
  align-items: center;
}
#menu-btn {
  width: 54px;
  height: 54px;
  padding: 0;
  flex: none;
  background: #0A0A0A;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08), 0 8px 20px -10px rgba(10, 10, 10, 0.45);
  transition: background-color 0.3s ease;
}
#menu-btn:hover {
  background: #1A1A1A;
}
@media only screen and (max-width: 991px) {
  #menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}
#menu-btn span {
  width: 22px;
}

/* Mobile/tablet menu: still scrolls when taller than the screen, but with no visible scrollbar */
.mobile-menu-main {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 220px);
  max-height: calc(100dvh - 220px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-menu-main::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Tryidol wordmark in the header */
.header-style-one .logo-area .logo img {
  width: 110px;
  height: auto;
}
@media (max-width: 575px) {
  .header-style-one .logo-area .logo img {
    width: 96px;
  }
}

/* ---------- Home: "The difference" as six numbered points ---------- */
.tr-diff-intro {
  max-width: 620px;
  margin: -20px auto 48px;
  text-align: center;
}
.tr-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.tr-diff-item {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  transition: background-color 0.3s ease;
}
.tr-diff-item:hover {
  background: var(--color-bg-1);
}
.tr-diff-num {
  display: inline-block;
  margin-bottom: 36px;
  font-family: var(--font-primary);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #6B6B6B;
}
.tr-diff-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-heading-1);
}
.tr-diff-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 991px) {
  .tr-diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .tr-diff-grid { grid-template-columns: 1fr; }
  .tr-diff-item { padding: 24px 20px 28px; }
  .tr-diff-num { margin-bottom: 20px; }
}
.tr-diff-title {
  text-transform: none;
  letter-spacing: -0.01em;
}

/* Home hero: longer two-line headline */
.wpr-banner-area.home-hero .banner-content-area .section-title {
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1.05;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* About: short story under "Who we are" */
.wpr-about-area .section-title-area .tr-story {
  max-width: 640px;
  margin-top: 20px;
}

/* Blog: empty state until the first real posts are published */
.tr-blog-empty {
  padding: 90px 24px 100px;
  text-align: center;
}
.tr-blog-empty .tr-blog-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.tr-blog-empty .tr-blog-cats span {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.tr-blog-empty .tr-blog-title {
  margin: 0 auto 14px;
  max-width: 640px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
}
.tr-blog-empty .desc {
  max-width: 560px;
  margin: 0 auto 32px;
}
.tr-blog-empty .wpr-btn {
  margin: 0 auto;
}

/* Contact form (WordPress): spam trap + status message */
.tr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tr-form-msg {
  margin-top: 16px;
  font-size: 15px;
}
.tr-form-msg.tr-ok { color: #fff; }
.tr-form-msg.tr-err { color: #ffb4b4; }
.wpr-contact-area.inner .tr-form-msg.tr-ok { color: var(--color-heading-1); }

/* ---------- Icons and small badges: white on the dark tiles ---------- */
.wpr-about-area .section-inner .about-bottom-content .left-area ul li.with-icon .icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}
.wpr-about-area .section-inner .about-bottom-content .left-area ul li.with-icon .icon img {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 575px) {
  .wpr-about-area .section-inner .about-bottom-content .left-area ul li.with-icon .icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
}
.wpr-faq-area .section-inner .section-content-area .accordion-one .accordion-header button::after {
  color: #FFFFFF;
  background: #0A0A0A;
}
.wpr-service-extended-area .service-deliverables .deliverable-card .deliverable-number {
  color: #FFFFFF;
  background: #0A0A0A;
}
/* Service pages: check badges in Ink with a white tick (were Signal Blue) */
.services-details-banner .section-inner .service-overview .approach-area .left ul li svg path {
  fill: #0A0A0A;
}

/* About approach cards: brand hover backgrounds (no stock photos) */
.single-approach-area-start::before { background-image: url(../images/approach/01.webp); background-position: right center; }
.single-approach-area-start.two::before { background-image: url(../images/approach/02.webp); }
.single-approach-area-start.three::before { background-image: url(../images/approach/03.webp); }



/* =====================================================================
   Service detail page v2 (tr-sp): hero, problem, what we do, what we build,
   how it works, platforms, quality standards, FAQ, related services
   ===================================================================== */
.tr-sp .section-inner { position: relative; padding: 88px 72px; }
.tr-sp h1, .tr-sp h2, .tr-sp h3 { text-transform: none; }
.tr-sp-label {
  font-family: var(--font-primary); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #0A0A0A; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; line-height: 1;
}
.tr-sp-label::before { content: ""; width: 9px; height: 9px; background: currentColor; flex: none; }
.tr-sp-h2 {
  font-family: var(--font-secondary); font-weight: 600; color: #0A0A0A;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 0; max-width: 17ch;
}
.tr-sp-sub { font-size: 18px; line-height: 1.55; color: #6B6B6B; margin: 18px 0 0; max-width: 58ch; }
.tr-sp-head { margin-bottom: 52px; }
.tr-sp-head.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tr-sp-split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.tr-sp-copy p { font-size: 18px; line-height: 1.65; color: #3A3A3A; margin: 0 0 18px; max-width: 60ch; }
.tr-sp-copy p:last-child { margin-bottom: 0; }
.tr-sp h3 { font-family: var(--font-secondary); font-size: 20px; font-weight: 600; color: #0A0A0A; letter-spacing: -.015em; line-height: 1.25; margin: 0 0 10px; }
.tr-sp-cell p, .tr-sp-rows p, .tr-sp-timeline p, .tr-sp-rel-card p { font-size: 16px; line-height: 1.55; color: #6B6B6B; margin: 0; }

/* Hero */
.tr-sp-hero .section-inner {
  background: #FAFAF7;
  background-image: linear-gradient(rgba(10,10,10,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.045) 1px, transparent 1px);
  background-size: 64px 64px; padding-top: 64px; padding-bottom: 88px;
}
.tr-sp-crumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #6B6B6B; margin-bottom: 72px; }
.tr-sp-crumb a { color: #6B6B6B; }
.tr-sp-crumb a:hover { color: #0A0A0A; text-decoration: underline; text-underline-offset: 3px; }
.tr-sp-crumb span[aria-current] { color: #0A0A0A; }
.tr-sp-hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: end; }
.tr-sp-h1 {
  font-family: var(--font-secondary); font-weight: 600; color: #0A0A0A;
  font-size: clamp(56px, 8vw, 120px); line-height: .92; letter-spacing: -.05em; margin: 0;
}
.tr-sp-lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; color: #0A0A0A; font-weight: 500; letter-spacing: -.01em; margin: 0 0 16px; }
.tr-sp-intro { font-size: 17px; line-height: 1.6; color: #6B6B6B; margin: 0; }
.tr-sp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* What we do: 4-column grid of capabilities */
.tr-sp-grid { display: grid; border-top: 1px solid #E5E5E5; border-left: 1px solid #E5E5E5; }
.tr-sp-grid.four { grid-template-columns: repeat(4, 1fr); }
.tr-sp-cell { padding: 30px 28px 34px; border-right: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; background: #fff; transition: background-color .3s ease; }
.tr-sp-cell:hover { background: #FAFAF7; }
.tr-sp-idx { display: block; font-family: var(--font-primary); font-size: 13px; letter-spacing: .08em; color: #A3A3A3; margin-bottom: 36px; }
.tr-sp-grid.boxed { border: 0; gap: 16px; }
.tr-sp-grid.boxed .tr-sp-cell { border: 1px solid #E5E5E5; border-radius: 14px; padding: 28px; }

/* What we build: rows */
.tr-sp-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.tr-sp-rows li { padding: 24px 0 26px; border-top: 1px solid #E5E5E5; }
.tr-sp-rows h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tr-sp-rows h3::before { content: ""; width: 9px; height: 9px; background: #0A0A0A; flex: none; }

/* How it works */
.tr-sp-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tr-sp-timeline.n5 { grid-template-columns: repeat(5, 1fr); }
.tr-sp-timeline li { display: flex; flex-direction: column; }
.tr-sp-step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.tr-sp-step-top::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, #BDBDBA 0 4px, transparent 4px 10px); }
.tr-sp-timeline li:last-child .tr-sp-step-top::after { display: none; }
.tr-sp-dot { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #0A0A0A; color: #fff; font-family: var(--font-primary); font-size: 15px; }
.tr-sp-timeline .tr-sp-out { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 600; color: #0A0A0A; }
.tr-sp-out span { display: block; font-family: var(--font-primary); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #A3A3A3; margin-bottom: 6px; padding-top: 14px; border-top: 1px solid #E5E5E5; }

/* Quality standards */
.tr-sp-std-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.tr-sp-std-cta { margin-top: 36px; padding-top: 28px; border-top: 1px solid #E5E5E5; }
.tr-sp-std-cta p { font-size: 16px; color: #6B6B6B; margin: 0 0 16px; }
.tr-sp-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.tr-sp-checks li { position: relative; padding-left: 32px; }
.tr-sp-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 5px; background-color: #0A0A0A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 13px; background-repeat: no-repeat;
}
.tr-sp-checks strong { display: block; font-family: var(--font-secondary); font-size: 17px; font-weight: 600; color: #0A0A0A; margin-bottom: 4px; }
.tr-sp-checks span { display: block; font-size: 15px; line-height: 1.5; color: #6B6B6B; }

/* Related */
.tr-sp-all { font-weight: 600; color: #0A0A0A; white-space: nowrap; }
.tr-sp-all:hover { text-decoration: underline; text-underline-offset: 3px; color: #0A0A0A; }
.tr-sp-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tr-sp-rel-card { position: relative; display: block; padding: 28px 28px 64px; border: 1px solid #E5E5E5; border-radius: 14px; background: #fff; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.tr-sp-rel-card:hover { border-color: #0A0A0A; transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10,10,10,.35); }
.tr-sp-rel-arrow { position: absolute; right: 24px; bottom: 20px; width: 34px; height: 34px; border-radius: 8px; background: #0A0A0A; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; transition: transform .3s ease; }
.tr-sp-rel-card:hover .tr-sp-rel-arrow { transform: rotate(-45deg); }

@media (max-width: 1199px) {
  .tr-sp .section-inner { padding: 72px 44px; }
  .tr-sp-hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .tr-sp-crumb { margin-bottom: 48px; }
  .tr-sp-grid.four { grid-template-columns: 1fr 1fr; }
  .tr-sp-timeline, .tr-sp-timeline.n5 { grid-template-columns: 1fr 1fr 1fr; row-gap: 44px; }
  .tr-sp-timeline li:nth-child(3) .tr-sp-step-top::after { display: none; }
  .tr-sp-split, .tr-sp-std-grid { grid-template-columns: 1fr; gap: 36px; }
  .tr-sp-rel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .tr-sp .section-inner { padding: 56px 20px; }
  .tr-sp-hero .section-inner { padding-top: 36px; padding-bottom: 52px; background-size: 40px 40px; }
  .tr-sp-crumb { margin-bottom: 36px; }
  .tr-sp-actions .wpr-btn { flex: 1 1 100%; width: 100%; }
  .tr-sp-head { margin-bottom: 32px; }
  .tr-sp-head.row-head { flex-direction: column; align-items: flex-start; }
  .tr-sp-grid.four, .tr-sp-rows, .tr-sp-timeline, .tr-sp-timeline.n5, .tr-sp-rel, .tr-sp-checks { grid-template-columns: 1fr; }
  .tr-sp-idx { margin-bottom: 18px; }
  .tr-sp-timeline { row-gap: 36px; }
  .tr-sp-step-top { margin-bottom: 16px; }
  .tr-sp-step-top::after { display: none; }
  .tr-sp-copy p, .tr-sp-sub { font-size: 17px; }
}

/* Technologies we work with: logo tiles, no recommendations */
.tr-sp-tech .tr-sp-head { margin-bottom: 40px; }
.tr-sp-tech-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid #E5E5E5; border-left: 1px solid #E5E5E5; }
.tr-sp-tech-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px 12px 26px; border-right: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; text-align: center; transition: background-color .3s ease; }
.tr-sp-tech-grid li:hover { background: #FAFAF7; }
.tr-sp-tech-grid img { width: 28px; height: 28px; opacity: .85; transition: opacity .3s ease; }
.tr-sp-tech-grid li:hover img { opacity: 1; }
.tr-sp-tech-grid span { font-size: 14px; font-weight: 600; color: #0A0A0A; line-height: 1.3; }
@media (max-width: 1199px) { .tr-sp-tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .tr-sp-tech-grid { grid-template-columns: repeat(2, 1fr); } .tr-sp-tech-grid li { padding: 24px 10px 20px; } }
.tr-sp-tech-grid li { margin: 0; }
.tr-sp-tech-grid img { width: auto; max-width: 72px; height: 28px; object-fit: contain; }
.tr-sp-tech-grid img[src*="woocommerce"] { transform: scale(2.3); }

.tr-sp-timeline.n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .tr-sp-timeline.n3 { grid-template-columns: 1fr; } }

/* =====================================================================
   Quote / enquiry popup (assets/js/tr-quote.js) and service offer block
   ===================================================================== */
html.trq-lock, html.trq-lock body { overflow: hidden; }
.trq-overlay { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trq-overlay.open { display: flex; animation: trqFade .2s ease; }
@keyframes trqFade { from { opacity: 0; } to { opacity: 1; } }
.trq-dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 40px 40px 32px; box-shadow: 0 40px 90px -30px rgba(10,10,10,.5); font-family: var(--font-secondary); color: #0A0A0A; animation: trqUp .25s ease; scrollbar-width: none; }
.trq-dialog::-webkit-scrollbar { display: none; }
@keyframes trqUp { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }
.trq-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F2F2EF; color: #0A0A0A; font-size: 24px; line-height: 1; cursor: pointer; transition: background-color .2s ease; }
.trq-close:hover { background: #E5E5E5; }
.trq-dialog .trq-title { font-family: var(--font-secondary); font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -.025em; color: #0A0A0A; margin: 0 48px 10px 0; text-transform: none; }
.trq-dialog .trq-sub { font-size: 16px; line-height: 1.5; color: #6B6B6B; margin: 0 0 26px; }
.trq-form { display: grid; gap: 16px; }
.trq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trq-field { display: grid; gap: 8px; margin: 0; }
.trq-field[hidden] { display: none; }
.trq-field > span { font-size: 14px; font-weight: 600; color: #0A0A0A; }
.trq-dialog input, .trq-dialog select, .trq-dialog textarea {
  width: 100%; height: 52px; padding: 0 16px; margin: 0; border: 1px solid #DEDED9; border-radius: 12px; background: #fff;
  font-family: var(--font-secondary); font-size: 16px; color: #0A0A0A; box-shadow: none; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.trq-dialog textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.trq-dialog select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.trq-dialog input:focus, .trq-dialog select:focus, .trq-dialog textarea:focus { border-color: #0A0A0A; box-shadow: 0 0 0 3px rgba(10,10,10,.08); }
.trq-dialog input::placeholder, .trq-dialog textarea::placeholder { color: #A3A3A3; }
.trq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trq-error { margin: 0; font-size: 14px; color: #B42318; }
.trq-submit { width: 100%; height: 56px; margin-top: 4px; border: 0; border-radius: 12px; background: #0A0A0A; color: #fff; font-family: var(--font-secondary); font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.trq-submit:hover { background: #1A1A1A; transform: translateY(-1px); }
.trq-submit:disabled { opacity: .6; cursor: default; transform: none; }
.trq-note { margin: 0; font-size: 13px; line-height: 1.5; color: #8A8A8A; text-align: center; }
.trq-done { text-align: center; padding: 20px 0 4px; }
.trq-done[hidden], .trq-body[hidden] { display: none; }
.trq-done .trq-title { margin: 0 0 10px; }
.trq-tick { display: inline-flex; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 22px; background: #0A0A0A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 30px no-repeat; }
@media (max-width: 575px) {
  .trq-dialog { padding: 30px 20px 24px; border-radius: 16px; }
  .trq-dialog .trq-title { font-size: 25px; }
  .trq-row { grid-template-columns: 1fr; }
}

/* Button reset so <button class="wpr-btn"> matches the link buttons */
button.wpr-btn { border: 0; cursor: pointer; font-family: var(--font-secondary); display: inline-flex; align-items: center; }

/* Offer block on selected service pages (free audit / estimate) */
.tr-sp-offer .section-inner { background: #0A0A0A; color: #fff;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; }
.tr-sp-offer .square-shape { background: #FAFAF7 !important; }
.tr-sp-offer-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.tr-sp-offer .tr-sp-label { color: #FAFAF7; }
.tr-sp-offer .tr-sp-h2 { color: #fff; max-width: 18ch; }
.tr-sp-offer .tr-sp-sub { color: #A3A3A3; }
.tr-sp-offer .wpr-btn { margin-top: 32px; background: #fff; color: #0A0A0A; }
.tr-sp-offer .wpr-btn:hover { background: #E5E5E5; color: #0A0A0A; }
.tr-sp-offer .wpr-btn.with-icon::after { background-color: #0A0A0A; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.tr-sp-offer-list { list-style: none; margin: 0; padding: 32px; border: 1px solid #2A2A2A; border-radius: 16px; background: rgba(255,255,255,.03); display: grid; gap: 22px; }
.tr-sp-offer-list li { margin: 0; position: relative; padding-left: 34px; font-size: 17px; line-height: 1.5; color: #D9D9D6; }
.tr-sp-offer-list li strong { display: block; color: #fff; font-family: var(--font-secondary); font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.tr-sp-offer-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 5px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 1199px) { .tr-sp-offer-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 767px) { .tr-sp-offer-list { padding: 24px 20px; } .tr-sp-offer .wpr-btn { width: 100%; } }
.trq-overlay .trq-dialog select, .trq-overlay .trq-dialog input, .trq-overlay .trq-dialog textarea { margin: 0 !important; }

/* Trusted by: client logo marquee. The list is rendered twice and moves by exactly half, so the loop is seamless. */
.wpr-brand-area .section-inner .right-marquee-area .brand-inner { width: max-content; min-width: 0; animation: trMarquee 55s linear infinite; }
.wpr-brand-area .section-inner .right-marquee-area:hover .brand-inner { animation-play-state: paused; }
@keyframes trMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wpr-brand-area .section-inner .right-marquee-area .brand-wrapper { border-width: 0 1px 0 0; display: flex; align-items: center; justify-content: center; line-height: normal; padding: 0 26px; }
.wpr-brand-area .section-inner .right-marquee-area .brand-wrapper img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease; }
.wpr-brand-area .section-inner .right-marquee-area .brand-wrapper:hover img { filter: none; opacity: 1; }
.wpr-brand-area .section-inner .left-text p { font-family: var(--font-primary); letter-spacing: .14em; }
@media (max-width: 768px) { .wpr-brand-area .section-inner .right-marquee-area .brand-wrapper { padding: 0 20px; } .wpr-brand-area .section-inner .right-marquee-area .brand-wrapper img { max-height: 48px; } }
@media (prefers-reduced-motion: reduce) { .wpr-brand-area .section-inner .right-marquee-area .brand-inner { animation-duration: 160s; } }
.wpr-brand-area .section-inner .right-marquee-area .brand-wrapper img { filter: grayscale(1) brightness(.55) contrast(1.25); opacity: .85; }

/* Home hero heading: two lines on phones ("Build. Grow." / "Automate."), one line on larger screens */
.tr-br-m { display: none; }
@media (max-width: 767px) { .wpr-banner-area .banner-content-area h1 br.tr-br-m { display: inline; } }
