/* ==========================================================================
   FOK Media Theme Main CSS
   Full replacement file v8
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body,
h1,h2,h3,h4,h5,h6,p,ul,ol,figure,blockquote { margin: 0; }

ul,ol { padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button,input,textarea,select { font: inherit; }

:root {
  --fok-bg: #eef4fb;
  --fok-bg-2: #f8fbff;
  --fok-border: rgba(255,255,255,0.76);
  --fok-line: rgba(24,33,43,0.10);
  --fok-line-strong: rgba(24,33,43,0.12);
  --fok-text: #18212b;
  --fok-text-soft: #556578;
  --fok-text-muted: #748496;
  --fok-shadow: 0 18px 44px rgba(20,34,58,0.08);
  --fok-shadow-soft: 0 10px 28px rgba(20,34,58,0.05);
  --fok-shadow-field: 0 10px 22px rgba(20,34,58,0.05);
  --fok-shadow-field-focus: 0 14px 28px rgba(20,34,58,0.08);
  --fok-radius-lg: 26px;
  --fok-radius-md: 20px;
  --fok-radius-sm: 16px;
  --fok-container: 1180px;
  --fok-header-offset: 18px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fok-text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.94), rgba(255,255,255,0) 35%),
    linear-gradient(180deg, var(--fok-bg), var(--fok-bg-2));
}

a { color: inherit; text-decoration: none; }
a:hover { color: #173fcf; }

.site { min-height: 100vh; }
.site-main { display: block; }

.site-container,
.section-shell,
.fok-container,
.fok-policy-wrap {
  width: min(100% - 36px, var(--fok-container));
  margin-inline: auto;
}

.fok-section { position: relative; padding: 78px 0; }
.fok-section--tight { padding: 56px 0; }
.fok-section--hero { padding: 94px 0 74px; }

.fok-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #5c6d80;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: var(--fok-shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.fok-kicker {
  color: var(--fok-text-soft);
  font-size: 18px;
  max-width: 760px;
}

.fok-title-xl {
  font-size: clamp(2.65rem, 5vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 780;
}

.fok-title-lg {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.fok-title-md {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 720;
}

.fok-panel,
.fok-card,
.fok-footer-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.7));
  border: 1px solid var(--fok-border);
  box-shadow: var(--fok-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.fok-panel,
.fok-card { border-radius: var(--fok-radius-lg); padding: 28px; }

.fok-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(24,33,43,0.08);
  background: #162231;
  color: #fff;
  font-weight: 650;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(24,33,43,0.14);
  transition: transform 0.18s ease, background 0.18s ease;
}

.fok-btn:hover {
  transform: translateY(-1px);
  background: #111a26;
  color: #fff;
}

.fok-btn--secondary {
  background: rgba(255,255,255,0.78);
  color: var(--fok-text);
  box-shadow: var(--fok-shadow-soft);
}

.fok-btn--secondary:hover {
  background: rgba(255,255,255,0.96);
  color: var(--fok-text);
}

/* Header */
.site-header,
.fok-site-header {
  position: sticky;
  top: var(--fok-header-offset);
  z-index: 60;
  width: min(100% - 36px, var(--fok-container));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: var(--fok-shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.fok-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
}

.fok-branding { min-width: 0; flex: 0 0 auto; }

.fok-site-title {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  color: var(--fok-text);
  white-space: nowrap;
}

.fok-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.fok-main-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fok-main-nav .menu > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fok-main-nav .menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--fok-text-soft);
  font-weight: 620;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}

.fok-main-nav .menu a:hover,
.fok-main-nav .current-menu-item > a,
.fok-main-nav .current_page_item > a {
  background: rgba(255,255,255,0.86);
  color: var(--fok-text);
}

/* Homepage */
.fok-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

.fok-hero__content,
.fok-hero__panel { min-width: 0; }

.fok-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fok-hero__content .fok-kicker { margin-top: 0; }

.fok-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.fok-panel--hero {
  padding: 34px;
  border-radius: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fok-hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.fok-stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(255,255,255,0.7);
}

