/*
Theme Name: Zoffis
Theme URI: https://zoffis.com
Author: Zoffis
Description: Custom WordPress theme for Zoffis virtual office services and customer portal.
Version: 2.0.57
Text Domain: zoffis
*/

/* Legal pages */
.zf-legal-page{background:#fff}.zf-legal-hero{padding:88px 0 68px;background:linear-gradient(145deg,#f8fbff,#eff6ff);border-bottom:1px solid var(--zf-border)}.zf-legal-hero-inner{max-width:900px}.zf-legal-hero h1{margin:12px 0 16px;color:var(--zf-navy);font-size:clamp(42px,6vw,68px);line-height:1.05;letter-spacing:-.045em}.zf-legal-hero p{max-width:760px;margin:0;color:var(--zf-text);font-size:19px}.zf-legal-meta{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:25px;color:var(--zf-muted);font-size:13px;font-weight:700}.zf-legal-layout{display:grid;grid-template-columns:250px minmax(0,760px);justify-content:center;gap:70px;padding-top:70px;padding-bottom:100px}.zf-legal-nav{position:sticky;top:110px;align-self:start;display:grid;gap:8px;padding:22px;border:1px solid var(--zf-border);border-radius:16px;background:var(--zf-soft)}.zf-legal-nav strong{margin-bottom:6px;color:var(--zf-navy)}.zf-legal-nav a{color:var(--zf-muted);font-size:13px;line-height:1.35}.zf-legal-nav a:hover{color:var(--zf-blue)}.zf-legal-content{min-width:0}.zf-legal-identity,.zf-legal-note{padding:25px 28px;border:1px solid #bfdbfe;border-radius:16px;background:#eff6ff}.zf-legal-identity h2,.zf-legal-note strong{color:var(--zf-navy)}.zf-legal-identity h2{margin:0 0 12px;font-size:20px}.zf-legal-identity p,.zf-legal-note p{margin:4px 0}.zf-legal-identity a,.zf-legal-note a,.zf-legal-copy a{color:var(--zf-blue);text-decoration:underline}.zf-legal-section{padding:38px 0;border-bottom:1px solid var(--zf-border);scroll-margin-top:110px}.zf-legal-section h2{margin:0 0 16px;color:var(--zf-navy);font-size:27px;line-height:1.2;letter-spacing:-.02em}.zf-legal-copy p{margin:14px 0}.zf-legal-copy ul{margin:14px 0;padding-left:24px}.zf-legal-copy li{margin:7px 0}.zf-legal-note{margin-top:38px;background:#f8fafc;border-color:var(--zf-border)}
@media(max-width:850px){.zf-legal-hero{padding:64px 0 52px}.zf-legal-layout{grid-template-columns:1fr;gap:30px;padding-top:42px}.zf-legal-nav{position:static}.zf-legal-section{scroll-margin-top:90px}}
.zf-legal-identity-bottom{margin-top:38px}

/* =========================================================
   Design Tokens
   ========================================================= */

:root {
  --zf-navy: #0f172a;
  --zf-blue: #2563eb;
  --zf-blue-dark: #1748c9;
  --zf-text: #334155;
  --zf-muted: #64748b;
  --zf-border: #e2e8f0;
  --zf-soft: #f8fafc;
  --zf-white: #ffffff;
  --zf-green: #10b981;
  --zf-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   Base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--zf-white);
  color: var(--zf-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.zf-menu-lock {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.zf-site-container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   Header
   ========================================================= */

.zf-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  width: 100%;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.admin-bar .zf-header {
  top: 32px;
}

.zf-header-inner {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.zf-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--zf-navy);
}

.zf-logo-mark {
  position: relative;
  display: block;
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 7px 12px rgba(37, 99, 235, 0.18));
}

.zf-logo-mark::before,
.zf-logo-mark::after {
  position: absolute;
  left: 3px;
  width: 30px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, #3478ff 0%, #1450e5 100%);
  content: "";
  transform: skewX(-34deg);
}

.zf-logo-mark::before {
  top: 4px;
}

.zf-logo-mark::after {
  bottom: 4px;
}

.zf-logo-word {
  color: var(--zf-navy);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.zf-navigation {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 42px);
}

.zf-menu-links,
.zf-header-actions {
  display: flex;
  align-items: center;
}

.zf-menu-links {
  gap: clamp(18px, 1.6vw, 26px);
}

.zf-menu-links a,
.zf-login-link {
  color: #334155;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: var(--zf-font-navigation-weight, 400);
  line-height: 1;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.zf-menu-links a:hover,
.zf-menu-links a:focus,
.zf-login-link:hover,
.zf-login-link:focus {
  color: var(--zf-blue);
}

.zf-header-actions {
  gap: 13px;
}

.zf-header-phone {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  color: var(--zf-color-phone, #334155);
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: var(--zf-font-phone-weight, 400);
  line-height: 1;
  white-space: nowrap;
}

.zf-header-phone svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zf-header-phone:hover,
.zf-header-phone:focus {
  color: var(--zf-blue);
}

.zf-language-trigger {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--zf-navy) !important;
  cursor: pointer;
  line-height: 1 !important;
  appearance: none;
  -webkit-appearance: none;
}

.zf-language-trigger:hover,
.zf-language-trigger:focus {
  color: var(--zf-blue) !important;
}

.zf-language-trigger-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zf-language-trigger-code {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: var(--zf-font-navigation-weight, 400);
  line-height: 18px;
}

.zf-language-trigger-chevron {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  fill: none;
  stroke: #64748b;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zf-login-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
}

.zf-header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 10px;
  background: var(--zf-blue);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.20);
  color: var(--zf-white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.zf-header-cta:hover,
.zf-header-cta:focus {
  background: var(--zf-blue-dark);
  color: var(--zf-white);
}

.zf-menu-toggle {
  position: relative;
  z-index: 10002;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--zf-border);
  border-radius: 10px;
  background: var(--zf-white);
  cursor: pointer;
}

.zf-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--zf-navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* =========================================================
   Language Dialog
   ========================================================= */

.zf-language-dialog {
  width: min(860px, calc(100% - 40px));
  max-width: none;
  max-height: min(760px, calc(100vh - 60px));
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--zf-text);
}

