/*
Theme Name: Pascode
Theme URI: https://pascode.pl
Author: Pascal Wasiewicz
Author URI: https://pascode.pl
Description: Strona agencji automatyzacji procesów biznesowych Pascode. Motyw blokowy WordPress zoptymalizowany pod sprzedaż i pozyskiwanie klientów.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pascode
*/

/* ===== RESET ===== */
.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* ===== SMOOTH SCROLL (only for anchor clicks, not user scroll) ===== */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

/* ===== MOBILE NAV OVERLAY ===== */

/* Hamburger open button — larger tap target */
.wp-block-navigation__responsive-container-open {
  color: #0F172A !important;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  cursor: pointer;
}
.wp-block-navigation__responsive-container-open svg {
  width: 28px;
  height: 28px;
}

/* Overlay container — fixed fullscreen */
.wp-block-navigation__responsive-container {
  transition: visibility 0.3s, opacity 0.3s ease;
}
.wp-block-navigation__responsive-container.is-menu-open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #0F172A !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  animation: mobileNavSlideIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
/* Lock body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}
@keyframes mobileNavSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Dialog inside overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
  background: #0F172A !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  height: auto !important;
  padding: 0 2rem 2rem !important;
  border-top: 3px solid #00C853;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Close button — large and visible */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  border-radius: 50%;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover {
  background: rgba(0, 200, 83, 0.2) !important;
  transform: rotate(90deg);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
  width: 22px !important;
  height: 22px !important;
}

/* Nav items list — ensure visible */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
}

/* Nav link items — left green accent on hover */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: #FFFFFF !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  padding: 1rem 0 1rem 1rem !important;
  display: block !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
  text-decoration: none !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus {
  color: #4ADE80 !important;
  border-left-color: #00C853;
  padding-left: 1.25rem !important;
}

/* Mobile CTA button inside overlay */
.mobile-nav-cta {
  display: none !important;
}
.wp-block-navigation__responsive-container.is-menu-open .mobile-nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 1rem 2rem;
  background: #00C853;
  color: #FFFFFF !important;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none !important;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.wp-block-navigation__responsive-container.is-menu-open .mobile-nav-cta:hover {
  background: #00B848;
  transform: translateY(-1px);
}

/* ===== LOGO ===== */
.logo-usprawnia {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0F172A;
}
.logo-accent {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #00C853;
}
.header-logo-link {
  flex-shrink: 0;
}
.header-logo {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.header-logo-link:hover .header-logo {
  opacity: 0.85;
}
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(10);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-logo:hover {
  opacity: 1;
}

/* ===== HEADER CTA BUTTON ===== */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #00C853;
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-left: 2rem !important;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.header-cta-btn:hover {
  background: #00A844;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

/* ===== CARD LAYOUTS ===== */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

/* ===== PROBLEM CARDS ===== */
.problem-card {
  background: #FFFFFF;
  border-left: 4px solid #00C853;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.15);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00C853, #4ADE80);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 200, 83, 0.15);
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* ===== STEP NUMBER ===== */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C853, #4ADE80);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

/* ===== CASE STUDY CARDS ===== */
.case-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.case-badge {
  display: inline-block;
  background: #F8FAFC;
  color: #00C853;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.case-stat {
  font-size: 1.75rem;
  font-weight: 700;
  color: #00C853;
  line-height: 1;
}
/* Browser mockup frame */
.browser-mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}
.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
}
.browser-url {
  flex: 1;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  color: #475569;
  text-align: center;
  border: 1px solid #E2E8F0;
}
.browser-content {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.browser-content-text {
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Phone mockup frame */
.phone-mockup {
  width: 180px;
  margin: 0 auto;
  border-radius: 20px;
  border: 3px solid #1E293B;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  position: relative;
}
.phone-notch {
  width: 60px;
  height: 6px;
  background: #1E293B;
  border-radius: 0 0 8px 8px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.phone-content {
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 0.5rem;
}
/* Case card 2-col layout */
.case-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.case-layout.reverse {
  direction: rtl;
}
.case-layout.reverse > * {
  direction: ltr;
}
.case-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #00C853;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: 0.25rem;
}
.case-link:hover {
  gap: 0.6rem;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tech-tag {
  background: #F8FAFC;
  color: #059033;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .case-layout,
  .case-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .phone-mockup {
    width: 140px;
  }
}

/* ===== TRUST INDICATORS ===== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.trust-item {
  text-align: center;
}
.trust-number {
  font-size: 2rem;
  font-weight: 700;
  color: #00C853;
  line-height: 1;
}
.trust-label {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.25rem;
}

/* ===== PAIN POINT CARDS ===== */

/* Force equal-height columns in pain section */
.wp-block-columns.stagger-children {
  align-items: stretch;
}
.wp-block-columns.stagger-children > .wp-block-column {
  display: flex;
  flex-direction: column;
}
.wp-block-columns.stagger-children > .wp-block-column > .wp-block-html {
  flex: 1;
  display: flex;
}

.pain-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #00C853, #4ADE80);
  border-radius: 0 0 2px 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pain-card:hover {
  border-color: #00C853;
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.12);
  transform: translateY(-4px);
}
.pain-card:hover::before {
  height: 100%;
}
.pain-card strong {
  flex-shrink: 0;
}
.pain-card p {
  flex: 1;
}
.pain-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #F8FAFC;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.pain-card:hover .pain-icon {
  transform: scale(1.1);
  background: rgba(0, 200, 83, 0.15);
}

/* ===== ROI SECTION ===== */
.roi-highlight {
  background: linear-gradient(135deg, #00C853, #00A844);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.roi-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.roi-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
}
.roi-comparison {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.roi-col {
  text-align: center;
}
.roi-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
}
.roi-arrow {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
}
.roi-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
  position: relative;
  overflow: clip;
}
.industries-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.industries-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.industries-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.industries-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.industries-title {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.75rem;
}
.industries-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.industry-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00C853, #4ADE80);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.industry-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(74, 222, 128, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(74, 222, 128, 0.1);
}
.industry-card:hover::before {
  opacity: 1;
}
.industry-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 200, 83, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ADE80;
  margin-bottom: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.industry-card:hover .industry-card-icon {
  background: rgba(0, 200, 83, 0.25);
  transform: scale(1.05);
}
.industry-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
}
.industry-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}
.industry-card:hover .industry-card-desc {
  color: rgba(255, 255, 255, 0.7);
}
.industries-cta {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.industries-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid #E2E8F0;
  padding: 1.5rem 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  color: #0F172A;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: #00C853;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  color: #475569;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 0.75rem;
}

