/* Sovun Technologies — Site Styles */
:root {
  --bg: #0b1220;
  --bg-alt: #101a2e;
  --card: #16233c;
  --card-hover: #1c2c4a;
  --accent: #2f81f7;
  --accent-bright: #58a6ff;
  --accent-glow: rgba(47, 129, 247, 0.25);
  --text: #e6edf6;
  --text-dim: #9fb0c7;
  --border: #223250;
  --radius: 12px;
  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

img { image-orientation: from-image; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max-w); margin: 0 auto;
}
.logo { font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; }
.logo span { color: var(--accent-bright); }
.logo-img { height: 74px; display: block; }
@media (max-width: 640px) {
  .logo-img { height: 52px; }
}
.img-frame { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; display: block; }
.work-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.work-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 640px) { .work-strip { grid-template-columns: 1fr; } }
nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color .15s; }
nav a:hover, nav a.active { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 9px 18px;
  border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-bright); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 1.3rem; padding: 4px 12px; border-radius: 8px; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 0%, var(--accent-glow), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero .container { max-width: 860px; }
.eyebrow {
  display: inline-block; color: var(--accent-bright); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 20px; }
.hero p.lead { font-size: 1.2rem; color: var(--text-dim); max-width: 640px; margin-bottom: 34px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: 1.02rem; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 24px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; color: var(--text-dim); font-size: 0.92rem; }
.hero-badges span::before { content: "✓ "; color: var(--accent-bright); font-weight: 700; }

/* ===== Sections ===== */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 44px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }

/* ===== Cards ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all .15s;
}
a.card { text-decoration: none; color: var(--text); display: block; }
a.card:hover { background: var(--card-hover); border-color: var(--accent); transform: translateY(-2px); }
.card .icon { font-size: 1.7rem; margin-bottom: 14px; display: block; }
.icon-box {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(47, 129, 247, 0.13);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent-bright);
}
.icon-box svg { width: 24px; height: 24px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }
.card .more { color: var(--accent-bright); font-weight: 600; font-size: 0.92rem; margin-top: 12px; display: inline-block; }

/* ===== Content pages ===== */
.page-hero { padding: 64px 0 48px; background: radial-gradient(ellipse 50% 60% at 50% 0%, var(--accent-glow), transparent), var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 680px; }
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; color: var(--text-dim); }
.prose h2 { margin-top: 40px; }
.prose ul { margin: 0 0 18px 22px; color: var(--text-dim); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }

/* ===== Checklist ===== */
.checklist { list-style: none; margin-left: 0 !important; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-bright); font-weight: 800; }

/* ===== Reviews ===== */
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.stars { color: #f5c518; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }
.review p { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 14px; }
.review .name { color: var(--text); font-weight: 700; font-size: 0.92rem; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.gallery-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius); border: 1.5px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.88rem; background: var(--card); text-align: center; padding: 12px;
}

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(135deg, #14294a, #0e1c36); border-top: 1px solid var(--border); text-align: center; padding: 72px 24px; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); margin-bottom: 28px; }
.phone-big { font-size: 1.6rem; font-weight: 800; color: var(--accent-bright); text-decoration: none; }

/* ===== Contact form ===== */
form { display: grid; gap: 16px; max-width: 560px; }
label { font-weight: 600; font-size: 0.92rem; }
input, textarea, select {
  width: 100%; padding: 13px 14px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font-size: 1rem; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 52px 0 40px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: var(--text-dim); text-decoration: none; font-size: 0.93rem; }
footer a:hover { color: var(--accent-bright); }
footer p { color: var(--text-dim); font-size: 0.93rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; color: var(--text-dim); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== Contact widget ===== */
#sv-chat { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
#sv-bubble {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(47, 129, 247, 0.45); transition: transform .15s, background .15s;
}
#sv-bubble:hover { background: var(--accent-bright); transform: scale(1.06); }
#sv-bubble svg { width: 26px; height: 26px; }
#sv-panel {
  display: none; width: 300px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
#sv-chat.open #sv-panel { display: block; }
.sv-act {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-top: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); text-decoration: none; transition: all .15s;
}
.sv-act:hover { border-color: var(--accent); background: var(--card-hover); }
.sv-act svg { width: 20px; height: 20px; color: var(--accent-bright); flex-shrink: 0; }
.sv-act small { color: var(--text-dim); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  nav ul { display: none; }
  nav ul.open { display: flex; flex-direction: column; position: absolute; top: 60px; right: 0; left: 0; background: var(--bg-alt); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
  .menu-btn { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 60px 0 48px; }
}