.zf-language-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.zf-language-dialog-shell {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 35px 100px rgba(15, 23, 42, 0.24);
}

.zf-language-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px 28px;
  border-bottom: 1px solid #edf2f7;
}

.zf-language-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--zf-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.zf-language-dialog-header h2 {
  margin: 0 0 8px;
  color: var(--zf-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.zf-language-dialog-header p {
  margin: 0;
  color: var(--zf-muted);
  font-size: 15px;
}

.zf-language-dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--zf-border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--zf-navy);
  cursor: pointer;
}

.zf-language-dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.zf-language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 38px 38px;
}

.zf-language-option {
  display: grid;
  min-height: 76px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #ffffff;
}

.zf-language-option.is-active {
  border-color: var(--zf-blue);
}

.zf-language-option-status {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--zf-blue);
}

.zf-language-option-status svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zf-language-option-text strong,
.zf-language-option-text small {
  display: block;
}

.zf-language-option-text strong {
  color: var(--zf-navy);
  font-size: 15px;
}

.zf-language-option-text small {
  color: var(--zf-muted);
  font-size: 13px;
}

.zf-language-option-code {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* =========================================================
   Footer
   ========================================================= */

.zf-footer {
  width: 100%;
  padding: 62px 0 24px;
  background: #07142f;
  color: #cbd5e1;
}

.zf-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 48px;
  padding-bottom: 44px;
}

.zf-footer-brand {
  max-width: 380px;
}

.zf-footer-logo {
  margin-bottom: 18px;
}

.zf-footer-logo .zf-logo-word {
  color: #ffffff;
}

.zf-footer-brand p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