/* ===== OBJECTION CARDS ===== */
.objection-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.objection-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.1);
}
.objection-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F8FAFC;
  color: #00C853;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* ===== HOVER LIFT ===== */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
}

/* ===== SCROLL ANIMATIONS ===== */

/* Base fade-up */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in from left */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-in from right */
.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-up entrance */
.animate-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children — columns */
.stagger-children > .wp-block-column {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-children.is-visible > .wp-block-column:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.stagger-children.is-visible > .wp-block-column:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.stagger-children.is-visible > .wp-block-column:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.stagger-children.is-visible > .wp-block-column:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.stagger-children.is-visible > .wp-block-column:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.48s; }

/* Stagger — generic child elements (for grids, lists) */
.stagger-items > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-items.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.stagger-items.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.stagger-items.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.19s; }
.stagger-items.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.stagger-items.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.33s; }
.stagger-items.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.40s; }
.stagger-items.is-visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.47s; }
.stagger-items.is-visible > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.54s; }

/* ===== SERVICE SUBPAGE COMPONENTS ===== */

/* Pain grid — horizontal icon + text rows in 2-col grid */
.svc-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.svc-pain-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-pain-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.svc-pain-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.svc-pain-item strong {
  font-size: 0.95rem;
  color: #0F172A;
  display: block;
  margin-bottom: 0.25rem;
}
.svc-pain-item p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Type cards — horizontal icon + text layout */
.svc-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}
.svc-type-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.08);
}
.svc-type-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.svc-type-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.35rem 0;
}
.svc-type-content p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 0.6rem 0;
}
.svc-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.svc-tags span {
  font-size: 0.7rem;
  background: #F8FAFC;
  color: #00C853;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-weight: 600;
}

/* Features — compact 3x2 grid of icon+label */
.svc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 750px;
  margin: 0 auto;
}
.svc-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease;
}
.svc-feature:hover {
  transform: translateY(-2px);
}
.svc-feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.svc-feature strong {
  font-size: 0.9rem;
  color: #0F172A;
  display: block;
  margin-bottom: 0.2rem;
}
.svc-feature-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}

/* Process — horizontal timeline on dark bg */
.svc-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}
.svc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.svc-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.15);
  color: #4ADE80;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 2px solid rgba(74, 222, 128, 0.3);
}
.svc-step-body strong {
  font-size: 0.95rem;
  color: #FFFFFF;
  display: block;
  margin-bottom: 0.3rem;
}
.svc-step-body p {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* ===== MICRO-INTERACTIONS ===== */

/* Smooth button press */
.wp-block-button__link:active,
.header-cta-btn:active,
.svc-cta:active,
.auto-run-btn:active {
  transform: scale(0.97);
}

/* Icon bounce on hover */
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}
.service-card:hover .wp-block-group:first-child,
.objection-card:hover .objection-icon {
  animation: icon-bounce 0.5s ease;
}

/* Floating animation for hero process card */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-process {
  animation: float-gentle 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Pulse ring for CTA buttons */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(0, 200, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}
.hover-lift:hover {
  animation: pulse-ring 1.2s ease-out;
}

/* Underline sweep for nav links */
.wp-block-navigation-item__content {
  position: relative;
}
.wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00C853;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.wp-block-navigation-item__content:hover::after {
  width: 100%;
}

/* Trust bar number count-up shimmer */
@keyframes shimmer-text {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.trust-number {
  background: linear-gradient(90deg, #00C853 0%, #4ADE80 40%, #FFFFFF 50%, #4ADE80 60%, #00C853 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.animate-on-scroll.is-visible .trust-number {
  animation: shimmer-text 2s ease-in-out 0.5s 1;
}

/* Step number entrance */
.step-number {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-number:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

/* Case card image zoom */
.case-card img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover img {
  transform: scale(1.05);
}

/* ROI highlight shimmer */
@keyframes roi-glow {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.12; }
}
.roi-highlight::before {
  animation: roi-glow 3s ease-in-out infinite;
}

/* Smooth section dividers */
.wp-block-separator {
  transition: width 0.6s ease;
}

/* Header scroll shadow enhancement */
.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* ===== HERO GRADIENT ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00C853, transparent);
  border-radius: 2px;
}

/* ===== HERO PROCESS CARD ===== */
.hero-process {
  max-width: 720px;
  margin: 2.5rem auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
}
.hero-process-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.hero-process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-step {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  background: #F8FAFC;
  border: 1px solid #DCFCE7;
  border-radius: 12px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.12);
}
.hero-step-num {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background: #00C853;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 200, 83, 0.35);
}
.hero-step-icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}
.hero-step-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.3;
}
.hero-step-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.hero-results {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1rem;
}
.hero-result {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  background: #F8FAFC;
  border-radius: 8px;
}
.hero-result-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00C853;
}
.hero-result-desc {
  font-size: 0.65rem;
  color: #475569;
  margin-top: 2px;
}

