/*
Theme Name: Sisman Agency
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Custom corporate + WooCommerce-ready theme for СИСМАН ЕООД.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: sisman-agency
*/

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --dark: #020617;
  --dark-2: #0f172a;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --green: #10b981;
  --green-2: #059669;
  --danger: #f43f5e;
  --warning: #f59e0b;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: var(--green-2);
}
.section-dark .eyebrow { color: #34d399; }
.h1, h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 0; letter-spacing: -0.03em; }
.h2, h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 12px 0 0; letter-spacing: -0.03em; }
.h3, h3 { font-size: 22px; line-height: 1.2; margin: 0; }
p.lead { font-size: 18px; color: #cbd5e1; max-width: 700px; }
.text-muted { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 18px; padding: 14px 22px; font-weight: 700; transition: .2s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-secondary { border-color: rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.04); }
.btn-secondary:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); background: #fff; }
.btn-outline:hover { background: var(--soft); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-title { font-size: 22px; font-weight: 800; }
.brand-subtitle { font-size: 12px; color: var(--muted); }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; }
.hero {
  position: relative; overflow: hidden; background:
  radial-gradient(circle at top right, rgba(16,185,129,.24), transparent 26%),
  radial-gradient(circle at left, rgba(59,130,246,.14), transparent 22%),
  var(--dark);
  color: #fff; padding: 92px 0 110px;
}
.hero-grid { display: grid; gap: 40px; grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero-badge {
  display: inline-flex; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05);
  border-radius: 999px; padding: 8px 14px; font-size: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.hero-point { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); border-radius: 18px; padding: 16px; font-size: 14px; }
.mock-card {
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); border-radius: 30px; padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.mock-inner { background: #fff; color: var(--text); border-radius: 24px; padding: 22px; }
.mock-media { height: 260px; border-radius: 20px; background: linear-gradient(135deg,#e2e8f0,#f8fafc); margin: 18px 0 22px; }
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 26px; }
.kpi { padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: center; }
.kpi strong { display: block; font-size: 26px; }
.icon-badge { font-size: 28px; }
.steps { display: grid; gap: 16px; }
.step-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05);
}
.step-number {
  width: 42px; height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; background: var(--green); color: #fff; flex: 0 0 auto;
}
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.product-card {
  overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.product-thumb { position: relative; height: 240px; background: linear-gradient(135deg,#e2e8f0,#f8fafc); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 700; }
.product-body { padding: 20px; }
.stock {
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 7px 11px; display: inline-flex;
}
.stock.in-stock { background: #d1fae5; color: #047857; }
.stock.low-stock { background: #fef3c7; color: #b45309; }
.stock.out-stock { background: #ffe4e6; color: #be123c; }
.two-col { display: grid; gap: 32px; grid-template-columns: 1.1fr .9fr; }
.contact-card-dark { background: var(--dark); color: #fff; border-radius: 32px; padding: 34px; box-shadow: 0 20px 50px rgba(2, 6, 23, 0.18); }
.contact-card-light { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.input, textarea.input {
  width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05);
  color: #fff; padding: 14px 16px; outline: none;
}
textarea.input { min-height: 140px; resize: vertical; }
.input::placeholder { color: #94a3b8; }
.contact-meta { color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.badge-filter {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: #fff; font-size: 14px; font-weight: 600;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { width: 100% !important; margin: 0 !important; float: none !important; }

@media (max-width: 1024px) {
  .grid-4, .product-grid, .hero-points, .kpi-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid, .two-col, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .grid-3, .grid-4, .product-grid, .hero-points, .kpi-row, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 68px 0; }
}