.zf-footer-column h2 {
  margin: 4px 0 15px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.zf-footer-column nav {
  display: grid;
  gap: 10px;
}

.zf-footer-column a {
  color: #94a3b8;
  font-size: 13px;
}

.zf-footer-column a:hover {
  color: #ffffff;
}

.zf-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.zf-footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.zf-footer-legal {
  display: flex;
  gap: 18px;
}

.zf-footer-legal a {
  color: #64748b;
  font-size: 12px;
}

/* =========================================================
   Standard WordPress Content
   ========================================================= */

.zf-content {
  min-height: 60vh;
  padding: 70px 0;
}

.zf-content h1 {
  margin-top: 0;
  color: var(--zf-navy);
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.045em;
}

/* =========================================================
   Responsive Global Layout
   ========================================================= */

@media (max-width: 1120px) {
  .zf-navigation {
    gap: 22px;
  }

  .zf-menu-links {
    gap: 16px;
  }

  .zf-header-actions {
    gap: 12px;
  }
}

@media (max-width: 980px) {
  .zf-header-inner {
    min-height: 72px;
  }

  .zf-menu-toggle {
    display: block;
  }

  .zf-navigation {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 10000;
    display: flex !important;
    height: calc(100dvh - 72px);
    padding: 24px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 26px;
    overflow-y: auto;
    border-top: 1px solid var(--zf-border);
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .zf-navigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .admin-bar .zf-navigation {
    top: 104px;
    height: calc(100dvh - 104px);
  }

  .zf-menu-links,
  .zf-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .zf-menu-links {
    gap: 0;
  }

  .zf-menu-links a {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 0 2px;
    border-bottom: 1px solid #edf2f7;
    color: var(--zf-navy);
    font-size: 18px;
  }

  .zf-header-actions {
    gap: 12px;
    margin-top: auto;
  }

  .zf-language-trigger {
    width: 100% !important;
    height: 52px !important;
    justify-content: flex-start !important;
  }

  .zf-header-phone {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    font-size: 16px;
  }

  .zf-login-link,
  .zf-header-cta {
    width: 100%;
    min-height: 52px;
  }

  .zf-login-link {
    justify-content: flex-start;
  }

  .zf-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .zf-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .zf-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .zf-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
}

@media (max-width: 782px) {
  .admin-bar .zf-header {
    top: 46px;
  }

  .admin-bar .zf-navigation {
    top: 118px;
    height: calc(100dvh - 118px);
  }
}

@media (max-width: 680px) {
  .zf-site-container {
    width: min(100% - 28px, 1240px);
  }

  .zf-logo-word {
    font-size: 24px;
  }

  .zf-language-dialog {
    width: calc(100% - 20px);
  }

  .zf-language-dialog-header {
    padding: 26px 20px 22px;
  }

  .zf-language-options {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .zf-footer-main {
    grid-template-columns: 1fr;
  }

  .zf-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

.zf-logo-image{display:block;width:auto;height:42px;max-width:180px;object-fit:contain}
.zf-footer .zf-logo-image{height:38px;max-width:170px}
@media(max-width:700px){.zf-logo-image{height:36px;max-width:150px}}


/* =========================================================
   Zoffis global mobile viewport policy
   Applies to current and future theme pages automatically.
   ========================================================= */

@media(max-width:760px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
    overscroll-behavior-x:none;
  }

  body{
    touch-action:pan-y;
  }

  #page,
  .site,
  .site-content,
  main,
  header,
  footer{
    max-width:100%;
  }

  img,
  video,
  iframe,
  table{
    max-width:100%;
  }
}

.zf-ui-icon{
  display:block;
  width:1em;
  height:1em;
  fill:none;
  stroke:currentColor;
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}

/* =========================================================
   v2.0.27 — public website typography system
   ========================================================= */

.zf-menu-links a,
.zf-login-link,
.zf-language-trigger-code{
  font-size:var(--zf-font-navigation,15px);
}

.zf-header-cta{
  font-size:var(--zf-font-button,15px);
}

.zf-language-kicker{
  font-size:var(--zf-font-tiny,13px);
}

.zf-language-dialog-header h2{
  font-size:clamp(30px,4vw,var(--zf-font-section,40px));
}

.zf-language-dialog-header p,
.zf-language-option-text strong{
  font-size:var(--zf-font-compact,15px);
}

.zf-language-option-text small,
.zf-language-option-code{
  font-size:var(--zf-font-small,14px);
}

.zf-footer-brand p,
.zf-footer-column a{
  font-size:var(--zf-font-small,14px);
}

.zf-footer-column h2{
  font-size:var(--zf-font-compact,15px);
}

.zf-footer-bottom p,
.zf-footer-legal a{
  font-size:var(--zf-font-tiny,13px);
}

.zf-content{
  font-size:var(--zf-font-body,16px);
}

.zf-content h1{
  font-size:clamp(40px,5vw,var(--zf-font-display,68px));
}

.zf-legal-page{
  font-size:var(--zf-font-body,16px);
}

.zf-legal-hero h1{
  font-size:clamp(40px,6vw,var(--zf-font-display,68px));
}

.zf-legal-hero p{
  font-size:var(--zf-font-large-body,18px);
}

.zf-legal-meta,
.zf-legal-nav a{
  font-size:var(--zf-font-small,14px);
}

.zf-legal-identity h2{
  font-size:var(--zf-font-card,20px);
}

.zf-legal-section h2{
  font-size:clamp(26px,3vw,var(--zf-font-section,40px));
}

@media(max-width:760px){
  .zf-menu-links a,
  .zf-login-link{
    font-size:var(--zf-font-navigation,15px);
  }

  .zf-mobile-language-trigger span{
    font-size:var(--zf-font-mobile-language,15px);
  }

  .zf-footer-bottom p,
  .zf-footer-legal a{
    font-size:var(--zf-font-small,14px);
  }
}