/* ===== CALCULATOR ===== */
.calculator-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  padding: 2.5rem;
  border: 1px solid #E2E8F0;
}
.calc-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: inherit;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-input:focus {
  outline: none;
  border-color: #00C853;
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.15);
}
.calc-result {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #F8FAFC;
  border-radius: 12px;
}
.calc-result-number {
  font-size: 2rem;
  font-weight: 700;
  color: #00C853;
  line-height: 1.2;
}
.calc-result-label {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.25rem;
}
.calc-money {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0F172A;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-nav {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #94A3B8;
}
.breadcrumb-nav a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover {
  color: #00C853;
}
.breadcrumb-nav span {
  color: #CBD5E1;
  margin: 0 0.25rem;
}
.breadcrumb-nav span:last-child {
  color: #475569;
  font-weight: 500;
  margin: 0;
}
/* Remove border bar from breadcrumb wrapper */
.breadcrumb-wrap {
  border-bottom: none !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0 !important;
  margin-bottom: -0.5rem;
}

/* ===== SERVICE PAGE ===== */
.service-hero {
  position: relative;
}
.use-case-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border-left: 3px solid #00C853;
  transition: transform 0.2s ease;
}
.use-case-card:hover {
  transform: translateX(4px);
}

/* ===== STAT BANNER ===== */
.stat-banner {
  text-align: center;
  background: linear-gradient(135deg, #00C853, #00A844);
  border-radius: 12px;
  padding: 1.5rem;
  display: inline-block;
}
.stat-banner-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  display: block;
}
.stat-banner-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.35rem;
  display: block;
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

/* ===== CONTACT PAGE ===== */
.calendly-embed {
  transition: box-shadow 0.2s ease;
}
.calendly-embed:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.contact-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid #E2E8F0;
}

/* ===== PRIVACY PAGE ===== */
.privacy-content h2 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}
.privacy-content h2:first-of-type {
  border-top: none;
}

/* ===== INDUSTRY PILLS (O nas page) ===== */
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}
.industry-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== GUARANTEE BADGE ===== */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #F8FAFC;
  border: 2px solid #00C853;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #00C853;
}

/* ===== CTA SECTION GLOW ===== */
.cta-section {
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== AUTOMATION DEMO ===== */
.auto-demo-header {
  text-align: center;
  margin-bottom: 3rem;
}
.auto-demo-wrap {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
/* ===== PIPELINE FLOW ===== */
.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem 0;
}
.pipeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  max-width: 150px;
  text-align: center;
  opacity: 0.35;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pipeline-stage.active {
  opacity: 1;
  transform: translateY(-4px);
}
.pipeline-stage.done {
  opacity: 0.75;
}
.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.pipeline-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.4s ease;
}
.pipeline-stage.active .pipeline-icon {
  background: rgba(0,200,83,0.15);
  border-color: #00C853;
  box-shadow: 0 0 20px rgba(0,200,83,0.25);
}
.pipeline-stage.done .pipeline-icon {
  background: rgba(0,200,83,0.08);
  border-color: rgba(0,200,83,0.3);
}
.pipeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.4s ease;
}
.pipeline-stage.active .pipeline-label {
  color: #FFFFFF;
}
.pipeline-stage.done .pipeline-label {
  color: rgba(255,255,255,0.65);
}
.pipeline-desc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.4;
  margin-top: 0.4rem;
  min-height: 2rem;
  transition: color 0.4s ease;
}
.pipeline-stage.active .pipeline-desc {
  color: rgba(255,255,255,0.6);
}
.pipeline-connector {
  display: flex;
  align-items: center;
  padding-top: 1.2rem;
  min-width: 40px;
}
.pipeline-line {
  height: 2px;
  width: 100%;
  min-width: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.pipeline-line.active::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #00C853, #4ADE80);
  animation: pipeFlow 0.5s ease forwards;
}
@keyframes pipeFlow {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}
/* Result stage — green accent */
.pipeline-result .pipeline-icon {
  background: rgba(0,200,83,0.1);
  border-color: rgba(0,200,83,0.3);
}
.pipeline-result.active .pipeline-icon {
  background: #00C853;
  border-color: #00C853;
  box-shadow: 0 0 30px rgba(0,200,83,0.4);
}
.pipeline-result.active .pipeline-icon {
  color: #FFFFFF;
  font-size: 1.3rem;
}
/* Summary badge */
.pipeline-summary {
  text-align: center;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pipeline-summary.visible {
  opacity: 1;
  transform: translateY(0);
}
.pipeline-time {
  display: inline-block;
  background: rgba(0,200,83,0.15);
  border: 1px solid rgba(0,200,83,0.3);
  color: #4ADE80;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
}
.auto-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00C853, #00A844);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.auto-run-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}
.auto-run-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== HERO SOCIAL PROOF ===== */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-avatars {
  display: flex;
}
.hero-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hero-av:first-child { margin-left: 0; }
.hero-proof-text {
  font-size: 0.9rem;
  color: #475569;
}

/* ===== SERVICE TABS ===== */
.svc-tabs-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.svc-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #E2E8F0;
  border-radius: 100px;
  background: #fff;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}
.svc-tab:hover {
  border-color: #00C853;
  color: #00C853;
}
.svc-tab.active {
  background: #00C853;
  border-color: #00C853;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,200,83,0.3);
}
.svc-tab svg {
  flex-shrink: 0;
}
.svc-panel {
  display: none;
  animation: svcFadeIn 0.4s ease;
}
.svc-panel.active {
  display: block;
}
@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
  border: 1px solid #E2E8F0;
}
.svc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.5rem;
}
.svc-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.svc-feats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.svc-feat {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.svc-fi {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-feat strong {
  display: block;
  font-size: 0.9rem;
  color: #0F172A;
  margin-bottom: 0.15rem;
}
.svc-feat p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.svc-stat {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #0F172A;
  font-weight: 500;
}
.svc-stat-n {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00C853;
  margin-right: 0.5rem;
}
.svc-cta {
  display: inline-block;
  margin-top: 1.25rem;
  color: #00C853;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.svc-cta:hover {
  color: #00A844;
}
.svc-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* --- Service Visual: Flow --- */
.svc-viz-flow {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}
.svz-node {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F172A;
  min-width: 100px;
  transition: all 0.3s ease;
}
.svz-node.hi {
  background: linear-gradient(135deg, #00C853, #4ADE80);
  border-color: #00C853;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,200,83,0.3);
}
.svz-arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #E2E8F0, #00C853);
  position: relative;
  flex-shrink: 0;
}
.svz-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  border: 4px solid transparent;
  border-left: 6px solid #00C853;
}

/* --- Service Visual: Browser --- */
.svc-viz-browser {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
}
.svb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
.svb-d {
  width: 10px; height: 10px; border-radius: 50%;
}
.svb-d.r { background: #EF4444; }
.svb-d.y { background: #F59E0B; }
.svb-d.g { background: #22C55E; }
.svb-url {
  margin-left: auto;
  font-size: 0.7rem;
  color: #6B7280;
  background: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
}
.svb-body {
  padding: 16px;
  background: #fff;
}
.svb-hero {
  height: 60px;
  background: linear-gradient(135deg, #00C853, #4ADE80);
  border-radius: 8px;
  margin-bottom: 12px;
}
.svb-line {
  height: 8px;
  background: #F1F5F9;
  border-radius: 4px;
  margin-bottom: 6px;
}
.svb-line.short { width: 65%; }
.svb-cards {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.svb-c {
  flex: 1;
  height: 50px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
}

/* --- Service Visual: Phone --- */
.svc-viz-phone {
  width: 200px;
  background: #0F172A;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(15,23,42,0.15);
}
.svp-notch {
  width: 80px;
  height: 6px;
  background: #1E293B;
  border-radius: 100px;
  margin: 4px auto 8px;
}
.svp-screen {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  min-height: 260px;
}
.svp-hdr {
  height: 20px;
  background: linear-gradient(135deg, #00C853, #4ADE80);
  border-radius: 6px;
  margin-bottom: 12px;
}
.svp-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.svp-s {
  flex: 1;
  height: 50px;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.svp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svp-i {
  height: 36px;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

/* --- Service Tools Badges --- */
.svc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.svc-tools span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid #E2E8F0;
}

/* ===== SERVICES EXPLORER (pillar accordion) ===== */
.svc-explorer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.svc-pillar {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.svc-pillar:hover {
  border-color: #CBD5E1;
}
.svc-pillar.open {
  border-color: #00C853;
  box-shadow: 0 4px 24px rgba(0,200,83,0.10);
}
.svc-pillar-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.5rem 2rem;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}
.svc-pillar-header:hover {
  background: #F8FAFC;
}
.svc-pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C853;
}
.svc-pillar.open .svc-pillar-icon {
  background: #00C853;
  color: #fff;
}
.svc-pillar-text {
  flex: 1;
}
.svc-pillar-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}
.svc-pillar-text p {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}
.svc-pillar-arrow {
  flex-shrink: 0;
  color: #94A3B8;
  transition: transform 0.3s, color 0.3s;
}
.svc-pillar.open .svc-pillar-arrow {
  transform: rotate(180deg);
  color: #00C853;
}
.svc-pillar-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s;
  padding: 0 2rem;
}
.svc-pillar.open .svc-pillar-body {
  max-height: 800px;
  padding: 0 2rem 2rem;
}
.svc-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.svc-sub-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}
a.svc-sub-card:hover {
  border-color: #00C853;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,200,83,0.10);
}
.svc-sub-card--no-link {
  cursor: default;
}
.svc-sub-card--no-link:hover {
  border-color: #CBD5E1;
  background: #fff;
}
.svc-sub-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C853;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}
.svc-sub-card strong {
  font-size: 0.95rem;
  color: #0F172A;
  font-weight: 700;
}
.svc-sub-card > p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.svc-sub-arrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: #00C853;
  margin-top: auto;
  padding-top: 0.25rem;
}
.svc-sub-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 0.25rem;
}
.svc-pillar-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #0F172A;
  line-height: 1.5;
}
.svc-pillar-hint svg {
  flex-shrink: 0;
}