.fok-stat__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fok-text-muted);
}

.fok-stat__value {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 680;
  color: var(--fok-text);
}

.fok-service-grid,
.fok-proof-grid,
.fok-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.fok-service-card h3,
.fok-proof-card h3,
.fok-process-card h3 { margin-bottom: 10px; }

.fok-service-card p,
.fok-proof-card p,
.fok-process-card p,
.fok-panel p,
.fok-card p { color: var(--fok-text-soft); }

.fok-cta-band {
  padding: 34px;
  border-radius: 30px;
}

/* Contact */
.fok-contact-hero > * + * { margin-top: 16px; }

.fok-contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
  align-items: start;
}

.fok-contact-meta {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.fok-contact-meta__item {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.72);
}

.fok-contact-meta__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fok-text-muted);
}

.fok-contact-meta__value {
  display: block;
  margin-top: 6px;
  color: var(--fok-text);
  font-weight: 600;
}

.fok-form-intro {
  margin-top: 8px;
  color: var(--fok-text-soft);
  max-width: 42rem;
}

.fok-form-shell .wpforms-container {
  margin: 22px 0 0 !important;
}

.fok-form-shell .wpforms-form { width: 100%; }

.fok-form-shell .wpforms-field-container {
  display: grid !important;
  gap: 16px !important;
}

.fok-form-shell .wpforms-field {
  margin: 0 !important;
  padding: 0 !important;
}

.fok-form-shell .wpforms-field-label,
.fok-form-shell label {
  color: var(--fok-text) !important;
  font-weight: 680 !important;
  font-size: 15px !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 8px !important;
}

.fok-form-shell .wpforms-required-label {
  color: #d9485f !important;
  font-weight: 700 !important;
}

.fok-form-shell .wpforms-field-sublabel {
  color: var(--fok-text-muted) !important;
  font-size: 12px !important;
  margin-top: 8px !important;
}

.fok-form-shell input[type="text"],
.fok-form-shell input[type="email"],
.fok-form-shell input[type="url"],
.fok-form-shell input[type="tel"],
.fok-form-shell textarea,
.fok-form-shell select,
.fok-form-shell .wpforms-field-name input,
.fok-form-shell .wpforms-field-email input,
.fok-form-shell .wpforms-field-text input,
.fok-form-shell .wpforms-field-textarea textarea,
.fok-form-shell .wpforms-field-select select {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 16px !important;
  border: 1px solid var(--fok-line-strong) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.82)) !important;
  padding: 11px 14px !important;
  color: var(--fok-text) !important;
  box-shadow: var(--fok-shadow-field), inset 0 1px 0 rgba(255,255,255,0.72) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
  appearance: none !important;
}

.fok-form-shell textarea,
.fok-form-shell .wpforms-field-textarea textarea {
  min-height: 136px !important;
  resize: vertical !important;
  line-height: 1.55 !important;
  padding-top: 13px !important;
}

