:root {
  --bg: #0f1115;
  --panel: #171b22;
  --panel-2: #1d2330;
  --text: #f3f6fb;
  --muted: #a9b3c7;
  --line: rgba(255,255,255,0.08);
  --accent: #f7b500;
  --accent-2: #66a8ff;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(0,0,0,0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top right, rgba(102,168,255,0.14), transparent 28%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 18px; color: var(--muted); }
ul { margin: 0; padding-left: 18px; color: var(--muted); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,17,21,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.text-logo, .custom-logo-link { font-weight: 700; font-size: .98rem; opacity: .9; }
.custom-logo-link img, .custom-logo { max-height: 30px; width: auto; opacity: .9; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul { list-style: none; display: flex; gap: 24px; padding: 0; margin: 0; }
.main-nav a { color: #dbe5f5; font-size: .97rem; }
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 14px 22px; font-weight: 700;
}
.header-cta { padding: 11px 16px; font-size: .92rem; }
.header-cta, .btn-primary { background: linear-gradient(135deg, var(--accent), #ffce47); color: #111; box-shadow: var(--shadow); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.menu-toggle { display: none; }
.section, .page-hero { padding: 74px 0; }
.section-alt { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .82rem; letter-spacing: .18em; font-weight: 800; margin-bottom: 14px; }
.lead { font-size: 1.12rem; max-width: 650px; }
.hero-photo {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 52px;
  overflow: hidden;
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg { background-size: cover; background-position: center; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(180deg, rgba(10,12,16,.32) 0%, rgba(10,12,16,.66) 48%, rgba(10,12,16,.88) 100%); }
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: end;
}
.hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-points.compact { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; }
.hero-points.compact li,
.mini-project-card,
.photo-service-card,
.portfolio-card,
.info-panel,
.contact-form-placeholder,
.steps > div,
.service-row,
.about-stats div {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-points.compact li { padding: 16px; color: #d3dded; }
.hero-sidecards { display: grid; gap: 14px; }
.mini-project-card { overflow: hidden; }
.mini-project-card img { width: 100%; aspect-ratio: 16/8.8; object-fit: cover; }
.mini-project-copy { padding: 16px 18px 18px; }
.section-head, .split-section, .cta-inner, .contact-grid, .process-grid, .two-col-content, .compare-block {
  display: grid; gap: 24px;
}
.section-head, .split-section, .cta-inner { grid-template-columns: 1fr auto; align-items: end; }
.service-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-service-card { overflow: hidden; }
.photo-service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-service-copy { padding: 20px; }
.text-link { color: white; font-weight: 700; }
.process-grid { grid-template-columns: .75fr 1.25fr; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps > div { padding: 24px; }
.steps span {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(247,181,0,0.16); color: var(--accent); font-weight: 800; margin-bottom: 14px;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-grid-home { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { overflow: hidden; }
.portfolio-image-wrap { position: relative; }
.portfolio-image-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-copy { padding: 18px 20px 22px; }
.tag {
  display: inline-flex; margin-bottom: 10px; padding: 8px 12px; border-radius: 999px;
  background: rgba(247,181,0,.12); color: #ffe28d; font-size: .8rem; font-weight: 700;
}
.compare-block { grid-template-columns: .72fr 1.28fr; align-items: center; }
.before-after {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
  min-height: 520px; background: #0d1017;
}
.before-img, .after-img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.after-layer { position: absolute; inset: 0 auto 0 0; overflow: hidden; height: 100%; }
.after-layer .after-img { width: 100%; max-width: none; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4;
}
.slider-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; background: white; z-index: 3; transform: translateX(-50%);
}
.slider-handle::after {
  content: '⇄'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: white; color: #111; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.compare-label {
  position: absolute; top: 18px; z-index: 3; padding: 9px 12px; border-radius: 999px; background: rgba(15,17,21,.7); color: white; font-weight: 700; font-size: .85rem;
}
.compare-label-left { left: 18px; }
.compare-label-right { right: 18px; }
.cta-band { padding-bottom: 92px; }
.cta-inner { background: linear-gradient(135deg, rgba(102,168,255,0.14), rgba(247,181,0,0.14)); border: 1px solid var(--line); padding: 34px; border-radius: 30px; }
.page-hero { border-bottom: 1px solid var(--line); }
.stack-grid { display: grid; gap: 22px; }
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.service-row-image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.service-row-copy { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.two-col-content { grid-template-columns: 1.15fr .85fr; }
.about-layout { align-items: start; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.about-stats div { padding: 20px; }
.about-stats strong { display: block; font-size: 1.18rem; color: white; margin-bottom: 6px; }
.info-panel, .contact-form-placeholder { padding: 28px; }
.contact-grid { grid-template-columns: .8fr 1.2fr; }
.fake-form { display: grid; gap: 12px; }
.fake-form > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: #8d98ad; }
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 16px; background: rgba(0,0,0,0.18); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li + li { margin-top: 8px; }
.footer-bottom { padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--line); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: var(--panel); border-radius: 24px; padding: 18px; }
@media (max-width: 1080px) {
  .hero-layout, .compare-block, .contact-grid, .two-col-content, .service-row, .process-grid { grid-template-columns: 1fr; }
  .service-photo-grid, .portfolio-grid, .portfolio-grid-home, .footer-grid, .about-stats, .hero-points.compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; background: transparent; color: white; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; }
  .main-nav {
    position: absolute; top: 72px; left: 20px; right: 20px; background: #12161e; border: 1px solid var(--line);
    border-radius: 20px; padding: 18px; display: none; flex-direction: column; align-items: stretch;
  }
  .main-nav.active { display: flex; }
  .main-nav ul { flex-direction: column; }
  .header-cta { width: 100%; }
  .section, .page-hero { padding: 56px 0; }
  .hero-photo { min-height: auto; padding-top: 96px; }
  .hero-copy { padding: 24px; }
  .service-photo-grid, .portfolio-grid, .portfolio-grid-home, .steps, .footer-grid, .contact-grid, .two-col-content, .split-section, .section-head, .cta-inner, .about-stats, .hero-points.compact, .service-row { grid-template-columns: 1fr; }
  .before-after, .before-img, .after-img { min-height: 360px; }
  .service-row-image img { min-height: 240px; }
}