/* Connector strip */
.svc-connector {
  margin-top: 1.5rem;
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #0F172A;
  border-radius: 16px;
  color: #fff;
}
.svc-connector-line {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  width: 2px;
  height: 1.5rem;
  background: linear-gradient(to bottom, #E2E8F0, #00C853);
}
.svc-connector h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.svc-connector p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.svc-connector-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: #00C853;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.svc-connector-cta:hover {
  background: #00A844;
  transform: translateY(-1px);
}

/* ===== CASE STUDY IMAGES ===== */
.case-img {
  height: 140px;
  margin: -2rem -1.5rem 1.25rem;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-img span {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}
.case-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.15;
}
.ci-build { background: linear-gradient(135deg, #00C853, #065F46); }
.ci-svc { background: linear-gradient(135deg, #0369A1, #00C853); }
.ci-beauty { background: linear-gradient(135deg, #DB2777, #9333EA); }

/* ===== LIVE DEMO: PHONE + PDF ===== */
.live-demo-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Phone mockup */
.phone-mockup {
  width: 280px !important;
  min-width: 260px;
  background: #1A1A2E !important;
  border-radius: 32px !important;
  padding: 12px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.08) !important;
  position: relative;
  flex-shrink: 0;
}
.phone-notch {
  width: 100px;
  height: 6px;
  background: #0F172A;
  border-radius: 3px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #FFFFFF !important;
  border-radius: 22px !important;
  overflow: hidden;
}
.phone-header {
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phone-header-icon {
  font-size: 1.1rem;
}
.phone-form {
  padding: 1rem;
}
.phone-field {
  margin-bottom: 0.75rem;
}
.phone-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.phone-field input,
.phone-field select {
  width: 100% !important;
  padding: 0.5rem 0.6rem !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-family: inherit;
  color: #0F172A !important;
  background: #F8FAFC !important;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.phone-field input:focus,
.phone-field select:focus {
  border-color: #00C853;
  background: #FFFFFF;
}
.phone-submit {
  width: 100% !important;
  padding: 0.7rem !important;
  background: #00C853 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease;
  position: relative;
}
.phone-submit:hover {
  background: #00B848;
  transform: scale(1.02);
}
.phone-submit:active {
  transform: scale(0.98);
}
.phone-submit-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: phoneSpinner 0.6s linear infinite;
  position: absolute;
  right: 1rem;
  top: 50%;
  margin-top: -9px;
}
.phone-submit.loading .phone-submit-text {
  opacity: 0.6;
}
.phone-submit.loading .phone-submit-loader {
  display: block;
}
@keyframes phoneSpinner {
  to { transform: rotate(360deg); }
}

/* Flow arrow between phone and PDF */
.demo-flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  flex-shrink: 0;
}
.demo-flow-arrow.active {
  opacity: 1;
}
.demo-flow-arrow svg {
  width: 60px !important;
  height: 24px !important;
  max-width: 60px;
}
.demo-flow-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00C853;
  letter-spacing: 0.05em;
}

/* ===== REALISTIC PAPER PROTOCOL ===== */
.proto-paper {
  width: 380px !important;
  min-width: 320px;
  flex-shrink: 0;
  opacity: 0.3;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.proto-paper.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.proto-page {
  background: #FDFCF9 !important;
  border: 1px solid #D4C9B0;
  border-radius: 2px !important;
  padding: 1.5rem !important;
  box-shadow:
    4px 4px 0 #E8E0D0,
    8px 8px 0 #F0EAE0,
    0 20px 50px rgba(0,0,0,0.25) !important;
  font-family: 'Courier New', 'Courier', monospace !important;
  color: #1A1A2E !important;
  position: relative;
  overflow: hidden;
}

/* Subtle paper texture */
.proto-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 22px,
    rgba(0,0,0,0.02) 22px,
    rgba(0,0,0,0.02) 23px
  );
  pointer-events: none;
}

.proto-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.proto-company-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.02em;
}

.proto-company-info {
  font-size: 0.58rem;
  color: #475569;
  line-height: 1.5;
  margin-top: 0.15rem;
}

.proto-doc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  color: #0F172A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}

.proto-line {
  height: 2px;
  background: #1A1A2E;
  margin: 0.6rem 0;
}

/* Protocol table */
.proto-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
  margin-bottom: 0.6rem;
  table-layout: fixed;
}
.proto-table td {
  border: 1px solid #C4B89A;
  padding: 0.3rem 0.5rem;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: break-word;
}
.proto-td-label {
  background: #F5F0E8;
  font-weight: 700;
  color: #334155;
  width: 25%;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.proto-td-value {
  color: #0F172A;
  font-weight: 500;
}
.proto-td-value[contenteditable="true"],
.proto-work-box[contenteditable="true"],
.proto-check[contenteditable="true"],
.proto-status-value[contenteditable="true"] {
  cursor: text;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  border-radius: 2px;
}
.proto-td-value[contenteditable="true"]:hover,
.proto-work-box[contenteditable="true"]:hover,
.proto-check[contenteditable="true"]:hover,
.proto-status-value[contenteditable="true"]:hover {
  background: rgba(0, 200, 83, 0.08);
}
.proto-td-value[contenteditable="true"]:focus,
.proto-work-box[contenteditable="true"]:focus,
.proto-check[contenteditable="true"]:focus,
.proto-status-value[contenteditable="true"]:focus {
  background: rgba(0, 200, 83, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 200, 83, 0.4);
  outline: none;
}
.proto-edit-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  color: #00C853;
  margin-top: 0.4rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.proto-edit-hint.visible {
  opacity: 1;
}

.proto-section-head {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #334155;
  background: #F5F0E8;
  padding: 0.3rem 0.5rem;
  border: 1px solid #C4B89A;
  border-bottom: none;
  margin-top: 0.5rem;
}

.proto-work-box {
  border: 1px solid #C4B89A;
  padding: 0.5rem;
  font-size: 0.68rem;
  color: #1A1A2E;
  min-height: 2rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Checklist table */
.proto-check-table td {
  font-size: 0.65rem;
}
.proto-check-table td:first-child {
  width: 75%;
}
.proto-check {
  text-align: center;
  font-weight: 600;
  color: #059669;
}

.proto-status-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0;
  font-size: 0.68rem;
}
.proto-status-label {
  font-weight: 700;
  color: #334155;
}
.proto-status-value {
  font-weight: 600;
  color: #059669;
}

/* Handwritten signatures */
.proto-sig-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
}
.proto-sig-block {
  flex: 1;
  text-align: center;
}
.proto-sig-scribble {
  height: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.proto-sig-scribble svg {
  width: 100px;
  height: 32px;
  opacity: 0.85;
}
.proto-sig-line-solid {
  height: 1px;
  background: #1A1A2E;
  margin: 0.2rem 0;
}
.proto-sig-caption {
  font-size: 0.55rem;
  color: #475569;
  line-height: 1.4;
}
.proto-sig-caption span {
  font-weight: 600;
  color: #334155;
  font-size: 0.6rem;
}

.proto-page-footer {
  text-align: center;
  font-size: 0.5rem;
  color: #6B7280;
  margin-top: 0.75rem;
  padding-top: 0.4rem;
  border-top: 1px solid #E2E0D8;
}
.pdf-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #F8FAFC;
  border-top: 1px solid #BBF7D0;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}
.pdf-actions.active {
  opacity: 1;
  transform: translateY(0);
}
.pdf-action-btn {
  font-size: 0.7rem;
  font-weight: 600;
  color: #059669;
  background: #DCFCE7;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

/* ===== DEMO SCENARIOS ===== */
.demo-scenarios {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.demo-sc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}
.demo-sc:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}
.demo-sc.active {
  background: rgba(0,200,83,0.2);
  border-color: #00C853;
  color: #4ADE80;
}

/* (confetti removed — clean pipeline design) */

/* ===== PARTICLE TRAIL ===== */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}
.particle.burst {
  animation: particleBurst 0.8s ease-out forwards;
}
@keyframes particleBurst {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0) translate(var(--dx), var(--dy)); }
}