.fok-form-shell input::placeholder,
.fok-form-shell textarea::placeholder {
  color: #97a5b5 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

.fok-form-shell input:focus,
.fok-form-shell textarea:focus,
.fok-form-shell select:focus {
  outline: none !important;
  border-color: rgba(31,79,255,0.34) !important;
  background: rgba(255,255,255,0.97) !important;
  box-shadow:
    0 0 0 4px rgba(31,79,255,0.08),
    var(--fok-shadow-field-focus),
    inset 0 1px 0 rgba(255,255,255,0.7) !important;
}

.fok-form-shell .wpforms-field-select select {
  background-image:
    linear-gradient(45deg, transparent 50%, #8c99a8 50%),
    linear-gradient(135deg, #8c99a8 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 40px !important;
}

.fok-form-shell .wpforms-field-name {
  display: block !important;
}

.fok-form-shell .wpforms-field-name .wpforms-field-row,
.fok-form-shell .wpforms-field-name .wpforms-field-row-block {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
}

.fok-form-shell .wpforms-field-name .wpforms-field-row > div,
.fok-form-shell .wpforms-field-name .wpforms-field-row-block > div,
.fok-form-shell .wpforms-field-name .wpforms-one-half,
.fok-form-shell .wpforms-field-name .wpforms-first,
.fok-form-shell .wpforms-field-name .wpforms-last {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.fok-form-shell .wpforms-submit-container {
  padding-top: 12px !important;
  margin-top: 0 !important;
}

.fok-form-shell .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(24,33,43,0.08) !important;
  background: #162231 !important;
  color: #fff !important;
  font-weight: 680 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 12px 28px rgba(24,33,43,0.16) !important;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.fok-form-shell .wpforms-submit:hover {
  transform: translateY(-1px);
  background: #101925 !important;
  box-shadow: 0 14px 30px rgba(24,33,43,0.18) !important;
}

/* Privacy */
.fok-policy-page {
  padding-top: 56px;
}

.fok-policy-intro {
  width: min(100% - 36px, var(--fok-container));
  margin-inline: auto;
}

.fok-policy-intro > * + * {
  margin-top: 12px;
}

.fok-policy-copy {
  width: min(100% - 36px, var(--fok-container));
  margin: 28px auto 0;
}

.fok-policy-copy .fok-panel {
  padding: 34px 34px 30px;
}

.fok-policy-copy h2 {
  margin: 26px 0 8px;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fok-policy-copy p,
.fok-policy-copy li {
  color: var(--fok-text-soft);
}

.fok-policy-copy p + p {
  margin-top: 12px;
}

.fok-policy-copy ul {
  margin: 12px 0 0 18px;
}

/* Footer */
.site-footer,
.fok-site-footer { padding: 26px 0 42px; }

.fok-footer-card {
  width: min(100% - 36px, var(--fok-container));
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: 36px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: var(--fok-shadow);
}

.fok-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 32px;
  align-items: start;
}

.fok-footer-brand .fok-eyebrow { margin-bottom: 16px; }

.fok-footer-brand h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 780;
}

.fok-footer-brand p {
  max-width: 640px;
  margin-top: 14px;
  color: var(--fok-text-soft);
  font-size: 1rem;
}

.fok-footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fok-footer-meta .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fok-footer-meta .footer-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fok-footer-meta .footer-menu a {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fok-text-soft);
  font-weight: 600;
  box-shadow: none;
}

.fok-footer-meta .footer-menu a:hover {
  color: var(--fok-text);
}

.fok-footer-legal {
  margin-top: 18px;
  color: var(--fok-text-muted);
  font-size: 14px;
  max-width: 360px;
}

@media (max-width: 1080px) {
  .fok-hero,
  .fok-contact-layout,
  .fok-footer-inner {
    grid-template-columns: 1fr;
  }

  .fok-service-grid,
  .fok-proof-grid,
  .fok-process-grid {
    grid-template-columns: 1fr;
  }

  .fok-footer-meta {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header,
  .fok-site-header {
    border-radius: 28px;
    padding: 14px 16px;
  }

  .fok-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fok-branding {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .fok-main-nav {
    justify-content: center;
    width: 100%;
  }

  .fok-main-nav .menu {
    justify-content: center;
    gap: 8px;
  }

  .fok-section { padding: 62px 0; }
  .fok-panel { padding: 24px; }
  .fok-footer-card { padding: 32px 28px; }
}

@media (max-width: 640px) {
  .fok-form-shell .wpforms-field-name .wpforms-field-row,
  .fok-form-shell .wpforms-field-name .wpforms-field-row-block {
    grid-template-columns: 1fr !important;
  }
}
.fok-site-brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.fok-site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 50px;
  max-width: 100%;
}

@media (max-width: 820px) {
  .fok-site-logo {
    max-height: 42px;
  }

  .fok-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fok-main-nav {
    justify-content: center;
    width: 100%;
  }

  .fok-main-nav .menu {
    justify-content: center;
  }
}
