/* PLKV LAB refinement layer */
.header-actions{justify-self:end;display:flex;align-items:center;gap:8px}
.mobile-menu-toggle,.mobile-menu{display:none}

/* Compact desktop rhythm */
.hero{padding:68px 0 72px!important}
.section{padding:72px 0!important}
.section-head{margin-bottom:28px!important}
.contact-section{padding:72px 0 28px!important}
.internal-hero{padding:64px 0 44px!important}
.service-section{padding:54px 0!important}
.service-section+.service-section{padding-top:4px!important}

/* Pricing */
.pricing-section{border-top:1px solid var(--line)}
.pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.pricing-card{min-height:250px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.pricing-card:hover{transform:translateY(-3px);border-color:var(--line-strong);box-shadow:0 14px 30px rgba(28,31,40,.05)}
.pricing-card>.mono{font-size:8px;color:var(--accent)}
.pricing-card h3{margin:18px 0 0;font-size:19px;line-height:1.25;letter-spacing:-.03em}
.pricing-card p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.pricing-card-bottom{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.pricing-card-bottom small{max-width:100px;color:var(--muted);font-size:9px;line-height:1.35}
.pricing-card-bottom strong{white-space:nowrap;font-size:20px;letter-spacing:-.04em}
.pricing-note{margin-top:10px;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.5);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px}
.pricing-note span{color:var(--muted)}
.pricing-note a{font-weight:650}

/* Footer */
.site-footer{margin-top:40px!important}
.footer-main{padding:34px 0 28px!important;gap:32px!important}
.footer-brand p{margin:10px 0 0!important;color:var(--muted);font-size:11px!important;line-height:1.55!important}
.footer-col strong{margin-bottom:10px!important}
.footer-col nav{gap:8px!important}
.footer-bottom,.footer-legal{min-height:auto!important;padding:14px 0!important;gap:20px!important}
.footer-legal-main{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:10px;flex-wrap:wrap}
.legal-links{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.legal-links a{color:var(--muted);font-size:10px}

@media(max-width:1180px){
  .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:1020px){
  .header{height:auto!important;padding:9px 0!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}
  .nav{display:none!important}
  .header-actions{display:flex;align-items:center;gap:7px}
  .header-cta{min-height:0!important;height:auto!important;padding:10px 12px!important;line-height:1!important;white-space:nowrap}
  .mobile-menu-toggle{width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:10px 10px!important;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3.75px;cursor:pointer}
  .mobile-menu-toggle span{width:16px;height:1.5px;border-radius:2px;background:var(--ink);transition:transform .2s ease,opacity .2s ease}
  .site-header.menu-open .mobile-menu-toggle span:nth-child(1){transform:translateY(5.25px) rotate(45deg)}
  .site-header.menu-open .mobile-menu-toggle span:nth-child(2){opacity:0}
  .site-header.menu-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-5.25px) rotate(-45deg)}
  .mobile-menu{position:absolute;left:0;right:0;top:100%;z-index:49;display:block;max-height:80dvh;overflow:auto;background:rgba(247,248,250,.985);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);box-shadow:0 18px 36px rgba(28,31,40,.08);opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
  .site-header.menu-open .mobile-menu{opacity:1;transform:none;pointer-events:auto}
  .mobile-menu-inner{padding-top:15px;padding-bottom:15px}
  .mobile-menu-main{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .mobile-menu-main>a{padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;align-items:center;font-size:12px;font-weight:600}
  .mobile-menu-services{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
  .mobile-menu-services>.mono{grid-column:1/-1;color:var(--muted);font-size:8px;margin-bottom:2px}
  .mobile-menu-services>a{padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;flex-direction:column;gap:3px}
  .mobile-menu-services strong{font-size:11px;line-height:1.25}
  .mobile-menu-services small{font-size:9px;color:var(--muted)}
  .mobile-menu-cta{margin-top:9px;padding:11px 13px;border-radius:12px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:650}
  body.menu-open{overflow:hidden}
  .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .section{padding:52px 0!important}
  .section-head{margin-bottom:22px!important}
  .hero{padding:42px 0 48px!important}
  .hero-grid{gap:26px!important}
  .hero-tech-control{padding:10px!important}
  .workflow-glass-stage{min-height:320px!important}
  .workflow-header{gap:7px!important}
  .workflow-glass-stage .wf-node{width:86px!important;min-height:52px!important;padding:7px!important}
  .workflow-glass-stage .wf-result{width:78px!important}
  .workflow-glass-stage .wf-node strong{font-size:8px!important}
  .workflow-glass-stage .wf-node small{font-size:6px!important}
  .workflow-result-bar{padding:7px 8px!important;gap:4px!important}
  .workflow-result-bar span,.workflow-result-bar b{font-size:6px!important}

  .internal-hero{padding:42px 0 30px!important}
  .internal-hero-grid{gap:22px!important}
  .internal-hero-visual{min-height:255px!important;padding:10px!important}
  .internal-visual-body{height:205px!important}
  .service-section{padding:42px 0!important}
  .service-section+.service-section{padding-top:0!important}
  .service-task{min-height:0!important;padding:15px!important}

  .contact-section{padding:52px 0 24px!important}
  .contact-card{padding:21px!important}

  .pricing-grid{grid-template-columns:1fr}
  .pricing-card{min-height:0;padding:16px}
  .pricing-card h3{margin-top:14px}
  .pricing-card-bottom{padding-top:14px}
  .pricing-note{align-items:flex-start;flex-direction:column;gap:6px}

  /* Technical preparation needs a slightly taller dedicated viewport */
  .page-service-seo .internal-hero-visual{min-height:315px!important;overflow:hidden!important}
  .page-service-seo .internal-visual-body{height:258px!important;overflow:hidden!important}
  .page-service-seo .tech-check-v6{inset:8px!important;padding:9px!important;overflow:hidden!important;border-radius:12px!important}
  .page-service-seo .tech-check-head{min-height:38px!important;padding-bottom:7px!important;gap:8px!important}
  .page-service-seo .tech-check-head strong{font-size:12px!important}
  .page-service-seo .tech-ready-badge{min-height:0!important;padding:6px 7px!important}
  .page-service-seo .tech-check-list{margin-top:7px!important;gap:4px!important}
  .page-service-seo .tech-check-row{min-height:32px!important;padding:5px 7px!important;grid-template-columns:18px 1fr auto!important;gap:6px!important}
  .page-service-seo .tech-check-icon{width:16px!important;height:16px!important}
  .page-service-seo .tech-check-row b{font-size:9px!important}
  .page-service-seo .tech-check-row small{font-size:6px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .page-service-seo .tech-check-row em{min-width:32px!important;font-size:6px!important}
  .page-service-seo .tech-check-footer{padding-top:6px!important;gap:6px!important}
  .page-service-seo .tech-check-footer span{font-size:6px!important}
  .page-service-seo .tech-check-footer strong{font-size:9px!important}

  /* Clean two-column mobile footer */
  .site-footer{margin-top:28px!important}
  .footer-main{grid-template-columns:1fr 1fr!important;gap:20px 18px!important;padding:26px 0 20px!important}
  .footer-brand{grid-column:1/-1!important;max-width:none!important;padding-bottom:16px;border-bottom:1px solid var(--line)}
  .footer-brand p{max-width:480px;font-size:10.5px!important;line-height:1.5!important}
  .footer-col strong{margin-bottom:8px!important;font-size:8px!important}
  .footer-col nav{gap:7px!important}
  .footer-col a,.footer-future{font-size:11px!important}
  .footer-col:last-child{grid-column:1/-1!important;padding-top:14px;border-top:1px solid var(--line)}
  .footer-col:last-child nav{display:flex!important;flex-wrap:wrap;gap:7px!important}
  .footer-col:last-child nav>a,.footer-col:last-child .footer-future{width:auto!important;padding:7px 9px;border:1px solid var(--line);border-radius:999px;background:#fff;display:inline-flex;align-items:center;gap:6px}
  .footer-bottom,.footer-legal{align-items:flex-start!important;flex-direction:column!important;gap:9px!important;padding:12px 0!important}
  .footer-legal-main{gap:8px;font-size:9px}
  .footer-legal-main .mono{font-size:7px}
  .legal-links{width:100%;justify-content:flex-start;gap:6px 12px}
  .legal-links a{font-size:9px}
}

@media(max-width:520px){
  .brand-lockup small{display:none}
  .brand-lockup strong{font-size:13px}
  .header-cta{padding:10px 10px!important;font-size:10.5px!important;line-height:1!important}
  .mobile-menu-toggle{padding:10px 9px!important}
  .mobile-menu-main{grid-template-columns:1fr 1fr}
  .mobile-menu-services{grid-template-columns:1fr 1fr}

  .workflow-glass-stage{min-height:300px!important}
  .workflow-glass-stage .wf-node{width:78px!important;min-height:48px!important;padding:6px!important}
  .workflow-glass-stage .wf-result{width:72px!important}
  .internal-hero-visual{min-height:230px!important}
  .internal-visual-body{height:182px!important}
  .web-compile-v6{inset:7px!important}
  .api-map,.api-map-v5{inset:7px!important}
  .auto-pipeline-v5{inset:12px 5px 9px!important}
  .audit-panel-v5{inset:8px!important}

  .page-service-seo .internal-hero-visual{min-height:305px!important}
  .page-service-seo .internal-visual-body{height:250px!important}
  .page-service-seo .tech-check-v6{inset:7px!important;padding:8px!important}
  .page-service-seo .tech-check-head>div>.mono{display:none}
  .page-service-seo .tech-check-row small{display:none!important}
  .page-service-seo .tech-check-footer span{display:none!important}

  .footer-main{gap:18px 14px!important;padding:24px 0 18px!important}
  .footer-brand p{font-size:10px!important}
  .footer-col a,.footer-future{font-size:10.5px!important}
  .footer-logo{font-size:13px!important}
  .legal-links{gap:6px 10px}
}

@media(prefers-reduced-motion:reduce){
  .mobile-menu,.mobile-menu-toggle span{transition:none!important}
}