/* (success checkmark removed — replaced by column highlighting) */

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== TABLET / NARROW DESKTOP ===== */
@media (max-width: 1024px) {
  /* Header: prevent nav/CTA overlap */
  .header-cta-btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
    margin-left: 0.75rem;
  }
  .site-header .wp-block-navigation {
    font-size: 0.82rem !important;
    gap: 1.25rem !important;
  }
  /* Industries: 4-col → 3-col */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Section side padding tighter */
  .wp-block-group.alignfull {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* ===== NARROW TABLET (782-850px) ===== */
@media (max-width: 850px) {
  /* Hide header CTA earlier to prevent nav overflow at 782-810px */
  .header-cta-btn {
    display: none;
  }
  /* Pain/objection cards: 2-col CSS grid on tablet */
  .wp-block-columns.stagger-children {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem !important;
  }
  .wp-block-columns.stagger-children > .wp-block-column {
    flex-basis: unset !important;
    flex-grow: unset !important;
    width: 100% !important;
  }
  .wp-block-columns.stagger-children .pain-card {
    height: 100%;
    box-sizing: border-box;
  }
  /* Hide <br> in hero on narrow screens — avoids awkward orphan lines */
  .hero-section h1 br,
  .hero-section .has-text-align-center br {
    display: none;
  }
  /* Hero CTA button: reduce padding for narrower screens */
  .hero-section .wp-block-button__link {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1rem !important;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 781px) {
  /* Live demo: stack vertically on mobile */
  .live-demo-wrap {
    flex-direction: column;
    gap: 1.5rem;
  }
  .phone-mockup {
    width: 100%;
    max-width: 320px;
    min-width: unset;
  }
  .demo-flow-arrow {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }
  .proto-paper {
    width: 100% !important;
    max-width: 340px;
    min-width: unset !important;
    font-size: 0.6rem;
  }
  .proto-page {
    padding: 1rem !important;
  }
  .proto-header-row { flex-direction: column; gap: 0.5rem; text-align: center; }
  .proto-doc-title { text-align: center; font-size: 0.8rem !important; }
  .proto-sig-row { flex-direction: column; gap: 1rem; }
  .proto-table { font-size: 0.58rem; }
  .proto-table td { padding: 0.2rem 0.3rem; }
  .proto-td-label { width: 28%; font-size: 0.52rem; letter-spacing: 0.01em; }
  .proto-work-box { font-size: 0.58rem; }
  .proto-section-head { font-size: 0.55rem; }
  .proto-company-name { font-size: 0.75rem !important; }
  .proto-company-info { font-size: 0.52rem !important; }
  .solutions-grid { grid-template-columns: 1fr; }
  .cta-form-wrap { flex-direction: column; }
  .cta-form-left, .cta-form-right { max-width: 100%; }
  .problem-card {
    margin-bottom: 0.5rem;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .industry-card {
    padding: 1.25rem;
  }
  .industry-card-desc {
    font-size: 0.78rem;
  }
  .case-card .wp-block-columns {
    flex-direction: column;
  }
  .case-card .wp-block-column {
    flex-basis: 100% !important;
  }
  /* Subpage — stat banner compact on mobile */
  .stat-banner {
    padding: 1rem;
  }
  .stat-banner-number {
    font-size: 1.75rem;
  }
  .stat-banner-label {
    font-size: 0.8rem;
  }
  /* Subpage — use-case cards */
  .use-case-card {
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
  }
  /* Subpage — case study stats wrap */
  .case-stat {
    font-size: 1.35rem;
  }
  /* Subpage — contact card */
  .contact-card {
    padding: 1.5rem !important;
  }
  /* Subpage — industry pills compact */
  .industry-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }
  .trust-bar {
    gap: 1.5rem;
  }
  /* ROI section — compact on mobile */
  .roi-highlight {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }
  .roi-number {
    font-size: 2.5rem;
  }
  .roi-highlight > p:first-child {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
  }
  .roi-highlight > p:nth-child(3) {
    font-size: 1rem !important;
  }
  .roi-comparison {
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-direction: column;
  }
  .roi-arrow {
    font-size: 1.2rem;
    transform: rotate(90deg);
  }
  .roi-amount {
    font-size: 1.5rem;
  }
  .roi-amount-big {
    font-size: 1.75rem;
  }
  .roi-label {
    font-size: 0.8rem;
  }
  /* Pain/objection cards: enforce 2-col grid on mobile (override WP stack) */
  .wp-block-columns.stagger-children {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem !important;
  }
  .wp-block-columns.stagger-children > .wp-block-column {
    flex-basis: unset !important;
    width: 100% !important;
  }
  /* Pain cards — tighter on mobile */
  .pain-card {
    padding: 1.25rem;
    height: 100%;
    box-sizing: border-box;
  }
  .pain-card strong {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .pain-card p {
    font-size: 0.82rem !important;
    margin-top: 0.4rem !important;
  }
  .pain-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .calculator-wrap {
    padding: 1.25rem;
    max-width: 100%;
  }
  .calculator-wrap label {
    font-size: 0.85rem !important;
  }
  .calc-input {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }
  .calc-result {
    padding: 1rem;
    margin-top: 1rem;
  }
  .calc-result-number {
    font-size: 1.5rem;
  }
  .calc-money {
    font-size: 0.95rem;
  }
  /* Mobile body text — bump to 17px for readability (30-50 yr audience) */
  body,
  .wp-block-group p,
  .has-muted-color.has-text-color {
    font-size: 1.0625rem !important; /* 17px */
  }
  /* Sekcje: zmniejszony padding na mobile */
  .wp-block-group.alignfull {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  /* Subpage sections — even tighter */
  .svc-section.wp-block-group.alignfull {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  /* Nagłówki sekcji: mniejsze na mobile */
  .wp-block-heading.has-text-align-center {
    font-size: 1.5rem !important;
  }
  /* Service subpage grids — single column on mobile */
  .svc-pain-grid,
  .svc-types-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .svc-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .svc-feature {
    padding: 1rem 0.5rem;
  }
  .svc-feature-icon {
    font-size: 1.25rem;
  }
  .svc-feature strong {
    font-size: 0.82rem;
  }
  .svc-feature-desc {
    font-size: 0.72rem;
  }
  .svc-process {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .svc-step-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .svc-step-body strong {
    font-size: 0.88rem;
  }
  .svc-step-body p {
    font-size: 0.78rem;
  }
  .header-cta-btn {
    display: none;
  }
  .header-logo {
    height: 34px;
  }
  /* Pipeline — vertical on mobile */
  .pipeline {
    flex-direction: column;
    align-items: center;
  }
  .pipeline-connector {
    padding-top: 0;
    min-width: unset;
    min-height: 24px;
    width: 2px;
  }
  .pipeline-line {
    height: 100% !important;
    width: 2px !important;
    min-width: 2px;
    min-height: 20px;
  }
  .pipeline-stage {
    min-width: unset;
    max-width: 200px;
  }
  .auto-run-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
  /* Hero process — stack on mobile */
  .hero-process-steps {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-step-arrow {
    transform: rotate(90deg);
  }
  .hero-step {
    width: 100%;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
  }
  .hero-step-num {
    position: static;
    transform: none;
    flex-shrink: 0;
  }
  .hero-step-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .demo-sc {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }
  .svc-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-tab {
    justify-content: center;
  }
  .svc-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .svc-right {
    order: -1;
  }
  .svc-viz-flow { flex-wrap: wrap; }
  /* Services explorer mobile */
  .svc-pillar-header {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }
  .svc-pillar-icon {
    width: 40px;
    height: 40px;
  }
  .svc-pillar-icon svg {
    width: 20px;
    height: 20px;
  }
  .svc-pillar-text h3 {
    font-size: 1.05rem;
  }
  .svc-pillar-text p {
    font-size: 0.82rem;
  }
  .svc-pillar-body {
    padding: 0 1.25rem;
  }
  .svc-pillar.open .svc-pillar-body {
    padding: 0 1.25rem 1.25rem;
  }
  .svc-sub-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .svc-sub-card {
    padding: 1rem;
  }
  .svc-connector {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }
  .svc-connector h4 {
    font-size: 1rem;
  }
  .svc-connector p {
    font-size: 0.82rem;
  }
  .svc-viz-browser { max-width: 100%; }
  .svc-viz-phone { width: 160px; }
  .demo-scenarios { flex-direction: column; align-items: center; }
  .hero-proof { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .hero-process { margin: 2rem 0 0; padding: 1.25rem 1rem 1rem; }
  .hero-step-name { font-size: 0.7rem; }
  .hero-results { flex-direction: column; gap: 0.5rem; }
  .hero-result-value { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
  /* Pain/objection cards: 1-col on phone */
  .wp-block-columns.stagger-children {
    grid-template-columns: 1fr !important;
  }
  /* Trust bar: wrap on narrow screens */
  .trust-bar {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
  }
  /* Pipeline: compact on phone */
  .pipeline-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .pipeline-label { font-size: 0.68rem; }
  .pipeline-desc { font-size: 0.65rem; }
  .demo-sc {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }
  /* ROI: tighter */
  .roi-highlight {
    padding: 1.5rem 1rem;
  }
  .roi-number {
    font-size: 2rem;
  }
  .roi-amount {
    font-size: 1.3rem;
  }
  .roi-amount-big {
    font-size: 1.5rem;
  }
  /* Pain cards */
  .pain-card {
    padding: 1rem;
  }
  .pain-card strong {
    font-size: 0.88rem;
  }
  .pain-icon {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }
  /* Sekcje jeszcze ciaśniej */
  .wp-block-group.alignfull {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .wp-block-heading.has-text-align-center {
    font-size: 1.35rem !important;
  }
  .calculator-wrap {
    padding: 1rem;
  }
  .calc-input {
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
  }
  .calc-result-number {
    font-size: 1.3rem;
  }
  .calc-result-label {
    font-size: 0.78rem;
  }
}

/* ===== HERO ROTATING TEXT ===== */
.hero-heading {
  font-family: var(--wp--preset--font-family--system, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}
/* Always stacked: 3 centered lines at every width */
.hero-line-top,
.hero-line-bottom {
  display: block;
}
.hero-rotate-wrapper {
  display: block;
  position: relative;
  text-align: center;
}
.hero-rotate-word {
  display: inline-block;
  color: #00C853;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.hero-rotate-word::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00C853, #4ADE80);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}
.hero-rotate-word.active::after {
  transform: scaleX(1);
}
.hero-rotate-word.fade-out {
  opacity: 0;
  transform: translateY(-14px);
}
.hero-rotate-word.fade-in {
  opacity: 0;
  transform: translateY(14px);
}
.hero-rotate-word.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PASCODE BRAND ENHANCEMENTS ===== */

/* Header accent line — green glow under sticky header */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, #00C853 50%, transparent 90%);
  opacity: 0.6;
}

/* (monospace accents removed — cleaner business look) */

/* Enhanced hero gradient — navy to green glow */
.hero-section::before {
  background: radial-gradient(circle, rgba(0, 200, 83, 0.06) 0%, transparent 70%);
}
.hero-section::after {
  background: linear-gradient(90deg, transparent, #00C853, transparent);
}

/* (cursor blink removed — no terminal aesthetic) */

/* Service tab active shadow — green glow */
.svc-tab.active {
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.3);
}

/* Enhanced button hover with green glow */
.wp-block-button__link:hover {
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.25);
}

/* Subtle grid pattern overlay for hero (tech aesthetic) */
.hero-section {
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Trust bar number — green accent */
.trust-number {
  color: #00C853;
}

/* Footer accent line */
.wp-block-group.has-dark-background-color::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00C853, transparent);
  opacity: 0.3;
}

/* ===== SOLUTIONS GRID ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.solution-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.solution-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.35rem;
}

.solution-for {
  font-size: 0.8rem;
  color: #475569;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.solution-desc {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.solution-feat {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  padding-left: 0.25rem;
}

.solution-feat::first-letter {
  color: #00C853;
}

.solution-oc {
  display: flex;
  gap: 0.75rem;
  background: linear-gradient(135deg, #F8FAFC, #E8F5E9);
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.solution-oc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.solution-oc-text strong {
  font-size: 0.9rem;
  color: #0F172A;
  display: block;
  margin-bottom: 0.35rem;
}

.solution-oc-text p {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.solution-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: #FFFBEB;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.guarantee-badge {
  flex-shrink: 0;
  background: #F59E0B;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.1rem;
}

.guarantee-text {
  font-size: 0.82rem;
  color: #78350F;
  line-height: 1.45;
}

.solution-cta {
  display: inline-block;
  margin-top: auto;
  padding: 0.85rem 1.5rem;
  background: #00C853;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.solution-cta:hover {
  background: #00B848;
  transform: translateY(-1px);
}

@media (max-width: 781px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .solution-card {
    padding: 1.5rem;
  }
}

/* ===== CTA CONTACT FORM ===== */
.cta-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.cta-form-heading {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.cta-form-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.cta-form-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-perk {
  font-size: 0.9rem;
  color: #4ADE80;
  font-weight: 600;
}

.cta-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
}

.cta-field {
  margin-bottom: 1rem;
}

.cta-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.cta-field input,
.cta-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-field input::placeholder,
.cta-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.cta-field input:focus,
.cta-field textarea:focus {
  border-color: #00C853;
  background: rgba(255,255,255,0.12);
}

.cta-field textarea {
  resize: vertical;
  min-height: 100px;
}

.cta-form-btn {
  width: 100%;
  padding: 0.9rem;
  background: #00C853;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  position: relative;
}

.cta-form-btn:hover {
  background: #00B848;
  transform: translateY(-1px);
}

.cta-form-btn:active {
  transform: scale(0.98);
}

.cta-btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: phoneSpinner 0.6s linear infinite;
  position: absolute;
  right: 1rem;
  top: 50%;
  margin-top: -9px;
}

.cta-form-btn.loading .cta-btn-text { opacity: 0.6; }
.cta-form-btn.loading .cta-btn-loader { display: block; }

.cta-form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4ADE80;
  font-weight: 600;
}

.cta-form-success.visible {
  display: flex;
}

.cta-form-footer {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
}

.cta-form-footer a {
  color: #4ADE80;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 781px) {
  .cta-form-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .cta-form-perks {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .cta-form {
    padding: 1.5rem;
  }
}

/* ─── Contact Page Form ─── */
.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.35rem;
}
.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0F172A;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: #00C853;
  box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}
.contact-form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #00C853;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.contact-form-submit:hover {
  background: #00A844;
  transform: translateY(-1px);
}
.contact-btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(15,23,42,0.25);
  border-top-color: #0F172A;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.contact-form-submit.loading .contact-btn-text { opacity: 0.6; }
.contact-form-submit.loading .contact-btn-loader { display: block; }
.contact-form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F172A;
}
.contact-form-success.visible { display: flex; }

/* Contact info sidebar */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
a.contact-info-item:hover { opacity: 0.8; }
.contact-info-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Steps below card */
.contact-steps {
  padding: 1.25rem 1.75rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.contact-step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.contact-step-item:last-child { margin-bottom: 0; }

@media (max-width: 781px) {
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-form-submit { width: 100%; justify-content: center; }
}

/* ─── Capability Grid (Realizacje) ─── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.capability-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.capability-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,200,83,0.08);
  border-color: #00C853;
}
.capability-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.capability-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.4rem;
}
.capability-card p {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.capability-card--featured {
  border-color: #BBF7D0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
}
.capability-card--featured .capability-icon {
  background: #00C853;
}
.capability-card--featured .capability-icon svg {
  stroke: #FFFFFF;
}
@media (max-width: 781px) {
  .capability-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .capability-grid { grid-template-columns: 1fr; }
}

/* ─── Services Page (new layout) ─── */
.svc-category-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.svc-category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.svc-category-link:hover {
  transform: translateY(-2px);
  border-color: #00C853;
  box-shadow: 0 4px 16px rgba(0,200,83,0.1);
}
.svc-category-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border-radius: 12px;
  margin-bottom: 0.6rem;
}
.svc-category-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}
.svc-category-desc {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.15rem;
}

/* Service card grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.svc-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.svc-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,200,83,0.08);
  border-color: #00C853;
}
.svc-card--highlight {
  border-color: #BBF7D0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
}
.svc-card-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  background: #00C853;
  color: #0F172A;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.svc-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.4rem;
}
.svc-card > p {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
.svc-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}
.svc-card-list li {
  font-size: 0.78rem;
  color: #475569;
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.svc-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: #00C853;
  border-radius: 50%;
}
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #00C853;
  text-decoration: none;
  margin-top: 1rem;
  transition: gap 0.2s;
}
.svc-card-link:hover {
  gap: 0.6rem;
}

/* Process steps */
.svc-process {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.svc-process-step {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.svc-process-step .step-number {
  margin-bottom: 0.25rem;
}
.svc-process-connector {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .svc-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
  .svc-category-nav { grid-template-columns: 1fr; gap: 0.75rem; }
  .svc-category-link { flex-direction: row; text-align: left; gap: 0.75rem; }
  .svc-category-icon { margin-bottom: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid--4 { grid-template-columns: 1fr; }
  .svc-process { flex-direction: column; align-items: center; }
  .svc-process-connector { transform: rotate(90deg); }
}
