/*
Theme Name: TEHHELP Preview
Theme URI: https://tehhelp.in.ua
Author: OpenClaw
Description: Custom TEHHELP WordPress theme for the live business site.
Version: 0.2.0
Text Domain: tehhelp-preview
*/

:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --text: #2b2e31;
  --muted: #666b70;
  --line: #ddd8ca;
  --accent: #f3c400;
  --accent-dark: #d6a800;
  --soft: #fff6cf;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(24, 24, 24, 0.08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
main a:not(.btn), .entry-content a {
  color: var(--accent);
}
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244,242,236,.94);
  border-bottom: 1px solid rgba(221,216,202,.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  color: var(--text);
  display: inline-block;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color .18s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover,
.nav a:focus {
  color: var(--accent-dark);
}
.nav a:hover::after,
.nav a:focus::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  min-width: 112px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(214,168,0,.55);
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf5 0%, #ffe38a 100%);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(214,168,0,.2);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.nav-toggle:hover,
.nav-toggle:focus {
  transform: translateY(-1px);
  border-color: rgba(214,168,0,.78);
  box-shadow: 0 16px 30px rgba(214,168,0,.26);
}
.nav-toggle-label {
  letter-spacing: .02em;
}
.nav-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 18px;
}
.nav-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(243,196,0,.55);
  animation: navTogglePulse 1.8s infinite;
}
.nav-toggle.is-open .nav-toggle-dot {
  animation: none;
  background: var(--text);
}
@keyframes navTogglePulse {
  0% { box-shadow: 0 0 0 0 rgba(243,196,0,.55); }
  70% { box-shadow: 0 0 0 10px rgba(243,196,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(243,196,0,0); }
}
.mobile-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  padding: 0 0 16px;
  transition: max-height .28s ease, opacity .2s ease, transform .2s ease;
}
.mobile-panel.open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav {
  display: grid;
  gap: 10px;
  background: #fffdf7;
  border: 1px solid rgba(214,168,0,.3);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(24,24,24,.14);
  padding: 14px;
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,46,49,.22);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 39;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff1b8;
  border-color: rgba(214,168,0,.28);
  color: #7a5d00;
}
.mobile-nav .btn {
  width: 100%;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #2b2e31;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border-color: rgba(214,168,0,.26);
}
.hero { padding: 72px 0 48px; background: radial-gradient(circle at top right, rgba(243,196,0,.10), transparent 30%); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 860px;
}
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 18px;
}
.eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(214,168,0,.14);
}
.eyebrow-strong {
  padding: 10px;
  background: linear-gradient(135deg, rgba(243,196,0,.22), rgba(255,246,207,.92));
  box-shadow: 0 14px 28px rgba(214,168,0,.14);
}
.eyebrow-strong span:first-child {
  background: var(--accent);
  color: #2b2e31;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; color: #1f2022; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }
.hero-title {
  max-width: 820px;
}
.hero-title .accent-line {
  display: inline-block;
  color: var(--accent-dark);
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}
.inline-note {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.hero-points {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}
.hero-points div {
  padding-left: 2px;
}
.hero-card, .card, .case, .cta, .contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(216,169,40,0), rgba(216,169,40,.45), rgba(216,169,40,0));
}
.cta strong,
.hero strong,
.lead strong {
  color: var(--text);
}
.hero-card { padding: 28px; }
section { padding: 52px 0; }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .case, .contact-box { padding: 24px; }
.card {
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3,
.package-card h3,
.contact-pill strong,
.package-price,
.package-head {
  color: #1f2022;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(216,169,40,.35);
  box-shadow: 0 14px 34px rgba(34, 34, 34, 0.10);
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  color: #1f2022;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}
ul.clean { padding-left: 18px; margin: 12px 0 0; color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cta {
  padding: 32px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}
.footer {
  margin-top: 42px;
  background: #111827;
  color: rgba(255,255,255,.82);
  padding: 48px 0 24px;
}
.footer a { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 24px;
}
.small { font-size: 14px; color: var(--muted); }
.footer .small { color: rgba(255,255,255,.6); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.page-hero {
  padding: 56px 0 24px;
}
.page-shell {
  padding-bottom: 48px;
}
.entry-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.entry-content h1 {
  font-size: clamp(32px, 4vw, 46px);
}
.entry-content h2 {
  margin-top: 28px;
  font-size: clamp(24px, 3vw, 32px);
}
.entry-content p,
.entry-content li {
  color: var(--muted);
  font-size: 17px;
}
.entry-content strong {
  color: var(--text);
}
.entry-content ul {
  padding-left: 20px;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content > *:last-child {
  margin-bottom: 0;
}
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.quick-nav a {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text);
}
.quick-nav a:hover,
.quick-nav a:focus {
  background: var(--soft);
  color: var(--accent);
}
.section-head h2,
.entry-content h1,
.entry-content h2,
.card h3,
.case h3,
.contact-box h3 {
  letter-spacing: -0.02em;
}
.case {
  position: relative;
}
.case::before {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 14px;
}
.packages-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.package-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.upper-links .card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f2 100%);
}
.package-card.featured {
  border-color: rgba(216,169,40,.45);
  box-shadow: 0 18px 40px rgba(216,169,40,.14);
}
.package-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.package-price {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 8px;
}
.package-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.package-list,
.feature-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.package-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.comparison-wrap {
  overflow-x: auto;
  margin: 18px 0 10px;
}
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 960px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th,
.comparison-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: none;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table thead th {
  background: #f8fbff;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1;
}
.comparison-table tbody tr:nth-child(even) td {
  background: #fcfbf7;
}
.comparison-table thead th.package-col {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
}
.comparison-table td:first-child,
.comparison-table th:first-child {
  font-weight: 700;
  color: var(--text);
  min-width: 220px;
  background: #fbfcfe;
}
.package-head {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.package-sub {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.package-price-mini {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  color: var(--accent);
}
.tick {
  color: var(--accent);
  font-weight: 800;
}
.muted-cell {
  color: var(--muted);
}
.table-yes {
  font-weight: 700;
  color: var(--accent);
}
.table-no {
  color: #9ca3af;
}
.table-strong {
  font-weight: 700;
  color: var(--text);
}
.highlight-box {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 18px;
  padding: 22px;
}
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.contact-cta-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.contact-cta-card,
.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
}
.contact-cta-card strong,
.trust-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.contact-cta-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
}
.contact-cta-card:hover,
.contact-cta-card:focus {
  transform: translateY(-2px);
  border-color: rgba(214,168,0,.35);
}
.trust-section {
  margin-top: 22px;
}
.trust-card-strong {
  background: linear-gradient(135deg, rgba(243,196,0,.22), rgba(255,246,207,.92));
  border-color: rgba(214,168,0,.25);
}
.section-head h2 {
  color: #1f2022;
}
.contact-pill .label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.email-link {
  color: var(--text);
  text-decoration: none;
}
.mobile-cta-bar {
  display: none;
}
@media (max-width: 960px) {
  .split, .footer-grid, .grid-4, .grid-3, .grid-2, .packages-preview, .contact-strip, .contact-cta-grid, .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav,
  .header .btn.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 680px) {
  .hero { padding-top: 40px; }
  .split, .footer-grid, .grid-4, .grid-3, .grid-2, .packages-preview, .contact-strip, .contact-cta-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table {
    min-width: 760px;
  }
  .container { width: min(var(--max), calc(100% - 24px)); }
  .header-inner { padding: 14px 0; }
  .header-controls {
    margin-left: auto;
  }
  .nav-toggle {
    color: #1f2022;
    border-width: 2px;
  }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  section { padding: 42px 0; }
  .card, .case, .contact-box, .hero-card, .cta, .entry-card, .package-card { padding: 20px; }
  .mobile-cta-bar {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: block;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244,242,236,.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(221,216,202,.9);
  }
  .mobile-cta-bar .container {
    width: 100%;
  }
  .hero-title .accent-line {
    display: inline;
  }
  .mobile-cta-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
