/*
Theme Name: Olga Shturman Notary
Theme URI: https://olga-shturman.com/
Author: Olga Shturman Notary Office
Author URI: https://olga-shturman.com/
Description: Двуязычный (RU + UA) лендинг нотариальной конторы Ольги Штурман в Джерси-Сити, Нью-Джерси. Услуги: нотариус, апостиль, перевод, доставка документов в Россию, Беларусь, Украину и страны СНГ.
Version: 1.5.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://olga-shturman.com/
Text Domain: olga-shturman
Tags: one-page, notary, bilingual, landing, ru-ua
*/

:root {
  --bg: #fbfbf9;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --text: #2a2a2a;
  --muted: #8a8a85;
  --soft: #b8b8b3;
  --line: #ececea;
  --line-strong: #d8d8d4;
  --accent: #6b7a8d;
  --accent-soft: #eef1f5;
  --accent-strong: #4a5868;
  --cta: #1a1a1a;
  --cta-hover: #6b7a8d;
  --success: #2d6a4f;
  --danger: #b04545;
  --wa: #25d366;
  --tg: #0088cc;
  --vb: #7360f2;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; }

body[data-lang="ru"] [data-ua] { display: none !important; }
body[data-lang="ua"] [data-ru] { display: none !important; }
body[data-lang="ua"] [data-ua-block] { display: block; }

/* HEADER */
header.site {
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand .name-ru { font-size: 17px; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.brand .name-ua { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: -0.01em; font-style: italic; margin-top: 2px; }
.brand .role { font-size: 11px; color: var(--soft); margin-top: 6px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.header-phone { text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.header-hours { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }
.lang-switch { display: inline-flex; gap: 4px; margin-top: 4px; }
.lang-switch button { background: none; border: none; font-family: inherit; font-size: 11px; color: var(--muted); padding: 2px 6px; cursor: pointer; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.lang-switch button.active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.lang-switch span { color: var(--soft); font-size: 11px; padding: 2px 0; }

nav.main ul { list-style: none; display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
nav.main a { text-decoration: none; font-size: 13px; color: var(--ink); font-weight: 600; transition: color 0.2s; }
nav.main a:hover { color: var(--accent); }

/* HERO */
.hero { padding: 100px 0 120px; border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: center; }
.hero .label { font-size: 12px; color: var(--muted); margin-bottom: 28px; letter-spacing: 0.05em; }
.hero h1 { font-size: 56px; line-height: 1.05; color: var(--ink); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 24px; max-width: 640px; }
.hero h1 .accent { color: var(--accent); }
.hero h1 .burgundy { color: #8b3a3a; font-weight: 400; background: linear-gradient(180deg, transparent 60%, rgba(139, 58, 58, 0.15) 60%); padding: 0 4px; }
.hero .sub { font-size: 18px; color: var(--text); line-height: 1.55; margin-bottom: 24px; font-weight: 400; max-width: 560px; }
.hero .sub strong { color: var(--ink); font-weight: 600; }

.price-badge { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 4px; margin-bottom: 36px; font-size: 14px; color: var(--ink); line-height: 1.5; max-width: 560px; }
.price-badge::before { content: "✓"; color: var(--accent); font-weight: 600; font-size: 18px; flex-shrink: 0; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; align-self: center; border: 1.5px solid var(--accent); border-radius: 50%; }
.price-badge strong { color: var(--accent-strong); font-weight: 600; }
.price-badge > span { flex: 1; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 6px; transition: all 0.2s; cursor: pointer; border: 1px solid transparent; font-family: inherit; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(0.92); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { filter: brightness(0.92); }
.btn-max { background: #00c4b4; color: #fff; }
.btn-max:hover { filter: brightness(0.92); }
.btn-max .btn-icon { font-weight: 700; font-style: italic; font-size: 16px; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }

.hero-photo { text-align: center; }
.hero-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; filter: grayscale(100%); transition: filter 0.6s; }
.hero-photo img:hover { filter: grayscale(0%); }
.hero-photo .caption { margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.hero-photo .caption strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; font-size: 13px; }

/* SECTIONS */
section.block { padding: 100px 0; border-bottom: 1px solid var(--line); }
.section-meta { display: grid; grid-template-columns: 200px 1fr; gap: 80px; margin-bottom: 64px; }
.section-meta .num { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.section-meta h2 { font-size: 36px; line-height: 1.15; color: var(--ink); font-weight: 300; letter-spacing: -0.02em; max-width: 620px; }
.section-meta h2 .accent { color: var(--accent); }
.section-meta .ua-sub { font-size: 14px; color: var(--muted); margin-top: 12px; font-weight: 300; }

/* SERVICES */
.services { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 200px 1fr 180px 140px; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: center; transition: padding 0.2s; }
.service-row:hover { padding-left: 12px; padding-right: 12px; background: var(--paper); }
.service-row .index { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.service-row .body h3 { font-size: 22px; color: var(--ink); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 4px; }
.service-row .body .h3-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.service-row .body p { font-size: 14px; color: var(--text); line-height: 1.65; max-width: 560px; }
.service-row .price { text-align: right; font-size: 14px; }
.service-row .price strong { display: block; font-weight: 500; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
.service-row .price small { font-size: 12px; color: var(--muted); }
.service-row .order-btn { text-align: right; }
.service-row .order-btn a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 500; color: var(--ink); padding: 9px 16px; border: 1px solid var(--ink); border-radius: 6px; transition: all 0.2s; }
.service-row .order-btn a:hover { background: var(--ink); color: #fff; }

/* PRICE TABLE */
.price-table-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { background: var(--accent-soft); color: var(--ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line-strong); }
.price-table thead th:nth-child(2), .price-table thead th:nth-child(3) { text-align: right; }
.price-table tbody td { padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--accent-soft); }
.price-table tbody td:nth-child(2) { text-align: right; font-weight: 500; color: var(--accent-strong); white-space: nowrap; }
.price-table tbody td:nth-child(3) { text-align: right; color: var(--muted); white-space: nowrap; }
.price-table .package-row td { background: var(--accent-soft); font-weight: 600; color: var(--ink); border-top: 2px solid var(--accent); }

.guarantee-badge { margin-top: 32px; padding: 20px 24px; background: var(--ink); color: #fff; border-radius: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.guarantee-badge .text { font-size: 15px; line-height: 1.5; max-width: 600px; }
.guarantee-badge .text strong { color: #fff; font-weight: 600; }
.guarantee-badge-light { background: var(--accent-soft); color: var(--ink); }
.guarantee-badge-light .text { color: var(--ink); }
.guarantee-badge-light .text strong { color: var(--accent-strong); }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step .step-num { font-size: 36px; color: var(--accent); font-weight: 300; line-height: 1; margin-bottom: 16px; letter-spacing: -0.02em; }
.step h3 { font-size: 20px; color: var(--ink); font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--text); line-height: 1.65; }

/* DHL TABLE */
.dhl-table-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.dhl-table { width: 100%; border-collapse: collapse; }
.dhl-table thead th { background: var(--accent-soft); color: var(--ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.dhl-table thead th:nth-child(n+2) { text-align: right; }
.dhl-table tbody td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dhl-table tbody tr:last-child td { border-bottom: none; }
.dhl-table tbody td:nth-child(n+2) { text-align: right; }
.dhl-table tbody td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.dhl-table tbody td:nth-child(3) { color: var(--accent-strong); font-weight: 600; white-space: nowrap; }
.dhl-table tbody td.col-retail { color: var(--soft); text-decoration: line-through; white-space: nowrap; }

/* PRINCIPLES */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.principle .num { font-size: 36px; color: var(--ink); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1; }
.principle .num .accent { color: var(--accent); }
.principle h4 { font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.principle p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* LEAD FORM */
.lead-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 48px; max-width: 720px; margin: 0 auto; }
.lead-form-wrap .form-head { margin-bottom: 32px; }
.lead-form-wrap h2 { font-size: 32px; color: var(--ink); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; }
.lead-form-wrap h2 .accent { color: var(--accent); }
.lead-form-wrap .form-sub { font-size: 14px; color: var(--text); line-height: 1.6; }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; font-weight: 500; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { height: 48px; padding: 12px 14px; font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.field textarea { height: auto; min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107, 122, 141, 0.2); }
.field .hint { font-size: 12px; color: var(--muted); }
.field-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.checkbox-row a { color: var(--accent-strong); border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.form-submit { padding: 14px 32px; font-size: 15px; font-weight: 500; }

.form-success { display: none; padding: 36px 0; text-align: center; }
.form-success.active { display: block; }
.form-success h3 { font-size: 24px; color: var(--ink); font-weight: 400; margin-bottom: 12px; }
.form-success p { font-size: 14px; color: var(--text); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.form-success .quick-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CONTACTS */
.contacts-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; max-width: 720px; }
.contacts-col h3 { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 28px; font-weight: 500; }
.contacts-list { list-style: none; }
.contacts-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contacts-list li:first-child { border-top: 1px solid var(--line); }
.contacts-list .key { font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.05em; }
.contacts-list .val { font-size: 16px; color: var(--ink); line-height: 1.5; }
.contacts-list .val a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contacts-list .val a:hover { border-bottom-color: var(--ink); }
.contacts-list .val .note { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

.channels-list { list-style: none; }
.channels-list li { border-bottom: 1px solid var(--line); }
.channels-list li:first-child { border-top: 1px solid var(--line); }
.channels-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-decoration: none; color: var(--ink); transition: padding 0.2s; gap: 16px; }
.channels-list a:hover { padding-left: 12px; padding-right: 12px; }
.channels-list .si-name { font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.channels-list .si-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.si-wa-c { background: var(--wa); }
.si-tg-c { background: var(--tg); }
.si-vb-c { background: var(--vb); }
.si-mx-c { background: #00c4b4; }
.si-cb-c { background: var(--accent); }
.si-fb-c { background: #1877f2; }
.si-vk-c { background: #0077ff; }
.si-ok-c { background: #ee8208; }
.channels-list .si-handle { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.channels-list .si-handle::after { content: "→"; color: var(--soft); transition: all 0.2s; }
.channels-list a:hover .si-handle::after { color: var(--accent); transform: translateX(4px); }

.map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FOOTER */
footer.site { padding: 40px 0 120px; background: var(--bg); }
footer.site .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site .copy { font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 540px; }
footer.site .copy strong { color: var(--ink); font-weight: 500; }
footer.site .meta-links { display: flex; gap: 20px; font-size: 12px; flex-wrap: wrap; }
footer.site .meta-links a { color: var(--muted); text-decoration: none; }
footer.site .meta-links a:hover { color: var(--ink); }

/* STICKY MOBILE CTA */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(0,0,0,0.05); padding: 10px 16px; z-index: 200; justify-content: space-around; gap: 8px; }
.sticky-mobile-cta a { flex: 1; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: #fff; font-size: 13px; font-weight: 600; }
.sticky-mobile-cta .smc-call { background: var(--ink); }
.sticky-mobile-cta .smc-wa { background: var(--wa); }
.sticky-mobile-cta .smc-chat { background: var(--accent); }

/* JIVO PLACEHOLDER */
.jivo-placeholder { position: fixed; bottom: 24px; right: 24px; background: var(--accent); color: #fff; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); cursor: pointer; z-index: 150; border: none; transition: transform 0.2s; }
.jivo-placeholder:hover { transform: scale(1.06); }
.jivo-placeholder::after { content: ""; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; background: var(--danger); border-radius: 50%; border: 2px solid #fff; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero { padding: 50px 0 70px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero .sub { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero .price-badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-photo { max-width: 200px; margin: 0 auto; text-align: center; }
  header.site { padding: 10px 0 6px; }
  .header-top { flex-direction: row; gap: 10px; align-items: center; padding-bottom: 8px; margin-bottom: 8px; }
  .brand { line-height: 1.25; }
  .brand .name-ru { font-size: 12px; line-height: 1.2; }
  .brand .name-ua { font-size: 11px; margin-top: 1px; }
  .brand .role { font-size: 9px; margin-top: 3px; letter-spacing: 0.1em; }
  .header-right { align-items: flex-end; gap: 2px; flex-shrink: 0; }
  .header-phone { font-size: 17px; font-weight: 600; }
  .header-hours { display: none; }
  .lang-switch { margin-top: 2px; }
  .lang-switch button { font-size: 10px; padding: 1px 5px; }
  nav.main ul { gap: 8px; flex-wrap: nowrap; overflow-x: hidden; justify-content: space-between; width: 100%; }
  nav.main a { font-size: 11px; white-space: nowrap; letter-spacing: -0.01em; font-weight: 700; }
  body { overflow-x: hidden; }
  .container { padding: 0 20px; }
  .lead-form-wrap { padding: 24px 18px; }
  section.block { padding: 64px 0; }
  .section-meta { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .section-meta h2 { font-size: 26px; }
  .service-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .service-row .price, .service-row .order-btn { text-align: left; }
  .price-table thead th, .price-table tbody td, .dhl-table thead th, .dhl-table tbody td { padding: 10px 8px; font-size: 12px; white-space: normal; letter-spacing: 0.04em; }
  .price-table tbody td:nth-child(2), .price-table tbody td:nth-child(3),
  .dhl-table tbody td:nth-child(2), .dhl-table tbody td:nth-child(3) { white-space: nowrap; }
  .dhl-table .col-retail { display: none !important; }
  .price-table-wrap, .dhl-table-wrap { overflow-x: hidden; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .principles { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 56px; }
  .lead-form-wrap h2 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-mobile-cta { display: none !important; }
  .jivo-placeholder { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 22px; }
  .price-table-wrap, .dhl-table-wrap { overflow-x: auto; }
  footer.site { padding: 32px 0 100px; }
  footer.site .container { gap: 20px; }
  footer.site .meta-links { gap: 14px 18px; }
  .copy-loc { display: block; margin-top: 4px; }
}

/* WordPress admin bar adjustment */
body.admin-bar header.site { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar header.site { top: 46px; }
}
